/* ==========================================================================
   NCERT Learn - Core Styling & Design System
   ========================================================================== */

/* --- Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens / CSS Variables --- */
:root {
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --primary-dark: #3730a3;
    --secondary: #0ea5e9;
    --secondary-hover: #0284c7;
    --accent: #f59e0b;
    --accent-light: #fef3c7;
    --success: #10b981;
    --success-light: #d1fae5;
    
    /* Neutral Colors */
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-footer: #0b0f19;
    --border-color: #f1f5f9;
    --border-hover: #e2e8f0;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
    --shadow-md: 0 8px 24px rgba(149, 157, 165, 0.1);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.05);
    --shadow-primary: 0 10px 20px rgba(79, 70, 229, 0.15);
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --max-width: 1200px;
}

/* --- Global Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-medium);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

ul {
    list-style: none;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
}

/* --- Reusable Components & Utilities --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.badge-secondary {
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--secondary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    gap: 8px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.25);
}

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

.btn-secondary:hover {
    background-color: var(--border-color);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 0;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

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

/* --- Sticky Header & Navigation --- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    transition: var(--transition-normal);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.logo span {
    color: var(--primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 100px 0 80px;
    background: radial-gradient(circle at 90% 10%, rgba(224, 231, 255, 0.6) 0%, rgba(255, 255, 255, 0) 50%),
                radial-gradient(circle at 10% 80%, rgba(224, 242, 254, 0.4) 0%, rgba(255, 255, 255, 0) 50%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 36px;
    line-height: 1.7;
}

/* Interactive Search Bar */
.search-container {
    background: white;
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-lg), 0 2px 8px rgba(79, 70, 229, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: 40px;
    transition: var(--transition-normal);
}

.search-container:focus-within {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.search-icon {
    color: var(--text-muted);
    margin-right: 12px;
}

.search-input {
    border: none;
    width: 100%;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 4px;
    font-weight: 800;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Floating Elements UI Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
    transition: var(--transition-normal);
}

.main-card:hover {
    transform: translateY(-5px);
}

.card-header-ux {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.pill-status {
    background-color: var(--accent-light);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.dots {
    display: flex;
    gap: 4px;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-muted);
    border-radius: 50%;
}

.card-content-ux {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.progress-bar-container {
    width: 100%;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 6px;
    font-weight: 500;
}

.progress-bar {
    height: 8px;
    background-color: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    width: 75%;
}

.visual-item {
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.visual-item:hover {
    background-color: #f1f5f9;
    border-color: var(--border-hover);
}

.visual-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(14, 165, 233, 0.1));
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.visual-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.visual-info p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Floating overlays */
.floating-badge {
    position: absolute;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    border: 1px solid var(--border-color);
    animation: float 4s ease-in-out infinite alternate;
}

.badge-left {
    bottom: 20px;
    left: -20px;
}

.badge-right {
    top: 40px;
    right: -20px;
    animation-delay: 2s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- Classes Grid Section --- */
.classes-section {
    background-color: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.class-card {
    background: var(--bg-main);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.class-card:hover {
    background: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.class-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 8px;
}

.class-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.class-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.class-link {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.class-link:hover {
    color: var(--primary-dark);
}

/* --- Call To Action Section --- */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e1b4b 100%);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-primary);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

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

.cta-banner h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

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

.cta-btn-white:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.cta-btn-trans {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-btn-trans:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* --- About Us Page Specific Styles --- */
.page-header {
    background: linear-gradient(180deg, #eef2ff 0%, var(--bg-main) 100%);
    padding: 80px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-content h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-visual {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

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

.mission-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

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

.mission-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.mission-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.mission-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- Contact Us Page Specific Styles --- */
.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(14, 165, 233, 0.1));
    border-radius: 12px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.contact-details p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.contact-form-wrapper p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-hover);
    background-color: var(--bg-main);
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

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

/* --- Privacy Policy Page Specific Styles --- */
.privacy-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

.privacy-sidebar {
    position: sticky;
    top: 104px;
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.privacy-sidebar h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.privacy-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.privacy-nav-link {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.privacy-nav-link:hover {
    color: var(--primary);
}

.privacy-nav-link::before {
    content: '•';
    color: var(--text-muted);
}

.privacy-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-dark);
    border-left: 4px solid var(--primary);
    padding-left: 12px;
}

.privacy-section p {
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.75;
}

.privacy-section ul {
    margin-bottom: 16px;
    padding-left: 20px;
    list-style: disc;
    color: var(--text-medium);
}

.privacy-section li {
    margin-bottom: 8px;
}

/* --- Footer Section --- */
.footer {
    background-color: var(--bg-footer);
    color: #94a3b8;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: var(--transition-fast);
}

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

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    width: 100%;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 12px 20px;
    color: white;
    font-size: 0.9rem;
}

.newsletter-input:focus {
    border-color: var(--primary);
    background-color: rgba(255,255,255,0.08);
}

.newsletter-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.newsletter-btn:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .search-container {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .privacy-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-sidebar {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: var(--transition-normal);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-actions {
        display: none; /* Hide action buttons on mobile in header, can put in nav */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .about-grid, .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content, .contact-info {
        order: 1;
    }
    
    .about-visual, .contact-form-wrapper {
        order: 2;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
