/* Global Nadar Matrimony homepage only. All selectors are scoped to avoid affecting existing pages. */
.gn-homepage,
.gn-otp-modal {
    --gn-red: #9f1125;
    --gn-red-dark: #6f0b18;
    --gn-red-bright: #ca1632;
    --gn-gold: #c9963e;
    --gn-cream: #fffaf2;
    --gn-text: #2e2927;
    --gn-muted: #6f6762;
    --gn-border: #eadfd3;
    font-family: "Poppins", Arial, sans-serif;
    color: var(--gn-text);
}

.gn-homepage *, .gn-homepage *::before, .gn-homepage *::after,
.gn-otp-modal *, .gn-otp-modal *::before, .gn-otp-modal *::after { box-sizing: border-box; }

/* Keep the homepage header visible while the page is scrolled. */
.main-header.gn-home-special-header {
    position: fixed !important;
    top: 0 !important;
    right: 0;
    left: 0 !important;
    width: 100%;
    z-index: 10000 !important;
}

.main-header.gn-home-special-header .main-box {
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .10);
}

.gn-homepage h1, .gn-homepage h2, .gn-homepage h3 { font-family: Georgia, "Times New Roman", serif; }
.gn-container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.gn-hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background: linear-gradient(90deg, #fffaf3 0%, #fff6ea 38%, #ffe6c8 70%, #ff9f35 100%);
}

.gn-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;

    /* full width clean background */
    background:
        linear-gradient(
            90deg,
            rgba(255, 250, 243, 0.94) 0%,
            rgba(255, 250, 243, 0.82) 30%,
            rgba(255, 240, 220, 0.35) 62%,
            rgba(255, 170, 70, 0.10) 100%
        );
}

/* left bottom image only */
.gn-hero-bg::before {
    content: "";
    position: absolute;
    left: 65px;
    bottom: 0;

    width: 42%;
    height: 78%;

    background: url("../images/banner11.png") left bottom / contain no-repeat;
    opacity: 0.95;
    pointer-events: none;
}

/* soft overlay + depth */
.gn-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at left bottom,
            rgba(255, 214, 160, 0.16),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,0.03) 0%,
            rgba(126, 7, 24, 0.05) 100%
        );

    pointer-events: none;
}
.gn-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; min-height: 760px; padding: 70px 0 55px; }
.gn-hero-content { padding-top: 18px; }
.gn-tamil-title { margin: 0 0 8px; color: #8c1526; font: 700 24px/1.35 "Noto Sans Tamil", Arial, sans-serif; }
.gn-title-divider { display: flex; align-items: center; width: 265px; height: 14px; margin-bottom: 22px; }
.gn-title-divider::before, .gn-title-divider::after { content: ""; height: 1px; flex: 1; background: #d6ad68; }
.gn-title-divider i { width: 9px; height: 9px; margin: 0 8px; background: #d2a85f; transform: rotate(45deg); }
.gn-hero-content h1 { max-width: 620px; margin: 0 0 20px; color: #24201e; font-size: clamp(44px, 4.25vw, 70px); line-height: 1.04; letter-spacing: -.035em; }
.gn-hero-copy { max-width: 580px; margin: 0; font-size: 19px; line-height: 1.65; }
.gn-trust-points { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 610px; margin-top: 28px; }
.gn-trust-item { text-align: center; font-size: 12px; line-height: 1.35; color: #2f2926; }
.gn-round-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin: 0 auto 9px; border-radius: 50%; background: rgba(255,243,222,.95); color: #a95119; font-size: 24px; line-height: 1; box-shadow: inset 0 0 0 1px rgba(201,150,62,.12); }
.gn-safe-badge { display: inline-flex; align-items: center; gap: 16px; margin-top: 155px; padding: 14px 25px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #7c0d1d, #a4142a); box-shadow: 0 15px 30px rgba(101,10,24,.25); }
.gn-safe-badge > span { display: flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 34px; color: #f5cf78; font-size: 31px; line-height: 1; }
.gn-safe-badge strong, .gn-safe-badge small { display: block; }
.gn-safe-badge strong { font-family: Georgia, serif; font-size: 17px; }
.gn-safe-badge small { margin-top: 2px; font-size: 13px; }

.gn-register-wrap { position: relative; max-width: 600px;  }
.gn-register-card { padding: 56px 34px 26px; border: 1px solid rgba(225,213,200,.75); border-radius: 20px; background: rgba(255,255,255,.97); box-shadow: 0 22px 55px rgba(92,58,40,.14); backdrop-filter: blur(7px); }
.gn-free-label { position: absolute; z-index: 2; top: -4px; left: 50%; transform: translateX(-50%); width: 245px; padding: 10px 14px; border-radius: 0 0 22px 22px; text-align: center; color: #fff; background: linear-gradient(135deg, #ba102a, #981024); font-size: 12px; font-weight: 700; }
.gn-free-label i { margin-right: 7px; }
.gn-register-heading { text-align: center; }
.gn-register-heading h2 { margin: 0; font-size: 34px; line-height: 1.2; }
.gn-register-heading p { margin: 5px 0 0; color: var(--gn-muted); }
.gn-progress { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 24px 0 26px; }
.gn-progress::before { content: ""; position: absolute; top: 10px; left: 12%; right: 12%; height: 1px; background: #dedede; }
.gn-progress > div { position: relative; z-index: 1; text-align: center; }
.gn-progress span { display: grid; place-items: center; width: 20px; height: 20px; margin: 0 auto 8px; border-radius: 50%; color: #fff; background: #cfcfcf; font-size: 10px; }
.gn-progress .active span { background: var(--gn-red-bright); }
.gn-progress small { font-size: 10px; color: #777; }
.gn-progress .active small { color: var(--gn-red-bright); font-weight: 700; }
.gn-form-row { margin-bottom: 13px; }
.gn-form-row-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gn-field { position: relative; margin-bottom: 13px; }
.gn-form-row .gn-field { margin-bottom: 0; }
.gn-field-icon { position: absolute; z-index: 2; top: 0; left: 14px; display: flex; align-items: center; justify-content: center; width: 18px; height: 50px; color: #4d4947; font-size: 15px; line-height: 1; pointer-events: none; }
.gn-control { width: 100%; height: 50px; padding: 0 38px 0 42px; border: 1px solid #ddd6d0; border-radius: 7px; background: #fff; color: #3e3936; font-size: 14px; outline: none; transition: .2s ease; }
select.gn-control { appearance: auto; }
.gn-readonly-control {
    display: flex;
    align-items: center;
    color: #5f5752;
    font-weight: 700;
    background: #fffaf6;
}
.gn-control:focus { border-color: #af2439; box-shadow: 0 0 0 3px rgba(159,17,37,.1); }
.gn-control.is-invalid { border-color: #d52d43; }
.gn-error { display: none; margin: 5px 0 0 4px; color: #d52d43; font-size: 11px; }
.gn-error.is-visible { display: block; }
.gn-relation-detail { margin: -2px 0 13px; padding: 10px 12px; border: 1px dashed #e3d4c6; border-radius: 8px; background: #fffaf6; }
.gn-relation-detail > span { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; }
.gn-radio-group { display: flex; flex-wrap: wrap; gap: 12px; }
.gn-radio-group label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.gn-policy-check { display: flex; align-items: flex-start; gap: 9px; margin: 4px 0 18px; color: #4f4946; font-size: 11px; line-height: 1.5; }
.gn-policy-check input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--gn-red-bright); }
.gn-policy-check a { color: var(--gn-red); }
.gn-register-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; border: 0; border-radius: 7px; color: #fff; background: linear-gradient(135deg, #c81734, #a80e27); font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 9px 20px rgba(169,14,39,.2); transition: transform .2s ease, box-shadow .2s ease; }
.gn-register-btn:hover { transform: translateY(-2px); box-shadow: 0 13px 25px rgba(169,14,39,.27); }
.gn-login-text { margin-top: 20px; text-align: center; color: #625b57; font-size: 13px; }
.gn-login-text a { color: var(--gn-red-bright); font-weight: 700; }
.gn-alert { margin-bottom: 14px; padding: 10px 12px; border-radius: 7px; font-size: 12px; }
.gn-alert-success { color: #155724; background: #e7f7ec; }
.gn-alert-error { color: #7b1523; background: #fdecef; }

.gn-assurance-bar { padding: 26px 0; color: #fff; background: linear-gradient(110deg, #7e0b1b, #a81129 55%, #810918); }
.gn-assurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.gn-assurance-grid article { display: flex; align-items: center; gap: 18px; padding: 0 34px; border-right: 1px solid rgba(255,255,255,.35); }
.gn-assurance-grid article:last-child { border-right: 0; }
.gn-assurance-grid article > span { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%; border: 1px solid rgba(247,205,120,.45); color: #f4ca74; font-size: 29px; line-height: 1; }
.gn-assurance-grid h3 { margin: 0 0 4px; font-size: 18px; }
.gn-assurance-grid p { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.9); }

.gn-why-section { padding: 48px 0 34px; background: #fffdf9; }
.gn-section-heading { text-align: center; }
.gn-section-heading h2 { margin: 0; color: #8e1022; font-size: 32px; }
.gn-section-heading span { display: inline-block; width: 120px; height: 10px; margin-top: 8px; border-top: 1px solid #d2a85f; position: relative; }
.gn-section-heading span::after { content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; background: #d2a85f; transform: translateX(-50%) rotate(45deg); }
.gn-feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 17px; margin-top: 28px; }
.gn-feature-grid article { min-height: 205px; padding: 27px 15px 20px; text-align: center; border: 1px solid #eadfd5; border-radius: 11px; background: #fff; box-shadow: 0 7px 22px rgba(76,48,28,.05); transition: transform .22s ease, box-shadow .22s ease; }
.gn-feature-grid article:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(76,48,28,.1); }
.gn-feature-grid article > span { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin: 0 auto 17px; border-radius: 50%; background: #fff2dc; color: #9d1b2d; font-size: 25px; line-height: 1; }
.gn-round-icon > i,
.gn-safe-badge > span > i,
.gn-assurance-grid article > span > i,
.gn-feature-grid article > span > i { display: inline-block; width: auto; height: auto; line-height: 1; }
.gn-round-icon > i::before,
.gn-safe-badge > span > i::before,
.gn-assurance-grid article > span > i::before,
.gn-feature-grid article > span > i::before { display: block; line-height: 1; }
.gn-feature-grid h3 { margin: 0 0 8px; font-size: 17px; }
.gn-feature-grid p { margin: 0; color: #5e5753; font-size: 12px; line-height: 1.6; }

.gn-app-section { padding: 0 0 34px; background: #fffdf9; }
.gn-app-card { display: grid; grid-template-columns: 230px 1fr 1.35fr; min-height: 230px; overflow: hidden; border: 1px solid #eee1d4; background: linear-gradient(90deg, #fff7ea, #fffdf7); }
.gn-app-image { position: relative; overflow: hidden; }
.gn-app-image img { position: absolute; left: 16px; bottom: -45px; width: 220px; max-height: 300px; object-fit: contain; transform: rotate(-5deg); }
.gn-app-copy { padding: 34px 25px; }
.gn-app-copy h2 { margin: 0 0 12px; color: #78101d; font-size: 27px; line-height: 1.2; }
.gn-app-copy p { margin: 0; font-size: 13px; line-height: 1.7; }
.gn-store-buttons { display: flex; gap: 12px; margin-top: 17px; }
.gn-store-buttons a { display: flex; align-items: center; gap: 8px; min-width: 132px; padding: 8px 12px; border-radius: 6px; color: #fff; background: #050505; text-decoration: none; }
.gn-store-buttons i { font-size: 23px; }
.gn-store-buttons span { font-size: 14px; line-height: 1.05; }
.gn-store-buttons small { display: block; font-size: 7px; }
.gn-stats { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; background: linear-gradient(120deg, rgba(255,250,239,.85), rgba(255,247,229,.95)); }
.gn-stats > div { padding: 26px 12px; text-align: center; border-left: 1px solid #eadbc7; }
.gn-stats i { display: block; margin-bottom: 9px; color: #a10f27; font-size: 34px; }
.gn-stats strong, .gn-stats span { display: block; }
.gn-stats strong { color: #7d101f; font: 700 27px/1.1 Georgia, serif; }
.gn-stats span { margin-top: 7px; font-size: 12px; }
.gn-bottom-line { padding: 18px 0; border-top: 1px solid #eadfd4; background: #fff8ef; }
.gn-bottom-line .gn-container { display: flex; justify-content: center; align-items: center; gap: 25px; color: #7f1020; font-family: Georgia, serif; font-size: 15px; }
.gn-bottom-line b { width: 1px; height: 20px; background: #9c5961; }
.gn-bottom-line i { font-size: 13px; }

.gn-otp-modal { position: fixed; z-index: 99999; inset: 0; display: none; place-items: center; padding: 20px; }
.gn-otp-modal.is-open { display: grid; }
.gn-otp-backdrop { position: absolute; inset: 0; background: rgba(31,13,17,.65); backdrop-filter: blur(4px); }
.gn-otp-dialog { position: relative; width: min(430px, 100%); padding: 35px 28px 28px; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.gn-otp-dialog h3 { margin: 12px 0 22px; text-align: center; color: var(--gn-red); font-size: 30px; }
.gn-otp-close { position: absolute; top: 9px; right: 14px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.gn-otp-badge { display: table; margin: 0 auto; padding: 6px 12px; border-radius: 20px; color: #fff; background: var(--gn-red); font-size: 11px; }
.gn-otp-boxes { display: flex; justify-content: center; gap: 9px; margin-bottom: 20px; }
.gn-otp-boxes input { width: 48px; height: 54px; border: 1px solid #d8c9cb; border-radius: 8px; text-align: center; font-size: 22px; font-weight: 700; outline: none; }
.gn-otp-boxes input:focus { border-color: var(--gn-red); box-shadow: 0 0 0 3px rgba(159,17,37,.1); }
.gn-resend-form { text-align: center; }
.gn-resend-form button { margin-top: 14px; border: 0; color: var(--gn-red); background: transparent; font-weight: 700; cursor: pointer; }

@media (max-width: 1100px) {
    .gn-hero-grid { grid-template-columns: .9fr 1.1fr; gap: 28px; }
    .gn-trust-points { grid-template-columns: repeat(3, 1fr); max-width: 430px; }
    .gn-safe-badge { margin-top: 70px; }
    .gn-feature-grid { grid-template-columns: repeat(3, 1fr); }
    .gn-app-card { grid-template-columns: 200px 1fr; }
    .gn-stats { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
    .gn-hero { min-height: auto; }
    .gn-hero-grid { grid-template-columns: 1fr; padding-top: 50px; }
    .gn-hero-content { text-align: center; }
    .gn-title-divider, .gn-hero-copy, .gn-trust-points { margin-left: auto; margin-right: auto; }
    .gn-safe-badge { margin-top: 35px; }
    .gn-register-wrap { width: 100%; max-width: 600px; margin: 10px auto 0; }
    .gn-assurance-grid { grid-template-columns: 1fr; }
    .gn-assurance-grid article { padding: 18px 10px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
    .gn-assurance-grid article:last-child { border-bottom: 0; }
    .gn-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .gn-container { width: min(100% - 22px, 1180px); }
    .gn-hero-grid { padding: 35px 0 28px; }
    .gn-tamil-title { font-size: 18px; }
    .gn-hero-content h1 { font-size: 39px; }
    .gn-hero-copy { font-size: 16px; }
    .gn-trust-points { grid-template-columns: repeat(3, 1fr); gap: 16px 5px; }
    .gn-trust-item:nth-child(4), .gn-trust-item:nth-child(5) { transform: translateX(50%); }
    .gn-safe-badge { width: 100%; justify-content: center; padding: 13px 15px; }
    .gn-register-card { padding: 54px 18px 24px; border-radius: 16px; }
    .gn-register-heading h2 { font-size: 29px; }
    .gn-progress small { font-size: 8px; }
    .gn-form-row-two { grid-template-columns: 1fr; }
    .gn-form-row-two .gn-field { margin-bottom: 13px; }
    .gn-feature-grid { grid-template-columns: 1fr; }
    .gn-feature-grid article { min-height: auto; }
    .gn-app-card { grid-template-columns: 1fr; }
    .gn-app-image { min-height: 225px; }
    .gn-app-image img { left: 50%; transform: translateX(-50%) rotate(-5deg); }
    .gn-app-copy { text-align: center; }
    .gn-store-buttons { justify-content: center; flex-wrap: wrap; }
    .gn-stats { grid-template-columns: 1fr; }
    .gn-stats > div { border-left: 0; border-top: 1px solid #eadbc7; }
    .gn-bottom-line .gn-container { flex-wrap: wrap; gap: 10px 14px; text-align: center; }
    .gn-bottom-line b { display: none; }
    .gn-otp-boxes { gap: 6px; }
    .gn-otp-boxes input { width: 40px; height: 48px; }
}

/* =========================================================
   HOME PAGE HEADER ONLY
   Applied only when header has: gn-home-special-header
   Other pages are not affected
========================================================= */

.gn-home-special-header {
    position: sticky !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 99999 !important;
    width: 100%;
    background: #fffaf2 !important;
    border-top: 1px solid rgba(159, 17, 37, 0.08);
    border-bottom: 1px solid rgba(159, 17, 37, 0.10);
    box-shadow: 0 5px 20px rgba(80, 48, 27, 0.06);
}

.gn-home-special-header .main-box {
    position: relative !important;
    top: 0 !important;
    margin: 0 !important;
    transform: none !important;
    background:
        radial-gradient(circle at 20% 50%, rgba(201, 150, 62, 0.10), transparent 30%),
        linear-gradient(90deg, #fff9ef 0%, #fffdf8 50%, #fffaf2 100%) !important;
}

.gn-home-special-header .main-box .auto-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 76px;
    gap: 24px;
    padding-top: 7px;
    padding-bottom: 7px;
}

/* Logo */
.gn-home-special-header .logo-box {
    flex: 0 0 auto;
    float: none !important;
    padding: 0 !important;
}

.gn-home-special-header .logo-box .logo,
.gn-home-special-header .logo-box a {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
}

.gn-home-special-header .logo-box img {
    display: block;
    width: 185px !important;
    max-width: 185px;
    height: auto !important;
    max-height: 66px;
    object-fit: contain;
    margin: 0 !important;
}

/* Right side */
.gn-home-special-header .nav-outer {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    margin-left: auto;
    float: none !important;
}

.gn-home-special-header .main-menu {
    display: none !important;
}

.gn-home-special-header .outer-box.header-action-box {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Language */
.gn-home-special-header .gn-language-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
    margin: 0 4px 0 0;
    padding: 3px;
    border: 1px solid rgba(159, 17, 37, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: none;
}

.gn-home-special-header .gn-language-switch button {
    min-width: 38px;
    height: 31px;
    padding: 0 9px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #5a4944;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.gn-home-special-header .gn-language-switch button.is-active {
    color: #fff;
    background: linear-gradient(135deg, #b91530, #8c0e21);
}

/* Menu item wrappers */
.gn-home-special-header .header-action-box .btn-box {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 8px 0 0;
}

.gn-home-special-header .header-action-box .btn-box:last-child {
    padding-right: 0;
}

.gn-home-special-header .header-action-box .btn-box:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 18px;
    background: rgba(68, 53, 45, 0.16);
    transform: translateY(-50%);
}

/* Reset old button theme completely */
.gn-home-special-header .header-action-box .theme-btn,
.gn-home-special-header .header-action-box .theme-btn:hover,
.gn-home-special-header .header-action-box .theme-btn:focus,
.gn-home-special-header .header-action-box .theme-btn:active,
.gn-home-special-header .header-action-box .gn-plans-btn,
.gn-home-special-header .header-action-box .gn-plans-btn:hover,
.gn-home-special-header .header-action-box .gn-plans-btn:focus,
.gn-home-special-header .header-action-box .gn-plans-btn:active {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: auto !important;
    min-height: 38px;
    margin: 0 !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #9f1125 !important;
    -webkit-text-fill-color: #9f1125 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none;
    text-transform: none !important;
}

.gn-home-special-header .header-action-box .theme-btn::before,
.gn-home-special-header .header-action-box .theme-btn::after,
.gn-home-special-header .header-action-box .gn-plans-btn::before,
.gn-home-special-header .header-action-box .gn-plans-btn::after {
    display: none !important;
    content: none !important;
}

.gn-home-special-header .header-action-box .theme-btn .btn-title,
.gn-home-special-header .header-action-box .gn-plans-btn .btn-title {
    position: relative;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    color: #9f1125 !important;
    -webkit-text-fill-color: #9f1125 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: nowrap;
}

.gn-home-special-header .header-action-box .theme-btn:hover,
.gn-home-special-header .header-action-box .gn-plans-btn:hover {
    background: rgba(159, 17, 37, 0.07) !important;
    transform: translateY(-1px);
}

.gn-home-special-header .header-action-box .theme-btn:hover .btn-title,
.gn-home-special-header .header-action-box .gn-plans-btn:hover .btn-title {
    color: #7b0c1c !important;
    -webkit-text-fill-color: #7b0c1c !important;
}

/* Phone number */
.gn-home-special-header .gn-header-phone-box {
    padding-right: 0 !important;
}

.gn-home-special-header .gn-header-phone-box::after {
    display: none !important;
}

.gn-home-special-header .gn-header-phone-link,
.gn-home-special-header .gn-header-phone-link .btn-title {
    color: #443832 !important;
    -webkit-text-fill-color: #443832 !important;
}

.gn-home-special-header .gn-header-phone-link i {
    color: #9f1125 !important;
    font-size: 12px;
}

.gn-home-special-header .gn-header-phone-link:hover,
.gn-home-special-header .gn-header-phone-link:hover .btn-title {
    color: #9f1125 !important;
    -webkit-text-fill-color: #9f1125 !important;
}

/* Hero attaches directly below header */
.gn-home-special-header + .gn-homepage {
    margin-top: 0 !important;
}

.gn-home-special-header + .gn-homepage .gn-hero {
    border-top: 0;
}

@media (min-width: 992px) {
    .gn-home-special-header .mobile-nav-toggler {
        display: none !important;
    }
}

@media (max-width: 1250px) {
    .gn-home-special-header .main-box .auto-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .gn-home-special-header .logo-box img {
        width: 155px !important;
        max-width: 155px;
    }

    .gn-home-special-header .outer-box.header-action-box {
        gap: 4px;
    }

    .gn-home-special-header .header-action-box .btn-box {
        padding-right: 5px;
    }

    .gn-home-special-header .header-action-box .theme-btn,
    .gn-home-special-header .header-action-box .gn-plans-btn {
        padding: 7px 6px !important;
    }

    .gn-home-special-header .header-action-box .theme-btn .btn-title,
    .gn-home-special-header .header-action-box .gn-plans-btn .btn-title {
        font-size: 12px !important;
    }
}

@media (max-width: 1080px) {
    .gn-home-special-header .gn-header-phone-box {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .gn-home-special-header {
        position: sticky !important;
        top: 0 !important;
    }

    .gn-home-special-header .main-box .auto-container {
        min-height: 70px;
        padding: 7px 14px;
    }

    .gn-home-special-header .logo-box img {
        width: 145px !important;
        max-width: 145px;
        max-height: 58px;
    }

    .gn-home-special-header .outer-box.header-action-box {
        display: none !important;
    }

    .gn-home-special-header .mobile-nav-toggler {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin: 0 !important;
        border: 1px solid rgba(159, 17, 37, 0.15);
        border-radius: 10px;
        color: #9f1125;
        background: #fff8ef;
        font-size: 18px;
    }

    .gn-home-special-header .nav-outer {
        margin-left: auto;
    }

    .mobile-menu .gn-mobile-phone-link {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu .gn-mobile-phone-link i {
        margin-right: 7px;
    }
}
/* Home page only - Plans normal menu style */

.gn-home-special-header .header-action-box .gn-plans-btn,
.gn-home-special-header .header-action-box .gn-plans-btn:hover,
.gn-home-special-header .header-action-box .gn-plans-btn:focus,
.gn-home-special-header .header-action-box .gn-plans-btn:active {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #9f1125 !important;
    -webkit-text-fill-color: #9f1125 !important;
    padding: 8px 10px !important;
}

.gn-home-special-header .header-action-box .gn-plans-btn .btn-title,
.gn-home-special-header .header-action-box .gn-plans-btn:hover .btn-title,
.gn-home-special-header .header-action-box .gn-plans-btn:focus .btn-title,
.gn-home-special-header .header-action-box .gn-plans-btn:active .btn-title {
    color: #9f1125 !important;
    -webkit-text-fill-color: #9f1125 !important;
}

.gn-home-special-header .header-action-box .gn-plans-btn::before,
.gn-home-special-header .header-action-box .gn-plans-btn::after {
    display: none !important;
    content: none !important;
}
.gn-home-special-header .header-action-box .gn-plans-btn,
.gn-home-special-header .header-action-box .gn-plans-btn:hover,
.gn-home-special-header .header-action-box .gn-plans-btn:focus,
.gn-home-special-header .header-action-box .gn-plans-btn:active {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #9f1125 !important;
    -webkit-text-fill-color: #9f1125 !important;
}

.gn-home-special-header .header-action-box .gn-plans-btn .btn-title,
.gn-home-special-header .header-action-box .gn-plans-btn:hover .btn-title {
    color: #9f1125 !important;
    -webkit-text-fill-color: #9f1125 !important;
}

/* =========================================================
   HOMEPAGE ANIMATIONS
   Safe, lightweight and scoped only to this homepage
========================================================= */

@keyframes gnFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gnFadeRight {
    from {
        opacity: 0;
        transform: translateX(35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gnSoftFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes gnPulseGlow {
    0%,
    100% {
        box-shadow: 0 9px 20px rgba(169, 14, 39, 0.20);
    }

    50% {
        box-shadow: 0 12px 30px rgba(169, 14, 39, 0.36);
    }
}

@keyframes gnPhoneFloat {
    0%,
    100% {
        transform: rotate(-5deg) translateY(0);
    }

    50% {
        transform: rotate(-3deg) translateY(-8px);
    }
}

@keyframes gnPhoneFloatMobile {
    0%,
    100% {
        transform: translateX(-50%) rotate(-5deg) translateY(0);
    }

    50% {
        transform: translateX(-50%) rotate(-3deg) translateY(-7px);
    }
}

/* Hero entrance animations */

.gn-homepage .gn-tamil-title {
    animation: gnFadeUp 0.65s ease both;
}

.gn-homepage .gn-title-divider {
    animation: gnFadeUp 0.65s 0.08s ease both;
}

.gn-homepage .gn-hero-content h1 {
    animation: gnFadeUp 0.75s 0.16s ease both;
}

.gn-homepage .gn-hero-copy {
    animation: gnFadeUp 0.75s 0.25s ease both;
}

.gn-homepage .gn-trust-points {
    animation: gnFadeUp 0.75s 0.34s ease both;
}

.gn-homepage .gn-safe-badge {
    animation:
        gnFadeUp 0.75s 0.44s ease both,
        gnSoftFloat 3.5s 1.3s ease-in-out infinite;
}

/* Registration card entrance */

.gn-homepage .gn-register-wrap {
    animation: gnFadeRight 0.85s 0.12s ease both;
}

.gn-homepage .gn-register-card {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.gn-homepage .gn-register-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 65px rgba(92, 58, 40, 0.20);
}

/* Trust icons */

.gn-homepage .gn-trust-item {
    transition: transform 0.25s ease;
}

.gn-homepage .gn-trust-item:hover {
    transform: translateY(-6px);
}

.gn-homepage .gn-round-icon {
    transition:
        transform 0.30s ease,
        background 0.30s ease,
        color 0.30s ease,
        box-shadow 0.30s ease;
}

.gn-homepage .gn-trust-item:hover .gn-round-icon {
    transform: rotate(-5deg) scale(1.10);
    color: #ffffff;
    background: linear-gradient(135deg, #b91530, #850b1e);
    box-shadow: 0 12px 24px rgba(159, 17, 37, 0.20);
}

/* Form field interaction */

.gn-homepage .gn-field {
    transition: transform 0.20s ease;
}

.gn-homepage .gn-field:focus-within {
    transform: translateY(-2px);
}

.gn-homepage .gn-field-icon {
    transition:
        color 0.20s ease,
        transform 0.20s ease;
}

.gn-homepage .gn-field:focus-within .gn-field-icon {
    color: #9f1125;
    transform: scale(1.08);
}

.gn-homepage .gn-control {
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.gn-homepage .gn-control:hover {
    border-color: rgba(159, 17, 37, 0.38);
}

/* Register button shine */

.gn-homepage .gn-register-btn {
    position: relative;
    overflow: hidden;
    animation: gnPulseGlow 2.5s ease-in-out infinite;
}

.gn-homepage .gn-register-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.32),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.65s ease;
}

.gn-homepage .gn-register-btn:hover::before {
    left: 150%;
}

.gn-homepage .gn-register-btn i {
    transition: transform 0.25s ease;
}

.gn-homepage .gn-register-btn:hover i {
    transform: translateX(5px);
}

/* Scroll reveal */

.gn-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.70s ease,
        transform 0.70s ease;
}

.gn-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.gn-reveal-delay-1 {
    transition-delay: 0.10s;
}

.gn-reveal-delay-2 {
    transition-delay: 0.20s;
}

.gn-reveal-delay-3 {
    transition-delay: 0.30s;
}

/* Feature card hover */

.gn-homepage .gn-feature-grid article {
    position: relative;
    overflow: hidden;
}

.gn-homepage .gn-feature-grid article::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(159, 17, 37, 0.04),
        transparent 55%
    );
    opacity: 0;
    transition: opacity 0.30s ease;
}

.gn-homepage .gn-feature-grid article:hover::before {
    opacity: 1;
}

.gn-homepage .gn-feature-grid article > span {
    position: relative;
    z-index: 1;
    transition:
        transform 0.30s ease,
        color 0.30s ease,
        background 0.30s ease;
}

.gn-homepage .gn-feature-grid article:hover > span {
    transform: translateY(-4px) rotate(-4deg) scale(1.08);
    color: #ffffff;
    background: linear-gradient(135deg, #b91530, #850b1e);
}

.gn-homepage .gn-feature-grid article h3,
.gn-homepage .gn-feature-grid article p {
    position: relative;
    z-index: 1;
}

/* App phone float */

.gn-homepage .gn-app-image img {
    animation: gnPhoneFloat 4s ease-in-out infinite;
}

@media (max-width: 600px) {
    .gn-homepage .gn-app-image img {
        animation: gnPhoneFloatMobile 4s ease-in-out infinite;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .gn-homepage *,
    .gn-home-special-header * {
        animation: none !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .gn-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
/* =========================================================
   ICON ALIGNMENT FIX
========================================================= */

/* ---------- Hero trust icons ---------- */

.gn-homepage .gn-trust-points {
    align-items: start;
}

.gn-homepage .gn-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    text-align: center;
}

.gn-homepage .gn-round-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;

    margin: 0 auto 12px !important;
    padding: 0 !important;

    border-radius: 50%;
    line-height: 1 !important;
}

.gn-homepage .gn-round-icon i {
    position: static !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 28px !important;
    height: 28px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 25px !important;
    line-height: 1 !important;
    text-align: center !important;

    transform: none;
}

.gn-homepage .gn-round-icon i::before {
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.gn-homepage .gn-trust-item strong {
    display: block;
    min-height: 42px;
    margin: 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.45;
}

/* Hover-ல் icon center மாறக்கூடாது */

.gn-homepage .gn-trust-item:hover .gn-round-icon {
    transform: translateY(-3px) scale(1.06);
}

.gn-homepage .gn-trust-item:hover .gn-round-icon i {
    transform: none !important;
}


/* ---------- Why section feature icons ---------- */

.gn-homepage .gn-feature-grid {
    align-items: stretch;
}

.gn-homepage .gn-feature-grid article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    height: 100%;
    text-align: center;
}

.gn-homepage .gn-feature-grid article > span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;

    margin: 0 auto 22px !important;
    padding: 0 !important;

    border-radius: 50%;
    line-height: 1 !important;
}

.gn-homepage .gn-feature-grid article > span i {
    position: static !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 32px !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 29px !important;
    line-height: 1 !important;
    text-align: center !important;

    transform: none;
}

.gn-homepage .gn-feature-grid article > span i::before {
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.gn-homepage .gn-feature-grid article h3 {
    width: 100%;
    min-height: 48px;
    margin: 0 0 10px !important;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    line-height: 1.35;
}

.gn-homepage .gn-feature-grid article p {
    width: 100%;
    margin: 0;
    text-align: center;
}

/* Hover animation center fix */

.gn-homepage .gn-feature-grid article:hover > span {
    transform: translateY(-4px) scale(1.06) !important;
}

.gn-homepage .gn-feature-grid article:hover > span i {
    transform: none !important;
}


/* ---------- Mobile alignment ---------- */

@media (max-width: 600px) {
    .gn-homepage .gn-round-icon {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
    }

    .gn-homepage .gn-round-icon i {
        width: 25px !important;
        height: 25px !important;
        font-size: 22px !important;
    }

    .gn-homepage .gn-feature-grid article > span {
        width: 66px !important;
        height: 66px !important;
        min-width: 66px !important;
        min-height: 66px !important;
    }

    .gn-homepage .gn-feature-grid article > span i {
        width: 28px !important;
        height: 28px !important;
        font-size: 26px !important;
    }
}
/* Assurance bar icon alignment fix */

.gn-homepage .gn-assurance-grid {
    align-items: stretch;
}

.gn-homepage .gn-assurance-grid article {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
    min-height: 118px;
}

.gn-homepage .gn-assurance-grid article > span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 78px !important;
    height: 78px !important;
    min-width: 78px !important;
    min-height: 78px !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 50%;
    line-height: 1 !important;
}

.gn-homepage .gn-assurance-grid article > span i {
    position: static !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 34px !important;
    height: 34px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 31px !important;
    line-height: 1 !important;
    text-align: center !important;
}

.gn-homepage .gn-assurance-grid article > span i::before {
    display: block !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.gn-homepage .gn-assurance-grid article > div {
    flex: 1;
    min-width: 0;
}

.gn-homepage .gn-assurance-grid h3 {
    margin: 0 0 7px !important;
    line-height: 1.25;
}

.gn-homepage .gn-assurance-grid p {
    margin: 0 !important;
    line-height: 1.55;
}
@media (max-width: 820px) {
    .gn-homepage .gn-assurance-grid article {
        min-height: auto;
        padding: 18px 12px;
    }

    .gn-homepage .gn-assurance-grid article > span {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
        min-height: 64px !important;
    }

    .gn-homepage .gn-assurance-grid article > span i {
        width: 28px !important;
        height: 28px !important;
        font-size: 26px !important;
    }
}

/* =========================================================
   HOMEPAGE RESPONSIVE POLISH
   Scoped overrides for tablet and mobile layouts
========================================================= */

.gn-homepage {
    overflow-x: clip;
}

.gn-homepage img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .gn-home-special-header + .gn-homepage .gn-hero {
        padding-top: 0;
    }

    .gn-hero-bg::before {
        left: 50%;
        bottom: auto;
        top: 86px;
        width: min(420px, 78vw);
        height: 360px;
        opacity: 0.16;
        transform: translateX(-50%);
        background-position: center top;
    }

    .gn-hero-grid {
        gap: 30px;
        min-height: auto;
        padding: 46px 0 34px;
    }

    .gn-hero-content h1 {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
        letter-spacing: 0;
    }

    .gn-register-wrap {
        justify-self: center;
    }
}

@media (max-width: 767px) {
    .gn-home-special-header {
        position: sticky !important;
    }

    .gn-home-special-header .main-box {
        padding: 0 !important;
    }

    .gn-hero {
        background: linear-gradient(180deg, #fffaf3 0%, #fff4e5 64%, #ffe3c2 100%);
    }

    .gn-hero-grid {
        padding-top: 30px;
    }

    .gn-tamil-title {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        overflow-wrap: anywhere;
    }

    .gn-title-divider {
        width: min(230px, 70vw);
    }

    .gn-hero-content h1 {
        font-size: 36px;
        line-height: 1.12;
    }

    .gn-hero-copy {
        max-width: 34rem;
        font-size: 15px;
        line-height: 1.6;
    }

    .gn-trust-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 10px;
        max-width: 360px;
    }

    .gn-trust-item:nth-child(4),
    .gn-trust-item:nth-child(5) {
        transform: none;
    }

    .gn-trust-item:last-child {
        grid-column: 1 / -1;
        max-width: 170px;
        justify-self: center;
    }

    .gn-safe-badge {
        max-width: 390px;
        margin-top: 24px;
        border-radius: 12px;
    }

    .gn-register-card {
        box-shadow: 0 14px 34px rgba(92,58,40,.12);
    }

    .gn-assurance-bar {
        padding: 16px 0;
    }

    .gn-feature-grid {
        gap: 14px;
    }

    .gn-app-card {
        border-left: 0;
        border-right: 0;
    }

    .gn-app-copy {
        padding: 26px 18px;
    }

    .gn-store-buttons a {
        justify-content: center;
        width: min(210px, 100%);
    }
}

@media (max-width: 480px) {
    .gn-container {
        width: min(100% - 18px, 1180px);
    }

    .gn-home-special-header .main-box .auto-container {
        min-height: 64px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .gn-home-special-header .logo-box img {
        width: 126px !important;
        max-width: 126px;
    }

    .gn-home-special-header .mobile-nav-toggler {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .gn-hero-grid {
        padding: 24px 0 24px;
    }

    .gn-hero-content h1 {
        font-size: 31px;
    }

    .gn-register-heading h2 {
        font-size: 25px;
    }

    .gn-free-label {
        width: min(235px, calc(100% - 28px));
        font-size: 11px;
    }

    .gn-register-card {
        padding: 52px 14px 22px;
        border-radius: 12px;
    }

    .gn-control {
        height: 48px;
        padding-right: 28px;
        font-size: 13px;
    }

    .gn-policy-check {
        font-size: 10.5px;
    }

    .gn-register-btn {
        min-height: 50px;
        font-size: 15px;
    }

    .gn-section-heading h2 {
        font-size: 26px;
    }

    .gn-app-image {
        min-height: 190px;
    }

    .gn-app-image img {
        width: 185px;
        bottom: -38px;
    }

    .gn-app-copy h2 {
        font-size: 23px;
    }

    .gn-bottom-line .gn-container {
        font-size: 13px;
        line-height: 1.45;
    }

    .gn-otp-dialog {
        padding: 30px 16px 22px;
        border-radius: 12px;
    }

    .gn-otp-boxes {
        gap: 5px;
    }

    .gn-otp-boxes input {
        width: 36px;
        height: 45px;
        font-size: 20px;
    }
}
