/* styles.css */


/* --- 1. Variables & Reset --- */
:root {
    /* Brand Palette */
    --primary: #0e7490;      /* Teal Blue */
    --primary-dark: #155e75;
    --secondary: #334155;    /* Slate */
    --accent: #f59e0b;       /* Warm Amber */
    
    /* Surface & Backgrounds */
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-transparent: rgba(255, 255, 255, 0.85);
    
    /* Typography & UI */
    --text: #1e293b;
    --text-light: #64748b;
    --border-light: rgba(148, 163, 184, 0.2);
    
    /* Shadows (Modern & Diffused) */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased; /* Crisper text on Mac */
}

/* Prevent image overflow globally */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Brand Selection Color */
::selection {
    background: var(--primary);
    color: white;
}

/* --- 2. Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; /* Smoother easing */
}

/* --- 3. Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Fluid Typography */
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.3; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); line-height: 1.4; }

/* --- 4. Professional Aesthetic Header --- */

/* Header Container (Glassmorphism) */
.site-header {
    background: rgba(255, 255, 255, 0.85); /* Semi-transparent white */
    backdrop-filter: blur(12px);            /* The frosted glass effect */
    -webkit-backdrop-filter: blur(12px);    /* Safari support */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); /* Very subtle depth */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Taller, more breathing room */
}

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo-container:hover { opacity: 0.9; }

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 8px 16px rgba(14, 116, 144, 0.25); /* Soft colored shadow */
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.brand-tagline {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    margin: 2px 0 0 0;
}

/* Navigation Links (The "Magic" Line Animation) */
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

/* Hover State: Text Color Change */
.nav-item:hover {
    color: var(--primary);
}

/* Hover State: Animated Underline */
.nav-item::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent); /* Amber/Gold underline */
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-item:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Active Link State */
.nav-item.active {
    color: var(--primary);
}
.nav-item.active::after {
    transform: scaleX(1);
}

/* Language Button (Pill Shape) */
.lang-btn {
    background: transparent;
    color: var(--primary);
    border: 2px solid rgba(14, 116, 144, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(14, 116, 144, 0.3);
    transform: translateY(-1px);
}

.lang-icon { font-size: 1rem; }

/* Mobile Menu Toggle (Hamburger to X Animation) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Active State for Mobile Menu Button (Make an X) */
.nav-links.active + .menu-toggle .bar:nth-child(1) { 
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }


/* --- 5. Hero Section --- */
.hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background: #0f172a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero.home { height: 85vh; min-height: 550px; }

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}
.slide.active { opacity: 1; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 5;
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 900px;
}

.hero h1 {
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    color: #e2e8f0;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- 6. Buttons & CTA --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(14, 116, 144, 0.4);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 116, 144, 0.6);
}

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

#cta-sections {
    background: linear-gradient(135deg, #0e7490 0%, #0f172a 100%);
    padding: 80px 0;
}

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

/* CTA Card */
.cta-card {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    padding: 40px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s;
}

.cta-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-card h3 {
    margin-bottom: 15px;
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- 7. General Sections --- */
section { padding: 80px 0; }

.section-header { text-align: center; margin-bottom: 60px; }

.section-title {
    color: var(--secondary);
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: 10px;
}

/* --- 8. Cards & Grid System --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--surface);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Top accent border for cards */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(14, 116, 144, 0.2);
}

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

.card h3 { color: var(--primary); margin-bottom: 15px; font-weight: 700; }

/* --- 9. Professional Footer Styles --- */

.site-footer {
    background-color: #0f172a; /* Deep Slate Blue */
    color: #cbd5e1; /* Light Grey Text */
    padding: 80px 0 30px;
    font-size: 0.95rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

/* Gradient Top Border */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
}

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

/* --- Brand Section --- */
.footer-brand .logo-text h2 {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 300px;
    color: #94a3b8;
}

/* --- Social Icons --- */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
    transition: fill 0.3s;
}

.social-icon:hover {
    transform: translateY(-5px);
    border-color: transparent;
}

/* Brand Colors on Hover */
.social-icon.facebook:hover { background: #1877F2; box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4); }
.social-icon.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); box-shadow: 0 5px 15px rgba(214, 36, 159, 0.4); }
.social-icon.linkedin:hover { background: #0A66C2; box-shadow: 0 5px 15px rgba(10, 102, 194, 0.4); }
.social-icon.youtube:hover { background: #FF0000; box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4); }

/* --- Headings --- */
.site-footer h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* --- Links --- */
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #cbd5e1; text-decoration: none; transition: 0.3s; display: inline-block; }
.footer-links a:hover { color: var(--primary); transform: translateX(5px); }

/* --- Contact Items --- */
.contact-item { display: flex; gap: 15px; margin-bottom: 15px; align-items: flex-start; }
.contact-item .icon { color: var(--accent); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.contact-item a { color: #cbd5e1; text-decoration: none; transition: 0.3s; }
.contact-item a:hover { color: white; text-decoration: underline; }

/* --- Footer Button --- */
.btn-footer {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.btn-footer:hover { background: var(--primary); border-color: var(--primary); color: white; }

/* --- Bottom Bar --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: #64748b;
}

.legal-links { display: flex; gap: 20px; }
.legal-links a { color: #64748b; text-decoration: none; transition: 0.3s; }
.legal-links a:hover { color: white; }

/* --- 10. Page Specifics & Responsiveness --- */

/* Page Header Gap */
.page-header {
    background: linear-gradient(rgba(14, 116, 144, 0.9), rgba(15, 23, 42, 0.9));
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-top: 20px; 
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px; 
    margin-top: 40px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 20px;
}
.gallery-item {
    aspect-ratio: 1 / 1; 
    height: auto;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
}

/* Contact Page Grid */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1.2fr; 
    gap: 40px;
}
.contact-card {
    border-left: 5px solid var(--accent);
}

/* FAQ Styles */
.faq-item {
    border: none;
    box-shadow: var(--shadow-sm);
}
.faq-question {
    border-radius: 10px;
    background: white;
    border: 1px solid transparent;
}
.faq-item.active .faq-question {
    background: #f0f9ff;
    color: var(--primary-dark);
    border-color: rgba(14, 116, 144, 0.2);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.faq-answer {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* --- Services Page Styles --- */
.section-block {
    padding: 80px 0;
    border-bottom: 1px solid #e2e8f0;
}

.section-alt {
    background-color: #f8fafc;
}

.service-heading-wrapper {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.service-badge {
    background: rgba(14, 116, 144, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.service-title {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-desc {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--surface);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(14, 116, 144, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before { opacity: 1; }

.feature-icon-box {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary);
}

.feature-icon-box svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

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

.feature-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
}

.workshop-section .feature-icon-box {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: var(--accent);
}
.workshop-section .feature-card::before { background: var(--accent); }

/* --- Main Responsive Logic --- */

/* Desktop & Tablet */
@media (max-width: 900px) {
    .navbar { height: 70px; }
    .menu-toggle { display: flex; }
    
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        gap: 0;
        border-top: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active { max-height: 500px; }
    .nav-links li { width: 100%; border-bottom: 1px solid rgba(0,0,0,0.04); }
    .nav-item { display: block; padding: 16px 24px; width: 100%; font-size: 1rem; }
    .nav-item::after { display: none; }
    .nav-item:hover { background-color: #f8fafc; color: var(--primary); padding-left: 30px; }
    .nav-links li:last-child { padding: 20px; border-bottom: none; display: flex; justify-content: center; }
    
    /* Footer Grid Tablet */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
    
    /* Contact Page */
    .grid-2 { grid-template-columns: 1fr; }
    .map-wrapper { height: 350px; }
}

/* Mobile Screens */
@media (max-width: 600px) {
    /* Layout */
    .container { padding: 0 16px; }
    section { padding: 50px 0; }
    
    /* Typography */
    .hero h1 { font-size: 1.75rem; }
    .service-title { font-size: 1.5rem; }
    
    /* Grids */
    .stats-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    
    /* Footer Mobile */
    .site-footer { padding: 50px 0 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-brand { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .footer-logo { justify-content: center; }
    .footer-desc { text-align: center; margin-inline: auto; }
    .social-links { justify-content: center; }
    .site-footer h3 { text-align: center; }
    .site-footer h3::after { left: 50%; transform: translateX(-50%); }
    .footer-links ul { text-align: center; }
    .contact-item { justify-content: center; text-align: center; }
    .footer-cta { text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 15px; }
    
    /* Page Specifics */
    .page-header { margin-top: 10px; }
    .section-block { padding: 50px 0; }
}
/* =========================================
   LANGUAGE TOGGLE LOGIC (Add to bottom of CSS)
   ========================================= */

/* 1. Default State (English Mode) */
/* By default, hide all Marathi text */
[lang="mr"] {
    display: none !important;
}

/* 2. Marathi Mode (When "marathi" class is on body) */
/* Hide all English text */
body.marathi [lang="en"] {
    display: none !important;
}

/* Show Marathi text */
/* We use 'revert' so headings stay block and spans stay inline */
body.marathi [lang="mr"] {
    display: revert !important;
}

/* Fallback for browsers that don't support 'revert' */
@supports not (display: revert) {
    body.marathi [lang="mr"] {
        display: inherit !important;
    }
}

/* Logo Image Styling */
.logo-img {
    width: 50px;  /* Adjust size as needed */
    height: 50px;
    object-fit: contain; /* Keeps aspect ratio */
    border-radius: 8px;  /* Optional: rounded corners */
}

/* Hide the old logo-icon style if you still have it, or just replace it with above */

/* =========================================
   6. PROFESSIONAL FOOTER
   ========================================= */
.site-footer {
    background-color: #0f172a; /* Deep Slate Blue */
    color: #cbd5e1; /* Light Grey Text */
    padding: 80px 0 30px;
    font-size: 0.95rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

/* Gradient Top Border */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
}

.footer-grid {
    display: grid;
    /* 4 Column Layout: Brand (wider) | Links | Contact | CTA */
    grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* --- Brand Section --- */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    text-decoration: none;
}

/* Footer specific logo adjustment */
.footer-logo-img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: white; /* Ensure visibility if logo is transparent */
    padding: 2px;
}

.footer-brand .logo-text h2 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}

.footer-desc {
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 320px;
    color: #94a3b8;
    font-size: 0.95rem;
}

/* --- Social Icons --- */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: white;
    transition: fill 0.3s;
}

/* Hover Effects */
.social-icon:hover {
    transform: translateY(-5px);
    border-color: transparent;
}
.social-icon.facebook:hover { background: #1877F2; }
.social-icon.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-icon.linkedin:hover { background: #0A66C2; }
.social-icon.youtube:hover { background: #FF0000; }

/* --- Headings --- */
.site-footer h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.site-footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* --- Links --- */
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { 
    color: #cbd5e1; 
    text-decoration: none; 
    transition: 0.3s; 
    display: inline-block;
    font-size: 0.95rem;
}
.footer-links a:hover { 
    color: var(--primary); 
    transform: translateX(5px); 
    text-shadow: 0 0 10px rgba(14, 116, 144, 0.4);
}

/* --- Contact Items --- */
.contact-item { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 20px; 
    align-items: flex-start; 
}
.contact-item .icon { 
    color: var(--accent); 
    font-size: 1.1rem; 
    margin-top: 3px; 
    flex-shrink: 0; 
}
.contact-item a { 
    color: #cbd5e1; 
    text-decoration: none; 
    transition: 0.3s; 
}
.contact-item a:hover { color: white; text-decoration: underline; }

/* --- Footer Button --- */
.btn-footer {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255,255,255,0.05);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.btn-footer:hover { 
    background: var(--primary); 
    border-color: var(--primary); 
    color: white;
    box-shadow: 0 4px 15px rgba(14, 116, 144, 0.3);
}

/* --- Bottom Bar --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: #64748b;
}

.legal-links { display: flex; gap: 25px; }
.legal-links a { color: #64748b; text-decoration: none; transition: 0.3s; }
.legal-links a:hover { color: white; }

/* --- Footer Responsiveness --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* Switch to 2 columns */
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .site-footer { padding: 50px 0 30px; }
    
    .footer-grid {
        grid-template-columns: 1fr; /* 1 Column Stack */
        gap: 45px;
    }

    /* Center Align Everything on Mobile */
    .footer-brand, .footer-links, .footer-contact, .footer-cta {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer-logo { justify-content: center; }
    .social-links { justify-content: center; }
    .site-footer h3::after { left: 50%; transform: translateX(-50%); }
    
    /* Footer Links spacing on mobile */
    .footer-links li { margin-bottom: 15px; }
    
    /* Contact items centering */
    .contact-item { justify-content: center; text-align: center; }

    .footer-bottom { 
        flex-direction: column; 
        text-align: center;
        gap: 15px;
    }
}

/* styles.css */

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Brand Palette */
    --primary: #0e7490;      /* Teal Blue */
    --primary-dark: #155e75;
    --secondary: #334155;    /* Slate */
    --accent: #f59e0b;       /* Warm Amber */
    
    /* Surface & Backgrounds */
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-transparent: rgba(255, 255, 255, 0.85);
    
    /* Typography & UI */
    --text: #1e293b;
    --text-light: #64748b;
    --border-light: rgba(148, 163, 184, 0.2);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* Layout Utilities */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Typography */
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.3; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); line-height: 1.4; }


/* =========================================
   2. HEADER (Glassmorphism)
   ========================================= */
.site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

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

/* Logo */
.logo-container { display: flex; align-items: center; gap: 14px; text-decoration: none; transition: opacity 0.3s; }
.logo-container:hover { opacity: 0.9; }
.logo-img { width: 50px; height: 50px; object-fit: contain; border-radius: 8px; }

.brand-name { font-size: 1.1rem; font-weight: 800; color: var(--secondary); line-height: 1.1; text-transform: uppercase; letter-spacing: 0.5px; margin: 0; }
.brand-tagline { font-size: 0.8rem; color: #64748b; font-weight: 500; margin: 2px 0 0 0; }

/* Navigation */
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-item { text-decoration: none; color: #475569; font-weight: 600; font-size: 0.95rem; position: relative; padding: 5px 0; transition: color 0.3s ease; }
.nav-item:hover, .nav-item.active { color: var(--primary); }
.nav-item::after { content: ''; position: absolute; width: 100%; height: 2px; bottom: 0; left: 0; background-color: var(--accent); transform: scaleX(0); transform-origin: bottom right; transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.nav-item:hover::after, .nav-item.active::after { transform: scaleX(1); transform-origin: bottom left; }

/* Language Button */
.lang-btn { background: transparent; color: var(--primary); border: 2px solid rgba(14, 116, 144, 0.2); padding: 8px 20px; border-radius: 50px; font-weight: 700; font-size: 0.85rem; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 6px; }
.lang-btn:hover { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 12px rgba(14, 116, 144, 0.3); transform: translateY(-1px); }

/* Mobile Menu */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 24px; flex-direction: column; justify-content: space-between; padding: 0; z-index: 1001; }
.bar { width: 100%; height: 3px; background-color: var(--secondary); border-radius: 4px; transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
.nav-links.active + .menu-toggle .bar:nth-child(1), .menu-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }


/* =========================================
   3. HERO & GENERAL SECTIONS
   ========================================= */
.hero { position: relative; height: 50vh; min-height: 400px; background: #0f172a; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero.home { height: 85vh; min-height: 550px; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s ease-in-out; background-size: cover; background-position: center; z-index: 1; }
.slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%); z-index: 5; backdrop-filter: blur(2px); }
.hero-content { position: relative; z-index: 10; text-align: center; color: white; padding: 20px; max-width: 900px; }
.hero h1 { font-weight: 900; margin-bottom: 20px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.hero p { font-size: clamp(1rem, 2.5vw, 1.25rem); font-weight: 400; color: #e2e8f0; margin-bottom: 30px; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-title { color: var(--secondary); font-weight: 800; position: relative; display: inline-block; }
.section-title::after { content: ''; display: block; width: 60%; height: 4px; background: var(--accent); margin: 12px auto 0; border-radius: 10px; }

.page-header { background: linear-gradient(rgba(14, 116, 144, 0.9), rgba(15, 23, 42, 0.9)); color: white; padding: 60px 0; text-align: center; margin-top: 0; }

.btn-primary, .btn-footer { display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: white; padding: 12px 28px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; border: 2px solid transparent; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14, 116, 144, 0.4); }
.btn-footer { padding: 8px 20px; background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); border-radius: 6px; }
.btn-footer:hover { background: var(--primary); border-color: var(--primary); color: white; }


/* =========================================
   4. CARDS & GRIDS (Shared)
   ========================================= */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card { background: var(--surface); padding: 40px 30px; border-radius: 20px; box-shadow: var(--shadow-md); border: 1px solid var(--border-light); transition: all 0.3s; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(14, 116, 144, 0.2); }
.card:hover::before { transform: scaleX(1); }
.card h3 { color: var(--primary); margin-bottom: 15px; font-weight: 700; }

/* CTA Section */
#cta-sections { background: linear-gradient(135deg, #0e7490 0%, #0f172a 100%); padding: 80px 0; }
.cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.cta-card { display: block; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); padding: 40px; border-radius: 16px; text-decoration: none; color: white; border: 1px solid rgba(255, 255, 255, 0.15); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cta-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.15); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); }
.cta-card h3 { margin-bottom: 15px; color: var(--accent); font-size: 1.5rem; font-weight: 700; }
.cta-card p { color: rgba(255, 255, 255, 0.9); font-size: 1rem; line-height: 1.6; }


/* =========================================
   5. PAGE SPECIFIC STYLES
   ========================================= */

/* Services Page */
.section-block { padding: 80px 0; border-bottom: 1px solid #e2e8f0; }
.section-alt { background-color: #f8fafc; }
.service-heading-wrapper { max-width: 800px; margin: 0 auto 50px auto; text-align: center; }
.service-badge { background: rgba(14, 116, 144, 0.1); color: var(--primary); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 15px; }
.service-title { font-size: 2rem; color: var(--secondary); margin-bottom: 15px; line-height: 1.3; }
.service-desc { color: #64748b; font-size: 1.05rem; line-height: 1.6; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background: var(--surface); padding: 35px 30px; border-radius: 20px; box-shadow: var(--shadow-md); border: 1px solid var(--border-light); transition: all 0.3s; position: relative; overflow: hidden; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary); transform: scaleX(0); transition: 0.3s; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon-box { width: 60px; height: 60px; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; color: var(--primary); }
.feature-icon-box svg { width: 30px; height: 30px; fill: currentColor; }
.feature-list { list-style: none; padding: 0; }
.feature-list li { position: relative; padding-left: 24px; margin-bottom: 12px; color: #475569; }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background-color: var(--accent); border-radius: 50%; }
.workshop-section .feature-icon-box { background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); color: var(--accent); }
.workshop-section .feature-card::before { background: var(--accent); }

/* Team Page */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 40px; }
.team-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); transition: 0.3s; padding: 0; border: 1px solid var(--border-light); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.card-banner { height: 100px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.team-avatar-container { width: 120px; height: 120px; margin: -60px auto 15px auto; position: relative; z-index: 2; }
.team-avatar { width: 100%; height: 100%; background: #f1f5f9; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; border: 5px solid white; box-shadow: var(--shadow-md); }
.team-content-wrapper { padding: 0 25px 30px 25px; text-align: center; }
.team-role { color: var(--primary); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; background: rgba(14, 116, 144, 0.1); padding: 4px 12px; border-radius: 50px; display: inline-block; margin-bottom: 15px; }
.skill-tag { font-size: 0.75rem; color: var(--secondary); background: #f8fafc; border: 1px solid #e2e8f0; padding: 4px 10px; border-radius: 6px; margin: 2px; display: inline-block; }

/* Gallery Page */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; padding: 20px 0; }
.gallery-item { position: relative; height: 280px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); cursor: pointer; transition: 0.3s; }
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent); padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; transform: translateY(20px); transition: 0.3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; transform: translateY(0); }
.lightbox { display: none; position: fixed; z-index: 2000; inset: 0; background: rgba(0,0,0,0.95); backdrop-filter: blur(5px); justify-content: center; align-items: center; }
.lightbox.active { display: flex; }
.lightbox-content { max-width: 90%; max-height: 90vh; border-radius: 8px; }
.close-lightbox { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; cursor: pointer; }

/* Contact Page */
.grid-2 { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.info-card { background: white; padding: 25px; border-radius: 16px; box-shadow: var(--shadow-md); border: 1px solid #e2e8f0; display: flex; gap: 20px; margin-bottom: 20px; transition: 0.3s; }
.info-card:hover { transform: translateY(-5px); border-color: rgba(14, 116, 144, 0.2); }
.info-icon-box { background: rgba(14, 116, 144, 0.1); color: var(--primary); width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.map-container { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); height: 100%; min-height: 500px; border: 4px solid white; }

/* FAQ Page */
.faq-item { background: white; border-radius: 12px; margin-bottom: 16px; box-shadow: var(--shadow-sm); border: 1px solid #e2e8f0; overflow: hidden; transition: 0.3s; }
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-md); }
.faq-question { padding: 20px 24px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: white; transition: 0.3s; }
.faq-item.active .faq-question { background: #f0f9ff; color: var(--primary-dark); }
.faq-icon { transition: 0.3s; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: 0.4s ease-out; background: white; }
.faq-answer-content { padding: 0 24px 24px; color: #475569; }


/* =========================================
   6. PROFESSIONAL FOOTER (Desktop Default)
   ========================================= */
.site-footer {
    background-color: #0f172a; color: #cbd5e1;
    padding: 80px 0 30px; font-size: 0.95rem; margin-top: auto; position: relative; overflow: hidden;
}
.site-footer::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
}

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

.footer-logo { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; text-decoration: none; }
.footer-logo-img { width: 45px; height: 45px; border-radius: 8px; background: white; padding: 2px; }
.footer-brand .logo-text h2 { color: white; font-size: 1.3rem; font-weight: 700; margin: 0; line-height: 1.1; }
.footer-desc { line-height: 1.6; margin-bottom: 20px; max-width: 320px; color: #94a3b8; font-size: 0.9rem; }

.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-icon { width: 36px; height: 36px; background: rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: white; text-decoration: none; transition: all 0.3s; border: 1px solid rgba(255, 255, 255, 0.1); }
.social-icon svg { width: 18px; height: 18px; fill: white; }
.social-icon:hover { transform: translateY(-3px); border-color: transparent; }
.social-icon.facebook:hover { background: #1877F2; }
.social-icon.instagram:hover { background: #E1306C; }
.social-icon.linkedin:hover { background: #0A66C2; }
.social-icon.youtube:hover { background: #FF0000; }

.site-footer h3 { color: white; font-size: 1.05rem; font-weight: 600; margin-bottom: 20px; position: relative; padding-bottom: 10px; display: inline-block; text-transform: uppercase; letter-spacing: 0.5px; }
.site-footer h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--accent); }

.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #cbd5e1; text-decoration: none; transition: 0.3s; font-size: 0.9rem; display: block; }
.footer-links a:hover { color: var(--primary); transform: translateX(3px); }

.contact-item { display: flex; gap: 12px; margin-bottom: 15px; align-items: flex-start; }
.contact-item .icon { color: var(--accent); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.contact-item div { font-size: 0.9rem; line-height: 1.5; }
.contact-item a { color: #cbd5e1; text-decoration: none; }
.contact-item a:hover { color: white; text-decoration: underline; }

.footer-cta p { font-size: 0.9rem; margin-bottom: 15px; color: #94a3b8; line-height: 1.5; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 25px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; font-size: 0.8rem; color: #64748b; }
.legal-links { display: flex; gap: 20px; }
.legal-links a { color: #64748b; text-decoration: none; }


/* =========================================
   7. MOBILE RESPONSIVENESS (Optimized)
   ========================================= */

/* Tablet & Smaller Laptops */
@media (max-width: 900px) {
    .navbar { height: 70px; }
    .menu-toggle { display: flex; }
    .nav-links {
        position: absolute; top: 70px; left: 0; width: 100%;
        background: white; flex-direction: column; align-items: flex-start;
        padding: 0; border-top: 1px solid rgba(0,0,0,0.05); box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav-links.active { max-height: 600px; }
    .nav-links li { width: 100%; border-bottom: 1px solid #f1f5f9; }
    .nav-item { display: block; padding: 16px 24px; width: 100%; font-size: 1rem; }
    .nav-item::after { display: none; }
    .nav-item:hover { background-color: #f8fafc; color: var(--primary); padding-left: 30px; }
    .nav-links li:last-child { padding: 20px; border-bottom: none; display: flex; justify-content: center; }
    
    /* Tablet Footer */
    .site-footer { padding: 60px 0 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .grid-2 { grid-template-columns: 1fr; }
}

/* Mobile Phones (Compact View) */
@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 1.75rem; }
    .section-block { padding: 50px 0; }
    .features-grid, .stats-grid, .cta-grid { grid-template-columns: 1fr; }
    
    /* Compact Mobile Footer */
    .site-footer { padding: 40px 0 25px; text-align: left; }
    
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two columns side-by-side */
        grid-template-areas: 
            "brand brand"
            "links contact"
            "cta cta";
        gap: 30px 15px; /* Tighter spacing */
        margin-bottom: 40px;
    }

    /* Assign Areas */
    .footer-brand { grid-area: brand; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 25px; display: flex; flex-direction: column; align-items: center; }
    .footer-links { grid-area: links; }
    .footer-contact { grid-area: contact; }
    .footer-cta { grid-area: cta; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; }

    /* Mobile Specific Adjustments */
    .footer-desc { margin: 0 auto 20px auto; }
    .social-links { justify-content: center; }
    .contact-item { flex-direction: column; gap: 5px; margin-bottom: 12px; }
    .contact-item .icon { display: none; } /* Hide icons to save space */
    .site-footer h3 { font-size: 0.95rem; margin-bottom: 15px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; padding-top: 20px; }
    
    /* Page Specifics */
    .map-container { min-height: 350px; }
    .page-header { margin-top: 10px; }
}

/* Very Small Screens */
@media (max-width: 380px) {
    .footer-grid { grid-template-columns: 1fr; grid-template-areas: "brand" "links" "contact" "cta"; text-align: center; }
    .site-footer h3::after { left: 50%; transform: translateX(-50%); }
    .contact-item { align-items: center; }
    .contact-item .icon { display: block; }
}


/* =========================================
   8. LANGUAGE LOGIC (Must be last)
   ========================================= */
[lang="mr"] { display: none !important; }
body.marathi [lang="en"] { display: none !important; }
body.marathi [lang="mr"] { display: revert !important; }
@supports not (display: revert) {
    body.marathi [lang="mr"] { display: inherit !important; }
}

/* Back to Top */
.back-to-top {
    position: fixed; bottom: 25px; right: 25px; background: var(--primary);
    color: white; width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    opacity: 0; transform: translateY(20px); transition: 0.3s; z-index: 999; border: none; pointer-events: none;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }


/* =========================================
   7. MOBILE RESPONSIVENESS (Compact Menu Fixed)
   ========================================= */

/* Tablet & Mobile Header Logic (Max-width 900px) */
@media (max-width: 900px) {
    .navbar { 
        height: 70px; 
        padding: 0 10px;
    }
    
    .menu-toggle { 
        display: flex; 
    }

    /* Mobile Dropdown Menu */
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98); 
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: flex-start;
        
        /* Changed: Removed top/bottom padding to reduce gaps */
        padding: 0;
        
        border-top: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        
        /* Animation Logic */
        max-height: 0;
        overflow: hidden; 
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    /* Active State (Menu Open) */
    .nav-links.active {
        max-height: 65vh;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        overflow-y: auto;
        padding-bottom: 5px;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.04);
        margin: 0;
    }

    /* Tighter Spacing for Menu Items */
    .nav-item {
        display: block;
        
        /* Changed: Reduced vertical padding from 12px to 8px */
        padding: 8px 24px; 
        
        width: 100%;
        font-size: 0.95rem;
        font-weight: 500;
        
        /* Changed: Tighter line height */
        line-height: 1.4; 
        
        color: var(--secondary);
        transition: all 0.2s;
    }

    .nav-item::after { display: none; }

    .nav-item:hover {
        background-color: #f0f9ff;
        color: var(--primary);
        padding-left: 28px;
    }

    /* Language Button Container */
    .nav-links li:last-child {
        border-bottom: none;
        
        /* Changed: Reduced padding around the button */
        padding: 10px 20px; 
        
        display: flex;
        justify-content: center;
        background: transparent;
    }

    /* Mobile Language Button */
    .lang-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 0; /* Thinner button */
        border: 1px solid var(--primary);
        background: white;
        font-size: 0.9rem;
        color: var(--primary);
        box-shadow: 0 4px 12px rgba(14, 116, 144, 0.08);
    }
    
    .lang-btn:active {
        background: var(--primary);
        color: white;
        transform: scale(0.98);
    }
}

/* CTA Section Professional Styling */
.cta-wrapper {
    background-color: #f1f5f9; /* Soft Slate background to distinguish from main sections */
    padding: 100px 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.cta-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.cta-icon-box {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--primary); /* Uses your teal/blue color */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: transform 0.4s ease;
}

.cta-content h3 {
    margin: 0 0 10px 0;
    color: var(--secondary); /* Dark slate */
    font-size: 1.25rem;
    font-weight: 700;
}

.cta-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cta-link-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hover Effects */
.cta-card:hover {
    transform: translateY(-8px);
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.cta-card:hover .cta-icon-box {
    transform: rotate(-5deg) scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .cta-card {
        flex-direction: column;
        padding: 30px;
        gap: 15px;
    }
    
    .cta-wrapper {
        padding: 60px 0;
    }
}

/* Institutional Profile Table Styling */
.profile-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.profile-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.profile-icon-large {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.profile-title-group h2 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

.profile-table {
    padding: 20px 40px 40px;
}

.profile-row {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-label {
    flex: 0 0 250px;
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-value {
    flex: 1;
    color: var(--text);
    font-size: 1.1rem;
}

/* Mobile Adjustments for Profile Table */
@media (max-width: 768px) {
    .profile-row {
        flex-direction: column;
        gap: 8px;
    }
    .profile-label {
        flex: none;
        font-size: 0.8rem;
    }
    .profile-card-header {
        padding: 25px;
    }
    .profile-table {
        padding: 20px;
    }
}