/* ==========================================================================
   Premium Styles for Rashtriya Hindustani Manch
   ========================================================================== */

:root {
    --primary-color: #E8612E;
    /* Saffron tone */
    --primary-dark: #C94E21;
    --secondary-color: #128246;
    /* Green tone */
    --accent-color: #FFB347;
    --dark-color: #1A1A24;
    --light-color: #F8F9FA;
    --text-color: #4A4A5A;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);

    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-color: #FAFAFC;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: var(--font-heading);
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-success {
    color: var(--secondary-color) !important;
}

.bg-success {
    background-color: var(--secondary-color) !important;
}

.text-warning {
    color: var(--accent-color) !important;
}

.bg-warning {
    background-color: var(--accent-color) !important;
}

.rounded-xl {
    border-radius: var(--radius-xl) !important;
}

.rounded-top-xl {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0 !important;
}

.tracking-wide {
    letter-spacing: 1.5px;
}

.font-weight-500 {
    font-weight: 500 !important;
}

.text-sm {
    font-size: 13px;
}

.transition-all {
    transition: all 0.3s ease;
}

.hover-text-white:hover {
    color: #fff !important;
}

.hover-bg-primary:hover {
    background-color: var(--primary-color) !important;
}

/* Buttons */
.btn {
    font-family: var(--font-heading);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(232, 97, 46, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-color);
    font-size: 0.85rem;
}

.top-socials a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 15px;
    transition: color 0.3s ease;
}

.top-socials a:hover {
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.logo-box {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    font-family: var(--font-heading);
    border: 2px solid white;
}

.nav-link {
    color: var(--text-color) !important;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 15px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-item:hover .nav-link::after,
.nav-item.active .nav-link::after {
    width: calc(100% - 30px);
}

.nav-item.active .nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Political Banner Hero Section */
.banner-hero {
    min-height: 75vh;
    background-color: #FFFDF8;
    position: relative;
    border-bottom: 5px solid var(--secondary-color);
}

.banner-band-top,
.banner-band-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 20px;
    /* background: linear-gradient(90deg, #FF9933, #E8612E, #FF9933); */
    background-size: 200% auto;
    z-index: 10;
}

.banner-band-top {
    top: 0;
}

.banner-band-bottom {
    bottom: 0;
    height: 35px;
}

/* .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 253, 248, 0.9)), url('https://png.pngtree.com/background/20220731/original/pngtree-silhouette-of-a-protesting-crowd-with-flags-and-banners-picture-image_1895326.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
} */


.banner-bg {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(158deg,
            rgba(211, 47, 47, 0.85) 0%,
            rgba(211, 47, 47, 0.85) 50%,
            rgba(13, 71, 161, 0.85) 50%,
            rgba(13, 71, 161, 0.85) 100%),
        url('https://png.pngtree.com/background/20220731/original/pngtree-silhouette-of-a-protesting-crowd-with-flags-and-banners-picture-image_1895326.jpg');

    background-size: cover;
    background-position: center;
    z-index: 0;
}

@media (max-width: 768px) {

    .banner-bg {

        background:
            linear-gradient(141deg,
                rgba(211, 47, 47, 0.85) 0%,
                rgba(211, 47, 47, 0.85) 50%,
                rgba(13, 71, 161, 0.85) 50%,
                rgba(13, 71, 161, 0.85) 100%),
            url('https://png.pngtree.com/background/20220731/original/pngtree-silhouette-of-a-protesting-crowd-with-flags-and-banners-picture-image_1895326.jpg');

        background-size: cover;
        background-position: center;

    }

}


.banner-person-left img,
.banner-person-right img {
    max-height: 85%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    margin-bottom: -5px;
    /* sit flush on the bottom band */
}

/* New Hover Effect for Leader Circles */
.leader-circle {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    cursor: pointer;
}

.leader-circle:hover {
    transform: translateY(-20px) scale(1.1) !important;
    box-shadow: 0 15px 30px rgba(232, 97, 46, 0.4) !important;
    z-index: 10 !important;
}

.banner-center-content {
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.banner-title-hindi {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 4.5rem;
    letter-spacing: 1px;
}

/* Indian Flag Colors */

.flag-saffron {
    color: #FF9933;
}

.flag-white {
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.flag-green {
    color: #138808;
}

.banner-subtitle-hindi {
    color: #ffffff;
    text-shadow: 3px 3px 0px #28a745a1, -1px -1px 0px #28a74500, 1px -1px 0px #28a74500, -1px 1px 0px #27c54b00, 0px 5px 10px rgb(0 0 0 / 0%);
    font-size: 2.2rem;
}

.name-plate {
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 6;
    white-space: nowrap;
}

.crowd-silhouette {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    height: 80px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,100 L0,80 Q25,50 50,75 T100,80 T150,60 T200,90 T250,55 T300,85 T350,65 T400,90 T450,50 T500,80 T550,60 T600,85 T650,55 T700,90 T750,60 T800,80 T850,50 T900,85 T950,60 T1000,80 L1000,100 Z" fill="rgba(232,97,46,0.15)"/></svg>');
    background-size: cover;
    z-index: 2;
}

/* Cards & Components */
.glass-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.initiative-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.initiative-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg) !important;
}

.card-img-wrapper {
    height: 220px;
}

.card-img-top {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.initiative-card:hover .card-img-top {
    transform: scale(1.08);
}

.hover-fill {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hover-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.btn-outline-primary.hover-fill::before {
    background: var(--primary-color);
}

.btn-outline-warning.hover-fill::before {
    background: var(--accent-color);
}

.btn-outline-success.hover-fill::before {
    background: var(--secondary-color);
}

.hover-fill:hover::before {
    transform: scaleX(1);
}

.hover-fill:hover {
    color: #fff !important;
}

/* Forms */
.form-control {
    font-family: var(--font-body);
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(232, 97, 46, 0.2);
    border-color: transparent;
}

/* Desktop Overrides for Hero Banner */
@media (min-width: 992px) {
    .banner-hero {
        min-height: 80vh;
    }

    .banner-title-hindi {
        font-size: 5rem;
        margin-bottom: 0.5rem !important;
        white-space: nowrap;
        font-family: 'Noto Sans Devanagari', sans-serif;
    }

    .flag-saffron {
        color: #FF9933;
    }

    .flag-white {
        color: #ffffff;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    }

    .flag-green {
        color: #138808;
    }

    .banner-subtitle-hindi {
        font-size: 2.5rem;
        margin-bottom: 2.5rem !important;
        white-space: nowrap;
    }

    .small-leaders .leader-circle {
        width: 100px !important;
        height: 100px !important;
        margin: 0 15px !important;
        padding: 5px !important;
    }

    .small-leaders .leader-circle.shadow-lg {
        width: 140px !important;
        height: 140px !important;
        transform: translateY(-15px) !important;
        padding: 6px !important;
    }

    .banner-person-right img,
    .banner-person-left img {
        max-height: 90%;
        transform: scale(1.1);
        transform-origin: bottom center;
    }

    .banner-logo img {
        width: 120px !important;
        height: 120px !important;
    }

    .name-plate {
        font-size: 1rem;
        bottom: 34px;
        padding: 0.5rem 1.5rem !important;
        white-space: nowrap !important;
        width: auto !important;
        min-width: max-content;
    }
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .banner-title-hindi {
        font-size: 3rem;
        font-family: 'Noto Sans Devanagari', sans-serif;
    }

    .flag-saffron {
        color: #FF9933;
    }

    .flag-white {
        color: #ffffff;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    }

    .flag-green {
        color: #138808;
    }

    .banner-subtitle-hindi {
        font-size: 1.8rem;
    }

    .btn-donate {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .banner-hero {
        min-height: 38vh;
        padding-top: 15px;
    }

    /* Reset negative pull-up on mobile — form sits naturally in the flow */
    .footer-form-box {
        margin-top: 2rem !important;
    }

    .banner-title-hindi {
        font-size: 2.2rem;
        /* text-shadow: 2px 2px 0px #FFF; */
        font-family: 'Noto Sans Devanagari', sans-serif;
    }

    .flag-saffron {
        color: #FF9933;
    }

    .flag-white {
        color: #ffffff;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    }

    .flag-green {
        color: #138808;
    }

    .banner-subtitle-hindi {
        font-size: 1.3rem;
    }

    .banner-person-right img,
    .banner-person-left img {
        max-height: 200px;
    }

    .name-plate {
        font-size: 0.7rem;
        bottom: 25px;
        padding-left: 0.4rem !important;
        padding-right: 0.4rem !important;
    }

    .small-leaders .leader-circle {
        width: 65px !important;
        height: 65px !important;
        padding: 3px !important;
    }

    .small-leaders .leader-circle.shadow-lg {
        width: 90px !important;
        height: 90px !important;
        transform: translateY(-8px) !important;
        padding: 4px !important;
    }

    .banner-logo img {
        width: 70px !important;
        height: 70px !important;
    }

    /* Header Responsive */
    .navbar-brand img {
        width: 50px !important;
        height: 50px !important;
    }

    .brand-title {
        font-size: 1.1rem;
    }

    .brand-subtitle {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .banner-hero {
        padding-top: 10px;
    }

    .banner-title-hindi {
        font-size: 2.2rem;
        position: relative;
        top: -18px;
        font-family: 'Noto Sans Devanagari', sans-serif;
        letter-spacing: 1px;

    }

    .flag-saffron {
        color: #FF9933;
    }

    .flag-white {
        color: #ffffff;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    }

    .flag-green {
        color: #138808;
    }

    .banner-subtitle-hindi {
        font-size: 1.1rem;
    }

    .banner-logo img {
        width: 60px !important;
        height: 60px !important;
    }

    .small-leaders {
        margin-top: 1rem !important;
        padding-bottom: 0.5rem !important;
    }

    .small-leaders .leader-circle {
        width: 50px !important;
        height: 50px !important;
        padding: 2px !important;
        margin: 0 5px !important;
    }

    .small-leaders .leader-circle.shadow-lg {
        width: 70px !important;
        height: 70px !important;
        transform: translateY(-5px) !important;
        padding: 3px !important;
    }

    .banner-person-right img {
        max-height: 160px;
    }

    .name-plate {
        font-size: 0.65rem;
        bottom: 15px;
    }

    .crowd-silhouette {
        height: 50px;
        bottom: 20px;
    }

    /* Header Responsive smaller */
    .navbar-brand img {
        width: 40px !important;
        height: 40px !important;
    }

    .brand-title {
        font-size: 0.95rem;
    }

    .brand-subtitle {
        font-size: 0.65rem;
    }
}

@media (max-width: 768px) {

    /* Global padding reductions for mobile */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .py-lg-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .mb-5 {
        margin-bottom: 1.5rem !important;
    }

    .display-4 {
        font-size: 2rem;
    }

    /* Welcome Section */
    #about .p-5,
    #about .p-lg-5 {
        padding: 1.5rem !important;
    }

    #about .col-md-5 img {
        height: 250px !important;
        width: 100%;
        object-fit: cover;
    }

    /* Initiatives & Get Involved */
    .card-body {
        padding: 1.5rem !important;
    }

    /* Footer */
    footer .pt-5 {
        padding-top: 2.5rem !important;
    }

    .col-lg-4.mb-5 {
        margin-bottom: 2.5rem !important;
    }
}

.info-section {
    background: #f8fafc;
    border-radius: 12px;
}

.info-section .btn {
    font-size: 16px;
    min-width: 200px;
}


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    color: white;
    transform: scale(1.1);
}
