        /* ==========================================================================
   CSS Variables & Configuration
   ========================================================================== */
:root {
    /* Brand Colors */
    --brand-blue: #3E38B6;
    /* Logo and button background */
    --brand-blue-hover: #2e298f;
    --brand-orange: #f26440;
    /* Logo accent arrow */

    /* Text Colors */
    --text-dark: #111827;
    --text-muted: #6b7280;

    /* Backgrounds & Borders */
    --bg-light: #f3f4f6;
    --border-nav: #e5e7eb;
}

/* ==========================================================================
   Global Reset & Defaults
   ========================================================================== */
body {
    /*font-family: 'Inter', sans-serif;*/
    font-family: 'Instrument Sans', sans-serif;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    background-color: #ffffff;
}

/* ==========================================================================
   Typography & Navigation Elements
   ========================================================================== */

/* Navbar Container */
.navbar {
    border-bottom: 1px solid var(--border-nav);
    background-color: #ffffff;
}

/* Brand Logo */
.logo-seq {
    font-size: 38px;
    font-weight: 800;
    color: var(--brand-blue);
    letter-spacing: -2px;
    line-height: 1;
}

.logo-arrow {
    position: absolute;
    top: -2px;
    right: -18px;
    color: var(--brand-orange);
}

.logo-subtext {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Nav Links */
.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--brand-blue);
}

.dropdown-toggle::after {
    vertical-align: middle;
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-bottom: 0;
    border-left: 0.35em solid transparent;
    margin-left: 0.4em;
    opacity: 0.7;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-login {
    color: var(--text-dark);
    background-color: transparent;
    border: 1px solid var(--border-nav);
    font-weight: 500;
    font-size: 16px;
    padding: 0.5rem 1.75rem;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background-color: var(--bg-light);
    border-color: #d1d5db;
}

.btn-signup {
    color: #ffffff;
    /*background-color: var(--brand-blue);*/
    background-color: #3329b4;
    border: 1px solid var(--brand-blue);
    font-weight: 500;
    font-size: 16px;
    padding: 0.5rem 1.75rem;
    transition: all 0.2s ease;
}

.btn-signup:hover {
    color: #ffffff;
    background-color: var(--brand-blue-hover);
    border-color: var(--brand-blue-hover);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-container {
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.hero-badge {
    background-color: #f1f2f4 !important;
    /* Soft gray exact to design */
    color: var(--text-muted);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 0.6rem 1.2rem;
    border-radius: 50rem;
    /* Creates the pill shape */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 500;
    letter-spacing: -1.5px;
    line-height: 1.15;
    color: #050505;
}

.hero-description {
    font-size: 18px;
    color: #000000;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 95%;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-container {
        padding-top: 3rem;
    }

    .hero-title {
        font-size: 2.75rem;
        margin-bottom: 1.5rem !important;
    }

    .hero-description {
        max-width: 100%;
        margin-top: 1.5rem !important;
    }

    .nav-buttons {
        margin-top: 1rem;
        padding-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.25rem;
    }
}

/* ==========================================================================
   Showcase Section
   ========================================================================== */

/*New section css*/

 /*@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@300;400;500&display=swap');*/

     .showcase-wrapper {
         /*background: linear-gradient(135deg, #111827 0%, #1a1a2e 50%, #0f172a 100%);*/
         background: #3329b4;
         border-radius: 28px;
         padding: 52px 48px;
         position: relative;
         overflow: hidden;
         border: 1px solid rgba(255, 255, 255, 0.07);
     }

     .showcase-wrapper::before {
         content: '';
         position: absolute;
         inset: 0;
         /*background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);*/
         background-size: 28px 28px;
         pointer-events: none;
     }

     .showcase-blob {
         position: absolute;
         border-radius: 50%;
         filter: blur(80px);
         opacity: 0.18;
         pointer-events: none;
     }

     /*.blob-1 { width: 420px; height: 420px; background: #6366f1; top: -120px; right: -100px; }*/
     /*.blob-2 { width: 300px; height: 300px; background: #06b6d4; bottom: -80px; left: -60px; }*/

     .showcase-inner {
         position: relative;
         z-index: 1;
     }

     .section-badge {
         display: inline-flex;
         align-items: center;
         gap: 8px;
         background: rgba(99, 102, 241, 0.15);
         border: 1px solid rgba(99, 102, 241, 0.35);
         color: #a5b4fc;
         font-size: 11px;
         font-weight: 500;
         letter-spacing: 0.12em;
         text-transform: uppercase;
         padding: 5px 14px;
         border-radius: 100px;
         margin-bottom: 20px;
     }

     .section-badge::before {
         content: '';
         width: 6px;
         height: 6px;
         background: #6366f1;
         border-radius: 50%;
         animation: badgePulse 2s infinite;
     }

     @keyframes badgePulse {

         0%,
         100% {
             opacity: 1;
             transform: scale(1);
         }

         50% {
             opacity: 0.5;
             transform: scale(1.4);
         }
     }

     .section-heading {
         /*font-family: 'Syne', sans-serif;*/
         font-size: clamp(22px, 3vw, 32px);
         font-weight: 600;
         /*color: #f8fafc;*/
         color: #fff;
         line-height: 1.25;
         max-width: 640px;
         margin-bottom: 44px;
     }

     .section-heading span {
        font-weight: 700;
     }

     .tools-grid {
         display: grid;
         grid-template-columns: repeat(3, 1fr);
         gap: 14px;
     }

     .tool-card {
         background: rgba(255, 255, 255, 0.04);
         border: 1px solid rgba(255, 255, 255, 0.08);
         border-radius: 16px;
         padding: 20px 18px;
         display: flex;
         align-items: center;
         gap: 12px;
         text-decoration: none;
         transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
         position: relative;
         overflow: hidden;
     }

     .tool-card::after {
         content: '';
         position: absolute;
         inset: 0;
         background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
         opacity: 0;
         transition: opacity 0.3s;
         pointer-events: none;
     }

     /*.tool-card:hover {*/
     /*    background: rgba(255, 255, 255, 0.07);*/
     /*    border-color: rgba(99, 102, 241, 0.4);*/
     /*    transform: translateY(-3px);*/
     /*    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(99, 102, 241, 0.2);*/
     /*    text-decoration: none;*/
     /*}*/

     .tool-card:hover::after {
         opacity: 1;
     }

     .tool-icon {
         width: 36px;
         height: 36px;
         border-radius: 10px;
         background: rgba(99, 102, 241, 0.15);
         border: 1px solid rgba(99, 102, 241, 0.25);
         display: flex;
         align-items: center;
         justify-content: center;
         font-size: 16px;
         flex-shrink: 0;
         transition: background 0.25s, border-color 0.25s;
     }

     /*.tool-card:hover .tool-icon {*/
     /*    background: rgba(99, 102, 241, 0.28);*/
     /*    border-color: rgba(99, 102, 241, 0.5);*/
     /*}*/

     .tool-name {
         /*font-family: 'DM Sans', sans-serif;*/
         font-size: 18px;
         font-weight: 500;
         color: #fff;
         text-transform: lowercase;
         flex: 1;
         transition: color 0.25s;
     }

     /*.tool-card:hover .tool-name {*/
     /*    color: #f1f5f9;*/
     /*}*/

     .tool-arrow {
         width: 28px;
         height: 28px;
         border-radius: 8px;
         border: 1px solid rgba(255, 255, 255, 0.1);
         display: flex;
         align-items: center;
         justify-content: center;
         flex-shrink: 0;
         transition: background 0.25s, border-color 0.25s, transform 0.25s;
     }

     .tool-arrow svg {
         width: 13px;
         height: 13px;
         stroke: #94a3b8;
         transition: stroke 0.25s;
     }

     /*.tool-card:hover .tool-arrow {*/
         /*background: #6366f1;*/
     /*    background: #5C54C3;*/
     /*    border-color: #5C54C3;*/
     /*    transform: rotate(-45deg);*/
     /*}*/

     .tool-card:hover .tool-arrow svg {
         stroke: #fff;
     }

     @media (max-width: 768px) {
         .tools-grid {
             grid-template-columns: repeat(2, 1fr);
         }

         .showcase-wrapper {
             padding: 32px 24px;
         }
     }

     @media (max-width: 480px) {
         .tools-grid {
             grid-template-columns: 1fr;
         }
     }
     
     
     
     
      .tools-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));*/
     grid-template-columns: repeat(3, 1fr); /* force 3 per row */
    gap: 20px;
}

.tool-card {
    background: #f9f9f9;
    padding: 22px;
    border-radius: 22px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
}

.tool-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    /*text-transform: lowercase;*/
}

.tool-desc {
    font-size: 14px;
    color: #6b6b6b;
    margin-bottom: 16px;
    line-height: 1.5;
}

.tool-btn {
    display: inline-block;
    background: #fff; 
    color: #000000;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #000;
}

.tool-arrow {
    margin-left: 10px;
}

.tool-arrow svg {
    width: 20px;
    height: 20px;
    stroke: #6b6b6b; /* default grey */
    transition: stroke 0.3s ease;
}

/* On card hover → make arrow black */
.tool-card:hover .tool-arrow svg {
    stroke: #000;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Tablet */
@media (max-width: 992px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}
/*New section css end*/

/* ==========================================================================
   Statistics Cards Section
   ========================================================================== */
.stats-container {
    margin-bottom: 4rem;
}

.stat-card {
    min-height: 280px;
}

/* The first blue brand card */
.brand-card {
    background-color:  #3329b4;
}

.brand-card-text {
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

/* Wavy ripple pattern simulation on brand card */
.brand-card-bg-pattern {
    /*top: -50px;*/
    /*left: -50px;*/
    top: -90px;
    left: -100px;
    width: 200px;
    height: 200px;
    opacity: 0.15;
    pointer-events: none;
}

.ripple-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid #ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.c1 {
    width: 40px;
    height: 40px;
}

.c2 {
    width: 80px;
    height: 80px;
}

.c3 {
    width: 120px;
    height: 120px;
}

.c4 {
    width: 160px;
    height: 160px;
}

.c5 {
    width: 200px;
    height: 200px;
}

/* The data stat cards */
.data-card {
    background-color: #f4f5f5;
    /* Off-white precise match */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.data-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
}

.stat-value {
    font-size: 3.5rem;
    letter-spacing: -2px;
    color: #050505;
}

@media (max-width: 1199.98px) {
    .stat-value {
        font-size: 2.75rem;
    }

    .brand-card-text {
        font-size: 1.15rem;
    }
}

@media (max-width: 767.98px) {
    .stat-card {
        min-height: 220px;
        padding: 2.5rem !important;
    }
}

/* ==========================================================================
   Partner Logos Slider
   ========================================================================== */
.partner-logos-wrapper {
    background-color: transparent;
    border-color: #f0f0f0 !important;
}

/* Base track setup */
.partner-slider-track {
    width: max-content;
    /* Ensure it stays flat */
    animation: slide-left 35s linear infinite;
}

/* Track pauses when hovered for usability */
.partner-logos-wrapper:hover .partner-slider-track {
    animation-play-state: paused;
}

/* Fading masks on edges for smooth entry/exit */
.slider-mask-left,
.slider-mask-right {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider-mask-left {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.slider-mask-right {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.partner-slide img:hover {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transform: scale(1.05);
}

.partner-slide img {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
}

/* Continuous scroll animation */
@keyframes slide-left {
    from {
        transform: translateX(0);
    }

    to {
        /* Translates exactly half its width to seamlessly loop back to start */
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Agency Pack Features Section
   ========================================================================== */
.agency-features-container {
    /*background-color: #f1f0f8;*/
    background-color: #f1f5fb;
    /* Light purple background matching image */
}

.agency-title {
    font-size: 2.75rem;
    letter-spacing: -1px;
}

.agency-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.agency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.08) !important;
}

.icon-wrapper svg {
    transition: transform 0.3s ease;
}

.agency-card:hover .icon-wrapper svg {
    transform: scale(1.1);
}

@media (max-width: 991.98px) {
    .agency-title {
        font-size: 2.25rem;
    }
}

/* ==========================================================================
   Secondary Agency Pack Section
   ========================================================================== */
.secondary-agency-container {
    background-color: #ffffff;
    /* White bg instead of light purple */
}

.checklist-item {
    background-color: #f6f7f8 !important;
    /* Soft gray for pill background */
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.checklist-item:hover {
    transform: translateX(4px);
    background-color: #eeeff1 !important;
}

.checklist-icon {
    background-color: #0b9e1d !important;
    /* Bright green check exactly matching design */
}

/* ==========================================================================
   Testimonial Carousel — Responsive
   ========================================================================== */

.testimonials-container {
    overflow: hidden;
}

.testimonial-track-wrapper {
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/*.testimonial-card {*/
/*    background-color: #f9f9f9 !important;*/
/*    border: 1px solid rgba(0, 0, 0, 0.06) !important;*/
/*    flex: 0 0 clamp(280px, 38vw, 420px);*/
/*    min-width: 0;*/
/*    box-sizing: border-box;*/
/*}*/

.testimonial-card {
    background-color: #f9f9f9 !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    flex: 1 1 0;           /* grow equally to fill the row */
    min-width: 280px;      /* don't shrink below this */
    max-width: 100%;
    box-sizing: border-box;
}

.testimonial-controls button {
    opacity: 0.65;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.testimonial-controls button:hover {
    opacity: 1;
    transform: scale(1.1);
}

.testimonial-controls button:disabled {
    opacity: 0.25;
    pointer-events: none;
    cursor: not-allowed;
}

/* Tablet: show 1.5 cards so users know there's more */
@media (max-width: 991.98px) {
    .testimonial-card {
        flex: 0 0 clamp(260px, 72vw, 360px);
    }
}

/* Mobile: near full-width card */
@media (max-width: 575.98px) {
    .testimonial-card {
        flex: 0 0 calc(100vw - 3rem);
    }

    .testimonial-track {
        gap: 1rem;
    }
}

/* ==========================================================================
   Info Cards Section (4 columns)
   ========================================================================== */
.info-card {
    /*background-color: #f3f1fa !important;*/
    background-color: #f1f5fb !important;
    /* Soft purple background matching the design */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05) !important;
}

.info-card-bg-pattern {
    /*top: -50px;*/
    /*left: -50px;*/
    top: -90px;
    left: -100px;
    width: 200px;
    height: 200px;
    opacity: 0.1;
    pointer-events: none;
}

.info-card-bg-pattern .ripple-circle {
    border-color: #3e38b6;
    /* Use primary brand blue/purple for the stroke */
}

/* ==========================================================================
   Call To Action Banner Section
   ========================================================================== */
.cta-banner {
    /*background-color: var(--brand-blue);*/
    background-color: #3329b4;
    /* Match primary brand blue exactly */
    min-height: 380px;
}

.cta-bg-pattern {
    width: 300px;
    height: 300px;
    opacity: 0.15;
    pointer-events: none;
}

.cta-bg-pattern .ripple-circle {
    border-color: #ffffff;
    /* White strokes on the blue background */
}

/* Position top-left pattern */
.pattern-top-left {
    top: -133px;
    left: -142px;
}

/* Position bottom-right pattern */
.pattern-bottom-right {
    /*bottom: -100px;*/
    bottom: -133px;
    right: -142px;
}

.max-w-md {
    max-width: 700px;
}

.cta-banner .btn-light {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-banner .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer-link {
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--brand-blue) !important;
    transform: translateX(3px);
}

.social-icon {
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: transparent;
}

.social-icon:hover {
    color: var(--brand-blue) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   Updated Feature Showcase Section (Dark Mode)
   ========================================================================== */
.new-dark-showcase {
    background-color: #1a0b2e;
    /* Deep dark purple base */
    min-height: 500px;
    /*border: 1px solid rgba(255, 255, 255, 0.05);*/
}

.dark-showcase-bg {
    filter: saturate(1.2) contrast(1.1);
    pointer-events: none;
}

.new-showcase-tags {
    /* Ensure the wrapper respects max-width to naturally wrap the tags like the image */
    max-width: 480px;
}

.badge.glass-tag {
    background: rgba(255, 255, 255, 0.15);
    /* Translucent white/purple */
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 50rem;
    /* Full pill shape */
    transition: all 0.3s ease;
    cursor: default;
}

.badge.glass-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.badge.glass-tag.active {
    background: #ffffff !important;
    color: #1a0b2e !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-showcase-arrow:hover {
    background-color: white;
    color: #1a0b2e !important;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* Showcase Mockup Image Styling */
@media (min-width: 992px) {
    .showcase-mockup-img {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 50%;
        /* Position half-way across */
        width: 55%;
        /* Bleed off the right edge naturally */
        height: auto;
        object-fit: contain;
        border-radius: 16px 0 0 16px;
        /* Smooth out both left corners */
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-right: none;
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.3);
        /* Strong shadow casting inward */
    }
}

@media (max-width: 991.98px) {
    .showcase-mockup-img {
        width: calc(100% + 1.5rem);
        margin-right: -1.5rem;
        /* Slight right bleed */
        margin-bottom: -2.5rem;
        /* Generous bottom bleed */
        border-radius: 16px 0 0 16px;
        /* Show both left corners on mobile too if possible */
        height: auto;
        object-fit: cover;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-right: none;
        box-shadow: -5px -5px 20px rgba(0, 0, 0, 0.2);
    }
}



/* ==========================================================================
   Hreflang Tag Tester Page Styles
   ========================================================================== */

/* Main Container overrides */
.tool-container {
    background-color: #f8f9fc !important; 
}

/* Custom form control padding to match design */
.tool-container .form-control,
.tool-container .form-select {
    padding: 0.8rem 1rem;
    border-radius: 8px;
}

/* Table overrides for cleanliness */
.test-results-section .table th {
    letter-spacing: 0.5px;
}
.test-results-section .table td {
    vertical-align: middle;
}

/* Informational Timeline Styles */
.hreflang-timeline {
    /* Base positioning context already set inline, but adding here just in case */
    position: relative;
}

@media (max-width: 575.98px) {
    /* Adjust the connecting line left offset on very small screens if padding gets tight */
    .timeline-line {
        left: calc(0.5rem - 1px) !important;
    }
    
    /* Pull the text and container back closer to the icon on mobile */
    .timeline-node {
        padding-left: 3.5rem !important;
    }
    
    .timeline-node .timeline-icon {
        left: -0.5rem !important; /* Readjust icon position to sit on the new line pos */
    }
    
    .timeline-node h2 {
        font-size: 1.5rem !important;
    }
}

/* FAQs Accordion Styles */
.custom-accordion .faq-item {
    transition: background-color 0.2s ease-in-out;
}

.custom-accordion .faq-item:hover {
    background-color: #f1f3f8 !important; /* Slightly darker on hover for affordance */
}

.custom-accordion .cursor-pointer {
    cursor: pointer;
}

.custom-accordion .faq-answer {
    /* Smooth transitions handled by JS, but adding typography tweaks here */
    color: #4b5563; /* text-secondary equivalent */
}

.custom-accordion .faq-icon svg {
    transition: transform 0.2s ease-in-out;
}

textarea:focus {
    outline: none;
    box-shadow: none;
}


/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
   
      /* Default input style (optional refinement) */
#contactForm .form-control {
    transition: all 0.3s ease;
    outline: none;
}

/* Active / Focus state */
#contactForm .form-control:focus {
    border: 1px solid #3b28b5 !important;
    /*box-shadow: 0 0 0 3px rgba(59, 40, 181, 0.15) !important;*/
    background-color: #fff;
}

/* Optional: smoother hover effect */
#contactForm .form-control:hover {
    border: 1px solid #d6d6f5;
}
.contact-btn{
    background-color: #3329B4;
    border-color: #3329B4; 
    font-size: 1rem;
    height: 50px;
    min-width: 140px;
}

@keyframes contactFloat {
    0%   { transform: translateY(0px) rotate(0deg); }
    25%  { transform: translateY(-14px) rotate(1deg); }
    50%  { transform: translateY(-20px) rotate(0deg); }
    75%  { transform: translateY(-10px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.contact-float-img {
    animation: contactFloat 5s ease-in-out infinite;
    transform-origin: center center;
    will-change: transform;
}

.contact-float-img:hover {
    animation-play-state: paused;
}


/* ==========================================================================
   Blogs Page Styles
   ========================================================================== */
   
   .blog-card-title {
    transition: color 0.15s ease-in-out, text-decoration-color 0.15s ease-in-out;
}

.blog-card:hover .blog-card-title {
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px;
    color: #3b28b5 !important;
}

.blog-card img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover img {
    transform: translateY(-2px);
    box-shadow: 0 .25rem .75rem rgba(0,0,0,.08) !important;
}


/* ==========================================================================
   Single Page Styles
   ========================================================================== */
   
   
/* ==========================================================================
   Table of Contents Sidebar
   ========================================================================== */
.toc-sidebar {
    padding-right: 1.5rem;
}

.toc-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #050505;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.toc-list {
    list-style: none;
    padding-left: 0;
}

.toc-item {
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 0.5rem;
}

.toc-link {
    font-size: 0.85rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    line-height: 1.4;
    font-weight: 400;
}

.toc-link:hover {
    color: #3b28b5;
}

.toc-item.active .toc-link {
    color: #050505;
    font-weight: 600;
}

/* Vertical indicator for active TOC item */
.toc-item.active::before {
    content: "";
    position: absolute;
    left: -0.75rem;
    top: 2px;
    bottom: 2px;
    width: 2.5px;
    background-color: #050505;
}

article p {
    font-size: 1.05rem;
    color: #4b5563;
}

/* ==========================================================================
   Single Page Footer & Comments
   ========================================================================== */
.tag-pill {
    font-size: 0.8rem;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    font-weight: 500;
}

.tag-pill-primary {
    background-color: #3b28b5;
    color: #fff;
    border: 1px solid #3b28b5;
}

.tag-pill-outline {
    background-color: transparent;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.tag-pill-outline:hover {
    border-color: #3b28b5;
    color: #3b28b5;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.share-btn:hover {
    border-color: #3b28b5;
    color: #3b28b5;
    background-color: #f9fafb;
}

.comment-form .form-control {
    background-color: #f9fafb;
    border: 1px solid transparent;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.comment-form .form-control:focus {
    background-color: #fff;
    border-color: rgba(59, 40, 181, 0.2);
    box-shadow: 0 0 0 4px rgba(59, 40, 181, 0.05);
    outline: none;
}

.hover-border-secondary:hover {
    border-color: #6b7280 !important;
}

.transition-all {
    transition: all 0.2s ease;
}


/* ==========================================================================
  Single page extra css
   ========================================================================== */
   
   
   /* ── TOC sidebar ── */
.toc-sidebar { background: #f8f9fb; border-radius: 6px; padding: 24px 20px; border: 1px solid #eaecf0; }
.toc-title   { font-size:18px; letter-spacing: 1.2px; font-weight: 700; color: #000; margin-bottom: 16px; }
.toc-list    { list-style: none; padding: 0; margin: 0; }
.toc-item    { padding: 0; margin-bottom: 4px; }
.toc-link    {
    display: block; padding: 8px 12px; border-radius: 8px;
    font-size: 0.82rem; color: #6b7280; text-decoration: none;
    line-height: 1.45; font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}
.toc-link:hover,
.toc-item.active .toc-link {
    color: #3b28b5;
    /*background: rgba(59,40,181,0.06);*/
    /*border-left-color: #3b28b5;*/
}

/* ── Article content ── */
.article-body h2 {
    font-size: 1.75rem; font-weight: 700;
    letter-spacing: -0.5px; color: #111827;
    margin-top: 2.5rem; margin-bottom: 1rem;
}
.article-body h3 { font-size: 1.35rem; font-weight: 700; color: #111827; margin-top: 2rem; margin-bottom: 0.75rem; }
.article-body p  { color: #6b7280; line-height: 1.85; margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { color: #6b7280; line-height: 1.85; margin-bottom: 1.25rem; padding-left: 1.5rem; }
.article-body img { border-radius: 16px; margin: 1.5rem 0; max-width: 100%; height: auto; box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.article-body a   { color: #3b28b5; text-decoration: underline; }
.article-body blockquote {
    border-left: 4px solid #3b28b5; margin: 1.5rem 0;
    padding: 1rem 1.5rem; background: #f5f4ff; border-radius: 0 12px 12px 0;
    color: #374151; font-style: italic;
}

/* ── Tag pills ── */
.tag-pill {
    display: inline-block; padding: 8px 18px; border-radius: 12px;
    font-size: 0.82rem; font-weight: 600; text-decoration: none;
    transition: all 0.2s ease;
}
.tag-pill-primary { background: #3b28b5; color: #fff; }
.tag-pill-primary:hover { background: #2d1f8e; color: #fff; }
.tag-pill-outline { border: 1.5px solid #d1d5db; color: #374151; background: #fff; }
.tag-pill-outline:hover { border-color: #3b28b5; color: #3b28b5; }

/* ── Share buttons ── */
.share-btn {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.82rem; font-weight: 700; text-decoration: none;
    border: 1.5px solid #e5e7eb; color: #374151; background: #fff;
    transition: all 0.2s ease;
}
.share-btn:hover { background: #3b28b5; border-color: #3b28b5; color: #fff; }

/* ── Comment form ── */
.comment-form .form-control {
    border: 1.5px solid #e5e7eb; border-radius: 12px;
    padding: 14px 16px; font-size: 0.9rem;
    transition: border-color 0.2s;
}
.comment-form .form-control:focus { border-color: #3b28b5; box-shadow: 0 0 0 3px rgba(59,40,181,0.08); }

/* ── Related card hover ── */
.blog-card img { transition: transform 0.35s ease; }
.blog-card:hover img { transform: scale(1.03); }



/* ==========================================================================
  Dashboard Page Styles
   ========================================================================== */
   

.dashboard-section {
    padding: 80px 0 120px;
    background-color: var(--color-bg-light);
    min-height: 80vh; /* Ensure it takes up good space */
}

.dashboard-title {
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 60px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .settings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

.setting-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
     background-color: #EBEAF8;
}

.setting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        background-color: #f4f5f5;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    /*font-size: 22px;*/
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.card-content p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #64748B; /* Muted text color */
    line-height: 1.6;
    margin-bottom: 24px;
}

.card-action {
    display: flex;
    justify-content: flex-end; /* Align button to the right as per image */
    margin-top: auto;
}

.btn-outline {
    background: #5C54C3;
    border: 1px solid #5C54C3;
    border-radius: 8px;
    padding: 10px 24px;
    font-family: var(--font-body);
    font-weight: 600;
       color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: var(--color-white);
 
}

/* Specific tweaks for "Delete Account" if we want red hover (optional, but good UX) */
.setting-card:last-child .btn-outline:hover {
    border-color: #dc2626;
    color: #dc2626;
    background-color: #fef2f2;
}


/* ==========================================================================
  Header nav Styles
   ========================================================================== */
   
      #mainNav {
            background-color: #fff;
            /*transition: box-shadow 0.3s ease, background-color 0.3s ease;*/
            z-index: 1030;
        }

        #mainNav.scrolled {
            /*box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);*/
        }
        
        /* Container positioning */
        .user-menu-container {
            position: relative;
        }
        
        /* Avatar button */
        .user-avatar-btn {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
        }
        
        .avatar-circle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #6366f1;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 16px;
        }
        
        /* Dropdown */
        .user-dropdown {
            position: absolute;
            top: 55px;
            right: 0;
            width: 260px;
            background: #fff;
            border-radius: 14px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            padding: 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.25s ease;
            z-index: 999;
        }
        
        /* Active state */
        .user-dropdown.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        /* Header */
        .dropdown-header {
            padding: 15px;
            border-bottom: 1px solid #f1f1f1;
        }
        
        .user-info {
            display: flex;
            flex-direction: column;
        }
        
        .user-name {
            font-weight: 600;
            font-size: 14px;
            color: #111;
        }
        
        .user-email {
            font-size: 12px;
            color: #777;
        }
        
        /* Divider */
        .dropdown-divider {
            height: 1px;
            background: #f1f1f1;
            margin: 0;
        }
        
        /* List */
        .dropdown-list {
            list-style: none;
            margin: 0;
            padding: 8px 0;
        }
        
        .dropdown-list li {
            width: 100%;
        }
        
        .dropdown-list li a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 15px;
            font-size: 14px;
            color: #333;
            text-decoration: none;
            transition: background 0.2s ease;
        }
        
        .dropdown-list li a:hover {
            background: #f8f9fa;
        }
        
        /* Logout */
        .text-red {
            color: #dc3545 !important;
        }
        
        
        @media (max-width: 991px) {

    /* Stack everything properly */
    .navbar-collapse {
        padding-top: 15px;
    }

    /* Menu items spacing */
    .navbar-nav {
        gap: 10px;
    }

    /* Fix buttons + avatar section */
    .nav-buttons {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
        margin-top: 15px;
    }

    /* Avatar container full width */
    .user-menu-container {
        width: 100%;
    }

    /* Avatar button alignment */
    .user-avatar-btn {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    /* Dropdown should not float on mobile */
    .user-dropdown {
        position: relative;
        top: 10px;
        right: auto;
        width: 100%;
        box-shadow: none;
        border: 1px solid #eee;
    }
}
   
/* ==========================================================================
   Leads Page Styles
   ========================================================================== */
.leads-page-container {
    max-width: 1000px;
}

.leads-badge {
    background-color: #f1f2f4 !important;
    color: #6b7280;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 0.6rem 1.2rem;
    border-radius: 50rem;
    display: inline-block;
}

.leads-title {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.1;
    color: #050505;
    letter-spacing: -1.5px;
}

.leads-content-wrapper p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 2rem;
    max-width: 850px;
}

@media (max-width: 991.98px) {
    .leads-title {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Email Card & Report Section
   ========================================================================== */
.email-card {
    background-color: #F1F5FB;
}

.email-card .form-control {
    /*height: 60px;*/
    padding-left: 1.5rem;
}

.email-card .form-control::placeholder {
    color: #9ca3af;
    font-size: 0.95rem;
}

.report-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.report-list li::before {
    content: " \;
 position: absolute;
 left: 0;
 top: 0.7rem;
 width: 6px;
 height: 6px;
 background-color: #9ca3af;
 border-radius: 50%;
}

/* ==========================================================================
  Leads page Contact Form Styles
   ========================================================================== */
.custom-input {
    height: 55px;
    padding-left: 1.25rem;
}

.custom-textarea {
    padding: 1.25rem;
    resize: none;
}

.contact-form-section .email-card {
    background-color: #F1F5FB;
}

/* ==========================================================================
  Plans Pricing page Styles :

   Pricing Section
   ========================================================================== */
.pricing-wrapper {
    background-color: #f6f8fb; /* Matching the light grayish-blue background in design */
}

.pricing-toggle-container {
    background-color: #ffffff;
    border-radius: 50rem;
    display: inline-flex;
    padding: 0.35rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.pricing-toggle-btn {
    border: none;
    background: transparent;
    padding: 0.6rem 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-radius: 50rem;
    transition: all 0.3s ease;
}

.pricing-toggle-btn.active {
    background-color: #2c293b; /* Dark pill background for Monthly */
    color: #ffffff;
}

.badge-discount {
    background-color: #ff6b6b; /* Reddish orange */
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 50rem;
    position: absolute;
    top: -12px;
    right: -10px;
    letter-spacing: 0.5px;
}

.badge-popular {
    background-color: #ff6b6b;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 50rem;
    margin-left: 0.75rem;
}

.pricing-card {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.pricing-plan-name {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 400;
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -1.5px;
}

.pricing-currency {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
}

.pricing-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.75rem;
    margin-bottom: 2rem;
}

.btn-pricing-outline {
    background: transparent;
    border: 1px solid var(--border-nav);
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-pricing-outline:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.feature-list-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
}

.feature-list li svg {
    color: #22c55e; /* Green checkmark */
    width: 16px;
    height: 16px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* ==========================================================================
   Compare Plans Section
   ========================================================================== */
.compare-section {
    padding-top: 4rem;
    padding-bottom: 6rem;
}

.compare-title {
    font-size: 2.75rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--text-dark);
}

.compare-plan-header {
    margin-bottom: 2rem;
}

.compare-table {
    border-top: 1px solid var(--border-nav);
}

.compare-row {
    border-bottom: 1px solid var(--border-nav);
    padding: 1.5rem 0;
    transition: background-color 0.2s ease;
}

.compare-row:hover {
    background-color: rgba(0,0,0,0.01);
}

.compare-feature-name {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
}

.compare-icon-check {
    color: #22c55e;
    width: 18px;
    height: 18px;
}

.compare-icon-cross {
    color: #ef4444;
    width: 18px;
    height: 18px;
}

/* Compare Section Specific Pricing Sizes */
.pricing-price-compare {
    font-size: 2.25rem;
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */
@media (max-width: 767.98px) {
    /* Responsive overrides for smaller phone viewports in the compare table */
    .compare-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    .pricing-price-compare {
        font-size: 1.2rem;
    }
    .pricing-plan-name {
        font-size: 0.9rem;
    }
    .compare-feature-name {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    .pricing-currency {
        font-size: 0.75rem;
    }
    .compare-icon-check, .compare-icon-cross {
        width: 14px;
        height: 14px;
    }
    .badge-popular {
        font-size: 0.5rem;
        padding: 0.2rem 0.4rem;
        margin-left: 0.25rem;
    }
    .compare-table .row > div {
        padding-left: 5px;
        padding-right: 5px;
    }
    .compare-table .ps-lg-5 {
        padding-left: 0 !important;
    }
}

/* ==========================================================================
   New Header Nav Design
   ========================================================================== */
   
   /* ── Navbar base ── */
#mainNav {
    background: #fff;
    border-bottom: 0.5px solid #e8e8e8;
    transition: box-shadow 0.2s;
}
#mainNav.scrolled {
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.custom-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Logo ── */
.site-logo { height: 60px; width: auto; }

/* ── Primary nav links ── */
.navbar-nav .nav-item > a.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}
.navbar-nav .nav-item > a.nav-link:hover,
.navbar-nav .nav-item.current-menu-item > a.nav-link {
    background: #EBEAF8;
    color: #3C3489;
}

/* ── Dropdown wrapper ── */
.navbar-nav .nav-item.dropdown {
    position: relative;
}

/* ── Dropdown trigger arrow ── */
.navbar-nav .nav-item.dropdown > a.nav-link::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.2s;
}
.navbar-nav .nav-item.dropdown.show > a.nav-link::after {
    transform: rotate(180deg);
}

/* ── Dropdown menu panel ── */
.navbar-nav .nav-item.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 280px;
    background: #fff;
    border: 0.5px solid #ddd;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 1000;
}
.navbar-nav .nav-item.dropdown.show .dropdown-menu {
    display: block;
}

/* ── Individual dropdown items ── */
.navbar-nav .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-top: 0.5px solid #f0f0f0;
    font-size: 14px;
    color: #222;
    text-decoration: none;
    transition: background 0.12s;
    white-space: normal;
    background: transparent;
}
.navbar-nav .dropdown-menu .dropdown-item:first-child {
    border-top: none;
}
.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item:focus {
    background: #EBEAF8;
    color: #3C3489;
}
.navbar-nav .dropdown-menu .dropdown-item.active,
.navbar-nav .dropdown-menu .dropdown-item.current-menu-item {
    background: #EBEAF8;
    color: #3C3489;
}



/* ── Dropdown item text ── */
.dropdown-item-body { display: flex; flex-direction: column; }
.dropdown-item-title { font-size: 14px; font-weight: 500; line-height: 1.3; }
.dropdown-item-desc  { font-size: 12px; color: #888; margin-top: 1px; }

/* ── Auth buttons ── */
.btn-login {
    font-size: 16px;
    padding: 7px 20px;
    border: 0.5px solid #ccc;
    color: #333;
    background: transparent;
    transition: background 0.15s;
}
.btn-login:hover { background: #f5f5f5; }

.btn-signup {
    font-size: 16px;
    padding: 7px 20px;
    background: #3329B4;
    color: #fff;
    border: none;
    transition: background 0.15s;
}
.btn-signup:hover { background: #2e2870; }

/* ── User avatar menu ── */
.user-menu-container { position: relative; }
.user-avatar-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #EBEAF8;
    color: #3C3489;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #cac8ee;
}
.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 0.5px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 1000;
}
.user-dropdown.active { display: block; }
.dropdown-header { padding: 14px 16px; }
.user-name  { display: block; font-size: 14px; font-weight: 500; color: #222; }
.user-email { display: block; font-size: 12px; color: #888; margin-top: 2px; }
.dropdown-divider { border: none; border-top: 0.5px solid #f0f0f0; }
.user-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}
.user-dropdown ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: background 0.12s;
}
.user-dropdown ul li a:hover { background: #EBEAF8; color: #3C3489; }
.user-dropdown ul li a.text-red { color: #c0392b; }
.user-dropdown ul li a.text-red:hover { background: #fdf0ef; color: #a93226; }

/* ── Mobile ── */
@media (max-width: 991px) {
    .navbar-nav .nav-item.dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: #f9f8ff;
        padding: 0;
    }
    .navbar-nav .nav-item.dropdown .dropdown-menu .dropdown-item {
        padding-left: 24px;
    }
}