:root {
    /* --- LIGHT MODE (Default) --- */
    --brand-primary: #7380EC;
    --brand-primary-grey: #9ca7ab;
    --brand-dark: #0f172a;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-white: #ffffff;
    --bg-soft: #f8fafc;
    --border-color: #e2e8f0;

    /* Spacing & Radii (Stay the same) */
    --radius-md: 12px;
    --container-width: 1100px;
    --transition: all 0.3s ease;
}

/* Base Resets */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-white);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

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

/* --- Navbar --- */
.navbar {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Logo Container */
.logo { 
    display: flex;
    align-items: center;
    text-decoration: none;
    /* Remove font-weight and font-size as they aren't needed for the image */
}

/* Hamburger menu */
.menu-toggle {
    display: none; /* Hide it completely on large screens */
    background: none;
    border: none;
    border-radius: 0; /* Forces it to NOT be a circle */
    padding: 0;
    width: auto;
    height: auto;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: #333; /* Or your preferred color */
    transition: all 0.3s ease;
}

/* New Logo Image Style */
.logo img {
    height: 40px; /* Standard SaaS logo height. Adjust as needed */
    width: auto;  /* Keeps the logo from stretching */
    display: block;
}

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 2rem; 
    align-items: center; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--text-main); 
    font-weight: 500; 
    transition: var(--transition);
    /* This ensures the clickable area is consistent with the dropdown */
    display: flex;
    align-items: center;
}

.nav-links a:hover { 
    color: var(--brand-primary); 
}

/* Fix for the dropdown trigger specifically */
.dropdown-trigger {
    /* Remove any extra margins that might be pushing it down */
    margin: 0;
    /* Ensure it doesn't have extra bottom padding compared to the others */
    padding: 0; 
}

/* --- Updated Dropdown Container --- */
.dropdown {
    position: relative;
    padding: 1rem 0; 
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
}

.chevron {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* --- Updated Mega Menu (The Hidden Menu) --- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 440px; 
    background: rgba(255, 255, 255, 0.98); /* Slightly translucent for smoothness */
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px; 
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.12);
    z-index: 100;

    /* --- Smooth Fade Logic --- */
    opacity: 0;
    visibility: hidden;
    
    /* 0.3s is the "sweet spot" for a noticeable but fast fade */
    transition: 
        opacity 0.3s ease-in-out, 
        visibility 0.3s ease-in-out,
        backdrop-filter 0.3s ease;
        
    /* Frosted glass effect helps the fade feel "softer" */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

/* Show Menu on Hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown:hover .chevron {
    transform: rotate(180deg);
}

/* --- Favicon image on Tagline --- */
.badge {
    display: inline-flex !important; 
    white-space: nowrap !important; 
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 1rem;
    
    /* NEW LOOK: White background and Black text */
    background: transparent;
    color: black;
    
    /* Dark grey border (using a soft grey for better aesthetics) */
    border: 1px solid #d1d5db; 
    
    /* Subtle shadow below */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    width: max-content; 
}

.badge-icon {
    width: 14px;
    height: 14px;
    /* Keeps the image from breaking the line */
    display: inline-block; 
    flex-shrink: 0;
}

.badge-center {
    display: flex !important; 
    white-space: nowrap !important; 
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    
    /* NEW LOOK: White background and Black text */
    background: transparent;
    color: black;
    
    /* Dark grey border (using a soft grey for better aesthetics) */
    border: 1px solid #d1d5db; 
    
    /* Subtle shadow below */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    width: max-content; 
    margin: 0 auto 1rem;
}

/* --- The Nova 2-Grid Layout --- */
.mega-menu-container {
    display: grid;
    grid-template-columns: 1fr 1.8fr; /* Left side 40%, Right side 60% */
    gap: 3rem;
}

/* Left Grid: Header & Highlight */
.menu-highlight {
    padding-right: 1rem;
    border-right: 1px solid #f1f5f9;
}

.menu-highlight h3 {
    font-size: 1.25rem;
    color: var(--brand-dark);
    margin: 1rem 0 0.75rem;
    font-weight: 700;
}

.menu-highlight p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.menu-cta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-decoration: none;
    display: inline-block;
}

/* Right Grid: Sub-sections 2x2 */
.menu-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 4px; /* Tight spacing between items */
    text-align: left !important;
}

/* 3. Individual Clickable Items */
.dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    padding: 10px 14px;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid transparent; 
    transition: all 0.2s ease;
    background: transparent;
    text-align: left !important;
}

/* 4. The Border Glow Effect */
.dropdown-item:hover {
    background: #ffffff;
    border-color: var(--brand-primary); /* Uses your blue/purple brand color */
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08); /* Soft colored glow */
    transform: translateY(-1px);
}

/* 5. Typography Inside Items */
.dropdown-item strong {
    display: block;
    color: var(--brand-dark);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 3px;
}

.dropdown-item p {
    font-size: 0.78rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.3;
}

/* --- Buttons --- */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    /* CHANGED: inline-flex allows perfect vertical centering of icons */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between the SVG icon and the text */
    
    transition: var(--transition);
    border: 1px solid transparent;
}

/* Ensure the SVG scales correctly */
.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0; /* Prevents icon from getting squashed */
}

/* Container to keep the button stable */
.whatsapp-container {
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

/* Updated Button: Added extra left padding (45px) */
.custom-ribbon-btn {
    position: relative;
    overflow: hidden; 
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px 12px 25px; /* Extra 45px padding on the left */
    border-radius: 6px;
    text-decoration: none;
    z-index: 1;
}

/* Shrunk the wrapper so it stays in the very tip of the corner */
.ribbon-wrapper {
    width: 50px;
    height: 50px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Adjusted the strip to be thinner and tucked tighter into the corner */
.ribbon-text {
    text-align: center;
    font-family: sans-serif;
    font-weight: 900;
    font-size: 9px; /* Smaller font */
    color: #000;
    background-color: #fff;
    
    width: 70px; /* Shorter strip */
    transform: rotate(-45deg);
    position: absolute;
    top: 7px;     /* Tucked higher */
    left: -22px;  /* Tucked further left */
    
    padding: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    z-index: 2;
}

/* Ensure the SVG doesn't get squished */
.custom-ribbon-btn svg {
    flex-shrink: 0;
}

.btn-primary { background: var(--brand-primary); color: white; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3); }

.btn-secondary { background: var(--bg-soft); color: var(--brand-dark); border: 1px solid #e2e8f0; }
.btn-secondary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(171, 172, 176, 0.3); }

/* --- Hero Section (The 60/40 Split) --- */
.hero { 
    padding: 6rem 0; 
    background: radial-gradient(circle at top left, #f0f4ff 0%, #fff 50%); 
    width: 100%;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

/* Left Side - 60% */
.hero-content {
    flex: 0 0 50%;
    text-align: left;
}

h1 { 
    font-size: 2.5rem; 
    line-height: 1.1; 
    margin-bottom: 1.5rem; 
    color: var(--brand-dark); 
}

.gradient-text { 
    background: linear-gradient(90deg, #6366f1, #a855f7); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

.hero p { 
    font-size: 1.15rem; 
    color: var(--text-light); 
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-btns { 
    display: flex; 
    gap: 1rem; 
    justify-content: flex-start; 
}

.hero-btns-center { 
    display: flex; 
    gap: 1rem; 
    justify-content: center; 
}

/* Right Side - 40% (Placeholder) */
.image-placeholder {
    background: var(--bg-soft); /* Keep a light backplate while GIF loads */
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden; /* Clips the corners of the GIF to match the border radius */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Top container tagline */
.header-tagline {
    width: 100%;            /* Ensure it spans the full width */
    text-align: center;      /* Centers the text inside the div */
    margin-top: 2rem;       /* Adds space between the hero content and the tagline */
    padding: 1.5rem 0;
}

.header-tagline p {
    color: var(--text-light); /* Uses your muted gray variable */
    font-size: 1.15rem;
    max-width: 800px;        /* Prevents the line from getting too long */
    margin: 0 auto;          /* Centers the paragraph block itself */
}

.header-tagline strong {
    color: var(--brand-dark); /* Makes the bolded words stand out more */
    font-weight: 700;
}

/* Style for the actual GIF */
.hero-gif {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures the GIF fills the area without stretching */
    display: block;
}

/* Optional: Add a subtle shadow for that high-end SaaS feel */
.hero-visual {
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

/* Nova Experience Section */
.nova-experience {
    padding: 8rem 0;
    background-color: #ffffff; /* Use hex to be safe */
    border-top: 1px solid #f1f5f9;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.nova-experience::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    /* Line and Dot Pattern */
    background-image: 
        radial-gradient(#e2e8f0 1.5px, transparent 1.5px), /* The Dots */
        linear-gradient(to right, #f8fafc 1px, transparent 1px), /* Vertical Lines */
        linear-gradient(to bottom, #f8fafc 1px, transparent 1px); /* Horizontal Lines */
    
    background-size: 40px 40px; /* Space between dots/lines */
    
    /* This creates the "blurred/faded" edges look without using complex masks */
    background-repeat: repeat;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.experience-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* 60/40 Split */
    gap: 5rem;
    align-items: center;
}

.experience-text h2 {
    font-size: 3rem;
    color: var(--brand-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.experience-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.experience-list {
    list-style: none;
    padding: 0;
}

.experience-list li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-main);
    font-size: 1.05rem;
}

/* Custom Arrow Bullet */
.experience-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: bold;
}

/* LEGAL PRIVACY POLICY */
/* 1. Layout Container */
.legal-section {
    padding: 80px 0;
    background-color: #f8fafc; /* Light grey background to make the white card pop */
}

.legal-container {
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
    padding: 60px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* 2. Typography & Headers */
.legal-container h1 {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 8px;
    font-weight: 800;
    text-align: center;
}

.last-updated {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 40px;
    display: block;
}

.legal-container h2 {
    font-size: 22px;
    color: #1e293b;
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.legal-container p {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 20px;
}

/* 3. Table of Contents */
.toc {
    background: #f1f5f9;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
}

.toc h3 {
    margin-top: 0;
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 15px;
}

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

.toc li {
    margin-bottom: 12px;
}

.toc a {
    color: var(--brand-primary); /* Uses your main brand color */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.toc a:hover {
    text-decoration: underline;
}

/* 4. Content Elements */
.legal-container ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.legal-container ul li {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #334155;
}

.highlight-box {
    background: #eff6ff;
    border-left: 4px solid var(--brand-primary);
    padding: 16px 24px;
    margin: 30px 0;
    border-radius: 4px;
    font-size: 15px;
    color: #1e40af;
}

/* 5. Contact Section */
address {
    font-style: normal;
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-top: 20px;
    display: block;
}

/* 6. Responsive Design */
@media (max-width: 768px) {
    .legal-container {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .legal-container h1 {
        font-size: 28px;
    }
}

/* Experience animation */
/* 1. Initial State (Hidden) */
.experience-text, 
.stat-card {
    opacity: 0;
    will-change: transform, opacity; /* Optimizes performance */
}

/* 2. Animation Trigger (When JS adds the class) */
.animate-now .experience-text {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-now .stat-card {
    animation: slideInRight 0.8s ease-out forwards;
}

/* 3. Staggered Delays for the Cards */
.animate-now .stat-card:nth-child(1) { animation-delay: 0.1s; }
.animate-now .stat-card:nth-child(2) { animation-delay: 0.3s; }
.animate-now .stat-card:nth-child(3) { animation-delay: 0.5s; }

/* 4. Keyframes */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

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

/* Stats Styling */
.experience-stats {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.stat-card {
    background: var(--bg-soft);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.stat-card:hover {
    background: white;
    border-color: var(--brand-primary);
    transform: translateX(10px); /* Subtle slide effect on hover */
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
}

.stat-number {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .experience-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .experience-list {
        display: inline-block;
        text-align: left;
    }

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

/* --- Features Section --- */
.features { padding: 8rem 0; background: var(--bg-soft); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; color: var(--brand-dark); margin-bottom: 1rem; }


.features p { 
    font-size: 1.15rem; 
    color: var(--text-light); 
}

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

.card {
    padding: 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.card a{
    color: grey;
}

.card a:hover{
    color: #6366f1;
}

/* Align Number and Title */
.card-header {
    display: flex;
    align-items: center; /* Vertically centers the number with the text */
    gap: 12px;           /* Space between number and title */
    margin-bottom: 1rem;
}

/* The circular container for the icon */
.card-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #f0f4ff; /* Very light version of your brand color */
    color: #6366f1; /* Your brand-primary blue/purple */
    border-radius: 10px; /* Modern "squircle" look */
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.card-icon {
    width: 24px;
    height: 24px;
}

/* Hover effect on the card affects the icon */
.card:hover .card-icon-container {
    background-color: #6366f1;
    color: white;
    transform: scale(1.05);
}

.card .card-number {
    color: var(--brand-primary); /* Use your theme blue */
    opacity: 1;                /* Make it slightly subtle */
    font-weight: 800;
    min-width: 35px;             /* Ensures alignment if numbers go to 10+ */
}

.card-number-grey {
    color: var(--brand-primary-grey); /* Use your theme blue */
    opacity: 1;                /* Make it slightly subtle */
    font-weight: 800;
    min-width: 35px;             /* Ensures alignment if numbers go to 10+ */
}

.card h3 {
    margin: 0;                   /* Remove default margins for perfect flex alignment */
    font-size: 1.15rem;
}

.card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.card:hover { 
    border-color: var(--brand-primary); 
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}
.icon { font-size: 2rem; margin-bottom: 1rem; }

/* FAQ Section */
.faq { padding: 8rem 0; background-color: var(--bg-white); }

.faq p { 
    font-size: 1.15rem; 
    color: var(--text-light); 
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--brand-dark);
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--brand-primary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.content-block p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-main);
}

.custom-list {
    list-style: none; /* Remove default dots */
    padding-left: 1.5rem; /* Indent the whole list */
    margin-bottom: 1.5rem;
}

.custom-list li {
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    padding-left: 1.5rem; /* Space for the custom dot */
    color: var(--text-main);
}

/* Create the custom indented dot */
.custom-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem; /* Adjust based on your font size to center vertically */
    width: 6px;
    height: 6px;
    background-color: var(--brand-primary); /* Uses your indigo/blue */
    border-radius: 50%;
}

.custom-list li strong {
    color: var(--brand-dark);
    font-weight: 700;
}

/* Active State */
.faq-item.active .faq-answer {
    max-height: 1000px; /* Adjust based on content */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--brand-primary);
}

/* --- Dynamic Blog Posts --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.blog-card-wrapper {
    text-decoration: none;
    color: inherit;
    display: block; /* Makes the entire area clickable */
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.blog-card-wrapper:hover .blog-card {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border-color: var(--brand-primary);
}

.blog-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #6366f1;
}

.main-link {
    text-decoration: none;
    color: #1e293b;
}

.main-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1; /* Covers the card */
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.blog-content h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    /* Limits summary to roughly 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    margin-top: auto;
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    padding-bottom: 20px;
}

.page-btn {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #475569;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled) {
    border-color: #6366f1;
    color: #6366f1;
}

.page-btn.active {
    background-color: #6366f1;
    color: white;
    border-color: #6366f1;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f8fafc;
}

.page-btn.arrow {
    font-weight: 600;
}

/* --- Blog Articles --- */
/* Container for the whole page */
.article-section {
    padding: 0px 20px;
    background-color: #ffffff;
}

/* Constrains the article to a readable width (approx. 70-80 characters per line) */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

/* Style the top image */
.featured-image {
    margin-bottom: 40px;
}

.featured-image img {
    width: auto;
    max-height: 300px;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

/* Typography for the article content */
.article-content {
    line-height: 1.6;
    color: #333;
    font-size: 1.15rem;
}

.article-content h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #111;
}

.article-content h3, h4 {
    margin-top: 20px;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content b {
    color: #000;
}

/* Basic responsiveness for smaller screens */
@media (max-width: 600px) {
    .article-section {
        padding: 30px 15px;
    }
    
    .article-content {
        font-size: 1.05rem;
    }
}

/* --- Meet the Team --- */
.team-section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

.team-header {
    text-align: center;
    margin-bottom: 50px;
}

.team-header h2 {
    font-size: 2.25rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.team-header p {
    color: #64748b;
    font-size: 1.1rem;
}

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

/* --- The Card --- */
.team-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

/* Matching your menu's glow effect */
.team-card:hover {
    border-color: #6366f1; /* Your brand-primary color */
    box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.15);
    transform: translateY(-5px);
}

.member-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #f1f5f9;
}

.member-info h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.member-role {
    display: block;
    color: #6366f1;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.member-info p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/** --- Pricing Section --- */
.pricing-section {
    padding: 60px 20px;
    background-color: #fcfcfd;
}

.pricing-table-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    overflow: hidden; /* Keeps corners rounded */
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-family: inherit;
}

/* Header Styling */
.comparison-table thead th {
    background-color: #f8fafc;
    padding: 20px 24px;
    color: #1e293b;
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.feature-col { width: 34%; }
.plan-col { width: 33%; }

/* Category Row (Pricing / Application Support) */
.category-row td {
    background-color: #f1f5f9;
    color: #64748b;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 24px;
}

/* Standard Cell Styling */
.comparison-table td {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Feature Titles & Hints */
.comparison-table td strong {
    display: block;
    color: #1e293b;
    margin-bottom: 4px;
}

.hint {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.3;
}

/* Row Hover Effect */
.comparison-table tbody tr:not(.category-row):hover {
    background-color: #fbfcfe;
}

/* Responsive: Allow horizontal scroll on small screens */
@media (max-width: 768px) {
    .pricing-table-container {
        overflow-x: auto;
    }
    .comparison-table {
        min-width: 700px;
    }
}

/* --- Chatbot --- */
#visa-chat-widget { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    z-index: 1000; 
    font-family: 'Inter', sans-serif;
}

/* 1. Updated Hook: Full Primary Glow Shadow */
.chat-hook { 
    background: white; 
    border-radius: 12px; 
    padding: 15px; 
    width: 260px; 
    /* Full border around the entire hook */
    border: 1.5px solid var(--brand-primary); 
    /* Keep the left accent a bit thicker for style */
    border-left: 6px solid var(--brand-primary); 
    /* Primary color glow */
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2); 
    margin-bottom: 15px; 
    cursor: pointer; 
    position: relative; 
    animation: float 3s ease-in-out infinite; 
}

.hook-content p { 
    margin: 0; 
    font-size: 14px; 
    line-height: 1.4; 
    font-weight: bold;
    color: #334155; 
}

/* 2. Updated Launcher: Clean SVG Handling */
.chat-launcher { 
    width: 60px; 
    height: 60px; 
    background: var(--brand-primary); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4); 
    cursor: pointer; 
    float: right; 
}

/* Styling the SVG inside the launcher */
.chat-launcher svg { 
    width: 28px; 
    height: 28px; 
    fill: white; 
}

/* 3. Updated Chat Window: Professional Fade-Up Animation */
.chat-window { 
    width: 350px; 
    height: 500px; 
    background: white; 
    border-radius: 16px; 
    box-shadow: 0 15px 50px rgba(0,0,0,0.2); 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    position: absolute; 
    bottom: 70px; 
    right: 0; 
    /* Base animation state */
    animation: chatFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
}

/* Specific Animation Keyframes */
@keyframes chatFadeUp {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.chat-window.hidden {
    display: none !important;
}

/* Rest of your existing styles below */
.chat-header { background: var(--brand-primary); color: white; padding: 15px; display: flex; justify-content: space-between; align-items: center; }
.chat-body { flex: 1; padding: 20px; overflow-y: auto; background: var(--bg-soft); display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.chat-header .status {font-size: 12px;}
.bot-msg { background: white; padding: 12px; border-radius: 12px 12px 12px 2px; font-size: 14px; max-width: 85%; box-shadow: 0 2px 5px rgba(0,0,0,0.05); color: #1e293b; }
.user-msg { align-self: flex-end; background: var(--brand-primary); color: white; padding: 10px 14px; border-radius: 12px 12px 2px 12px; font-size: 14px; max-width: 80%; }
.button-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 5px; }
.chat-btn { background: white; border: 1.5px solid var(--brand-primary); color: var(--brand-primary); padding: 10px 8px; border-radius: 8px; cursor: pointer; text-align: center; font-size: 13px; font-weight: 500; transition: 0.2s; }
.chat-btn:hover { background: var(--brand-primary); color: white; }
.chat-input { padding: 12px; border: 1.5px solid #e2e8f0; border-radius: 8px; width: 100%; outline: none; font-size: 14px; }
.chat-input:focus { border-color: var(--brand-primary); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }


/* --- Conversational Embedded Chatbot --- */
/* Disclaimer styling */
.assessment-disclaimer {
    position: relative; /* Needed for absolute positioning of X */
    font-size: 11px;
    line-height: 1.4;
    color: #64748b;
    background: #f8fafc;
    padding: 12px 30px 12px 12px; /* Extra padding on right for X */
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
}

.close-disclaimer {
    position: absolute;
    top: 5px;
    right: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #94a3b8;
    border: none;
    background: none;
    line-height: 1;
}

.close-disclaimer:hover {
    color: #ef4444;
}

/* Helper class to hide the disclaimer */
.disclaimer-hidden {
    display: none !important;
}

.assessment-disclaimer a {
    color: var(--brand-primary, #2563eb);
    text-decoration: underline;
}

/* Container for the choice buttons */
.button-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 12px;
    margin-top: 10px;
}

/* Ensure choice buttons in the grid don't have bottom margin (handled by gap) */
.button-grid-container .carousel-btn {
    margin-bottom: 0;
}

/* Style for the 'Next' (primary) button */
.carousel-btn.primary-btn {
    width: auto !important;
    min-width: 160px; /* Slightly wider for the longer text */
    padding: 12px 24px;
    background-color: var(--brand-primary);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.carousel-btn.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.carousel-actions {
    display: flex;
    justify-content: flex-end; /* Pushes button to the right */
    margin-top: 20px; /* 20px gap from the input field */
}

.carousel-assessment-container {
    width: 100%;
    max-width: 450px;
    min-height: 400px;
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  }
  50% {
    transform: translateY(-15px);
    /* Shadow becomes larger and lighter as it moves away from the 'floor' */
    box-shadow: 0 35px 50px rgba(0,0,0,0.05);
  }
  100% {
    transform: translateY(0px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  }
}

.carousel-stage {
    position: relative;
    height: 100%;
}

.experience-layout-chatbot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.experience-layout-chatbot .experience-text, 
.stat-card {
    opacity: 1;
    will-change: transform, opacity; /* Optimizes performance */
}

/* Animation for the cards */
.question-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateX(0);
}

.question-card.exit {
    opacity: 0;
    transform: translateX(-100px);
    position: absolute;
}

.question-card.enter {
    opacity: 0;
    transform: translateX(100px);
}

/* UI Elements inside the card */
.question-card h3 { font-size: 20px; margin-bottom: 20px; color: #1e293b; }
.carousel-btn { 
    display: block;
    width: 100%;
    padding: 14px;
    margin-bottom: 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    color: black;
    cursor: pointer;
    text-align: left;
    transition: 0.2s;
    font-size: 15px;
}
.carousel-btn:hover { border-color: var(--brand-primary); background: var(--brand-primary); color: white; }

.progress-container { height: 6px; background: #f1f5f9; border-radius: 3px; margin-top: 20px; }
.progress-bar { height: 100%; background: var(--brand-primary); width: 10%; transition: width 0.3s ease; }

/* --- Footer Section --- */
.site-footer {
    padding: 4rem 0 6rem;
    background-color: var(--bg-white);
    border-top: 1px solid #f1f5f9;
}

/* Logo and Line Row */
.footer-top {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-line {
    flex-grow: 1; /* This stretches the line to fill the remaining space */
    height: 1px;
    background-color: #e2e8f0;
}

/* 3-Column Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

/* Left Alignment */
.footer-left p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Middle Alignment (Socials) */
.footer-middle {
    display: flex;
    justify-content: right;
    gap: 1.5rem;
}

.social-link {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--brand-primary);
}

.social-link svg {
    width: 20px;
    height: 20px;
    display: block;
    /* This ensures the color follows the text color of the link */
    stroke: currentColor; 
    transition: var(--transition);
}

.social-link:hover svg {
    transform: translateY(-3px);
    stroke: var(--brand-primary); /* Changes icon color on hover */
}

/* Right Alignment (Legal) */
.footer-right {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
}

.footer-right a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-right a:hover {
    color: var(--brand-dark);
}

/* Hamburger menu for Tablet & Phone */
@media (min-width: 993px) {
    .mobile-only-btn { display: none; }
}
@media (max-width: 992px) {
    /* 1. Hamburger Icon Styling */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    .bar {
        width: 30px;
        height: 3px;
        background-color: var(--text-main);
        transition: 0.3s;
    }

    /* 2. Main Nav Drawer (The Full-Width Menu) */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 2rem 2rem 2rem;
        gap: 1rem;
        transform: translateY(-100%); /* Slide down from top */
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a{
        font-size: 20px;
    }

    /* 3. Dropdown "Reset" for Mobile Accordion */
    .dropdown {
        width: 100%;
        padding: 0;
    }

    .dropdown-trigger {
        font-size: 16px;
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-item strong{
        font-size: 16px;
    }

    .dropdown-menu {
        /* Reset Desktop Styles */
        position: static;    /* Stop floating */
        opacity: 1;         /* Always visible if container is shown */
        visibility: visible;
        width: 100%;        /* Fill mobile width */
        transform: none !important;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--brand-primary);
        background: transparent;
        backdrop-filter: none;
        
        /* Hide by default for accordion effect */
        display: none; 
        padding: 0 0 0 1.5rem;
        margin-top: 0;
    }

    /* Show when clicked */
    .dropdown.is-open .dropdown-menu {
        display: block;
    }

    .menu-links-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .dropdown-item p {
        font-size: 0.85rem;
        color: #666;
    }

    .badge-center {
        white-space: normal !important; 
        width: fit-content; 
    }

    .experience-layout-chatbot{
        display: block;
    }

    .experience-text{
        margin-bottom: 30px;
    }
}

/* Responsive Tweak for Mobile */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-middle, .footer-right {
        justify-content: center;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .footer-line {
        width: 100%;
    }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-visual {
        flex: 0 0 100%;
        width: 100%;
        max-width: 500px;
    }

    h1 { font-size: 2.75rem; }
}