/* Premium Landing Pages - Aarogym Fitness Brand */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;600;700&family=Barlow+Condensed:wght@400;700;900&display=swap");

:root {
    --fire: #ff4500;
    --fire-soft: #ff6a35;
    --fire-dim: rgba(255, 69, 0, 0.15);
    --gold: #ffb800;
    --dark: #0a0a0a;
    --dark-2: #141414;
    --dark-3: #1e1e1e;
    --gray: #2c2c2c;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --radius: 20px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.18);
    --transition: all 0.4s ease;
}

.aro-hero__logo img {
    margin: auto;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Barlow", sans-serif;
    background: var(--white);
    color: #111;
    line-height: 1.7;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: normal;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes heroZoom {
    0% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1.1);
    }
}
@keyframes pulse-gold {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(255, 184, 0, 0);
    }
}

.animate-box {
    animation: fadeDown 0.8s ease both;
}
.animate-box.fade-up {
    animation: fadeUp 0.8s ease both;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HERO ===== */
.ag-hero {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    overflow: hidden;
    padding: 0;
}

.ag-hero .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    transform: scale(1.08);
    animation: heroZoom 20s ease-in-out infinite alternate;
    will-change: transform;
}

.ag-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.35),
        rgba(10, 10, 10, 0.7)
    );
    z-index: 1;
}

.ag-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    color: var(--white);
    padding: 60px 20px;
}

.hero-logo img {
    max-width: 220px;
    height: auto;
    margin-bottom: 24px;
}

.hero-eyebrow {
    display: inline-block;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.ag-hero h1 {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -1px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #ffe8c6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ag-hero h1 span {
    background: linear-gradient(135deg, var(--fire) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(18px, 2.5vw, 22px);
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 40px;
    font-weight: 300;
    line-height: 1.8;
}

.hero-cta {
    display: inline-flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.ag-section {
    padding: 120px 0;
    position: relative;
}
.ag-section-dark2 {
    background: var(--dark-2);
    color: #fff;
}
.ag-section-dark3 {
    background: var(--dark-3);
    color: #fff;
}

.ag-section-dark2 .ag-heading h2,
.ag-section-dark3 .ag-heading h2 {
    color: var(--white);
}

.ag-section-dark2 .eyebrow {
    color: var(--gold);
}
.ag-section-dark3 .eyebrow {
    color: var(--fire-soft);
}

/* ===== HEADINGS ===== */
.ag-heading {
    text-align: center;
    margin-bottom: 70px;
}

.eyebrow {
    display: inline-block;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--fire);
    background: var(--fire-dim);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.ag-heading h2 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.ag-heading p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.ag-section-dark2 .ag-heading p,
.ag-section-dark3 .ag-heading p {
    color: rgba(255, 255, 255, 0.7);
}

.ag-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--fire), var(--gold));
    margin: 18px auto 0;
    border-radius: 2px;
}

/* ===== GRID LAYOUTS ===== */
.programs-grid,
.why-grid,
.branches-grid,
.maps-grid {
    display: grid;
    gap: 30px;
}

.programs-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.why-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.branches-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.maps-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

@media (max-width: 900px) {
    .branches-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .maps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ===== CARD COMPONENTS ===== */
.program-card,
.why-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 40px 32px;
    border: 1px solid #e5e5e5;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card:hover,
.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 69, 0, 0.15);
}

.program-icon,
.why-icon {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1;
}

.program-card h4,
.why-card h4 {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 14px;
    line-height: 1.3;
}

.program-card p,
.why-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.ag-section-dark2 .program-card,
.ag-section-dark2 .why-card,
.ag-section-dark3 .program-card,
.ag-section-dark3 .why-card {
    background: var(--dark);
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.ag-section-dark2 .program-card h4,
.ag-section-dark2 .why-card h4,
.ag-section-dark3 .program-card h4,
.ag-section-dark3 .why-card h4 {
    color: var(--white);
}

.ag-section-dark2 .program-card p,
.ag-section-dark2 .why-card p,
.ag-section-dark3 .program-card p,
.ag-section-dark3 .why-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== BRANCH CARDS ===== */
.branch-card {
    background: var(--dark-3);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 69, 0, 0.2);
}

.branch-card-header {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.branch-card-header > div {
    flex: 1;
}

.branch-badge {
    display: inline-block;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(255, 184, 0, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.branch-card-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1.3;
}

.branch-card-body {
    padding: 30px;
    flex: 1;
}

.contact-list {
    list-style: none;
    margin-bottom: 24px;
}

.contact-list li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.3);
    padding: 14px 24px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-map:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
}

/* ===== MAPS ===== */
.map-block {
    background: var(--dark-3);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: var(--transition);
}

.map-block:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 69, 0, 0.2);
}

.map-label {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--fire);
    padding: 18px 24px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.map-wrapper {
    padding: 0 24px 24px;
    position: relative;
}

.map-wrapper iframe {
    width: 100%;
    height: 260px;
    border: none;
    border-radius: 12px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--fire) 0%, #c0392b 100%);
    color: var(--white);
    text-align: center;
    padding: 70px 20px;
    position: relative;
    overflow: hidden;
}

.cta-banner h2 {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--white);
}

.cta-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

/* ===== HERO BUTTON ===== */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--fire);
    /* background: var(--white); -- REMOVED: causes unwanted white strip behind buttons in Home hero */
    border: none;
    padding: 18px 48px;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

/* ===== CTA BUTTON (CTA BANNER) ===== */
.cta-banner .btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--fire);
    background: var(--white);
    border: none;
    padding: 18px 48px;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cta-banner .btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .ag-section {
        padding: 80px 0;
    }
    .ag-heading {
        margin-bottom: 50px;
    }
    .ag-heading h2 {
        font-size: 42px;
    }
    .hero-eyebrow {
        font-size: 12px;
        letter-spacing: 2px;
    }
    .branch-card-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .maps-grid,
    .programs-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .branches-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 560px) {
    .ag-section {
        padding: 60px 0;
    }
    .ag-hero {
        min-height: 85vh;
    }
    .ag-heading h2 {
        font-size: 36px;
    }
    .container {
        padding: 0 16px;
    }
}

/* ===== HERO LOGO CENTERING ===== */
.ag-hero .hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.ag-hero .hero-logo img {
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .ag-hero .hero-logo img {
        max-width: 180px;
    }
}

@media (max-width: 560px) {
    .ag-hero .hero-logo img {
        max-width: 160px;
    }
}

/* ===== BRANCH CARD VARIATIONS ===== */

/* Branch 2 (Maharaniganj) - Alternate styling */
.branch-card.branch-card-alt .branch-card-header {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.branch-card.branch-card-alt .branch-badge {
    background: rgba(255, 69, 0, 0.15);
    color: var(--fire);
}

.branch-card.branch-card-alt .branch-card-header h3 {
    color: #fff;
}

.branch-card.branch-card-alt .branch-card-header h3 .branch-sub {
    font-size: 15px;
    opacity: 0.7;
    display: block;
}

/* Branch 1 (Civil Line) - Standard styling */
.branch-card.branch-card-main .branch-card-header h3 .branch-sub {
    font-size: 15px;
    display: block;
    margin-top: 2px;
}

/* Branch icon alignment */
.branch-card .branch-icon {
    font-size: 32px;
    line-height: 1;
}

/* ===== RESPONSIVE BRANCH CARDS ===== */
@media (max-width: 768px) {
    .branch-card .branch-card-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .branch-card .branch-icon {
        align-self: flex-start;
    }
}
