:root {
    --primary: #ff8c00;         /* Vibrant Saffron */
    --primary-dark: #e67e00;
    --secondary: #002e5d;       /* Premium Deep Blue */
    --accent: #d32f2f;          /* Attractive Red */
    --accent-hover: #b71c1c;
    --surface: #fdfdfd;
    --text: #1a1a1a;
    --text-muted: #666666;
    --border: #e0e0e0;
    --radius: 6px;
    --white: #ffffff;
    --shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
    --header-height: 140px;
    --top-bar-height: 40px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 65px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-transform: none;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--surface);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    text-transform: none;
}

main {
    flex: 1;
    padding-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary);
    font-weight: 700;
    text-transform: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Modern Premium Header & Top-Bar Styling
   ========================================================================== */
.top-bar {
    background: linear-gradient(90deg, #061121 0%, #002347 50%, #061121 100%);
    color: #ffffff;
    height: 42px;
    font-size: 0.82rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.top-contact-info {
    display: flex;
    gap: 25px;
    padding: 0 !important;
}

.top-info-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    font-weight: 500;
}

.top-info-icon {
    color: var(--primary);
    width: 14px;
    height: 14px;
}

.top-social-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.top-social-links a {
    color: rgba(255, 255, 255, 0.85) !important;
    background: rgba(255, 255, 255, 0.08);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.top-social-links a svg, .top-social-links a i {
    width: 13px;
    height: 13px;
    stroke-width: 2;
}

.top-social-links a:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.35);
}

/* legacy header neutralised */

/* legacy nav neutralised */

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 55px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.mobile-actions {
    display: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-join {
    background: var(--primary) !important;
    color: white !important;
    padding: 10px 20px !important;
    font-weight: 800 !important;
    font-size: 0.8rem !important;
    border-radius: 4px !important;
    text-transform: none;
}

.btn-donate {
    background: var(--accent) !important;
    color: white !important;
    padding: 10px 20px !important;
    font-weight: 800 !important;
    font-size: 0.8rem !important;
    border-radius: 4px !important;
    text-transform: none;
}

.menu-alt {
    background: var(--secondary);
    color: white;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: 4px;
}

/* Dropdown */
.nav-links li {
    position: relative;
    padding: 1.25rem 0;
}

.nav-links a {
    color: var(--text);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a:hover,
.nav-links li:hover > a {
    color: var(--primary);
    background: rgba(205, 19, 25, 0.05);
}

/* Dropdown Menu (Desktop) */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 250px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: grid;
    gap: 0.25rem;
    z-index: 1001;
    margin-top: 5px; /* Added gap from header */
}

.nav-links li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown a {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 8px;
    color: var(--text-muted);
}

.dropdown a:hover {
    background: rgba(205, 19, 25, 0.05);
    color: var(--primary);
    padding-left: 1.25rem;
}

.nav-cta {
    background-color: var(--primary);
    color: white !important;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(205, 19, 25, 0.3);
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(205, 19, 25, 0.4);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    cursor: pointer;
    color: var(--primary);
    padding: 0.5rem;
    z-index: 1002;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: radial-gradient(circle at top right, rgba(205, 19, 25, 0.08), transparent), 
                radial-gradient(circle at bottom left, rgba(205, 19, 25, 0.05), transparent);
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&q=80') center/cover;
    opacity: 0.05;
    z-index: -1;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

/* Membership Form & Auth */
.form-container {
    max-width: 450px;
    margin: 2rem auto;
    background: white;
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    background: #fdfdfd;
    outline: none;
    transition: var(--transition);
    font-size: 1rem;
}

.form-group input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(205, 19, 25, 0.1);
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent);
    color: white !important;
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(205, 19, 25, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(205, 19, 25, 0.08);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(205, 19, 25, 0.1);
}

/* Saffron Footer */
footer {
    padding: 5rem 0 0;
    background: #ff7b00; /* Kamdhenu Party Saffron */
    color: white;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand .brand-name {
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 1px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: 'Ã¢â€“Â¶';
    font-size: 0.7rem;
    color: #1a1a2e; /* Navy blue arrow */
}

.footer-links a:hover {
    color: #1a1a2e;
    padding-left: 8px;
}

.social-links a {
    background: white;
    color: #ff7b00;
}

.social-links a:hover {
    background: #1a1a2e;
    color: white;
}

/* Removed old footer-bottom styles */

/* Responsiveness */
/* Responsiveness - Moved below */
@media (max-width: 992px) {
    .mobile-toggle {
        display: block;
    }
}

/* Media query block moved */

@media (max-width: 480px) {
    .logo span {
        display: none;
    }
    
    .logo {
        font-size: 1rem;
    }
}

/* Home Page Specific Styles */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(205, 19, 25, 0.05) 0%, rgba(26, 26, 46, 0.05) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23cd1319" fill-opacity="0.03" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    background-size: cover;
    display: flex;
    align-items: center;
    position: relative;
    padding: calc(var(--header-height) + 2rem) 2rem 5rem; /* Consistent padding using variable */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(205, 19, 25, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(26, 26, 46, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.hero-text h1 span {
    color: var(--primary);
    display: block;
    position: relative;
}

.hero-text h1 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flag-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: float 6s ease-in-out infinite;
    padding: 40px;
    border: 1px solid rgba(205, 19, 25, 0.1);
}

.flag-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Removed old pseudo-elements */

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-icon {
    position: absolute;
    padding: 1rem;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary);
    animation: float 4s ease-in-out infinite;
}

.float-icon:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.float-icon:nth-child(2) { top: 20%; right: 10%; animation-delay: 1s; }
.float-icon:nth-child(3) { bottom: 20%; left: 5%; animation-delay: 2s; }
.float-icon:nth-child(4) { bottom: 10%; right: 15%; animation-delay: 3s; }

/* Stats Section */
.stats-bar {
    background: var(--secondary);
    padding: 3rem 2rem;
    margin-top: -5rem;
    position: relative;
    z-index: 2;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* About Section Home */
.about-section {
    padding: 6rem 2rem;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(205, 19, 25, 0.1);
}

.feature-icon-circle {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

/* Mission Section Home */
.mission-section {
    padding: 8rem 2rem;
    background: #1a1a2e !important;
    color: white !important;
    position: relative;
    overflow: hidden;
}

.mission-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: white !important;
}

.mission-text p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.15rem;
    line-height: 1.8;
}

.mission-text h2 span {
    color: var(--primary);
}

.mission-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mission-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white !important;
    font-size: 1.1rem;
}

.mission-list i {
    color: var(--primary);
    flex-shrink: 0;
}

/* CTA Section Home */
.cta-section-home {
    padding: 5rem 2rem;
    background: var(--primary);
    text-align: center;
    color: white;
}

.cta-section-home h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-section-home p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-white {
    background: white;
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --- FULL RESPONSIVENESS --- */

/* Tablet & Mobile (Standard) */
@media (max-width: 1024px) {
    .hero-content {
        gap: 2rem;
    }
    
    .flag-circle {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 968px) {
    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 span::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-visual {
        order: -1;
        margin-bottom: 3rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .mission-list li {
        justify-content: center;
    }
}

/* Mobile Small */
@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        justify-content: center;
    }

    .flag-circle {
        width: 250px;
        height: 250px;
        padding: 30px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-section {
        padding: 5rem 1.5rem;
    }
    
    .mission-text h2 {
        font-size: 2.2rem;
    }
    
    .mission-text p {
        font-size: 1rem;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Contact Page Specific Styles */
.contact-hero {
    background: var(--gradient);
    padding: 180px 2rem 100px; /* More padding to clear high header */
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: white;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-container {
    max-width: 1200px;
    margin: -4rem auto 4rem;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 380px 1fr; /* Fixed width for info column, flexible for form */
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 600px;
}

.contact-info {
    background: var(--secondary) !important;
    padding: 3rem 2rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.info-header {
    margin-bottom: 2.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-form-wrapper {
    padding: 3rem;
    background: white;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white !important;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    text-transform: none !important;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(205, 19, 25, 0.3);
}

.map-section {
    padding: 4rem 2rem;
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.emergency-banner {
    background: var(--secondary);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.emergency-banner a {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2; /* Info below form on mobile */
        padding: 3rem 1.5rem;
    }

    .contact-form-wrapper {
        padding: 3rem 1.5rem;
    }
    
    .contact-hero {
        padding-top: 150px;
        padding-bottom: 80px;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-container {
        margin-top: -3rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding-top: 130px;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .info-item {
        padding: 0.75rem;
    }
}

/* Home Page News & Blog Section */
.news-section {
    padding: 8rem 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(205, 19, 25, 0.1);
    border-color: rgba(205, 19, 25, 0.2);
}

.news-image {
    height: 220px;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    opacity: 0.8;
}

.news-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Home Page Gallery Section */
.gallery-section-home {
    padding: 8rem 0;
    background: var(--surface);
}

.gallery-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item-home {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.gallery-item-home img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
    transition: var(--transition);
}

.gallery-item-home:hover img {
    transform: scale(1.1);
}

.gallery-item-home.large {
    grid-column: span 2;
    grid-row: span 2;
}

/* Home Page Social Section */
.social-section-home {
    padding: 6rem 0;
    background: var(--secondary);
    color: white;
    text-align: center;
}

.social-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.social-card-home {
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-card-home:hover {
    background: var(--primary);
    transform: translateY(-5px);
    border-color: transparent;
}

.social-card-home i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.social-card-home h4 {
    color: white !important;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.social-card-home p {
    font-size: 0.85rem;
    opacity: 0.7;
}

.section-footer {
    text-align: center;
    margin-top: 4rem;
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 10px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-view-more:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

@media (max-width: 968px) {
    .gallery-grid-home {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .gallery-item-home {
        height: 250px;
    }
    
    .gallery-item-home.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 600px) {
    .gallery-grid-home {
        grid-template-columns: 1fr;
    }
    
    .gallery-item-home.large {
        grid-column: span 1;
    }
}

/* Global Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}
/* Media Hub Grid (BJP Style) */
.media-hub-section {
    padding: 4rem 0;
    background: #f4f4f4;
}

.media-hub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 20px;
    align-items: start;
}

.media-column {
    background: white;
    border-radius: 4px;
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 100%;
    min-height: 800px;
}

.column-header {
    background: var(--secondary);
    color: white;
    padding: 0;
    display: flex;
}

.column-tab {
    padding: 15px 25px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: none;
    cursor: pointer;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.column-tab.active {
    background: white;
    color: var(--secondary);
}

.column-content {
    padding: 20px;
}

.press-card {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.press-card:last-child {
    border-bottom: none;
}

.press-card .date {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 10px;
    display: block;
}

.press-card h4 {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--secondary);
    margin-bottom: 10px;
    text-transform: none;
}

.press-card .read-more {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
}

.event-card {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.event-date-box {
    background: #eee;
    padding: 10px;
    text-align: center;
    min-width: 60px;
    border-radius: 4px;
}

.event-date-box .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
}

.event-date-box .month {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: none;
    color: var(--primary);
}

.event-info h4 {
    font-size: 0.9rem;
    text-transform: none;
}

.social-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-thumb {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumb img {
    width: 100%;
    display: block;
}

.video-thumb .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-more-bar {
    text-align: right;
    padding: 20px;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.view-more-bar a {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: none;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: #fffafa;
    color: var(--text);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(205, 19, 25, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Responsive & Clean Typography */
@media (max-width: 992px) {
    .hero-slider-wrapper {
        min-height: 480px !important;
    }
    .custom-slide {
        min-height: 480px !important;
    }
    .hero-text-box {
        max-width: 100% !important;
        padding: 2.5rem 1rem !important;
    }
    .hero-text-box h1 {
        font-size: 2rem !important;
    }
    .slide-bg {
        background-position: center !important;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 110px;
    }
    .top-bar {
        height: auto;
        padding: 6px 0;
    }
    .top-bar .container {
        flex-direction: column;
        gap: 6px;
    }
    .top-contact-info {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    nav {
        height: 64px;
    }
    .logo img {
        height: 42px !important;
    }
    .logo-text span:first-child {
        font-size: 1.1rem !important;
    }
    .nav-links {
        display: none; /* Controlled by mobile menu toggle */
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        z-index: 999;
    }
    .hero-slider-wrapper {
        min-height: 440px !important;
    }
    .custom-slide {
        min-height: 440px !important;
    }
    .hero-text-box h1 {
        font-size: 1.7rem !important;
    }
    .hero-text-box p {
        font-size: 0.95rem !important;
    }
    .stat-card div:first-child {
        font-size: 2.5rem !important;
    }
    .navigator-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
}
/* Modern Premium Footer Styling */
footer {
    background: linear-gradient(180deg, #05101e 0%, #030a14 100%) !important;
    color: #ffffff;
    padding: 4.5rem 0 0;
    border-top: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.8), transparent);
}

.site-navigator {
    padding: 0 0 3.5rem;
}

.navigator-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.nav-col .sub-title {
    color: #ff8c00;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
    text-transform: uppercase !important;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-col a {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    margin-bottom: 0.85rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.nav-col a:hover {
    color: #ffffff;
    transform: translateX(4px);
    color: #ff8c00;
}

.nav-col .sub-col {
    margin-bottom: 2.5rem;
}

.footer-bottom {
    background: #02070e;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.55);
}

/* BJP Style Hero */
.hero-bjp {
    position: relative;
    background: #000;
}

/* legacy hero-slide neutralised */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    z-index: 1;
}

.hero-caption h1 {
    font-size: 4rem;
    color: white;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: none;
}

.hero-caption p {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* --- CONSOLIDATED RESPONSIVENESS OVERRIDES --- */
@media (max-width: 1024px) {
    .hero-content {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        background: #ffffff !important;
        flex-direction: column;
        justify-content: flex-start !important;
        padding: 4rem 1.5rem;
        z-index: 999;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex !important;
        gap: 0;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.7rem 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    .header-actions .btn {
        display: none !important; /* Hide buttons but keep the container for the toggle */
    }

    .mobile-toggle {
        display: block !important;
        margin-left: auto;
    }

    .nav-links .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
        border-top: 1px solid var(--border);
        margin-top: 0.5rem;
    }

    .dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        padding: 0.5rem 0 0.5rem 1.5rem !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
        width: 100% !important;
    }

    .nav-links li:hover .dropdown {
        display: grid !important;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    .nav-links a {
        width: 100%;
        justify-content: space-between;
    }

    .footer-grid, .navigator-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero {
        padding-top: calc(var(--header-height) + 3rem);
    }
}

@media (max-width: 768px) {
    :root {
        --top-bar-height: auto;
        --header-height: 60px; /* Smaller header for sticky */
    }

    body {
        padding-top: 0 !important; /* Avoid conflicts when using sticky */
    }

    main {
        padding-top: 0 !important; /* Use natural flow for sticky */
    }

    .top-bar {
        position: relative !important;
        height: auto;
        top: 0 !important;
        padding: 10px 0;
    }

    header {
        position: sticky !important;
        top: 0 !important;
        height: var(--header-height);
        background: #ffffff !important;
        z-index: 1000;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }

    nav {
        height: var(--header-height);
        padding: 0 1rem;
    }

    .logo img {
        height: 35px;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 5px;
    }
    .top-contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        font-size: 0.8rem;
    }

    .footer-grid, .navigator-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .newsletter-section form {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 992px) {
    .media-hub-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .media-column {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .logo span {
        display: none;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}


/* ==========================================================================
   Exact Match Reference Layout Styling (Header, Home, Footer)
   ========================================================================== */

/* Reset body padding for absolute flush design */
main {
    padding-top: 0 !important;
}

/* 1. Top Bar Exact */
.top-bar-exact {
    background: #ffffff;
    height: 42px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    font-size: 0.84rem;
    color: #374151;
}

.top-left-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.sep-line {
    color: #cbd5e1;
}

.top-right-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.social-circles {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sc-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.sc-icon svg, .sc-icon i {
    width: 14px !important;
    height: 14px !important;
    stroke-width: 2;
    color: #ffffff !important;
    fill: none;
}

.sc-tw svg {
    fill: #ffffff !important;
}

.sc-icon:hover {
    transform: translateY(-2px) scale(1.08);
}

.sc-fb { background: #1877f2 !important; }
.sc-yt { background: #ff0000 !important; }
.sc-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important; }
.sc-tw { background: #000000 !important; }
.sc-in { background: #0a66c2 !important; }

.btn-join-exact {
    background: #e67e00;
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(230, 126, 0, 0.35);
    transition: all 0.2s;
}

.btn-join-exact:hover {
    background: #cf6f00;
    box-shadow: 0 4px 12px rgba(230, 126, 0, 0.45);
}

/* 2. Middle Brand Header */
.middle-header-exact {
    background: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

/* 3. Main Green Nav Bar */
.main-nav-exact {
    background: #0d5c2c;
    height: 52px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-links-exact {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 0;
    width: 100%;
}

.nav-links-exact li a {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}

.nav-links-exact li a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.nav-links-exact .home-tab a {
    background: #e67e00;
    color: #ffffff;
    padding: 15px 22px;
}

.dropdown-parent {
    position: relative;
}

.sub-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 240px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 0 0 6px 6px;
    border-top: 3px solid #e67e00;
    z-index: 1000;
}

.dropdown-parent:hover .sub-dropdown {
    display: block;
}

.sub-dropdown a {
    color: #1f2937 !important;
    padding: 12px 18px !important;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
}

.sub-dropdown a:hover {
    background: #f8fafc !important;
    color: #0d5c2c !important;
}

/* 4. Action Navigation Cards */
.cards-grid-exact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.action-card-exact {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    gap: 15px;
}

.action-card-exact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.ac-light {
    background: #fbf7ee;
    border: 1px solid #eddcb9;
}

.ac-light .ac-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 2px 0;
}

.ac-light .ac-content p {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

.ac-light .ac-arrow {
    color: #92400e;
    margin-left: auto;
}

.ac-dark-green {
    background: #0d5c2c;
    border: 1px solid #0a4923;
}

.ac-dark-green .ac-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px 0;
}

.ac-dark-green .ac-content p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.ac-dark-green .ac-arrow {
    color: #ffffff;
    margin-left: auto;
}

.ac-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ac-icon-wrap svg, .ac-icon-wrap i {
    width: 28px;
    height: 28px;
}

/* 5. President & Priorities Exact Section */
.leadership-grid-exact {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
}

.president-exact-card {
    background: #ffffff;
    position: relative;
}

.pres-img-aura {
    position: relative;
    width: 170px;
    height: 170px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.saffron-arc-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    border-radius: 50%;
    z-index: 1;
}

.pres-cutout-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.pres-bio-details {
    flex: 1;
}

.pres-tag-badge {
    background: #ea580c;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.pres-hindi-name {
    font-size: 1.55rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.pres-eng-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #374151;
    margin: 0 0 2px 0;
}

.pres-degree {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ea580c;
}

/* Priorities Grid */
.priorities-exact-box {
    border-left: 2px solid #f3f4f6;
    padding-left: 30px;
}

.priorities-heading {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0d5c2c;
    margin-bottom: 20px;
}

.priorities-icons-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.p-item {
    text-align: center;
}

.p-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fbf7ee;
    border: 1px solid #e7d8b8;
    color: #92400e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    transition: transform 0.2s, background 0.2s;
}

.p-icon-circle:hover {
    transform: translateY(-3px);
    background: #ea580c;
    color: #ffffff;
    border-color: #ea580c;
}

.p-icon-circle svg, .p-icon-circle i {
    width: 22px;
    height: 22px;
}

.p-text {
    font-size: 0.72rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}

/* 6. Exact Reference Footer */
.footer-exact {
    background: #022013;
    position: relative;
    overflow: hidden;
}

.footer-tricolor-wave {
    height: 8px;
    background: linear-gradient(90deg, #ea580c 0%, #ea580c 33%, #ffffff 33%, #ffffff 66%, #10b981 66%, #10b981 100%);
    width: 100%;
}

.footer-grid-exact {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.f-logo-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.f-brand-title {
    display: flex;
    flex-direction: column;
}

.f-motto-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.f-social-links {
    display: flex;
    gap: 10px;
}

.f-soc {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    transition: transform 0.2s;
}

.f-soc:hover {
    transform: translateY(-2px);
}

.f-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.f-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.f-links-list li {
    margin-bottom: 10px;
}

.f-links-list li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s, transform 0.2s;
}

.f-links-list li a svg, .f-links-list li a i {
    width: 14px;
    color: #f59e0b;
}

.f-links-list li a:hover {
    color: #f59e0b;
    transform: translateX(4px);
}

.f-contact-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.f-c-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ffffff;
    font-size: 0.9rem;
}

.f-c-item svg, .f-c-item i {
    width: 18px;
    color: #f59e0b;
    margin-top: 2px;
    flex-shrink: 0;
}

.btn-join-kamdhenu-footer {
    background: #ea580c;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
    transition: background 0.2s;
}

.btn-join-kamdhenu-footer:hover {
    background: #c2410c;
}

.footer-skyline-wrap {
    width: 100%;
    line-height: 0;
    background: #022013;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .cards-grid-exact {
        grid-template-columns: repeat(2, 1fr);
    }
    .leadership-grid-exact {
        grid-template-columns: 1fr;
    }
    .priorities-exact-box {
        border-left: none;
        padding-left: 0;
    }
    .priorities-icons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .footer-grid-exact {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-exact {
        height: auto;
        padding: 8px 0;
    }
    .top-bar-exact .container-fluid {
        flex-direction: column;
        padding: 8px 15px !important;
        gap: 8px;
    }
    .top-left-contacts {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        font-size: 0.75rem;
        text-align: center;
    }
    .sep-line { display: none; }
    .top-right-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    .middle-header-exact {
        padding: 10px 0;
    }
    .middle-header-exact .container-fluid {
        padding: 5px 15px !important;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .brand-area {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100%;
        justify-content: center;
    }
    .brand-area img {
        height: 60px !important;
    }
    .vertical-divider {
        display: none !important;
    }
    .motto-box {
        text-align: center;
    }
    .parliament-bg-graphic { display: none; }
    .main-nav-exact {
        height: auto;
        padding: 8px 15px;
    }
    .main-nav-exact .container-fluid {
        padding: 0 !important;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    .nav-links-exact {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #064e3b;
        border-radius: 8px;
        margin-top: 10px;
        padding: 10px 0;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
    .nav-links-exact.active {
        display: flex !important;
    }
    .nav-links-exact li a {
        padding: 12px 20px !important;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        width: 100%;
    }
    .sub-dropdown {
        position: static !important;
        background: rgba(0,0,0,0.2) !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border-top: none !important;
        min-width: 100% !important;
        display: block !important;
        padding-left: 20px;
    }
    .sub-dropdown a {
        color: rgba(255,255,255,0.9) !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    }
    .mobile-nav-toggle {
        display: block !important;
        margin-left: auto;
        padding: 6px 10px;
        background: rgba(255,255,255,0.15);
        border-radius: 6px;
    }
    .exact-action-cards {
        padding: 1.5rem 15px !important;
    }
    .cards-grid-exact {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    .priorities-icons-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    .footer-exact {
        padding: 2.5rem 20px 1rem !important;
    }
    .footer-exact .container-fluid {
        padding: 0 !important;
    }
    .footer-grid-exact {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    .footer-middle-stripe {
        padding: 1.2rem 20px !important;
    }
    .footer-middle-stripe .container-fluid {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .card {
        padding: 1.8rem 1.2rem !important;
    }
}
/* ========================================================
   PREMIUM EYE-CATCHING MOBILE ENHANCEMENTS (Kamdhenu Party)
   ======================================================== */
@media (max-width: 768px) {
    /* Rich Vibrant Typography */
    body {
        font-size: 15px;
        -webkit-font-smoothing: antialiased;
    }
    h1 {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
        font-weight: 800 !important;
        letter-spacing: -0.3px;
    }
    h2 {
        font-size: 1.55rem !important;
        line-height: 1.3 !important;
        font-weight: 800 !important;
    }
    h3 {
        font-size: 1.25rem !important;
        font-weight: 700 !important;
    }

    /* Eye-Catching Slider on Mobile */
    .kamdhenu-hero-slider {
        height: 420px !important;
        min-height: 420px !important;
        padding: 0 !important;
    }
    .hero-slide {
        min-height: 420px !important;
        background-position: center center !important;
    }
    .slide-content-wrap {
        padding: 0 16px !important;
        width: 100% !important;
    }
    .slide-text-box {
        padding: 1.5rem 1.4rem !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, 0.96) !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22) !important;
        backdrop-filter: blur(10px) !important;
        border-width: 0 0 0 6px !important;
        width: 100% !important;
    }
    .slide-text-box h2 {
        font-size: 1.5rem !important;
        margin-bottom: 0.6rem !important;
        color: #064e3b !important;
    }
    .slide-text-box p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.2rem !important;
        color: #334155 !important;
    }
    .btn-slide {
        padding: 10px 18px !important;
        font-size: 0.88rem !important;
        border-radius: 20px !important;
        flex: 1;
        justify-content: center;
        text-align: center;
    }

    /* 4 Action Cards Mobile Styling */
    .exact-action-cards {
        padding: 1.5rem 15px !important;
    }
    .action-card-exact {
        padding: 14px 18px !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
    }
    .ac-icon-wrap {
        width: 44px !important;
        height: 44px !important;
    }

    /* Clean Crisp Logo & Emblem */
    .brand-area img {
        height: 58px !important;
        max-width: 220px !important;
        filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
    }
    .motto-box {
        display: none !important; /* Keep mobile header clean and logo centered */
    }

    /* Navigation Bar on Mobile */
    .main-nav-exact {
        background: #0d5c2c !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1001 !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
    }
    .mobile-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #e67e00 !important;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(230,126,0,0.4);
    }

    /* Priorities Grid */
    .priorities-icons-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .priority-item-box {
        padding: 14px 10px !important;
        border-radius: 12px !important;
    }
    .priority-item-box span {
        font-size: 0.82rem !important;
    }

    /* President Sushil Dubey Section */
    .pres-bio-wrap {
        padding: 1.5rem 1rem !important;
    }
    .pres-photo-glow {
        max-width: 220px !important;
        margin: 0 auto 1.5rem !important;
    }

    /* Digital ID Cards on Mobile */
    .cards-display-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }
    .id-card-item {
        padding: 1.2rem !important;
        border-radius: 14px !important;
    }

    /* Footer Mobile Polish */
    .footer-exact {
        padding: 2.5rem 15px 1.5rem !important;
    }
    .f-logo-wrap img {
        height: 60px !important;
    }
    .f-heading {
        font-size: 1.15rem !important;
        margin-bottom: 1rem !important;
    }
    .f-links-list li a {
        padding: 6px 0 !important;
        font-size: 0.9rem !important;
    }
}

/* Fix Hero Slider Overlay & Layout */
.kamdhenu-hero-slider {
    position: relative !important;
    width: 100% !important;
    height: 520px !important;
    min-height: 520px !important;
    overflow: hidden !important;
}
.hero-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    align-items: center !important;
    z-index: 1;
}
.hero-slide.active-slide {
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 2 !important;
}
.slide-content-wrap {
    width: 100% !important;
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
}
.slide-text-box {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    padding: 2.2rem 2.8rem !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
    max-width: 620px !important;
    position: relative !important;
    z-index: 5 !important;
}

@media (max-width: 768px) {
    .kamdhenu-hero-slider {
        height: auto !important;
        min-height: 480px !important;
    }
    .hero-slide {
        min-height: 480px !important;
    }
    .slide-content-wrap {
        padding: 0 16px !important;
    }
    .slide-text-box {
        max-width: 100% !important;
        padding: 1.5rem 1.2rem !important;
        border-radius: 16px !important;
    }
}

/* ==========================================================
   MOBILE VIEW FIX: LEADERSHIP, CARDS, TEXT OVERFLOW & LAYOUT
   ========================================================== */
@media (max-width: 768px) {
    /* Prevent any horizontal overflow */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    /* Leadership / President Section */
    .exact-leadership-section {
        padding: 2rem 15px !important;
    }
    .leadership-grid-exact {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    .president-exact-card {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 1.5rem 10px !important;
        background: #fdfcfb !important;
        border: 1px solid #fed7aa !important;
        border-radius: 16px !important;
    }
    .pres-img-aura {
        width: 140px !important;
        height: 140px !important;
        margin: 0 auto !important;
    }
    .pres-bio-details {
        width: 100% !important;
        text-align: center !important;
    }
    .pres-hindi-name {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin: 8px 0 4px !important;
    }
    .pres-eng-name {
        font-size: 1.1rem !important;
        margin-bottom: 6px !important;
    }
    .pres-degree {
        font-size: 0.85rem !important;
    }
    .pres-tag-badge {
        margin: 0 auto 6px !important;
    }

    /* Priorities Box on Mobile */
    .priorities-exact-box {
        border-left: none !important;
        padding-left: 0 !important;
        width: 100% !important;
    }
    .priorities-heading {
        text-align: center !important;
        font-size: 1.35rem !important;
        margin-bottom: 1.2rem !important;
    }
    .priorities-icons-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .p-item {
        padding: 12px 8px !important;
    }
    .p-icon-circle {
        width: 44px !important;
        height: 44px !important;
    }
    .p-text {
        font-size: 0.8rem !important;
    }

    /* Action Cards Mobile */
    .exact-action-cards {
        padding: 1.2rem 15px !important;
    }
    .cards-grid-exact {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .action-card-exact {
        padding: 12px 15px !important;
        width: 100% !important;
    }
    .action-card-exact h3 {
        font-size: 1.05rem !important;
    }
    .action-card-exact p {
        font-size: 0.78rem !important;
    }

    /* All Section Containers & Grids */
    section {
        padding: 2.5rem 15px !important;
    }
    .about-grid-wrap, .vm-grid-wrap, .state-grid-wrap, .news-event-wrap, .contact-grid-wrap {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* ==========================================================
   MOBILE FOOTER POLISH (White Stripe, Alignment & Clean Spacing)
   ========================================================== */
@media (max-width: 768px) {
    .footer-exact {
        padding: 2.5rem 15px 1rem !important;
    }
    .footer-middle-stripe {
        padding: 1.2rem 15px !important;
    }
    .footer-middle-stripe .container-fluid {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 0 !important;
    }
    .f-brand-tagline-wrap {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .f-stripe-sep {
        display: none !important;
    }
    .f-policy-links {
        width: 100% !important;
        justify-content: center !important;
        gap: 12px !important;
        font-size: 0.8rem !important;
    }
    .btn-join-kamdhenu-footer {
        width: 100% !important;
        justify-content: center !important;
        display: flex !important;
    }
}
