:root {
    --primary: #0878F9;
    --primary-dark: #045FC7;
    --secondary: #72D83B;
    --secondary-dark: #51B927;
    --dark: #081A2F;
    --dark-soft: #102A43;
    --text: #475467;
    --text-light: #667085;
    --text-muted: #98A2B3;
    --white: #FFFFFF;
    --surface: #F7FAFC;
    --surface-blue: #F3F8FF;
    --surface-green: #F5FBF1;
    --border: #E6EAF0;
    --border-dark: rgba(8, 38, 74, 0.08);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --container: 1240px;
    --shadow-sm: 0 4px 15px rgba(8, 38, 74, 0.06);
    --shadow-md: 0 12px 35px rgba(8, 38, 74, 0.09);
    --shadow-lg: 0 20px 60px rgba(8, 38, 74, 0.13);
    --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   02. RESET
========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

::selection {
    background: rgba(8, 120, 249, 0.18);
    color: var(--dark);
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

/* =========================================================
   03. GLOBAL TYPOGRAPHY
========================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: "Manrope", "Inter", sans-serif;
    color: var(--dark);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

p {
    margin: 0;
}

strong {
    font-weight: 750;
}

/* =========================================================
   04. CONTAINER
========================================================= */
.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

/* =========================================================
   05. SECTION
========================================================= */
.section {
    position: relative;
    padding: 110px 0;
}

.section-sm {
    padding: 80px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-label::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.section-title {
    max-width: 780px;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.16;
    letter-spacing: -1.2px;
    font-weight: 800;
}

.section-description {
    max-width: 680px;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.8;
}

/* =========================================================
   06. HEADER
========================================================= */
.site-header {
    position: fixed;
    margin: 0;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(8, 38, 74, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(8, 38, 74, 0.08);
    box-shadow: 0 10px 35px rgba(8, 38, 74, 0.08);
}

.header-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    width: 500px;
    height: 220px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(8, 120, 249, 0.08), transparent 70%);
    pointer-events: none;
}

.navbar {
    position: relative;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.logo-img {
    width: 158px;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition), opacity var(--transition);
}

.logo:hover .logo-img {
    transform: translateY(-1px);
    opacity: 0.92;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-left: auto;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 10px;
    color: #475467;
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
    border-radius: 9px;
    transition: color 0.3s ease, background 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
    border-radius: 20px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(8, 120, 249, 0.045);
}

.nav-link:hover::after {
    width: 18px;
}

.nav-link.active {
    color: var(--primary);
    font-weight: 750;
}

.nav-link.active::after {
    width: 20px;
}

.login-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-left: 8px;
    padding: 11px 17px;
    color: var(--white);
    font-size: 12px;
    font-weight: 750;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--primary), var(--secondary-dark));
    box-shadow: 0 8px 22px rgba(8, 120, 249, 0.18);
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    transition: transform var(--transition), box-shadow var(--transition);
}

.login-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.22) 50%, transparent 80%);
    transform: translateX(-130%);
    transition: transform 0.65s ease;
}

.login-btn:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 13px 30px rgba(8, 120, 249, 0.25);
}

.login-btn:hover::before {
    transform: translateX(130%);
}

.login-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.login-btn:hover i {
    transform: translate(2px, -2px);
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(8, 120, 249, 0.07);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(8, 120, 249, 0.12);
    box-shadow: 0 8px 20px rgba(8, 120, 249, 0.10);
}

.mobile-menu-btn:focus-visible {
    outline: 3px solid rgba(8, 120, 249, 0.18);
    outline-offset: 3px;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    border-radius: 10px;
    background: var(--dark);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    padding: 14px 15px;
    color: #344054;
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.mobile-nav a i {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-nav a span {
    flex: 1;
}

.mobile-nav a::after {
    font-family: "bootstrap-icons";
    font-size: 12px;
    color: #98A2B3;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--primary);
    background: rgba(8, 120, 249, 0.055);
    border-color: rgba(8, 120, 249, 0.08);
    transform: translateX(3px);
}

.mobile-nav a:hover i {
    color: var(--primary);
    transform: scale(1.08);
}

.mobile-nav a:hover::after {
    color: var(--primary);
    transform: translateX(3px);
}

.mobile-nav a.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--secondary-dark));
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(8, 120, 249, 0.18);
    transform: translateX(0);
}

.mobile-nav a.active i,
.mobile-nav a.active::after {
    color: var(--white);
}

.mobile-menu-footer {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(8, 38, 74, 0.08);
}

.mobile-login-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 18px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary-dark));
    box-shadow: 0 10px 25px rgba(8, 120, 249, 0.18);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.mobile-login-btn:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(8, 120, 249, 0.25);
}

.mobile-login-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.mobile-login-btn:hover i {
    transform: translate(2px, -2px);
}

/* =========================================================
   07. BUTTONS
========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translate(2px, -2px);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 12px 28px rgba(8, 120, 249, 0.20);
}

.btn-primary:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 17px 36px rgba(8, 120, 249, 0.26);
}

.btn-secondary {
    color: var(--dark);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(8, 38, 74, 0.06);
}

.btn-secondary:hover {
    color: var(--primary);
    transform: translateY(-3px);
    border-color: rgba(8, 120, 249, 0.18);
    box-shadow: 0 12px 28px rgba(8, 38, 74, 0.10);
}

/* =========================================================
   08. GLOBAL CARD
========================================================= */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(8, 120, 249, 0.12);
    box-shadow: var(--shadow-md);
}

/* =========================================================
   09. GRADIENT TEXT
========================================================= */
.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* =========================================================
   10. BADGE
========================================================= */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    border: 1px solid rgba(8, 120, 249, 0.10);
    border-radius: 999px;
    background: rgba(8, 120, 249, 0.055);
}

.badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary);
}

/* =========================================================
   11. REVEAL ANIMATION
========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   12. HERO BASE
========================================================= */
.hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: 150px 0 100px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background: linear-gradient(135deg, #F7FBFF 0%, #FFFFFF 48%, #F5FBF2 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.38;
    background-image: linear-gradient(rgba(8, 120, 249, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 120, 249, 0.035) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(to bottom, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero h1 {
    max-width: 780px;
    font-size: clamp(46px, 6vw, 78px);
    font-weight: 850;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.hero-description {
    max-width: 650px;
    margin-top: 25px;
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
}

.hero-trust i {
    color: var(--secondary-dark);
    font-size: 15px;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
    z-index: -1;
}

.hero-orb.one {
    top: 12%;
    right: 7%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(8, 120, 249, 0.14), transparent 70%);
    animation: orbFloat 7s ease-in-out infinite;
}

.hero-orb.two {
    right: 30%;
    bottom: 5%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(114, 216, 59, 0.13), transparent 70%);
    animation: orbFloat 9s ease-in-out infinite reverse;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -18px, 0);
    }
}

/* =========================================================
   13. COMMON GRADIENT CARD
========================================================= */
.gradient-card {
    position: relative;
    overflow: hidden;
    color: var(--white);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--dark), #0B3155);
    box-shadow: 0 25px 70px rgba(8, 38, 74, 0.18);
}

.gradient-card::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    top: -100px;
    right: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 120, 249, 0.35), transparent 70%);
}

.gradient-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    bottom: -120px;
    left: -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(114, 216, 59, 0.25), transparent 70%);
}

/* =========================================================
   14. STATS
========================================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.stat-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-value {
    color: var(--dark);
    font-family: "Manrope", sans-serif;
    font-size: 34px;
    font-weight: 850;
}

.stat-label {
    margin-top: 7px;
    color: var(--text-light);
    font-size: 13px;
}

/* =========================================================
   15. SERVICE GRID
========================================================= */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    padding: 30px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(8, 120, 249, 0.14);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--primary);
    font-size: 22px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(8, 120, 249, 0.10), rgba(114, 216, 59, 0.10));
}

.service-card h3 {
    font-size: 20px;
    font-weight: 800;
}

.service-card p {
    margin-top: 12px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   16. TWO COLUMN LAYOUT
========================================================= */
.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 70px;
    align-items: center;
}

/* =========================================================
   17. ICON BOX
========================================================= */
.icon-box {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 21px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(8, 120, 249, 0.09), rgba(114, 216, 59, 0.10));
}

/* =========================================================
   18. LIST
========================================================= */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 25px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
    font-size: 14px;
}

.check-list i {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--secondary-dark);
    font-size: 15px;
}

/* =========================================================
   19. CTA
========================================================= */
.cta {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--dark), #0C345A);
}

.cta::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: -280px;
    right: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 120, 249, 0.30), transparent 70%);
}

.cta::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    bottom: -250px;
    left: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(114, 216, 59, 0.20), transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta h2 {
    max-width: 720px;
    color: var(--white);
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 800;
}

.cta p {
    max-width: 620px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 15px;
}


/* =========================================================
20. FOOTER
========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 76px 0 24px;
    color: rgba(255, 255, 255, 0.89);
    /* Fallback color for older browsers that don't support gradients */
    background-color: #131417;
    background: linear-gradient(180deg,
            #1c1d22 0%,
            #2b3142 40%,
            #050506 100%);
    /* Ensures the footer content stays above any absolute-positioned background bubbles */
    z-index: 1;
}


.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(900px, 80%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.footer-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.footer-orb-one {
    width: 300px;
    height: 300px;
    top: -170px;
    left: -120px;
    background: radial-gradient(circle, rgba(8, 120, 249, 0.12), transparent 70%);
}

.footer-orb-two {
    width: 360px;
    height: 360px;
    right: -170px;
    bottom: -210px;
    background: radial-gradient(circle, rgba(114, 216, 59, 0.09), transparent 70%);
}

.footer-top {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.45fr 0.85fr 0.85fr 0.85fr 1.35fr;
    gap: 42px;
    align-items: start;
    padding-bottom: 46px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-column {
    min-width: 0;
}

.footer-company {
    padding-right: 25px;
}

.footer-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #FFFFFF;
    font-family: "Manrope", sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.footer-brand-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #0878F9, #72D83B);
    box-shadow: 0 0 0 5px rgba(8, 120, 249, 0.08);
}

.footer-brand-text {
    max-width: 310px;
    margin-top: 17px;
    color: rgba(255, 255, 255, 0.788);
    font-size: 16px;
    line-height: 1.8;
}

.footer-brand-line {
    width: 42px;
    height: 2px;
    margin-top: 21px;
    border-radius: 20px;
    background: linear-gradient(90deg, #0878F9, #72D83B);
}

.footer-heading {
    position: relative;
    margin: 2px 0 19px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.footer-heading::after {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    margin-top: 9px;
    border-radius: 20px;
    background: linear-gradient(90deg, #0878F9, #72D83B);
}

.footer-links {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin: 0;
    padding: 0;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.788);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a::before {
    content: "";
    width: 0;
    height: 1px;
    margin-right: 0;
    background: linear-gradient(90deg, #0878F9, #72D83B);
    transition: width 0.3s ease, margin-right 0.3s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
    transform: translateX(3px);
}

.footer-links a:hover::before {
    width: 11px;
    margin-right: 7px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 15px;
    line-height: 1.65;
}

.footer-contact-icon {
    width: 30px;
    /* adjusted from 100px for a clean square/rounded badge */
    height: 30px;
    flex: 0 0 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #72D83B;
    font-size: 18px;
    /* increased from 12px to make icon bigger */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.footer-address-icon {
    margin-top: 1px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.788);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #FFFFFF;
}

.footer-connect {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-connect-content {
    min-width: 0;
}

.footer-connect-label {
    display: inline-block;
    margin-bottom: 5px;
    color: #72D83B;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-connect h3 {
    color: #FFFFFF;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.footer-connect p {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 11.5px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-social a:hover {
    color: #FFFFFF;
    background: linear-gradient(135deg, rgba(8, 120, 249, 0.25), rgba(114, 216, 59, 0.16));
    border-color: rgba(8, 120, 249, 0.30);
    box-shadow: 0 8px 22px rgba(8, 120, 249, 0.12);
    transform: translateY(-3px);
}

.footer-social a i {
    font-size: 14px;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 19px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.38);
    font-size: 10.5px;
    line-height: 1.6;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.38);
    font-size: 10.5px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.82);
}

.footer-divider {
    width: 3px;
    height: 3px;
    flex: 0 0 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

/* =========================================================
FOOTER — TABLET
========================================================= */

@media (max-width: 1100px) {
    .footer-top {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 36px 38px;
    }

    .footer-company {
        grid-column: 1 / -1;
        padding-right: 0;
        max-width: 540px;
    }

    .footer-brand-text {
        max-width: 500px;
    }


}

/* =========================================================
FOOTER — MOBILE
========================================================= */

@media (max-width: 700px) {
    .site-footer {
        padding: 62px 0 22px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 34px;
    }

    .footer-company {
        grid-column: auto;
        max-width: 100%;
        padding-right: 0;
        padding-bottom: 3px;
    }

    .footer-brand-mark {
        font-size: 20px;
    }

    .footer-brand-text {
        max-width: 100%;
        margin-top: 14px;
        font-size: 12px;
        line-height: 1.75;
    }

    .footer-brand-line {
        margin-top: 17px;
    }

    .footer-heading {
        margin-bottom: 15px;
    }

    .footer-links {
        gap: 9px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-contact {
        gap: 12px;
    }

    .footer-contact li {
        font-size: 11.5px;
    }

    .footer-connect {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        padding: 24px 0;
    }

    .footer-social {
        width: 100%;
    }

    .footer-social a {
        width: 39px;
        height: 39px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding-top: 18px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 9px 12px;
    }

}

/* =========================================================
FOOTER — SMALL MOBILE
========================================================= */

@media (max-width: 420px) {
    .site-footer {
        padding-top: 55px;
    }


    .footer-top {
        gap: 27px;
    }

    .footer-brand-text {
        font-size: 11.5px;
    }

    .footer-contact li {
        font-size: 11px;
    }

    .footer-connect h3 {
        font-size: 17px;
    }

    .footer-connect p {
        font-size: 11px;
    }

    .footer-bottom p,
    .footer-bottom-links a {
        font-size: 10px;
    }


}


/* =========================================================
   21. PAGE HERO
========================================================= */
.page-hero {
    position: relative;
    padding: 155px 0 85px;
    overflow: hidden;
    background: linear-gradient(135deg, #F5FAFF, #FFFFFF 52%, #F5FBF1);
}

.page-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: -280px;
    right: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 120, 249, 0.12), transparent 70%);
}

.page-hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    bottom: -280px;
    left: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(114, 216, 59, 0.10), transparent 70%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    max-width: 650px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(24px, 2.5vw, 36px);
    line-height: 1.10;
    letter-spacing: -1.5px;
    font-weight: 800;
}

.page-hero p {
    max-width: 680px;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.8;
}

/* =========================================================
   22. POLICY / DOCUMENT NAVIGATION
========================================================= */
.policy-nav-wrap,
.refund-nav-wrap,
.privacy-nav-wrap,
.grievance-nav-wrap {
    position: sticky;
    top: 82px;
    z-index: 900;
    width: 100%;
    padding: 12px 24px;
    background: rgba(248, 251, 254, 0.94);
    border-top: 1px solid rgba(8, 38, 74, 0.04);
    border-bottom: 1px solid rgba(8, 38, 74, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 8px 25px rgba(8, 38, 74, 0.05);
}

.policy-nav,
.refund-nav,
.privacy-nav,
.grievance-nav {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
}

.policy-nav::-webkit-scrollbar,
.refund-nav::-webkit-scrollbar,
.privacy-nav::-webkit-scrollbar,
.grievance-nav::-webkit-scrollbar {
    display: none;
}

.policy-nav a,
.refund-nav a,
.privacy-nav a,
.grievance-nav a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    border-radius: 10px;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.policy-nav a:hover,
.refund-nav a:hover,
.privacy-nav a:hover,
.grievance-nav a:hover {
    color: var(--primary);
    background: rgba(8, 120, 249, 0.07);
    transform: translateY(-1px);
}

.policy-nav a.active,
.refund-nav a.active,
.privacy-nav a.active,
.grievance-nav a.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--secondary-dark));
    box-shadow: 0 7px 20px rgba(8, 120, 249, 0.18);
}

/* =========================================================
   23. DOCUMENT CONTENT
========================================================= */
.document-section {
    padding: 90px 0;
}

.document-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 60px;
    align-items: start;
}

.document-content {
    min-width: 0;
}

.document-content h2 {
    margin-bottom: 18px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.16;
    letter-spacing: -1.2px;
    font-weight: 800;
}

.document-content h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 21px;
}

.document-content p {
    margin-bottom: 16px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.85;
}

.document-content ul {
    margin: 18px 0 25px;
    padding-left: 20px;
    list-style: disc;
}

.document-content li {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================================
   24. INFO CARDS
========================================================= */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.info-card {
    padding: 25px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    margin-top: 14px;
    font-size: 18px;
}

.info-card p {
    margin-top: 9px;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.7;
}

/* =========================================================
   25. SIDEBAR CARD
========================================================= */
.document-sidebar {
    position: sticky;
    top: 150px;
    padding: 25px;
    background: linear-gradient(145deg, #F5FAFF, #F7FBF4);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.document-sidebar h3 {
    font-size: 18px;
}

.document-sidebar p {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.7;
}

/* =========================================================
   26. FORM ELEMENTS
========================================================= */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
}

.form-control {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--dark);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    border-color: rgba(8, 120, 249, 0.45);
    box-shadow: 0 0 0 4px rgba(8, 120, 249, 0.08);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* =========================================================
   27. UTILITY CLASSES
========================================================= */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* =========================================================
   28. TABLET
========================================================= */
@media (max-width: 1100px) {
    .container {
        width: min(calc(100% - 40px), var(--container));
    }

    .desktop-nav {
        gap: 2px;
    }

    .nav-link {
        padding: 9px 7px;
        font-size: 18px;
    }

    .login-btn {
        padding: 10px 13px;
    }

    .two-column {
        gap: 45px;
    }

    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 42px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 520px;
    }
}

/* =========================================================
   29. MOBILE / TABLET NAVIGATION
========================================================= */
@media (max-width: 980px) {
    .container {
        width: calc(100% - 40px);
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .navbar {
        min-height: 74px;
    }

    .mobile-menu {
        position: fixed;
        top: 74px;
        left: 14px;
        right: 14px;
        width: auto;
        display: block;
        padding: 14px;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(8, 38, 74, 0.08);
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(8, 38, 74, 0.16);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px) scale(0.98);
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }

    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .mobile-menu::-webkit-scrollbar {
        width: 5px;
    }

    .mobile-menu::-webkit-scrollbar-track {
        background: transparent;
    }

    .mobile-menu::-webkit-scrollbar-thumb {
        background: rgba(8, 120, 249, 0.25);
        border-radius: 10px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .document-layout {
        grid-template-columns: 1fr;
    }

    .document-sidebar {
        position: relative;
        top: auto;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================
   30. MOBILE
========================================================= */
@media (max-width: 700px) {
    .container {
        width: calc(100% - 32px);
    }

    .navbar {
        min-height: 70px;
    }

    .logo-img {
        width: 145px;
    }

    .mobile-menu {
        top: 70px;
        left: 10px;
        right: 10px;
        padding: 12px;
        border-radius: 18px;
        max-height: calc(100vh - 84px);
    }

    .section {
        padding: 75px 0;
    }

    .section-sm {
        padding: 60px 0;
    }

    .section-title {
        font-size: clamp(26px, 7vw, 36px);
        line-height: 1.16;
        letter-spacing: -1.3px;
    }

    .section-description {
        font-size: 15px;
        line-height: 1.75;
    }

    .hero {
        min-height: auto;
        padding: 135px 0 75px;
    }

    .hero h1 {
        font-size: clamp(34px, 8vw, 46px);
        line-height: 1.10;
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.75;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .page-hero {
        padding: 135px 0 65px;
    }

    .page-hero h1 {
        font-size: clamp(31px, 8vw, 39px);
        line-height: 1.10;
        letter-spacing: -1.5px;
    }

    .page-hero p {
        font-size: 15px;
        line-height: 1.75;
    }

    .service-grid,
    .stats-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .document-section {
        padding: 65px 0;
    }

    .document-content h2 {
        font-size: clamp(26px, 7vw, 36px);
        line-height: 1.16;
        letter-spacing: -1.3px;
    }

    .policy-nav-wrap,
    .refund-nav-wrap,
    .privacy-nav-wrap,
    .grievance-nav-wrap {
        top: 70px;
        padding: 10px 16px;
    }

    .policy-nav,
    .refund-nav,
    .privacy-nav,
    .grievance-nav {
        justify-content: flex-start;
    }

    .policy-nav a,
    .refund-nav a,
    .privacy-nav a,
    .grievance-nav a {
        padding: 8px 11px;
        font-size: 10px;
    }

    .cta {
        padding: 65px 0;
    }

    .cta h2 {
        font-size: clamp(30px, 9vw, 44px);
        line-height: 1.15;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 40px;
    }

    .footer-brand {
        grid-column: auto;
        max-width: 100%;
    }

    .footer-description {
        max-width: 100%;
        margin-top: 17px;
        font-size: 12.5px;
    }

    .footer-heading {
        margin-bottom: 14px;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
        padding-top: 20px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 10px 17px;
    }
}

.footer-description {
    max-width: 100%;
    margin-top: 17px;
    font-size: 12.5px;
    color: var(--text-muted);
}

/* =========================================================
   31. SMALL MOBILE
========================================================= */
@media (max-width: 620px) {
    .navbar {
        min-height: 68px;
    }

    .logo-img {
        width: 140px;
    }

    .mobile-menu {
        top: 68px;
        left: 8px;
        right: 8px;
        padding: 10px;
        border-radius: 18px;
        max-height: calc(100vh - 82px);
    }

    .mobile-nav {
        gap: 4px;
    }

    .mobile-nav a {
        padding: 13px;
        font-size: 13px;
    }

    .mobile-nav a i {
        width: 21px;
        font-size: 15px;
    }

    .mobile-login-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    .mobile-menu-btn {
        width: 42px;
        height: 42px;
    }

    .section {
        padding: 65px 0;
    }

    .service-card {
        padding: 24px;
    }

    .stat-card {
        padding: 23px;
    }

    .info-card {
        padding: 22px;
    }

    .btn {
        min-height: 46px;
        padding: 11px 18px;
        font-size: 13px;
    }

    .footer-logo {
        width: 140px;
    }
}

/* =========================================================
   32. VERY SMALL DEVICES
========================================================= */
@media (max-width: 480px) {
    .hero-eyebrow {
        margin-top: 20px;
    }

    .hero {
        padding-top: 125px;
    }

    .hero h1 {
        font-size: clamp(31px, 9vw, 39px);
    }

    .hero-description {
        font-size: 14px;
    }

    .page-hero {
        padding-top: 125px;
    }
}

@media (max-width: 380px) {
    .container {
        width: calc(100% - 24px);
    }

    .logo-img {
        width: 130px;
    }

    .mobile-menu {
        left: 6px;
        right: 6px;
    }

    .mobile-nav a {
        padding: 12px;
        font-size: 12px;
    }

    .mobile-nav a i {
        width: 20px;
        font-size: 14px;
    }

    .hero h1 {
        font-size: 31px;
    }
}

/* =========================================================
   33. ACCESSIBILITY
========================================================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(8, 120, 249, 0.22);
    outline-offset: 3px;
}

/* =========================================================
   34. REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   35. PRINT
========================================================= */
@media print {

    .site-header,
    .mobile-menu,
    .policy-nav-wrap,
    .refund-nav-wrap,
    .privacy-nav-wrap,
    .grievance-nav-wrap,
    .site-footer {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .page-hero,
    .hero {
        padding: 30px 0;
    }
}

/* =================================================
   JOIN US BUTTON
================================================== */
.join-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    color: var(--primary);
    background: #ffffff;
    border: 1px solid rgba(8, 120, 249, 0.22);
    border-radius: 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.join-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 120, 249, 0.08), rgba(114, 216, 59, 0.10));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.join-btn span,
.join-btn i {
    position: relative;
    z-index: 1;
}

.join-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.join-btn:hover {
    color: var(--primary-dark);
    background: #f8fbff;
    border-color: rgba(8, 120, 249, 0.40);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(8, 120, 249, 0.12);
}

.join-btn:hover::before {
    opacity: 1;
}

.join-btn:hover i {
    transform: translateX(4px);
}

/* =================================================
   JOIN US MODAL
================================================== */
.join-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.join-modal.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.join-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 26, 47, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.join-modal-box {
    position: relative;
    z-index: 2;
    width: min(680px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 38px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    box-shadow: 0 30px 90px rgba(8, 26, 47, 0.25);
    transform: translateY(25px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.join-modal.active .join-modal-box {
    transform: translateY(0) scale(1);
}

/* =================================================
   MODAL CLOSE BUTTON
================================================== */
.join-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    background: #f5f8fb;
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.join-modal-close:hover {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}

/* =================================================
   MODAL HEADER
================================================== */
.join-modal-header {
    padding-right: 45px;
    margin-bottom: 28px;
}

.join-modal-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.join-modal-label i {
    font-size: 13px;
}

.join-modal-header h2 {
    margin: 0 0 8px;
    color: var(--dark);
    font-family: "Manrope", sans-serif;
    font-size: clamp(27px, 4vw, 34px);
    font-weight: 800;
    letter-spacing: -0.8px;
}

.join-modal-header p {
    margin: 0;
    max-width: 520px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* =================================================
   FORM
================================================== */
.join-form {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.join-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.join-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.join-form-group label {
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
}

.join-form-group label span {
    color: #e53935;
}

.join-form-group input,
.join-form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    color: var(--dark);
    background: #fbfcfe;
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: none;
    font-family: inherit;
    font-size: 13px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.join-form-group input {
    height: 46px;
}

.join-form-group textarea {
    min-height: 105px;
    resize: vertical;
    line-height: 1.6;
}

.join-form-group input::placeholder,
.join-form-group textarea::placeholder {
    color: #98a2b3;
}

.join-form-group input:focus,
.join-form-group textarea:focus {
    background: #ffffff;
    border-color: rgba(8, 120, 249, 0.55);
    box-shadow: 0 0 0 4px rgba(8, 120, 249, 0.08);
}

/* =================================================
   ROLE OPTIONS
================================================== */
.join-role-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.join-role-option {
    position: relative;
    cursor: pointer;
}

.join-role-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.join-role-card {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--text);
    background: #fbfcfe;
    border: 1px solid var(--border);
    border-radius: 11px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.join-role-card i {
    color: var(--primary);
    font-size: 18px;
}

.join-role-option input:checked+.join-role-card {
    color: var(--primary);
    background: linear-gradient(135deg, rgba(8, 120, 249, 0.07), rgba(114, 216, 59, 0.07));
    border-color: rgba(8, 120, 249, 0.45);
    box-shadow: 0 5px 18px rgba(8, 120, 249, 0.08);
}

.join-role-option:hover .join-role-card {
    border-color: rgba(8, 120, 249, 0.35);
}

/* =================================================
   REQUIRED NOTE
================================================== */
.join-required-note {
    margin: -2px 0 0;
    color: var(--text-light);
    font-size: 11px;
}

.join-required-note span {
    color: #e53935;
}

/* =================================================
   SUBMIT BUTTON
================================================== */
.join-submit-btn {
    position: relative;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 3px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 11px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.join-submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.join-submit-btn span,
.join-submit-btn i {
    position: relative;
    z-index: 1;
}

.join-submit-btn i {
    transition: transform 0.3s ease;
}

.join-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(8, 120, 249, 0.22);
}

.join-submit-btn:hover::before {
    left: 140%;
}

.join-submit-btn:hover i {
    transform: translateX(4px);
}

/* =================================================
   MOBILE MODAL
================================================== */
@media (max-width: 700px) {
    .join-modal {
        padding: 14px;
    }

    .join-modal-box {
        max-height: calc(100vh - 28px);
        padding: 28px 20px 22px;
        border-radius: 20px;
    }

    .join-modal-header {
        padding-right: 38px;
        margin-bottom: 23px;
    }

    .join-modal-header h2 {
        font-size: 27px;
    }

    .join-form-row {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .join-role-options {
        grid-template-columns: 1fr 1fr;
    }

    .join-modal-close {
        top: 14px;
        right: 14px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 420px) {
    .join-modal-box {
        padding: 25px 16px 18px;
    }

    .join-role-options {
        grid-template-columns: 1fr;
    }

    .join-role-card {
        min-height: 50px;
    }
}