:root {
    --brand-blue: #003399;
    --brand-yellow: #FFB800;
    --glass-bg: rgba(255, 255, 255, 0.653);
    --glass-border: rgba(255, 255, 255, 0.4);
    --text-dark: #1e293b;
    --white: #ffffff;
}

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

body {
    background: #f8fafc;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Floating White Glass Navbar */
.nav-container {
    position: fixed;
    top: 25px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.glass-pill-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 12px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1150px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.529);
    transition: all 0.4s ease;
}

.logo img { height: 55px; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 1.2rem;
    position: relative;
    transition: color 0.3s;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--brand-yellow);
}

.btn-pill-sm {
    background: var(--brand-blue);
    color: var(--white);
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: bold;
    transition: 0.3s;
}

.btn-pill-sm:hover { background: var(--brand-yellow); color: var(--brand-blue); }

/* --- Hamburger Icon Styling --- */
.menu-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.bar {
    width: 28px;
    height: 3px;
    background-color: var(--brand-blue);
    border-radius: 5px;
    transition: 0.3s;
}

/* --- Mobile Responsive Logic --- */
@media (max-width: 992px) {
    .menu-toggle { display: flex; }

    .nav-links {
        position: absolute;
        top: 80px; /* Sits below the pill */
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px;
        border-radius: 30px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        text-align: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        border: 1px solid var(--glass-border);
    }

    /* Active state when menu is clicked */
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .nav-cta { display: none; } /* Hide CTA button on very small screens to save space */
}

/* Animation for Hamburger to 'X' */
#mobile-menu.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
#mobile-menu.is-active .bar:nth-child(2) { opacity: 0; }
#mobile-menu.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Hero Section */
.hero {
    position: relative;
    height: 95vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active { opacity: 1; }

/* New Hero Layout - No Glass */
.hero-content-new {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    z-index: 10;
    display: flex;
    align-items: center;
}

.hero-text-side {
    max-width: 700px;
    text-align: left;
}

/* Bold Typography */
.hero-text-side h1 {
    font-size: 5rem;
    font-weight: 900;
    color: #1e293b;
    line-height: 0.9;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-text-side h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
}

.text-blue { color: var(--brand-blue); }
.text-yellow { color: var(--brand-yellow); text-shadow: 2px 2px 0px rgba(0,0,0,0.05); }

.hero-description {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 40px;
    border-left: 4px solid var(--brand-blue);
    padding-left: 20px;
}

/* Accent Bar */
.accent-bar {
    width: 100px;
    height: 8px;
    background: var(--brand-blue);
    margin-bottom: 30px;
}

/* Buttons - Solid Design */
.hero-btns-new {
    display: flex;
    gap: 20px;
}

.btn-solid {
    background: var(--brand-blue);
    color: white;
    padding: 18px 40px;
    border-radius: 4px; /* Sharp professional look */
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 51, 153, 0.2);
}

.btn-solid:hover {
    background: #002673;
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid var(--brand-blue);
    background-color: #ffffff;
    color: var(--brand-blue);
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    transition: 0.3s;
}

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

/* Animations */
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes growWidth {
    from { width: 0; }
    to { width: 100px; }
}

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

.animate-grow { animation: growWidth 1s ease forwards; }
.text-reveal { animation: slideInRight 0.8s ease-out forwards; }
.delay-1 { animation-delay: 0.3s; opacity: 0; }
.animate-fade-up { animation: fadeInUp 0.8s ease-out forwards; animation-delay: 0.6s; opacity: 0; }
.animate-fade-up-delay { animation: fadeInUp 0.8s ease-out forwards; animation-delay: 0.9s; opacity: 0; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-text-side h1 { font-size: 3rem; }
    .hero-text-side h2 { font-size: 2rem; }
    .hero-btns-new { flex-direction: column; }
}

/* Glassmorphism Footer */
.footer-container {
    padding: 60px 20px 30px;
    display: flex;
    justify-content: center;
}

.glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 50px 50px 20px;
    width: 100%;
    max-width: 1150px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--brand-blue);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--brand-blue);
    font-weight: 500;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--brand-yellow);
    padding-left: 5px;
}

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

.social-links a {
    width: 35px;
    height: 35px;
    background: var(--brand-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--brand-yellow);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 51, 153, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--brand-blue);
    opacity: 0.7;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
}

/* Stats Ribbon Styles */
.stats-ribbon {
    background: var(--brand-blue);
    padding: 40px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
    text-align: center;
    margin-top: -30px; /* Slight overlap with hero */
    position: relative;
    z-index: 10;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section Styles */
.services {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--brand-yellow);
    margin: 0 auto;
    border-radius: 2px;
}

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

.service-glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.service-glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 51, 153, 0.1);
    border-color: var(--brand-blue);
}

.service-glass-card i {
    font-size: 2.5rem;
    color: var(--brand-blue);
    margin-bottom: 20px;
}

.service-glass-card h3 {
    color: var(--brand-blue);
    margin-bottom: 15px;
}

.service-glass-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* Partners Section */
.partners {
    padding: 60px 20px;
    background: #f1f5f9; /* Light grey to separate glass sections */
    text-align: center;
}

.partner-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 30px;
    opacity: 0.6;
}

.partners-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    filter: grayscale(100%); /* Keeps it professional */
    opacity: 0.7;
}

.partner-logo {
    height: 40px;
    transition: 0.3s;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Testimonials Section */
/* Path Testimonials Styling */
.testimonials-path {
    padding: 100px 20px;
    background: #f8fafc;
    position: relative;
}

.path-container {
    max-width: 900px;
    margin: 60px auto;
    position: relative;
}

/* The Central Line */
.path-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-blue), var(--brand-yellow), var(--brand-blue));
    transform: translateX(-50%);
}

.bubble-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    width: 100%;
}

.bubble-wrapper.left { justify-content: flex-start; padding-right: 50%; }
.bubble-wrapper.right { justify-content: flex-end; padding-left: 50%; }

.glass-bubble {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    width: 90%;
}

/* Blue & Yellow Accents */
.left .glass-bubble { border-bottom: 5px solid var(--brand-blue); border-top-right-radius: 5px; }
.right .glass-bubble { border-bottom: 5px solid var(--brand-yellow); border-top-left-radius: 5px; }

.bubble-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    border: 3px solid #f8fafc;
}

.blue-dot { background: var(--brand-blue); }
.yellow-dot { background: var(--brand-yellow); }

.bubble-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.bubble-footer strong { display: block; color: var(--brand-blue); font-size: 0.95rem; }
.bubble-footer span { font-size: 0.8rem; opacity: 0.6; }

/* Mobile View */
@media (max-width: 768px) {
    .path-container::before { left: 20px; }
    .bubble-dot { left: 20px; }
    .bubble-wrapper.left, .bubble-wrapper.right { 
        padding-left: 50px; 
        padding-right: 0; 
        justify-content: flex-start; 
    }
    .glass-bubble { width: 100%; }
}



.client-info strong {
    display: block;
    color: var(--brand-blue);
    font-size: 1rem;
}

.client-info span {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .partners-slider { gap: 30px; }
    .partner-logo { height: 30px; }
}

.final-cta {
    background: var(--brand-blue);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-cta {
    background: var(--brand-yellow);
    color: var(--brand-blue);
    padding: 20px 50px;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 5px;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-block;
}

.btn-cta:hover {
    transform: scale(1.05);
    background: white;
}

/* Contact Page Specific Styles */
.contact-hero {
    padding: 150px 20px 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

/* Glass Info Card */
.contact-info-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.badge {
    background: var(--brand-yellow);
    color: var(--brand-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 20px;
}

.contact-info-glass h1 {
    font-size: 3rem;
    color: var(--brand-blue);
    margin-bottom: 20px;
}

.info-details {
    margin-top: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--brand-blue);
    margin-top: 5px;
}

.info-item h4 { color: var(--brand-blue); margin-bottom: 5px; }

/* Solid Form Container */
.contact-form-container {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 51, 153, 0.1);
}

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--brand-blue);
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

input:focus, textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--brand-blue);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--brand-yellow);
    color: var(--brand-blue);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-container { grid-template-columns: 1fr; }
    .contact-info-glass { text-align: center; }
    .info-item { justify-content: center; text-align: left; }
    .form-row { grid-template-columns: 1fr; }
}

/* About Page Specifics */
.about-hero {
    height: 60vh;
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), 
                url('https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.heritage-label {
    color: var(--brand-blue);
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.about-hero h1 { font-size: 3.5rem; margin-bottom: 20px; }

/* Journey Section */
.journey-section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }

.journey-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.journey-image { position: relative; }
.journey-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--brand-blue);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--brand-yellow);
    color: var(--brand-blue);
    padding: 20px 30px;
    font-weight: 900;
    font-size: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.philosophy-list {
    list-style: none;
    margin-top: 25px;
}

.philosophy-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.philosophy-list li::before {
    content: '•';
    color: var(--brand-yellow);
    font-size: 2rem;
    position: absolute;
    left: 0;
    top: -10px;
}

/* Values Grid */
.values-section { padding: 80px 20px; background: #f1f5f9; }

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

.value-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
    border-top: 5px solid var(--brand-blue);
}

.value-card:hover { transform: translateY(-10px); }
.value-card i { font-size: 3rem; color: var(--brand-yellow); margin-bottom: 20px; }

@media (max-width: 768px) {
    .journey-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-hero h1 { font-size: 2.5rem; }
}

/* Kerala SEO Section Styling */
.kerala-seo {
    padding: 100px 20px;
    background: linear-gradient(to bottom, #ffffff, #f1f5f9);
    text-align: center;
}

.kerala-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
}

/* The District Grid */
.district-grid-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 40px;
    background: rgba(0, 51, 153, 0.03); /* Extremely faint brand blue tint */
    border-radius: 40px;
    border: 1px dashed rgba(0, 51, 153, 0.2);
}

.district-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.district-list li {
    background: white;
    color: var(--brand-blue);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: default;
}

.district-list li i {
    color: var(--brand-yellow);
    font-size: 0.8rem;
}

/* Hover Effect: Turn the chip Brand Blue */
.district-list li:hover {
    background: var(--brand-blue);
    color: white;
    transform: translateY(-5px);
    border-color: var(--brand-yellow);
}

.district-list li:hover i {
    color: white;
}

/* Closing Box */
.kerala-closing-box {
    margin-top: 60px;
    padding: 30px;
    background: white;
    display: inline-block;
    border-radius: 20px;
    max-width: 800px;
    border-left: 5px solid var(--brand-yellow);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.kerala-closing-box p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .district-list li {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .kerala-seo h2 {
        font-size: 2rem;
    }
}

/* --- PRODUCT PAGE GRID & CARDS --- */

/* Hero Adjustment for Product Page */
.products-hero {
    padding: 180px 20px 60px;
    text-align: center;
    background: linear-gradient(to bottom, #f1f5f9, #ffffff);
}

/* Filter Bar Styling */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 30px;
    border: 1px solid var(--brand-blue);
    background: transparent;
    color: var(--brand-blue);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--brand-blue);
    color: white;
}

/* The Grid Container */
.products-container {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

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

/* Individual Product Card */
.product-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e2e8f0;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 51, 153, 0.1);
    border-color: var(--brand-blue);
}

/* Badge & Image */
.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--brand-yellow);
    color: var(--brand-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.75rem;
    z-index: 2;
}

.product-img {
    height: 250px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: fill;
    padding: 20px;
}

/* Info Section */
.product-info {
    padding: 30px;
    flex-grow: 1;
}

.category-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-blue);
    font-weight: 700;
    opacity: 0.6;
}

.product-info h3 {
    margin: 10px 0;
    font-size: 1.3rem;
    color: var(--brand-blue);
}

.price-box {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.mrp {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.9rem;
}

.specs-mini {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.specs-mini span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.btn-main-sm {
    width: 100%;
    background: var(--brand-blue);
    color: white;
    padding: 12px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-main-sm:hover {
    background: var(--brand-yellow);
    color: var(--brand-blue);
}

/* Product Modal Content Layout */
/* Ensure the modal sits on top of everything */
.modal {
    display: none; 
    position: fixed; /* Fixes it to the viewport */
    z-index: 2000; /* Ensures it stays above the navbar and footer */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if content is long */
    background-color: rgba(163, 163, 163, 0.408); /* Semi-transparent brand blue */
    backdrop-filter: blur(8px); /* Premium glass effect */
}

/* The glass container for modal content */
.modal-glass-content {
    background: rgba(255, 255, 255, 0.98);
    margin: 5% auto; /* 5% from the top */
    padding: 40px;
    border-radius: 40px;
    width: 90%;
    max-width: 1100px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* Layout for the interior of the modal */
.modal-content-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Responsive fix for mobile */
@media (max-width: 768px) {
    .modal-content-layout {
        grid-template-columns: 1fr;
    }
    .modal-glass-content {
        margin: 10% auto;
        padding: 20px;
    }
}
.modal-content-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Creates the two-column split */
    gap: 40px;
    align-items: start;
}

.modal-img img {
    width: 100%;
    border-radius: 20px;
    background: #f8fafc;
    padding: 20px;
}

.modal-text h2 {
    color: var(--brand-blue);
    font-size: 2.2rem;
    margin: 10px 0;
}

.modal-text .full-desc {
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 20px;
}

/* Technical Specs Styling */
.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
    background: #f1f5f9;
    padding: 25px;
    border-radius: 20px;
}

.spec-item {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.spec-item strong {
    color: var(--brand-blue);
}

/* Pricing and Button in Modal */
.modal-price {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.modal-price .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-blue);
}

/* Responsive Fix for Modal */
@media (max-width: 768px) {
    .modal-content-layout {
        grid-template-columns: 1fr;
    }
}

.year-label {
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-blue);
    opacity: 0.7;
}

