/* ---------------------------------------------------------
   Header & Navigation
--------------------------------------------------------- */

/* Your existing styles stay below this */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');


#header {
    width: 100%;
    font-family: 'Inter', sans-serif;
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


/* ---------------------------------------------------------
   Top Bar Styles
--------------------------------------------------------- */
.top-bar {
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    padding: 8px 0;
    color: #64748b;
    font-size: 13px;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    height: 8px;
    width: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

/* ---------------------------------------------------------
   Navbar & Desktop Links
--------------------------------------------------------- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-links li a:hover {
    color: #6366f1;
}

/* Hire Us Button */
.nav-hire-btn {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease !important;
}

.nav-hire-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -3px rgba(139, 92, 246, 0.4);
    filter: brightness(1.1);
}

/* ---------------------------------------------------------
   Mobile Navigation Logic (Responsive)
--------------------------------------------------------- */
.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #374151;
}

@media (max-width: 1024px) {
    .mobile-toggle {
        display: block;
        position: relative;
        z-index: 10002;
    }

    

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Completely hidden off-screen */
        width: 260px;
        height: 100vh;
        background: #ffffff !important;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px;
        z-index: 10001;
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        
        /* Critical fixes for "Auto-Show" issues */
        visibility: hidden; /* Ensures it's invisible to screen readers and search */
        pointer-events: none; /* Prevents clicking through the invisible menu */
    }

    .nav-links.show {
        right: 0;
        visibility: visible; /* Make visible when active */
        pointer-events: auto; /* Enable interaction when active */
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 2px;
    }

    .nav-links li a {
        display: block;
        padding: 12px 0;
        font-size: 14px;
        width: 100%;
        color: #374151;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-links li a.nav-hire-btn {
        display: inline-block;
        margin-top: 20px;
        width: auto;
        border-bottom: none;
        text-align: center;
        padding: 10px 22px;
        font-size: 13px;
    }
}

/* ---------------------------------------------------------
   Toast Messaging Styling
--------------------------------------------------------- */
#toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ffffff;
    border-left: 4px solid #10b981;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none;
    z-index: 11000;
}
/* ---------------------------------------------------------
               HERO SECTION - UPDATED
--------------------------------------------------------- */

:root {
    --primary: #6366f1;
    --secondary: #a855f7;
    --dark-bg: #0b0f1a;
    --text-gray: #94a3b8;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);
}

.hero {
    position: relative;
    background: var(--dark-bg);
    padding: 150px 0 100px;
    color: #fff;
    overflow: hidden;
}

/* Animated Background + Dynamic Image Animation */
.animated-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden; 
}

.animated-bg::after {
    content: '';
    position: absolute;
    inset: -50px; 
    background-image: inherit; 
    background-size: cover;
    background-position: center;
    animation: kenBurns 20s ease-in-out infinite alternate;
    z-index: -1;
}

.animated-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom, 
        rgba(11, 15, 26, 0.85), 
        rgba(11, 15, 26, 0.95)
    );
    z-index: 1;
}

@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-20px, -10px); }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

/* Canvas */
#tech-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.6; 
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.4), transparent);
    animation: float 8s ease-in-out infinite;
    z-index: 1;
}

.shape1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.shape2 { width: 300px; height: 300px; bottom: -100px; left: -100px; }

@keyframes float {
    0%,100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

/* Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.hero-content p {
    color: var(--text-gray);
    margin: 25px 0;
    font-size: 1.2rem;
    line-height: 1.7;
}

/* 🚀 ATTRACTIVE BUTTONS SECTION */
.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* Vibrant Gradient Button */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3), 
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.4);
    filter: brightness(1.1);
}

/* Modern Glass-morphism Button */
.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #e2e8f0;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    color: white;
    transform: translateY(-5px);
}

/* Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

/* Floating Card */
.hero-floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: rgba(15,23,42,0.85);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    gap: 15px;
    z-index: 15;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-btns { justify-content: center; }
    .hero-floating-card { left: 10px; }
}


   /* ---------------------------------------------------------
                     BRANDS (FIXED & UNIFIED)
--------------------------------------------------------- */

.brand-marquee-section {
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
    width: 100%;
    /* Unified font with your Header/Hero */
    font-family: 'Inter', system-ui, -apple-system, sans-serif; 
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(24px, 5vw, 32px); /* Responsive sizing */
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Gradient line fix: ensures it stays centered and sharp */
.title-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #a855f7); /* Matched your brand purple/blue */
    margin: 0 auto;
    border-radius: 2px;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    /* Prevents the scrolling strip from creating a horizontal scrollbar on the page */
    display: flex;
    overflow: hidden; 
}

/* Fading Edges Logic */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.marquee-content {
    display: flex;
    width: max-content;
    flex-shrink: 0;
    /* Speed Adjustment: 40s is good for smooth reading */
    animation: scroll-left-brands 40s linear infinite; 
}

/* Hover to Pause: Critical for User Experience */
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-item img {
    max-height: 60px; /* Reduced slightly for better mobile clearance */
    width: auto;
    display: block;
    filter: none; /* Icons remain colorful as requested */
    opacity: 1; 
}

.brand-url {
    margin-top: 15px;
    font-size: 13px;
    font-weight: 700; /* Bold for "Pure Black" style readability */
    color: #000000; /* Matched your Black Font requirement */
    letter-spacing: 0.5px;
}

/* Unique Animation Name to avoid global conflicts */
@keyframes scroll-left-brands {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .brand-item { padding: 0 30px; }
    .marquee-wrapper::before, .marquee-wrapper::after { width: 60px; }
    .brand-item img { max-height: 40px; }
}

/* ---------------------------------------------------------
              WEB STORE
--------------------------------------------------------- */



/* ---------------------------------------------------------
              EXPERIENCE SECTION (FIXED & SCOPED)
--------------------------------------------------------- */

:root {
    /* Scoped variables to prevent global color bleeding */
    --exp-primary: #6366f1;
    --exp-secondary: #a855f7;
    --exp-accent: #ec4899;
    --exp-text-main: #000000;    /* Pure Black for titles */
    --exp-text-gray: #374151;    /* Dark Charcoal for readability */
    --exp-bg-light: #ffffff;
    --exp-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scoped Section Wrapper */
.exp-section {
    padding: 120px 0;
    position: relative;
    background-color: var(--exp-bg-light);
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Background Animation: Target by Class to avoid ID duplication */
.exp-canvas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* Scoped Container to prevent global container width fighting */
.exp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 80px; 
    align-items: center;
}

/* --- Image & Floating Elements Styling --- */
.about-visual {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.12);
    background: white;
    padding: 10px;
    z-index: 2;
    animation: deco-pulse-exp 4s ease-in-out infinite;
}

@keyframes deco-pulse-exp {
    0%, 100% { box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.12); }
    50% { box-shadow: 0 30px 60px -12px rgba(99, 102, 241, 0.2); }
}

.image-wrapper img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

/* Floating Tech Icons */
.tech-icon-float {
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    color: var(--exp-primary);
    z-index: 3;
    font-size: 1.2rem;
    animation: float-anim-exp 6s ease-in-out infinite;
}

.icon-1 { top: -20px; left: 10%; animation-delay: 0s; }
.icon-2 { bottom: 40px; left: -30px; animation-delay: 2s; color: var(--exp-secondary); }
.icon-3 { top: 40%; right: -20px; animation-delay: 4s; color: var(--exp-accent); }

@keyframes float-anim-exp {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    z-index: 4;
}

.experience-badge h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, var(--exp-primary), var(--exp-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* --- Typography & Features --- */
.about-text h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--exp-text-main);
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(to right, var(--exp-primary), var(--exp-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--exp-text-gray);
    margin-bottom: 30px;
}

.features-grid {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin: 40px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--exp-text-main);
    font-size: 0.95rem;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid transparent;
    transition: var(--exp-transition);
}

.feature-item:hover {
    background: white;
    border-color: var(--exp-primary);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--exp-primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 8px;
    border-radius: 8px;
    font-size: 0.8rem;
}

/* --- Buttons --- */
.btn-tech {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    background: #0f172a; 
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    overflow: hidden;
    transition: var(--exp-transition);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

.btn-tech:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
    background: var(--exp-primary);
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    .exp-section { padding: 60px 0; }
    .about-text h2 { font-size: 2.1rem; }
    .about-text p { font-size: 1rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: 1fr; }
    .tech-icon-float { display: none; }
    .experience-badge { padding: 12px 20px; bottom: -10px; right: 10px; }
    .experience-badge h3 { font-size: 2.2rem; }
}
/* ---------------------------------------------------------
              CAPABILITIES SECTION (FIXED & SCOPED)
--------------------------------------------------------- */

:root {
    --cap-light: #f8fafc;
    --cap-primary: #6366f1;
    --cap-primary-soft: rgba(99, 102, 241, 0.1);
    --cap-gray: #374151; /* Darkened for black font readability */
    --cap-dark: #000000; /* Pure Black for titles */
}

/* Changed from .section-padding to .cap-section */
.cap-section {
    position: relative;
    padding: 60px 0; /* Standardized padding */
    margin: 0;
    background: var(--cap-light);
    background: radial-gradient(circle at top right, #ffffff, var(--cap-light));
    overflow: hidden;
    font-family: 'Inter', system-ui, sans-serif;
}

/* Changed ID to Class to prevent canvas conflicts across sections */
.cap-canvas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

/* Scoped Container */
.cap-container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.cap-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px; 
}

.cap-title h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--cap-dark);
    margin-top: 0;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.cap-title p {
    color: var(--cap-gray);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 10px;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover {
    transform: translateY(-12px);
    background: #ffffff;
    border-color: var(--cap-primary);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.15);
}

.card-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.status {
    font-size: 10px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 100px;
    background: #f1f5f9;
    color: #64748b;
    letter-spacing: 0.05em;
    border: 1px solid rgba(0,0,0,0.05);
}

.status.active-bg {
    background: #dcfce7;
    color: #15803d;
    border-color: rgba(21, 128, 61, 0.1);
}

.service-card i {
    font-size: 32px;
    color: var(--cap-primary);
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--cap-dark);
    margin-bottom: 15px;
}

.service-card p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--cap-gray);
    line-height: 1.6;
    margin: 0;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.21, 1.02, 0.73, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .services-grid { 
        grid-template-columns: 1fr; 
        gap: 15px;
    }
    .cap-section { padding: 40px 0; }
    .service-card {
        padding: 25px;
        border-radius: 24px;
    }
    .card-header { margin-bottom: 20px; }
    .service-card i { font-size: 28px; }
}



/* --------------------------------------------------------
                PRICING SECTION (FIXED & SCOPED)
--------------------------------------------------------- */
:root {
    --price-primary: #6366f1;
    --price-accent: #8b5cf6;
    /* High-contrast Black Font */
    --price-dark: #000000;    
    /* Deep Charcoal for readability */
    --price-slate: #334155;   
    --price-glass: rgba(255, 255, 255, 0.9);
    --price-transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Scoped Section Wrapper */
.pricing-section { 
    padding: 100px 0; 
    font-family: 'Inter', system-ui, -apple-system, sans-serif; 
    background: radial-gradient(circle at top right, #f8fafc, #ffffff);
    position: relative;
    overflow: hidden; 
}

/* Scoped Container */
.price-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px; 
    position: relative;
    z-index: 5;
}

/* Title Section */
.price-title { 
    text-align: center; 
    margin-bottom: 60px; 
}

.price-title h2 { 
    font-size: clamp(2.2rem, 5vw, 3.8rem); 
    font-weight: 900; 
    background: linear-gradient(135deg, var(--price-primary), var(--price-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
    margin: 0 0 15px 0; 
    line-height: 1.1;
}

.price-title p { 
    color: var(--price-slate); 
    font-size: 1.15rem; 
    max-width: 500px; 
    margin: 0 auto; 
    line-height: 1.6; 
    font-weight: 500;
}

/* Capsule Tabs */
.pricing-tabs {
    display: flex;
    background: #f1f5f9;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 60px;
    padding: 6px;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pricing-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
    padding: 14px 36px;
    cursor: pointer;
    border-radius: 100px;
    transition: var(--price-transition);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--price-slate);
    border: none;
    background: transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn.active {
    background: white;
    color: var(--price-primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Horizontal Scroll Content */
.pricing-content { 
    display: none; 
    gap: 30px; 
    padding: 20px 10px 80px;
    overflow-x: auto;
    flex-wrap: nowrap; 
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.pricing-content::-webkit-scrollbar { display: none; }
.pricing-content.active { display: flex; }

/* Price Card */
.price-card {
    background: var(--price-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: 36px;
    padding: 60px 40px;
    padding-top: 80px;
    text-align: center;
    transition: var(--price-transition);
    flex: 0 0 360px; 
    scroll-snap-align: center;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.price-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 30px 60px -15px rgba(99, 102, 241, 0.15);
    border-color: var(--price-primary);
    background: #ffffff;
    z-index: 10;
}

.price-card h3 { 
    font-size: 1.5rem; 
    font-weight: 800; 
    color: var(--price-dark); 
    margin-bottom: 25px; 
}

.cost { 
    font-size: 3.8rem; 
    font-weight: 900; 
    color: var(--price-dark); 
    letter-spacing: -0.05em;
    margin-bottom: 10px;
    line-height: 1;
}

.bdt-pill {
    display: inline-block;
    background: #eff6ff;
    color: var(--price-primary);
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 800;
    margin-top: 15px;
}

.price-card ul { 
    list-style: none; 
    padding: 0; 
    margin: 40px 0; 
    text-align: left; 
}

.price-card ul li { 
    margin-bottom: 18px; 
    color: var(--price-slate); 
    font-size: 1rem; 
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
}

.price-card ul li i {
    color: var(--price-primary);
    font-size: 1.2rem;
}

/* Unique Action Button */
.btn-price-action {
    background: var(--price-dark);
    color: white !important;
    border: none;
    padding: 20px 0;
    width: 100%;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--price-transition);
    text-decoration: none;
    display: block;
}

.btn-price-action:hover {
    background: var(--price-primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

/* Premium Badge Styling */
.badge {
    background: linear-gradient(135deg, var(--price-primary), var(--price-accent));
    color: white;
    padding: 10px 28px;
    border-radius: 0 0 20px 20px;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* --------------------------------------------------------
                MOBILE / TABLET STYLES (CONSOLIDATED)
--------------------------------------------------------- */
@media (max-width: 768px) {
    .pricing-section { padding: 60px 0; }
    .price-container { padding: 0 15px; }
    .price-title h2 { font-size: 2.5rem; }
    .price-title p { font-size: 1rem; }

    .pricing-tabs { 
        width: 100%;
        border-radius: 50px;
        justify-content: flex-start; 
        padding: 5px; 
    }
    .tab-btn { padding: 12px 24px; font-size: 0.9rem; }
    
    .price-card {
        flex: 0 0 85%; 
        padding: 40px 25px 30px;
        padding-top: 70px; 
    }

    .cost { font-size: 2.8rem; }
}
/* ---------------------------------------------------------
              webstore
--------------------------------------------------------- */

/* ---------------------------------------------------------
   Web Store Section (#shop) - Scoped Fix
--------------------------------------------------------- */

/* Unique Animation Names to avoid global conflicts */
@keyframes shopCardEntrance {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shopScanLine {
    from { transform: translateY(-100%); }
    to { transform: translateY(1000%); }
}

/* Base Scoping */
#shop .shop-hidden { 
    display: none !important; 
}

#shop .product-card.fade-in {
    animation: shopCardEntrance 0.4s ease-out forwards;
    opacity: 0;
}

#shop .filter-btn { 
    transition: all 0.3s ease; 
    cursor: pointer; 
}

/* Custom Scrollbar for Mobile Row - Scoped specifically to #product-grid inside #shop */
#shop #product-grid::-webkit-scrollbar { 
    height: 4px; 
}
#shop #product-grid::-webkit-scrollbar-thumb { 
    background: #cbd5e1; 
    border-radius: 10px; 
}

/* Tech Background & Animations */
#shop .tech-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(92, 86, 240, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: 0;
}

#shop .scan-line {
    position: absolute;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.03), transparent);
    animation: shopScanLine 8s linear infinite;
    z-index: 0;
}

/* Responsive Display Logic - Locked to #shop */
@media (max-width: 767px) {
    #shop #product-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        gap: 12px !important;
        -webkit-overflow-scrolling: touch;
    }
    #shop .product-card {
        flex: 0 0 calc(50% - 6px);
        scroll-snap-align: start;
        min-width: calc(50% - 6px);
    }
}

@media (min-width: 768px) {
    #shop #product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    #shop #product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* ---------------------------------------------------------
              REVIEWS
--------------------------------------------------------- */

:root {
        --brand-purple: #4c1d95;
    }

    .testimonial-section {
        background-color: #ffffff;
        background-image: 
            radial-gradient(circle at 20% 50%, rgba(76, 29, 149, 0.03) 0%, transparent 50%),
            url("data:image/svg+xml,%3Csvg width='1000' height='400' viewBox='0 0 1000 400' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 200C150 150 350 250 500 200C650 150 850 250 1000 200' stroke='%234c1d95' stroke-opacity='0.1' stroke-width='1'/%3E%3Cpath d='M0 220C150 170 350 270 500 220C650 170 850 270 1000 220' stroke='%234c1d95' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
        background-repeat: repeat-x;
        background-position: 0 center;
        background-size: 1000px 400px;
        animation: waveMove 40s linear infinite;
        overflow: hidden;
    }

    @keyframes waveMove {
        from { background-position: 0 center; }
        to { background-position: 1000px center; }
    }

    /* Card Styling */
    .custom-testimonial-card {
        background: white;
        border-radius: 12px;
        border-top-right-radius: 80px; 
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
        padding: 24px;
        height: 100%; 
        display: flex;
        flex-direction: column;
        border: 1px solid #f3f4f6;
        transition: all 0.3s ease;
        position: relative;
        box-sizing: border-box;
        /* Removed width: 100% to let Swiper control width */
    }

    .custom-testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
    }

    .custom-testimonial-card::after {
        content: '';
        position: absolute;
        top: -1px;
        right: -1px;
        width: 80px;
        height: 80px;
        border-top: 4px solid var(--brand-purple);
        border-right: 4px solid var(--brand-purple);
        border-radius: 0 80px 0 0;
        pointer-events: none;
    }

    .profile-container {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
        border: 2px solid #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .profile-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .custom-nav-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid #e5e7eb;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--brand-purple);
        transition: all 0.3s ease;
        background: white;
        cursor: pointer;
        z-index: 50;
        position: relative;
    }

    .custom-nav-btn:hover {
        background: var(--brand-purple);
        color: white;
    }

    /* Swiper structure - simplified to avoid PC layout errors */
    .testimonialSwiper {
        width: 100%;
        padding: 40px 10px !important;
        margin: 0 auto;
    }

    .swiper-slide {
        height: auto; /* Allows cards to have equal height if configured */
        display: flex;
        justify-content: center;
    }
/* ---------------------------------------------------------
              TEAM
--------------------------------------------------------- */
:root {
    --primary-color: #5D5FEF; 
    --text-dark: #1A1A1B;
    --text-gray: #6B7280;
    --bg-light: #F9FAFB;
}

.team-section {
    /* Removed large border-radius and overflow to clean up the edges */
    padding: 60px 0; 
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    /* Changed to primary color to match the image branding */
    color: var(--primary-color); 
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-top: 0;
}

/* Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* Modern Card Style with Floating Animation */
.team-card {
    background: transparent;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 6s ease-in-out infinite;
}

/* Offset animation for every second card */
.team-card:nth-child(even) {
    animation-delay: 2s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.img-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.img-frame {
    width: 180px;
    height: 180px;
    background: #fff;
    padding: 8px; 
    border-radius: 40px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.team-card:hover {
    animation-play-state: paused;
}

.team-card:hover .img-frame {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 30px 50px rgba(0,0,0,0.12);
}

.card-info h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 700;
}

.member-role {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
}

/* Mobile Logic */
@media (max-width: 768px) {
    .team-section {
        padding: 40px 0;
    }

    /* Smaller Title and Text for Mobile */
    .section-title h2 {
        font-size: 1.5rem; /* Reduced from 2.8rem */
        margin-bottom: 6px;
    }

    .section-title p {
        font-size: 0.85rem; /* Smaller sub-text */
    }

    .card-info h3 {
        font-size: 1.1rem; /* Smaller member names */
    }

    .member-role {
        font-size: 0.6rem; /* Tiny uppercase role */
        letter-spacing: 1px;
    }

    .team-grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 10px 0 30px 0;
        gap: 15px;
        scrollbar-width: none;
    }

    .team-grid::-webkit-scrollbar {
        display: none;
    }

    .team-card {
        flex: 0 0 80%; /* Shows 80% of card so next one is visible */
        scroll-snap-align: center;
        animation: none; 
    }

    .img-frame {
        width: 140px; /* Smaller images for mobile */
        height: 140px;
    }
}

/* Entrance Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* ---------------------------------------------------------
              LOCATION
--------------------------------------------------------- */

:root {
    --bg-white: #ffffff;
    --card-bg: #161922;
    --accent-purple: #4f46e5;
    --text-muted: #6b7280;
    --text-dark: #111827;
    --text-white: #ffffff;
}

/* Tech Background Animation Container */
.physical-stores-section {
    background-color: var(--bg-white);
    padding: 80px 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

/* Moving Tech Background Elements */
.physical-stores-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(var(--accent-purple) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.03) 1px, transparent 1px),
        linear-gradient(0deg, rgba(79, 70, 229, 0.03) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px, 40px 40px;
    animation: techMove 20s linear infinite;
    z-index: 0;
    opacity: 0.5;
}

@keyframes techMove {
    from { background-position: 0 0; }
    to { background-position: 40px 40px; }
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.stores-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--accent-purple);
    margin: 0 auto;
    border-radius: 2px;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.store-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -10px rgba(79, 70, 229, 0.4);
}

.store-icon-wrapper {
    background-color: rgba(79, 70, 229, 0.15);
    color: var(--accent-purple);
    min-width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    overflow: hidden; 
}

.store-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-info h5 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--text-white);
}

.store-info p {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.store-phone {
    font-size: 0.85rem; 
    margin-top: -10px;
}

.map-btn {
    color: var(--accent-purple);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.map-btn:hover {
    gap: 12px;
    text-decoration: underline;
}

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Friendly Adjustments */
@media (max-width: 768px) {
    .physical-stores-section {
        padding: 50px 0;
    }
    .stores-title {
        font-size: 1.75rem;
    }
    .store-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .store-icon-wrapper {
        margin-bottom: 10px;
    }
    .stores-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* ---------------------------------------------------------
              STATUS
--------------------------------------------------------- */

/* Container & Grid Setup */
.stats-bar {
    background-color: #f8f9fa;
    padding: 80px 20px;
    font-family: 'Inter', sans-serif;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Styling */
.stat-card {
    background-color: #0f1115;
    border-radius: 12px;
    padding: 40px 20px;
    min-width: 220px;
    flex: 1;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* Typography */
.stat-card h2 {
    color: #c084fc;
    font-size: 3rem;
    margin: 0;
    font-weight: 800;
}

.stat-card p {
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-top: 10px;
    font-weight: 600;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .stat-card {
        min-width: 45%;
    }
}

/* ---------------------------------------------------------
              why us
--------------------------------------------------------- */

/* Section Styles */
.why-us {
    background-color: #f8fafc; /* Very light grey/white background */
    padding: 100px 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}


/* Header & Gradient Text */
.section-header {
    text-align: center;
    margin-bottom: 50px; 
}

.gradient-text {
    font-size: 2.8rem; /* Desktop size */
    font-weight: 800;
    margin-bottom: 15px;
    
    /* Gradient Logic */
    background: linear-gradient(90deg, #6366f1 0%, #a855f7 100%);
    
    /* Standard property for compatibility */
    background-clip: text; 
    -webkit-background-clip: text;
    
    /* Fill color must be transparent for gradient to show */
    color: transparent; 
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layout */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* White Cards */
.why-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.why-card:hover {
    transform: translateY(-8px);
    /* Soft glow effect using the primary brand color */
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

/* Icon Styling */
.icon-wrapper {
    font-size: 2.5rem;
    color: #38bdf8; /* Vibrant light blue */
    margin-bottom: 20px;
    display: inline-block;
}

.why-card h4 {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.why-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .why-us {
        padding: 60px 0; /* Reduced section padding for mobile */
    }

    .gradient-text {
        font-size: 1.75rem; /* Significantly smaller title for mobile */
        line-height: 1.2;
    }

    .subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .why-grid {
        gap: 15px; /* Tighter gap for smaller screens */
    }

    .why-card {
        padding: 30px 20px; /* Smaller card internal padding */
    }
}
/* ---------------------------------------------------------
              STICKY WHATSAPP
--------------------------------------------------------- */

.wa-float-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 9999;
    cursor: pointer;
}

.wa-pulse {
    position: relative;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pulse 1.8s infinite;
}

.wa-pulse svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.wa-text {
    background: #25d366;
    color: #fff;
    padding: 10px 16px;
    border-radius: 24px;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Hover effect for text */
.wa-float-container:hover .wa-text {
    transform: scale(1.05);
    opacity: 0.95;
}

/* Responsive adjustment */
@media (max-width: 600px) {
    .wa-text {
        display: none;
    }
}

/* ---------------------------------------------------------
              FORM
--------------------------------------------------------- */

:root {
        --contact-primary: #6366f1; /* The vibrant purple from your image */
        --form-bg: #ffffff;
        --label-color: #94a3b8;
        --input-border: #e2e8f0;
        --text-dark: #1e293b;
    }

    .section-padding {
        padding: 100px 0;
        font-family: 'Inter', sans-serif;
    }

    .contact-container {
        display: flex;
        max-width: 1100px;
        margin: 0 auto;
        background: var(--form-bg);
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    }

    /* Left Info Side */
    .contact-info {
        flex: 1;
        background: var(--contact-primary);
        color: white;
        padding: 60px;
        display: flex;
        flex-direction: column;
    }

    .contact-info h2 {
        font-weight: 800;
        margin: 0;
    }

    .contact-info p {
        line-height: 1.6;
        font-weight: 400;
    }

    .info-item {
        transition: transform 0.3s ease;
    }
    
    .info-item:hover {
        transform: translateX(10px);
    }

    /* Right Form Side */
    .contact-form {
        flex: 1.2;
        padding: 60px;
        background: white;
    }

    .modern-form .form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .form-group.full-width {
        grid-column: span 2;
    }

    .form-group label {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 1px;
        color: var(--label-color);
        text-transform: uppercase;
    }

    .form-group input, 
    .form-group textarea {
        padding: 15px 20px;
        border: 1px solid var(--input-border);
        border-radius: 12px;
        font-size: 0.95rem;
        background: #f8fafc;
        transition: all 0.3s ease;
        outline: none;
    }

    .form-group input:focus, 
    .form-group textarea:focus {
        border-color: var(--contact-primary);
        background: white;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    }

    .submit-btn {
        margin-top: 30px;
        width: 100%;
        padding: 16px;
        background: var(--contact-primary);
        color: white;
        border: none;
        border-radius: 12px;
        font-weight: 700;
        font-size: 1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        transition: all 0.3s ease;
    }

    .submit-btn:hover {
        background: #4f46e5;
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
    }

    /* Reveal Animation Classes */
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive Logic */
    @media (max-width: 992px) {
        .contact-container {
            flex-direction: column;
            margin: 0 20px;
        }
        .contact-info {
            padding: 40px;
        }
        .contact-info h2 {
            font-size: 2.5rem !important;
        }
        .contact-form {
            padding: 40px;
        }
    }

    @media (max-width: 600px) {
        .modern-form .form-grid {
            grid-template-columns: 1fr;
        }
        .form-group.full-width {
            grid-column: span 1;
        }
    }

/* ---------------------------------------------------------
              FOOTER
--------------------------------------------------------- */


/* ---------------------------------------------------------
              BLOG
--------------------------------------------------------- */
/* Modern Blog Index Styles */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-soft: #f8fafc;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--bg-soft);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.blog-container {
    /* Set to 1200px to match your card requirement */
    max-width: 1200px; 
    margin: 0 auto;
    padding: 80px 20px;
}

/* Hero Section */
.blog-hero {
    text-align: center;
    margin-bottom: 60px;
}

.blog-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.04em;
    margin-bottom: 15px;
}

.blog-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* Featured Card - Fixed to 1200x630 */
.featured-card {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 80px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    
    /* PC Specific Dimension Lock */
    width: 100%;
    height: 630px; 
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.12);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-tag {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    align-self: flex-start;
    margin-bottom: 20px;
}

.featured-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.2;
}

.featured-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Increased for the taller card height */
    -webkit-box-orient: vertical;
    line-clamp: 4; 
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Updated CTA Button Style */
.read-more {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--primary);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition);
    align-self: flex-start;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.read-more:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

/* Maintain Aspect Ratio for Grid Images */
.card-image img {
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.card-body {
    padding: 24px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.card-meta .dot {
    width: 4px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 50%;
}

.blog-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.card-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--primary-hover);
    transform: translateX(5px);
}

/* Pagination Section */
.pagination-wrapper {
    text-align: center;
    margin-top: 60px;
}

.load-more-btn {
    background: var(--text-dark);
    color: #fff;
    padding: 16px 40px;
    border-radius: 100px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.load-more-btn:hover {
    background: var(--primary);
    transform: scale(1.05);
}

/* Responsive Adjustments - Reverting height for mobile/tablets */
@media (max-width: 992px) {
    .featured-card {
        grid-template-columns: 1fr;
        height: auto; /* Allow height to be fluid on smaller screens */
    }
    .featured-content {
        padding: 40px;
    }
    .featured-image img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .blog-container {
        padding: 40px 15px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-title {
        font-size: 2.5rem;
    }
}
/* ---------------------------------------------------------
              PROJECT
--------------------------------------------------------- */
/* 1. Original Root & Base Styles */
        :root {
            --accent-blue: #6366f1;
            --accent-purple: #a855f7;
            --bg-glass: rgba(255, 255, 255, 0.8);
            --primary-color: #2563eb;
            --text-dark: #1f2937;
            --text-light: #6b7280;
            --accent-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
            --glass-bg: rgba(255, 255, 255, 0.8);
            --border-color: #e5e7eb;
            --bg-gray: #f9fafb;
            --success-bg: #dcfce7;
            --success-text: #166534;
        }

        body {
            background-color: #ffffff;
            color: var(--text-dark);
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            margin: 0;
        }

    
        /* 2. Horizontal Gallery Slider Styles */
        .gallery-grid {
            display: flex;
            flex-direction: row;
            gap: 1.5rem;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            padding: 20px 0;
            scrollbar-width: none;
            -ms-overflow-style: none;
            cursor: grab;
            -webkit-overflow-scrolling: touch;
        }

        .gallery-grid::-webkit-scrollbar {
            display: none;
        }

        .gallery-grid:active {
            cursor: grabbing;
        }

        .gallery-img {
            flex: 0 0 85%;
            max-width: 900px;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            scroll-snap-align: center;
            object-fit: cover;
        }

        .gallery-img:hover {
            transform: scale(1.01);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }

        /* 3. Original Layout Styles */
        .main-layout { display: flex; gap: 40px; margin-top: 40px; }
        .content-area { flex: 2; overflow: hidden; }
        .project-sidebar { flex: 1; position: sticky; top: 20px; height: fit-content; }
        
        .tech-pill {
            display: inline-block;
            background: #f3f4f6;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 13px;
            margin: 0 5px 10px 0;
            color: var(--accent-blue);
            font-weight: 600;
        }

        .btn-primary {
            display: block;
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
            color: white;
            text-align: center;
            padding: 12px;
            border-radius: 8px;
            text-decoration: none;
            margin-top: 20px;
            transition: opacity 0.3s;
        }
        
        .btn-primary:hover { opacity: 0.9; }

        /* 4. TOGGLE FUNCTIONALITY CSS */
        .toggle-trigger {
            cursor: pointer;
            transition: all 0.3s ease;
            user-select: none;
            position: relative;
        }

        .toggle-trigger:hover {
            color: var(--primary-color);
            opacity: 0.8;
        }

        .toggle-content {
            display: none;
            padding-top: 15px;
            animation: fadeIn 0.4s ease;
        }

        .toggle-content.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-5px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 768px) {
            .main-layout { flex-direction: column; }
            .gallery-img { flex: 0 0 95%; }
        }
/* =========================================
   3. HERO SECTION
   ========================================= */
.project-hero {
    padding: 80px 0 40px;
    background: #ffffff;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.category-tag {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gradient-text {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-excerpt {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
}

/* =========================================
   4. MAIN LAYOUT
   ========================================= */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    padding-bottom: 100px;
}

/* Content Area */
.featured-media {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.featured-media img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.featured-media:hover img {
    transform: scale(1.02);
}

.details-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
}

/* Decorative underline for main H2 */
.details-section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    margin-top: 10px;
    border-radius: 2px;
}

.overview-content {
    font-size: 1.1rem;
    color: #4b5563;
    white-space: pre-line;
}

/* =========================================
   5. COMPONENTS (Grids, Gallery, Sidebar)
   ========================================= */
/* Goals Grid */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.goal-item {
    background: var(--bg-gray);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.goal-item:hover {
    transform: translateY(-5px);
}

.goal-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Gallery */
.project-gallery {
    margin-top: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-img {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-img:hover {
    opacity: 0.9;
    transform: scale(1.01);
}

/* Sidebar Info Card */
.project-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.info-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 25px 0;
}

.meta-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.meta-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.status-badge {
    background: var(--success-bg);
    color: var(--success-text);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Tech Pills */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0 25px;
}

.tech-pill {
    background: #f3f4f6;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* =========================================
   6. BUTTONS
   ========================================= */
.btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    text-align: center;
}

.btn-primary:hover {
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.btn-back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.btn-back-link:hover {
    color: var(--primary-color);
}

/* =========================================
   7. RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .project-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .gradient-text {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
                FORM
   ========================================= */


   
/* 1. Base Styles & Variables */
:root {
    --footer-bg: #0b0f1a; /* Dark theme matching hero section */
    --footer-text: #94a3b8;
    --footer-heading: #ffffff;
    --accent-purple: #a855f7;
    --accent-blue: #6366f1;
    --glass-border: rgba(255, 255, 255, 0.1);
}

footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0 20px; /* Reduced top padding */
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. Top Divider */
.footer-divider {
    margin-top: 0 !important;
    margin-bottom: 40px !important;
    opacity: 0.1;
    border: 0;
    border-top: 1px solid #fff;
}

/* 3. Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-top: 0 !important;
}

.footer-col h4 {
    color: var(--footer-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Logo Styling - Fixed Background Clip */
.footer-logo {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    letter-spacing: -1px !important;
    margin-bottom: 15px;
    display: block;
}

.footer-logo span {
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text; /* Standard property for compatibility */
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback for some environments */
}

/* Links & Lists */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--accent-blue);
    padding-left: 5px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
    border-color: var(--accent-blue);
}

/* 4. Newsletter Form */
.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 5px;
    transition: 0.3s;
}

.newsletter-form:focus-within {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form input {
    background: transparent;
    border: none;
    padding: 10px 15px;
    color: white;
    flex: 1;
    outline: none;
}

.newsletter-form button {
    background: var(--accent-blue);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: var(--accent-purple);
}

/* 5. Footer Bottom */
.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.credit-link {
    color: var(--footer-text);
    text-decoration: none;
    font-weight: 600;
}

.credit-link i {
    font-size: 0.75rem;
    margin-left: 5px;
    color: var(--accent-blue);
}

/* Animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px; 
    }
}

 
/* ---------------------------------------------------------
              PORTFOLIO
--------------------------------------------------------- */

/* 1. Category Filter Styling */
.active-pill {
    background-color: #7C3AED !important;
    color: white !important;
    box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.4);
    border-color: #7C3AED !important;
}

/* Base button hover state for non-active pills */
button[activeTab]:not(.active-pill):hover {
    border-color: #7C3AED;
    color: #7C3AED;
    background-color: rgba(124, 58, 237, 0.05);
}

/* 2. Project Card Container */
.project-card-container {
    border-radius: 2.5rem; /* Matches your design intent */
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    isolation: isolate; /* Ensures child overflow: hidden works on all browsers */
    background-color: #f9fafb;
}

/* 3. Image Hover Logic */
.group:hover .project-card-container {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(124, 58, 237, 0.25);
}

.group:hover img {
    transform: scale(1.1);
}

/* 4. Text Reveal Animation */
.group .absolute h3, 
.group .absolute span {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .absolute h3, 
.group:hover .absolute span {
    transform: translateY(0);
    opacity: 1;
}

.group:hover .absolute span {
    transition-delay: 0.1s;
}

.group:hover .absolute h3 {
    transition-delay: 0.2s;
}

/* 5. Mobile & Tablet Adjustments */
@media (max-width: 768px) {
    /* Scale down the heading for mobile */
    h2 {
        font-size: 2.5rem !important;
    }

    /* Reduce card radius for smaller screens to look more proportional */
    .project-card-container {
        border-radius: 1.5rem;
    }

    /* Adjust Grid Gap for mobile */
    .grid {
        gap: 1.5rem !important;
    }

    /* Keep the overlay text visible or simplified on touch devices */
    .absolute.opacity-0 {
        opacity: 0.9; /* Slightly visible on mobile so users see titles */
        background: linear-gradient(to top, rgba(124, 58, 237, 0.9), transparent);
    }
    
    .group .absolute h3, 
    .group .absolute span {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 6. Smooth Alpine.js Transitions */
[x-cloak] { 
    display: none !important; 
}


/* Smooth scrolling for anchor links */
    html {
        scroll-behavior: smooth;
    }

    .hide-scrollbar::-webkit-scrollbar { display: none; }
    .hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

    /* Active state for the category pills */
    .active-pill {
        background-color: #7C3AED !important;
        color: white !important;
        border-color: #7C3AED !important;
        box-shadow: 0 4px 14px 0 rgba(124, 58, 237, 0.3);
    }


/*    .......
.....    pages .....
    .........     */

    /* Modern Typography & Reset Defaults */
:root {
    --primary-color: #2563eb;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.8);
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Page Hero Section */
.page-hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.breadcrumb-nav {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: #1d4ed8;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-main);
    margin-bottom: 2rem;
    line-height: 1.2;
}

/* Featured Image Styling */
.page-featured-image {
    max-width: 900px;
    margin: 0 auto 2.5rem !important;
    position: relative;
}

.page-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px !important; /* Overriding your inline 8px */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.page-meta {
    display: inline-flex;
    align-items: center;
    background: var(--glass-bg);
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    font-weight: 500;
    color: var(--text-muted);
}

.page-meta i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* Content Section Layout */
.content-section {
    padding-bottom: 100px;
    margin-top: -40px; /* Pull content slightly over hero */
}

.content-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Entry Content (Rich Text Styling) */
.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
}

.entry-content p {
    margin-bottom: 1.75rem;
}

.entry-content h2, .entry-content h3 {
    color: var(--text-main);
    font-weight: 700;
    margin: 2.5rem 0 1rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay for items to create a sequence */
.breadcrumb-nav { animation-delay: 0.1s; }
.page-title { animation-delay: 0.2s; }
.page-featured-image { animation-delay: 0.3s; }
.page-meta { animation-delay: 0.4s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .content-card {
        padding: 1.5rem;
        border-radius: 0;
        border: none;
    }
    .page-hero {
        padding: 40px 0;
    }
}

/*             ,,,,,
....    post details  ...........
.................... */

/* Single Post Modern Styles */
:root {
    --accent: #2563eb;
    --text-dark: #0f172a;
    --text-body: #334155;
    --card-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    background-color: #fafafa;
}

/* Post Header Optimization */
.post-header p {
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-header h1 {
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    line-height: 1.1;
    /* Responsive font size */
    font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
}

/* Featured Image Enhancement */
.post-image img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--card-shadow) !important;
    border: 1px solid rgba(0,0,0,0.05);
}

.post-image:hover img {
    transform: scale(1.02);
}

/* Typography & Content Layout */
.post-content {
    background: #ffffff;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
    font-family: 'Georgia', serif; /* Classic serif for better reading flow */
}

/* Handling Rich Text inside post-content */
.post-content p {
    margin-bottom: 2rem;
    color: var(--text-body);
}

.post-content h2, .post-content h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.2rem;
}

/* Images inside the article content */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2.5rem 0;
}

/* Back Button Styling */
.btn-outline-primary {
    border-radius: 100px;
    padding: 12px 28px;
    font-weight: 600;
    text-transform: none;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline-primary:hover {
    background-color: var(--accent);
    color: white;
    transform: translateX(-5px);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    main {
        margin-top: 50px !important;
        margin-bottom: 50px !important;
        padding: 0 20px;
    }
    
    .post-content {
        padding: 1.5rem;
        font-size: 1.1rem !important;
        border-radius: 0;
        margin-left: -20px;
        margin-right: -20px;
        border: none;
    }
    
    .post-header h1 {
        font-size: 2rem !important;
    }
}


/* ---------------------------------------------------------
              COURSE details
--------------------------------------------------------- */

/* --- Core Layout & Reset --- */
    .main-page-container {
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
        color: #1e293b;
        line-height: 1.5;
    }

  
    .gradient-text {
        background: linear-gradient(90deg, #1e293b 0%, #2563eb 100%);
        -webkit-background-clip: text; /* Vendor prefix for Chrome/Safari */
        background-clip: text;         /* Standard property */
        -webkit-text-fill-color: transparent;
        font-weight: 800;
    }

    /* --- Stat Pills (Hero Section) --- */
    .hero-stats {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .stat-pill {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #f1f5f9;
        padding: 8px 16px;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 600;
        color: #475569;
    }

    /* --- Buttons --- */
    .btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 28px;
        border-radius: 12px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .btn-primary {
        background: #2563eb;
        color: white;
    }

    .btn-glass {
        background: rgba(37, 99, 235, 0.08);
        color: #2563eb;
        border: 1px solid rgba(37, 99, 235, 0.1);
    }

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
    }

    /* --- Highlights Section (Duration/Projects) --- */
    .highlights-section {
        background-color: #f8fafc;
        border-top: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
    }

    .highlight-card {
        background: white;
        border: 1px solid #e2e8f0;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        transition: transform 0.3s ease;
    }

    .highlight-card:hover {
        transform: translateY(-5px);
    }

    .highlight-card .icon-box {
        width: 60px;
        height: 60px;
        background: #eff6ff;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-size: 1.8rem;
        color: #2563eb;
    }

    .highlight-card h3 {
        margin: 0;
        font-size: 1.4rem;
        font-weight: 800;
        color: #0f172a;
    }

    .highlight-card p {
        margin: 5px 0 0;
        color: #64748b;
        font-size: 0.95rem;
    }

    /* --- Course Outline (Accordion) --- */
    .modern-accordion {
        margin-top: 30px;
    }

    .accordion-item {
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        margin-bottom: 16px;
        overflow: hidden;
    }

    .accordion-header {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        transition: background 0.2s;
    }

    .accordion-header:hover {
        background: #f8fafc;
    }

    .accordion-header i {
        font-size: 0.8rem;
        color: #64748b;
        transition: transform 0.3s ease;
    }

    .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        background-color: #ffffff;
    }

    .inner-content {
        padding: 0 20px 20px 20px;
        border-top: 1px solid #f1f5f9;
    }

    .topic-list li {
        padding: 10px 0;
        border-bottom: 1px solid #f8fafc;
        display: flex;
        align-items: center;
        font-size: 0.95rem;
        color: #475569;
    }

    /* --- Sidebar & Pricing --- */
    .course-sidebar .sticky-card {
        border: 1px solid #e2e8f0;
    }

    .price-tag {
        background: #f8fafc;
        padding: 15px;
        border-radius: 12px;
        margin-bottom: 20px;
        border: 1px solid #e2e8f0;
    }

    .currency-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
    }

    .currency-row:first-child {
        border-bottom: 1px dashed #cbd5e1;
        margin-bottom: 5px;
    }

    .currency-label {
        font-size: 0.75rem;
        font-weight: 700;
        color: #64748b;
        text-transform: uppercase;
    }

    .amount {
        font-size: 1.25rem;
        font-weight: 800;
        color: #1e293b;
    }

    .bdt-row .amount {
        color: #2563eb;
    }

    .amount del {
        font-size: 0.85rem;
        color: #94a3b8;
        font-weight: 400;
        margin-left: 5px;
    }

    .benefit-list li {
        font-size: 0.9rem;
        color: #475569;
    }

    /* --- Mobile Optimization --- */
    @media (max-width: 991px) {
        /* General Layout */
        .hero-grid {
            grid-template-columns: 1fr !important;
            gap: 20px !important;
            text-align: center;
        }
        .hero-stats {
            justify-content: center;
            gap: 8px;
        }
        .container[style*="display: grid"] {
            grid-template-columns: 1fr !important;
            gap: 25px !important;
        }
        .course-sidebar {
            order: 2;
            max-width: 100% !important;
        }
        .sticky-card {
            position: relative !important;
            top: 0 !important;
        }

        /* Scaled Down Mobile Typography */
        .gradient-text {
            font-size: 1.75rem !important; /* Smaller main heading */
        }
        .stat-pill {
            font-size: 0.75rem; /* Smaller status pills */
            padding: 6px 12px;
        }
        .highlight-card h3 {
            font-size: 1.1rem; /* Smaller highlight titles */
        }
        .highlight-card p {
            font-size: 0.85rem; /* Smaller descriptions */
        }
        .accordion-header {
            padding: 15px;
        }
        .topic-list li {
            font-size: 0.85rem; /* Smaller accordion items */
        }
        .amount {
            font-size: 1.1rem; /* Smaller price text */
        }
        .btn {
            padding: 12px 24px;
            font-size: 0.9rem; /* Smaller buttons */
        }
        .benefit-list li {
            font-size: 0.85rem;
        }
    }


    /*    ..........  outlet details  ............
    ...........................................*/

    :root {
        --primary-color: #2563eb;
        --text-dark: #1f2937;
        --text-light: #6b7280;
        --glass: rgba(255, 255, 255, 0.95);
        --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    }

    body {
        background-color: #f8fafc;
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
        color: var(--text-dark);
    }

    .outlet-page {
        padding: 40px 0;
    }

    /* --- Modern Hero Section --- */
    .outlet-hero {
        position: relative;
        max-width: 1200px;
        margin: 0 auto;
        height: 450px;
        background-color: #1a1a1a;
        border-radius: 24px;
        overflow: hidden;
        background-size: cover; /* Changed to cover for a fuller look */
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        align-items: flex-end;
        box-shadow: var(--shadow);
    }

    .hero-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
        width: 100%;
        padding: 40px;
        color: white;
    }

    .outlet-name {
        font-weight: 800;
        letter-spacing: -0.025em;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }

    .shop-no {
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 0.1em;
        opacity: 0.9;
        margin-bottom: 8px;
        display: block;
    }

    /* --- Info Grid & Cards --- */
    .info-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .info-card {
        background: var(--glass);
        backdrop-filter: blur(10px);
        padding: 30px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: var(--shadow);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    }

    .info-card h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 20px;
        border-bottom: 2px solid #f1f5f9;
        padding-bottom: 10px;
    }

    /* --- Map Styling --- */
    #outlet-map {
        width: 100%;
        height: 100%;
        min-height: 400px;
        border-radius: 12px;
        overflow: hidden;
        background: #e5e7eb;
    }

    /* --- Contact Items --- */
    .contact-item {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .icon-circle {
        width: 45px;
        height: 45px;
        background: #eff6ff;
        color: var(--primary-color);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        font-size: 1.2rem;
    }

    /* --- Badges --- */
    .badge-group {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 20px;
    }

    .badge {
        background: #f1f5f9;
        padding: 8px 16px;
        border-radius: 100px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #475569;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* --- Opening Hours --- */
    .hours-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .hours-list li {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid #f1f5f9;
        font-size: 0.95rem;
    }

    .hours-list li:last-child { border: none; }

    .closed { 
        color: #ef4444; 
        font-weight: 700; 
        background: #fee2e2;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 0.8rem;
    }

    /* --- Reveal Animation --- */
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
        .info-grid {
            grid-template-columns: 1fr 1fr;
        }
        .map-card { grid-column: span 2; }
    }

    @media (max-width: 768px) {
        .info-grid { grid-template-columns: 1fr; }
        .map-card { grid-column: span 1; }
        .outlet-hero { height: 300px; }
    }

        /* ---------------------------------------------------------
                      Readymade details
--------------------------------------------------------- */


@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --p-blue: #2563eb;
    --p-blue-light: #eff6ff;
    --p-blue-dark: #1e3a8a;
    --p-surface: #ffffff;
    --p-bg: #f8fafc;
    --p-text-main: #0f172a;
    --p-text-muted: #64748b;
    --p-border: rgba(226, 232, 240, 0.8);
    --p-shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body { 
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif; 
    background-color: var(--p-bg); 
    background-image: radial-gradient(#e2e8f0 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    margin: 0;
    color: var(--p-text-main);
    line-height: 1.7;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    padding: 80px 0;
}

.breadcrumb-nav {
    margin-bottom: 24px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--p-text-muted); 
    text-decoration: none;
}

.breadcrumb-nav i {
    font-size: 0.7rem; 
    color: #cbd5e1;
}

.breadcrumb-nav .current-page {
    color: var(--p-text-main); 
    font-weight: 700;
}

.modern-card {
    background: var(--p-surface);
    border: 1px solid var(--p-border);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 32px;
}

.page-main-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem); 
    font-weight: 800; 
    margin: 0 0 20px 0;
}

/* Description Content */
.description-content h2 { 
    font-size: 1.75rem; 
    margin: 2rem 0 1rem; 
    color: var(--p-text-main);
    font-weight: 800;
}
.description-content p { margin-bottom: 1.5rem; font-size: 1.05rem; color: #334155; }
.description-content ul { padding-left: 0; margin-bottom: 2rem; list-style: none; }
.description-content li { 
    margin-bottom: 0.75rem; 
    position: relative; 
    padding-left: 32px;
}
.description-content li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--p-blue);
}

/* Main Image */
.main-image-wrapper {
    border-radius: 40px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--p-shadow-lg);
    margin-bottom: 40px;
    border: 4px solid #fff;
    aspect-ratio: 16/10;
    position: relative;
    cursor: zoom-in;
}

.main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Gallery */
.gallery-title {
    margin-bottom: 24px; 
    font-weight: 800; 
    display: flex; 
    align-items: center; 
    gap: 12px;
}

.gallery-title i {
    color: var(--p-blue);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 16px;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 18px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: 0.3s;
}

.gallery-item img:hover {
    border-color: var(--p-blue);
    transform: translateY(-4px);
}

/* Sidebar */
.sidebar-sticky { position: sticky; top: 100px; height: fit-content; }

.sidebar-card {
    border: 2px solid var(--p-blue); 
    background: linear-gradient(to bottom, #fff, #f8fafc);
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-label {
    color: var(--p-text-muted); 
    font-weight: 800; 
    text-transform: uppercase; 
    font-size: 0.7rem; 
    letter-spacing: 1px;
}

.price-usd {
    font-size: 2.8rem; 
    font-weight: 900; 
    color: var(--p-text-main); 
    line-height: 1;
}

.price-bdt {
    font-size: 1.1rem; 
    color: var(--p-blue); 
    font-weight: 700; 
    margin-top: 5px;
}

.tech-stack-section {
    padding: 20px 0; 
    border-top: 1px solid #e2e8f0; 
    margin-bottom: 20px;
}

.stack-label {
    font-weight: 800; 
    font-size: 0.75rem; 
    margin-bottom: 12px; 
    color: var(--p-text-main); 
    text-transform: uppercase;
}

.tech-pills-container {
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px;
}

.tag-badge {
    background: var(--p-blue-light);
    color: var(--p-blue);
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
}

.tech-pill {
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px;
    border-radius: 18px;
    background: var(--p-blue);
    color: white !important;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3);
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background: var(--p-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.5);
}

.trust-text {
    text-align: center; 
    font-size: 0.8rem; 
    color: var(--p-text-muted); 
    margin-top: 15px;
}

/* Lightbox */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    color: white; font-size: 40px; cursor: pointer;
}

/* Mobile Bar */
.mobile-cta-bar {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: white;
    padding: 12px 20px;
    display: none; justify-content: space-between; align-items: center;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05); z-index: 1000;
}

.mobile-price-label {
    font-size: 0.65rem; 
    font-weight: 800; 
    color: var(--p-text-muted); 
    text-transform: uppercase;
}

.mobile-price-value {
    font-weight: 900; 
    font-size: 1.3rem;
}

.mobile-btn {
    width: auto; 
    padding: 12px 24px; 
    font-size: 0.95rem; 
    border-radius: 14px;
}

/* Responsive */
@media (max-width: 991px) {
    .product-container { grid-template-columns: 1fr; padding: 40px 0 100px 0; }
    .sidebar-sticky { position: static; }
    .mobile-cta-bar { display: flex; }
}

@media (max-width: 768px) {
    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        scrollbar-width: none;
    }
    .gallery-grid::-webkit-scrollbar { display: none; }
    .gallery-item { flex: 0 0 120px; scroll-snap-align: center; }
}

/* ---------------------------------------------------------
              COURSElist
--------------------------------------------------------- */

/* ---------------------------------------------------------
              COURSES SECTION (SCOPED)
--------------------------------------------------------- */
#courses {
    --course-primary: #6366f1;
    --course-secondary: #a855f7;
    --course-text: #1e293b;
    --course-muted: #64748b;
    --course-bg: #ffffff;
    --course-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    background: #f8fafc;
    padding: 100px 0;
    font-family: 'Inter', sans-serif;
}

#courses .section-title {
    text-align: center;
    margin-bottom: 50px;
}

#courses .section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--course-text);
}

/* ---------------------------------------------------------
   GRADIENT TEXT COMPATIBILITY FIX
--------------------------------------------------------- */
#courses .text-gradient {
    background: linear-gradient(90deg, var(--course-primary), var(--course-secondary));
    
    /* Vendor prefix for Safari/Chrome */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Standard property for future compatibility */
    background-clip: text;
    color: transparent; 
}

/* Swiper Slide Equal Height */
#courses .swiper-slide {
    height: auto;
}

#courses .course-card {
    background: var(--course-bg);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--course-shadow);
}

#courses .course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 40px -10px rgba(0, 0, 0, 0.1);
}

/* Image Wrapper */
#courses .course-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

#courses .course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

#courses .course-card:hover .course-img-wrapper img {
    transform: scale(1.1);
}

#courses .badge-float {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--course-primary);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

/* Content */
#courses .course-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#courses .course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--course-muted);
    margin-bottom: 15px;
}

#courses .course-meta i {
    color: var(--course-primary);
    margin-right: 5px;
}

#courses .course-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--course-text);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

#courses .course-card h3:hover {
    color: var(--course-primary);
}

#courses .course-desc {
    font-size: 0.95rem;
    color: var(--course-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Footer & Buttons */
#courses .course-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

#courses .price-stack {
    display: flex;
    flex-direction: column;
}

#courses .price-old {
    text-decoration: line-through;
    color: var(--course-muted);
    font-size: 0.85rem;
}

#courses .price-new {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--course-primary);
}

#courses .btn-enroll {
    background: var(--course-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

#courses .btn-enroll:hover {
    background: var(--course-secondary);
    transform: scale(1.05);
}

/* Swiper Bullets */
#courses .swiper-pagination-bullet-active {
    background: var(--course-primary);
}