/* Global Styles - Dark Theme (Default) */
:root,
:root[data-theme="dark"] {
    /* Dark theme colors */
    --primary-color: #3b82f6;
    --secondary-color: #2563eb;
    --accent-color: #60a5fa;
    --text-color: #f3f4f6;
    --light-text: #9ca3af;
    --light-bg: #1f2937;
    --dark-bg: #111827;
    --card-bg: #1f2937;
    --white: #ffffff;
    --heading-color: #f3f4f6;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-color: rgba(255, 255, 255, 0.1);
}

/* Base styles and resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--dark-bg);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Set default theme to dark */
html:not([data-theme]) {
    --text-color: #f3f4f6;
    --light-text: #9ca3af;
    --light-bg: #1f2937;
    --dark-bg: #111827;
    --card-bg: #1f2937;
    --heading-color: #f3f4f6;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

/* Ensure all elements inherit the theme colors */
body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

/* Global section theming */
section {
    background-color: var(--dark-bg);
    color: var(--text-color);
    transition: inherit;
    padding: 4rem 0;
}

/* Card theming */
.card, .pricing-card, .testimonial-card, .service-card {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
    transition: inherit;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

/* Text colors */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

p, span, li, td, th, label {
    color: var(--text-color);
    transition: inherit;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Form elements */
input, textarea, select {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Specific section overrides */
.hero, .cta, .features-section, .pricing-section, .testimonials-section, .contact-section {
    background-color: var(--light-bg);
}

/* Ensure footer has proper theming - always dark background for consistency */
footer {
    background-color: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

footer h3, footer h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

[data-theme="dark"] footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
}

[data-theme="dark"] footer h3,
[data-theme="dark"] footer h4 {
    color: var(--white);
}

[data-theme="dark"] footer a {
    color: var(--light-text);
}

[data-theme="dark"] footer a:hover {
    color: var(--primary-color);
}

/* Ensure proper contrast for text on colored backgrounds */
.cta, .btn-primary {
    color: white;
}

/* Ensure proper contrast for light text */
.light-text {
    color: var(--light-text);
}

/* Container for content */
/* Container for content */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Add focus styles for accessibility */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Add print styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    a {
        color: #0066cc !important;
        text-decoration: underline !important;
    }
    
    .no-print {
        display: none !important;
    }
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Links */
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

/* Lists */
ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    background-color: var(--primary-color);
    color: white;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Responsive adjustments for section title */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2.4rem;
    }
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 2rem;
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-color);
    font-size: 1.2rem;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.theme-toggle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle .fa-sun {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-180deg);
}

.theme-toggle .fa-moon {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* Dark theme icon states */
[data-theme="dark"] .theme-toggle .fa-sun {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0);
}

[data-theme="dark"] .theme-toggle .fa-moon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(180deg);
}

/* Light theme icon states */
[data-theme="light"] .theme-toggle .fa-sun {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-180deg);
}

[data-theme="light"] .theme-toggle .fa-moon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0);
}

/* Light Theme Overrides */
[data-theme="light"] {
    --text-color: #1f2937;
    --light-text: #6b7280;
    --light-bg: #f9fafb;
    --dark-bg: #ffffff;
    --card-bg: #ffffff;
    --heading-color: #111827;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] html {
    background-color: var(--dark-bg);
    color: var(--text-color);
}

[data-theme="light"] body {
    background-color: var(--dark-bg);
    color: var(--text-color);
}

[data-theme="light"] section {
    background-color: var(--dark-bg);
    color: var(--text-color);
}

[data-theme="light"] .card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .service-card,
[data-theme="light"] .feature-card {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-color: var(--border-color);
    box-shadow: var(--shadow);
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: var(--text-color);
}

[data-theme="light"] p,
[data-theme="light"] span,
[data-theme="light"] li,
[data-theme="light"] td,
[data-theme="light"] th,
[data-theme="light"] label {
    color: var(--text-color);
}

[data-theme="light"] .light-text {
    color: var(--light-text);
}

[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    background-color: var(--light-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="light"] .header {
    background-color: var(--dark-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .nav-links > a,
[data-theme="light"] .nav-links .dropdown > a {
    color: var(--text-color);
}

[data-theme="light"] footer {
    background-color: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] footer h3,
[data-theme="light"] footer h4 {
    color: #ffffff;
}

[data-theme="light"] footer a {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] footer a:hover {
    color: var(--primary-color);
}

[data-theme="light"] .hero,
[data-theme="light"] .cta,
[data-theme="light"] .features-section,
[data-theme="light"] .pricing-section,
[data-theme="light"] .testimonials-section,
[data-theme="light"] .contact-section {
    background-color: var(--light-bg);
}

[data-theme="light"] .page-header {
    background-color: var(--light-bg);
    color: var(--text-color);
}

[data-theme="light"] .page-header h1 {
    color: var(--heading-color);
}

[data-theme="light"] .page-header p {
    color: var(--light-text);
}

[data-theme="light"] .dropdown-menu {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: var(--shadow);
}

[data-theme="light"] .dropdown-item {
    color: var(--text-color);
}

[data-theme="light"] .dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

[data-theme="light"] .section-title {
    color: var(--heading-color);
}

[data-theme="light"] .legal-content {
    background-color: var(--light-bg);
    color: var(--text-color);
}

[data-theme="light"] .legal-container {
    background-color: var(--card-bg);
    color: var(--text-color);
}

/* Dark Theme Default - Ensure proper dark theme styles */
[data-theme="dark"] {
    --text-color: #f3f4f6;
    --light-text: #9ca3af;
    --light-bg: #1f2937;
    --dark-bg: #111827;
    --card-bg: #1f2937;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] html {
    background-color: var(--dark-bg);
    color: var(--text-color);
}

[data-theme="dark"] body {
    background-color: var(--dark-bg);
    color: var(--text-color);
}

[data-theme="dark"] section {
    background-color: var(--dark-bg);
    color: var(--text-color);
}

[data-theme="dark"] .card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .feature-card {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-color: var(--border-color);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .header {
    background-color: var(--dark-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .nav-links > a,
[data-theme="dark"] .nav-links .dropdown > a {
    color: var(--text-color);
}

[data-theme="dark"] footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
}

[data-theme="dark"] footer h3,
[data-theme="dark"] footer h4 {
    color: var(--white);
}

[data-theme="dark"] .page-header {
    background-color: var(--light-bg);
    color: var(--text-color);
}

[data-theme="dark"] .dropdown-menu {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .dropdown-item {
    color: var(--text-color);
}

[data-theme="dark"] .dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

[data-theme="dark"] .section-title {
    color: var(--heading-color);
}

/* Theme Transition */
.theme-transition {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

.theme-transition * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0.5rem 0;
    position: relative;
    width: 100%;
}

.logo {
    margin-right: auto;
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0 1rem 0 0;
    position: relative;
}

.nav-links > a,
.nav-links .dropdown > a {
    font-weight: 500;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    transition: var(--transition);
    border-radius: 4px;
}

.nav-links > a::after,
.nav-links .dropdown > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links > a:hover,
.nav-links > a.active,
.nav-links .dropdown > a:hover,
.nav-links .dropdown > a.active {
    color: var(--primary-color);
}

.nav-links > a:hover::after,
.nav-links > a.active::after,
.nav-links .dropdown > a:hover::after,
.nav-links .dropdown > a.active::after {
    width: 100%;
}

/* Remove button styles from navigation items */
.nav-links .btn {
    padding: 0.5rem 1rem;
    background: none;
    color: var(--text-color);
    border: none;
    box-shadow: none;
}

.nav-links .btn:hover {
    background: none;
    transform: none;
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 0.75rem;
}

.dropdown-item i {
    width: 20px;
    color: var(--primary-color);
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
}

.dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Mobile dropdown styles */
@media (max-width: 992px) {
    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin-top: 0.5rem;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-toggle {
        justify-content: center;
    }

    .dropdown-item {
        justify-content: center;
        padding: 0.75rem 1rem;
    }
}

.menu-btn {
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    padding: 10rem 0 5rem;
    background-color: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    max-width: 90%;
    transition: color 0.3s ease;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--dark-bg);
    text-align: center;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.services h2, .services-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.services h2::after, .services-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--light-text);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.services-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    margin: 0 auto;
    padding: 1rem;
    max-width: 1400px;
    width: max-content;
    min-width: 100%;
}

/* For Webkit browsers like Chrome, Safari */
.services-grid::-webkit-scrollbar {
    height: 6px;
}

.services-grid::-webkit-scrollbar-track {
    background: transparent;
}

.services-grid::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 3px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 350px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
    flex-shrink: 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 1200px) {
    .services-grid {
        justify-content: flex-start;
        padding: 1rem;
    }
    
    .service-card {
        width: 320px;
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 3rem 0;
    }
    
    .services-grid {
        padding: 1rem 0.5rem;
        justify-content: flex-start;
    }
    
    .service-card {
        width: 280px;
        padding: 1.5rem;
        margin: 0 8px;
    }
}

.features .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.3rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--light-text);
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.3;
    z-index: 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Footer - Maintains dark background for consistency */
.footer {
    background-color: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h3,
.footer h4 {
    color: #ffffff;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
    color: var(--primary-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-about,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 250px;
    padding: 0 15px;
}

@media (max-width: 992px) {
    .footer-about,
    .footer-links,
    .footer-contact {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 576px) {
    .footer-about,
    .footer-links,
    .footer-contact {
        flex: 0 0 100%;
    }
}

.footer-about h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-about img,
.footer-logo {
    height: 70px;
    width: auto;
    max-width: 300px;
    margin-bottom: 1rem;
    display: block;
    object-fit: contain;
}

.footer-about a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-about a:hover {
    opacity: 0.8;
}

.footer-about p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links a {
    display: block;
    margin-bottom: 0.8rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-social, .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.footer-social a, .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.footer-social a:hover, .social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Legal Pages Styling */
.legal-content {
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

.legal-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1.2rem;
    color: var(--accent-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.legal-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 3px;
}

.legal-content p {
    margin-bottom: 1.2rem;
    color: var(--text-color);
    line-height: 1.7;
}

.legal-content ul, 
.legal-content ol {
    margin: 1.2rem 0 1.2rem 2rem;
    padding-left: 1rem;
}

.legal-content li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.legal-content ul li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.legal-content ol {
    counter-reset: item;
    list-style-type: none;
}

.legal-content ol li::before {
    content: counter(item) '.';
    counter-increment: item;
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.last-updated {
    text-align: right;
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-section {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.contact-section a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-section a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .legal-container {
        padding: 2rem 1.5rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
    }
}

/* Philosophy Section */
.philosophy-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
    transition: all 0.3s ease;
    color: var(--text-color);
}

[data-theme="dark"] .philosophy-section {
    background-color: var(--dark-bg);
}

[data-theme="light"] .philosophy-section {
    background-color: var(--light-bg);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.philosophy-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .philosophy-card {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: var(--shadow);
}

[data-theme="light"] .philosophy-card {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: var(--shadow);
}

.philosophy-card .card-content {
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.philosophy-card .card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.philosophy-card h3 {
    color: var(--heading-color);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

[data-theme="dark"] .philosophy-card h3 {
    color: var(--heading-color);
}

[data-theme="light"] .philosophy-card h3 {
    color: var(--heading-color);
}

.philosophy-card p {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: center;
}

[data-theme="dark"] .philosophy-card p {
    color: var(--light-text);
}

[data-theme="light"] .philosophy-card p {
    color: var(--light-text);
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 1.5rem 0;
}

[data-theme="dark"] .divider {
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

[data-theme="light"] .divider {
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--light-text);
    font-size: 0.95rem;
}

[data-theme="dark"] .feature-list li {
    color: var(--light-text);
}

[data-theme="light"] .feature-list li {
    color: var(--light-text);
}

.feature-list i {
    color: #3b82f6;
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

.feature-list .fa-star {
    color: #f59e0b;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(59, 130, 246, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .philosophy-card .card-content {
        padding: 2rem 1.5rem;
    }
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

[data-theme="dark"] .values-section {
    background-color: #0f172a; /* Deep blue from reference image */
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-subtitle {
    color: var(--light-text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    color: var(--text-color);
}

[data-theme="dark"] .value-card {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: var(--shadow);
}

[data-theme="light"] .value-card {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: var(--shadow);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.value-card:hover .value-icon {
    transform: rotateY(180deg);
}

.value-card h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

[data-theme="dark"] .value-card h3 {
    color: var(--heading-color);
}

[data-theme="light"] .value-card h3 {
    color: var(--heading-color);
}

.value-card p {
    color: var(--light-text);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

[data-theme="dark"] .value-card p {
    color: var(--light-text);
    opacity: 0.9;
}

[data-theme="light"] .value-card p {
    color: var(--light-text);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background-color: var(--dark-bg);
}

.team-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.team-section .section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.team-section .section-subtitle {
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.team-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team-image-container {
    height: 250px;
    overflow: hidden;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.team-info .position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
    font-size: 0.95rem;
}

.team-info .bio {
    color: var(--light-text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.team-social .social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.team-social .social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.expertise-tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    padding: 0.2rem 0.7rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 3rem 0;
    }
    
    .team-section .section-title {
        font-size: 1.8rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Pricing Grid */
.pricing-grid {
    margin: 3rem auto 0;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2rem 1rem;
    gap: 2rem;
    max-width: 1200px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    scroll-behavior: smooth;
    align-items: stretch;
}

/* Center the first and last card when scrolled */
.pricing-grid::before,
.pricing-grid::after {
    content: '';
    padding: 0 1px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.pricing-grid::-webkit-scrollbar {
    display: none;
}

.pricing-card {
    flex: 0 0 auto;
    width: 320px;
    display: flex;
    height: auto;
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    transform: scale(1.05);
    z-index: 1;
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 2rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
    width: 150px;
    text-align: center;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pricing-header {
    margin: 1.5rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    min-height: 140px;
    display: flex;
    flex-direction: column;
}

.pricing-header h3 {
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.pricing-features {
    margin: 1.5rem 0;
    flex-grow: 1;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: var(--light-text);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-features i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 100%;
}

.btn-outline:hover {
    background: var(--primary-color);
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

[data-theme="light"] .faq-item {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .faq-item {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--light-text);
    line-height: 1.7;
}

/* Mutual Funds Section */
.mutual-funds-section {
    padding: 6rem 0;
    background-color: var(--dark-bg);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-intro h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.section-intro p {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.8;
}

.fund-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.fund-category {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fund-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.fund-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.fund-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.fund-category h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.fund-category p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.fund-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fund-features li {
    color: var(--light-text);
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.6;
}

.fund-features li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.investment-approach {
    margin: 6rem 0;
}

.investment-approach h2 {
    text-align: center;
    font-size: 2.25rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.approach-step {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.approach-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.approach-step h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.approach-step p {
    color: var(--light-text);
    line-height: 1.7;
}

.why-choose-us {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.feature-box {
    background: var(--bg-primary);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
}

.feature-box h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-box p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1200px) {
    .pricing-grid {
        padding: 2rem 1rem;
    }
    
    .pricing-card {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .pricing-card {
        width: 280px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 576px) {
    .pricing-card {
        width: 85%;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .features-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    transform: translateY(-5px);
}

.testimonial-content {
    position: relative;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: var(--light-text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.author-info p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: var(--light-text);
    opacity: 0.8;
}

.rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating i {
    margin-right: 2px;
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background-color: var(--dark-bg);
    /* Removed theme transition for dark theme only */
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
    transition: color 0.3s ease;
}

/* Form Elements */
input, textarea, select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--card-bg);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    background-color: var(--light-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

::placeholder {
    color: var(--light-text);
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container,
    .features .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
        margin-top: 2rem;
    }
    
    .hero-content p {
        max-width: 100%;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .feature {
        justify-content: center;
    }
    
    .feature-content h2 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
        margin-left: 1rem;
    }
    
    .nav-actions {
        margin-left: 0;
    }
    
    .nav-links {
        margin: 0;
        text-align: right;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
}

/* Features Cards Section */
.features-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card .feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card .feature-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--light-text);
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .features-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .features-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 2rem auto;
    }
}

/* About Section */
.about-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-header .section-title {
    margin-bottom: 1.5rem;
}

.about-header .section-description {
    color: var(--light-text);
    line-height: 1.8;
    font-size: 1.1rem;
}

.features-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card .feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
    border-radius: 50%;
}

.feature-card .feature-icon i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--light-text);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .features-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-header {
        padding: 0 1rem;
    }

    .features-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem auto;
    }
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: var(--dark-bg);
    color: var(--text-color);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    z-index: 1;
}

[data-theme="light"] .cta-section {
    background: var(--light-bg);
}

[data-theme="light"] .cta-section::before {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
    font-weight: 700;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--light-text);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

[data-theme="dark"] .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

[data-theme="light"] .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="light"] .btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-large {
        width: 100%;
        text-align: center;
    }
}
