/* Modern Color Palette & Design System */
:root {
    /* Light mode colors */
    --background: hsl(0 0% 100%);
    --foreground: hsl(0 0% 3.9%);
    --primary: hsl(0 0% 9%);
    --secondary: hsl(0 0% 96.1%);
    --muted: hsl(0 0% 45.1%);
    --destructive: hsl(0 84.2% 60.2%);
    --border: hsl(0 0% 89.8%);
    
    /* Accent color - Blue theme */
    --accent: hsl(221 83% 53%);
    --accent-hover: hsl(221 83% 45%);
    --accent-light: hsl(221 83% 95%);
    
    /* Chart colors */
    --chart-1: hsl(12 76% 61%);
    --chart-2: hsl(173 58% 39%);
    --chart-3: hsl(197 37% 24%);
    --chart-4: hsl(43 74% 66%);
    --chart-5: hsl(27 87% 67%);
    
    /* Success and other states */
    --success: hsl(142 76% 36%);
    --warning: hsl(25 95% 53%);
    --info: hsl(197 37% 24%);
    
    /* Typography */
    --font-family-primary: 'Gidole', 'DM Sans', sans-serif;
    --font-family-secondary: 'DM Sans', sans-serif;
    
    /* Spacing & Layout */
    --border-radius: 0.5rem;
    --container-max-width: 1200px;
    --section-padding: 5rem 0;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
    :root {
        --background: hsl(0 0% 3.9%);
        --foreground: hsl(0 0% 98%);
        --primary: hsl(0 0% 98%);
        --secondary: hsl(0 0% 14.9%);
        --muted: hsl(0 0% 63.9%);
        --destructive: hsl(0 62.8% 30.6%);
        --border: hsl(0 0% 14.9%);
        
        --accent: hsl(221 83% 53%);
        --accent-hover: hsl(221 83% 60%);
        --accent-light: hsl(221 83% 10%);
    }
}

/* Manual light mode toggle - override media queries */
html[data-theme="light"],
:root[data-theme="light"] {
    --background: hsl(0 0% 100%) !important;
    --foreground: hsl(0 0% 3.9%) !important;
    --primary: hsl(0 0% 9%) !important;
    --secondary: hsl(0 0% 96.1%) !important;
    --muted: hsl(0 0% 45.1%) !important;
    --destructive: hsl(0 84.2% 60.2%) !important;
    --border: hsl(0 0% 89.8%) !important;
    
    --accent: hsl(221 83% 53%) !important;
    --accent-hover: hsl(221 83% 45%) !important;
    --accent-light: hsl(221 83% 95%) !important;
}

/* Manual dark mode toggle - override media queries */
html[data-theme="dark"],
:root[data-theme="dark"] {
    --background: hsl(0 0% 3.9%) !important;
    --foreground: hsl(0 0% 98%) !important;
    --primary: hsl(0 0% 98%) !important;
    --secondary: hsl(0 0% 14.9%) !important;
    --muted: hsl(0 0% 63.9%) !important;
    --destructive: hsl(0 62.8% 30.6%) !important;
    --border: hsl(0 0% 14.9%) !important;
    
    --accent: hsl(221 83% 53%) !important;
    --accent-hover: hsl(221 83% 60%) !important;
    --accent-light: hsl(221 83% 10%) !important;
}


/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--muted);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-family-primary);
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--background);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Header */
.header {
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
}

/* SVG logo specific adjustments */
.logo-img[src*=".svg"] {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Dark mode logo adjustments */
html[data-theme="dark"] .logo-img[src*=".svg"],
:root[data-theme="dark"] .logo-img[src*=".svg"] {
    filter: invert(1) drop-shadow(0 1px 2px rgba(255, 255, 255, 0.1)) !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Theme Toggle - Modern Design */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50% !important;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-right: 0.75rem;
    /* Force circular shape */
    min-width: 40px;
    min-height: 40px;
    box-sizing: border-box;
}

.theme-toggle:hover {
    border-color: var(--accent);
    background-color: var(--secondary);
    transform: scale(1.05);
}

.theme-toggle:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.theme-toggle-icon {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Theme icons */
.theme-icon-sun,
.theme-icon-moon {
    position: absolute;
    font-size: 18px;
    color: var(--foreground);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light mode - show sun, hide moon */
.theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-icon-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

/* Dark mode - show moon, hide sun */
html[data-theme="dark"] .theme-icon-sun,
:root[data-theme="dark"] .theme-icon-sun {
    opacity: 0 !important;
    transform: rotate(-90deg) scale(0) !important;
}

html[data-theme="dark"] .theme-icon-moon,
:root[data-theme="dark"] .theme-icon-moon {
    opacity: 1 !important;
    transform: rotate(0deg) scale(1) !important;
}

/* Auto dark mode detection */
@media (prefers-color-scheme: dark) {
    .theme-icon-sun {
        opacity: 0;
        transform: rotate(-90deg) scale(0);
    }
    
    .theme-icon-moon {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Override auto detection when manual theme is set */
html[data-theme="light"] .theme-icon-sun,
:root[data-theme="light"] .theme-icon-sun {
    opacity: 1 !important;
    transform: rotate(0deg) scale(1) !important;
}

html[data-theme="light"] .theme-icon-moon,
:root[data-theme="light"] .theme-icon-moon {
    opacity: 0 !important;
    transform: rotate(90deg) scale(0) !important;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    max-width: 400px;
    min-width: 320px;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.cookie-notice.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.cookie-notice-content {
    padding: 1.5rem;
}

.cookie-notice-text {
    margin-bottom: 1rem;
}

.cookie-notice-text p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--muted);
}

.cookie-notice-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--background);
    color: var(--foreground);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
    justify-content: center;
    min-width: 80px;
}

.cookie-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.cookie-btn:active {
    transform: translateY(0);
}

.cookie-btn-accept {
    background: var(--accent);
    color: var(--background);
    border-color: var(--accent);
}

.cookie-btn-accept:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.cookie-btn-decline:hover {
    border-color: var(--muted);
    background: var(--secondary);
}

.cookie-btn i {
    font-size: 0.75rem;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .cookie-notice {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        min-width: auto;
    }
    
    .cookie-notice-content {
        padding: 1rem;
    }
    
    .cookie-notice-text p {
        font-size: 0.8rem;
    }
    
    .cookie-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Dark mode adjustments */
html[data-theme="dark"] .cookie-notice,
:root[data-theme="dark"] .cookie-notice {
    background: var(--background) !important;
    border-color: var(--border) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1) !important;
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, var(--background) 0%, var(--secondary) 100%);
}

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

.hero-title {
    color: var(--primary);
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-out 0.3s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeIn 1s ease-out 0.9s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    animation: fadeInRight 1s ease-out 0.6s both;
}

/* Ebook Section */
.ebook-promo {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--secondary) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ebook-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.ebook-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: left;
}

.ebook-subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.ebook-description {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.ebook-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ebook-cover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.ebook-cover i {
    margin-bottom: 1rem;
}

.ebook-cover p {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0;
}

/* Responsive design for ebook section */
@media (max-width: 768px) {
    .ebook-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .ebook-text h2 {
        text-align: center;
        font-size: 2rem;
    }
    
    .ebook-cover {
        min-width: 180px;
        min-height: 220px;
    }
}

/* Ebook Page Specific Styles */
.ebook-hero {
    padding: 3rem 1rem;
    background: linear-gradient(135deg, var(--background) 0%, var(--accent-light) 100%);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: calc(80px + 2rem);
}

.ebook-hero-content {
    display: grid;
    grid-template-columns: 1fr minmax(400px, 500px);
    gap: 4rem;
    align-items: center;
}

.ebook-hero-title {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ebook-hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.ebook-hero-description {
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.ebook-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.benefit-item i {
    color: var(--success);
    font-size: 1.2rem;
}

.form-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.ebook-cover-large {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.ebook-cover-large h3 {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem 0;
}

.ebook-cover-large p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.ebook-pages {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 1rem;
}

.ebook-form h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.form-description {
    text-align: center;
    color: var(--muted);
    margin-bottom: 2rem;
}

.btn-large {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    width: 100%;
}

.privacy-note {
    font-size: 0.9rem;
    color: var(--muted);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

.success-message {
    text-align: center;
    color: var(--success);
}

.success-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-message h3 {
    color: var(--success);
    margin-bottom: 1rem;
}

.ebook-content-preview {
    padding: var(--section-padding);
    background: var(--background);
}

.ebook-content-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

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

.content-item {
    background: var(--secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border);
}

.content-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.content-icon i {
    color: white;
    font-size: 2rem;
}

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

.content-item p {
    color: var(--muted);
    line-height: 1.6;
}

.about-author {
    padding: var(--section-padding);
    background: var(--accent-light);
}

.author-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.author-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.author-text h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.author-text p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Responsive styles for ebook page */
@media (max-width: 1200px) {
    .ebook-hero-content {
        grid-template-columns: 1fr 450px;
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .ebook-hero-content {
        grid-template-columns: 1fr 400px;
        gap: 2rem;
    }
    
    .author-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 900px) {
    .ebook-hero {
        min-height: auto;
        padding: calc(80px + 1rem) 1rem 2rem;
        align-items: stretch;
    }
    
    .ebook-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .form-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .ebook-hero {
        padding: calc(70px + 1rem) 0.75rem 1.5rem;
        min-height: auto;
    }
    
    .ebook-hero-content {
        gap: 1.5rem;
    }
    
    .ebook-hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }
    
    .ebook-hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .ebook-hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .ebook-benefits {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .benefit-item {
        font-size: 1rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 1.5rem;
        max-width: 100%;
        margin: 0;
        box-shadow: var(--shadow-md);
    }
    
    .ebook-cover-large {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .ebook-hero {
        padding: calc(70px + 0.75rem) 0.5rem 1rem;
    }
    
    .ebook-hero-content {
        gap: 1rem;
    }
    
    .ebook-hero-title {
        font-size: 1.75rem;
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }
    
    .ebook-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .ebook-hero-description {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .ebook-benefits {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .benefit-item {
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .benefit-item i {
        font-size: 1rem;
    }
    
    .form-container {
        padding: 1rem;
        border-radius: 0.375rem;
    }
    
    .ebook-cover-large {
        padding: 1.25rem;
        margin-bottom: 1rem;
        min-width: 140px;
        min-height: 160px;
    }
    
    .ebook-cover-large i {
        font-size: 2rem;
    }
    
    .ebook-cover-large h3 {
        font-size: 1.2rem;
        margin: 0.75rem 0 0.25rem 0;
    }
    
    .ebook-cover-large p {
        font-size: 0.95rem;
        margin: 0.25rem 0;
    }
    
    .ebook-pages {
        font-size: 0.8rem;
    }
    
    .ebook-form h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .form-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-large {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    .privacy-note {
        font-size: 0.8rem;
        margin-top: 0.75rem;
    }
}

/* About Section */
.about {
    padding: var(--section-padding);
    background-color: var(--background);
}

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

.about-features {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    padding: 1.5rem;
    background-color: var(--secondary);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

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

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
}

/* Team Section */
.team {
    padding: var(--section-padding);
    background-color: var(--secondary);
}

.team-description {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background-color: var(--background);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 400px;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.team-member-image {
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    box-shadow: var(--shadow-md);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

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

.team-member-info h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.team-member-position {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-member-description {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
}

.team-member-specializations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.specialization {
    background-color: var(--accent);
    color: var(--background);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background-color: var(--secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
}

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

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--background);
    font-size: 1.5rem;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--muted);
    line-height: 1.6;
}

/* Prices Section */
.prices {
    padding: var(--section-padding);
    background-color: var(--background);
}

.free-lesson-notice {
    background-color: var(--accent-light);
    border-left: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.free-lesson-notice p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--accent);
}

.free-lesson-notice strong {
    font-weight: 700;
}

.pricing-section {
    margin-bottom: 4rem;
}

.pricing-section:last-of-type {
    margin-bottom: 3rem;
}

.pricing-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 2rem;
    text-align: left;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 0.5rem;
}

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

.conversation-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    max-width: 800px;
    margin: 0 auto;
}

.price-card {
    background-color: var(--background);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.package-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.package-icon i {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.8;
}

.price-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin: 1rem 0;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.price-features li {
    padding: 0.3rem 0;
    color: var(--muted);
    font-size: 0.875rem;
}

.price-features li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    margin-right: 0.5rem;
}

.original-price {
    color: var(--muted);
    font-size: 0.875rem;
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.savings {
    color: var(--success);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.savings-note {
    color: var(--success);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.price-range {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background-color: var(--secondary);
    border-radius: calc(var(--border-radius) * 0.5);
}

.price-small {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
}

.price-desc {
    font-size: 0.875rem;
    color: var(--muted);
}

.camp-info {
    text-align: center;
    padding: 2rem;
    background-color: var(--secondary);
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.camp-details {
    text-align: left;
    margin-top: 1rem;
}

.camp-details p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.camp-details strong {
    color: var(--accent);
}

.camp-image {
    width: 400px;
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.camp-image:hover {
    transform: scale(1.02);
}

.camp-reservation {
    text-align: center;
    margin-top: 2rem;
}

.camp-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.camp-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--accent-hover), var(--accent));
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.image-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: var(--border-radius);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.image-modal-close:hover {
    color: var(--accent);
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background-color: var(--secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--accent);
    flex-shrink: 0;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    display: inline-block;
}

.contact-item a {
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-item span {
    color: var(--muted);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    color: var(--background);
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
    background-color: var(--accent-hover);
}

.contact-form {
    background-color: var(--background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label,
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--foreground);
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-family-primary);
    background-color: var(--background);
    color: var(--foreground);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Custom Select Styling */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 3rem;
    cursor: pointer;
}

.form-group select:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Select option styling */
.form-group select option {
    background-color: var(--background);
    color: var(--foreground);
    padding: 0.5rem;
}

/* Dark mode select arrow */
html[data-theme="dark"] .form-group select,
:root[data-theme="dark"] .form-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
}

html[data-theme="dark"] .form-group select:focus,
:root[data-theme="dark"] .form-group select:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
}

/* Form Messages */
.form-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

.form-message-success {
    background-color: var(--accent-light);
    color: var(--success);
    border: 1px solid var(--success);
}

.form-message-error {
    background-color: hsl(0 84.2% 95%);
    color: var(--destructive);
    border: 1px solid var(--destructive);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--background);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: var(--secondary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.footer-section li:hover {
    color: var(--accent);
}

/* Footer contact items */
.footer-section .contact-item {
    margin-bottom: 0.75rem;
}

.footer-section .contact-item i {
    color: var(--accent);
    flex-shrink: 0;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    display: inline-block;
}

.footer-section .contact-item span {
    color: var(--secondary);
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    border-top: 1px solid var(--secondary);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    color: var(--secondary);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Mobile header improvements */
    .header {
        padding: 0.5rem 0;
    }
    
    .header-content {
        justify-content: space-between;
        padding: 0.75rem 0;
        gap: 1rem;
    }
    
    /* Hide navigation on mobile */
    .nav-menu {
        display: none;
    }
    
    /* Logo adjustments */
    .logo-img {
        height: 40px;
        max-width: 160px;
    }
    
    /* Header CTA mobile layout */
    .header-cta {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-shrink: 0;
    }
    
    /* Theme toggle mobile design */
    .theme-toggle {
        width: 32px;
        height: 32px;
        margin-right: 0;
        border-width: 1px;
        min-width: 32px;
        min-height: 32px;
        border-radius: 50% !important;
    }
    
    .theme-icon-sun,
    .theme-icon-moon {
        font-size: 14px;
    }
    
    /* CTA button mobile */
    .header-cta .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-member {
        padding: 1.5rem;
    }
    
    .team-member-image {
        width: 150px;
        height: 150px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .prices-grid {
        grid-template-columns: 1fr;
    }
    
    .conversation-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }
    
    /* Popular styling removed */
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .price-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .camp-image {
        width: 320px;
        height: auto;
    }
    
    /* Mobile contact items - CSS Grid approach */
    .contact-item {
        display: grid;
        grid-template-columns: 25px 1fr;
        gap: 1rem;
        align-items: start;
        margin-bottom: 1rem;
    }
    
    .contact-item i {
        width: 20px;
        text-align: center;
        margin-top: 0.1rem;
        line-height: 1;
        justify-self: center;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    .container {
        padding: 0 0.75rem;
    }
    
    .header-content {
        padding: 0.5rem 0;
        gap: 0.75rem;
    }
    
    /* Even smaller elements on tiny screens */
    .logo-img {
        height: 36px;
        max-width: 140px;
    }
    
    .theme-toggle {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        border-radius: 50% !important;
    }
    
    .theme-icon-sun,
    .theme-icon-moon {
        font-size: 12px;
    }
    
    .header-cta {
        gap: 0.5rem;
    }
    
    .header-cta .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    /* Extra small mobile - same grid approach */
    .contact-item {
        grid-template-columns: 22px 1fr;
        gap: 0.75rem;
    }
    
    .contact-item i {
        width: 18px;
        font-size: 0.9rem;
        margin-top: 0.15rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card,
    .price-card {
        padding: 1.5rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.nav-menu a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border: hsl(0 0% 60%);
        --muted: hsl(0 0% 30%);
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .btn,
    .social-links {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}