@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #3b165b; /* Dark Purple */
    --primary-light: #522b72;
    --orange: #f26222; /* Vibrant Orange */
    --orange-hover: #d8541a;
    --dark: #222222;
    --gray: #666666;
    --light-gray: #e0e0e0;
    --bg-light: #f5f6f8;
    --white: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --container-padding: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: 0 !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.m-0 { margin: 0; }

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--orange);
}

.section-title.left-align {
    display: block;
}

.section-title.left-align::after {
    left: 0;
    transform: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--orange);
    color: var(--white);
    border: 2px solid var(--orange);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--orange);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-outline {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Accessibility Bar */
.accessibility-bar {
    background-color: var(--primary);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}

.acc-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.acc-left a {
    color: var(--white);
    margin: 0 5px;
}

.acc-left a:hover {
    color: var(--orange);
}

.acc-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.font-resize button {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    width: 24px;
    height: 24px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 2px;
}

.font-resize button.active, .font-resize button:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.theme-toggle button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--white);
    cursor: pointer;
    margin-left: 5px;
}

.btn-light { background: #fff; }
.btn-dark { background: #333; }

.lang-select {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 2px 5px;
    font-size: 12px;
}

.social-top a {
    color: var(--white);
    margin-left: 10px;
}

/* Top Banner */
.top-banner {
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid #f0f0f0;
}

.top-banner-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding: 10px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.top-banner-img {
    /* width: 100%; */
    max-width: 650px;
    height: 80px;
    display: block;
    object-fit: contain;
}

.top-banner-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.icse-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .top-banner-container {
        padding: 5px 10px;
        gap: 3px;
    }
    .icse-logo-img {
        height: 90px;
    }
}

@media (max-width: 480px) {
    .top-banner-container {
        gap: 0px;
    }
    .icse-logo-img {
        height: 65px;
    }
}

/* Fix for WordPress Admin Bar Gap on Sticky Nav */
.admin-bar .main-nav {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    .admin-bar .main-nav {
        top: 46px !important;
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary);
    line-height: 1.2;
}

.logo-text p {
    font-size: 14px;
    color: var(--gray);
}

.header-right {
    display: flex;
    gap: 20px;
}

.gov-logo {
    height: 50px;
    object-fit: contain;
}

/* Main Nav */
.main-nav {
    background-color: var(--primary-light);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.menu-toggle {
    display: none;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    display: block;
    padding: 15px 12px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
}

.nav-links > li > a:hover {
    background-color: var(--orange);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
    border-top: 3px solid var(--orange);
}

.has-drop:hover .dropdown,
.has-drop.active .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark);
    font-size: 14px;
    border-bottom: 1px solid var(--light-gray);
}

.dropdown li a:hover {
    background-color: var(--bg-light);
    color: var(--orange);
    padding-left: 25px;
}

/* Hero Section Slider */
.hero-slider {
    position: relative;
    width: 100%;
    background-color: #1a0a2e;
    overflow: hidden;
    margin-top: -25px;
}

.slider-container {
    position: relative;
    width: 100%;
}

.hero.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.hero.slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding-top: 10%;
    z-index: 3;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.1) 70%,
        transparent 100%
    );
}

.hero-content {
    color: var(--white);
    max-width: 600px;
    text-align: center;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-content .banner-desc,
.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Make inner banners full page height as well */
.inner-banner {
    height: 56.25vw !important; /* Perfectly matches 16:9 aspect ratio */
    margin-top: -25px !important;
    display: flex;
    align-items: center;
    background-position: center !important; /* Centers the perfectly fit image */
}

/* Make inner banner images clearer by reducing overlay opacity */
.inner-banner::before {
    background: linear-gradient(135deg, rgba(59, 22, 91, 0.5), rgba(242, 98, 34, 0.4)) !important;
}

/* Leadership */
.leadership {
    background-color: #f0f5ff;
    position: relative;
    z-index: 10;
    padding: 60px 0 80px;
}

.leader-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 30px;
    margin-top: 20px; /* Resetting margin as we are using padding now */
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.leader-card {
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 20px;
    padding: 35px 25px; /* Increased padding slightly for larger size */
    text-align: center;
    width: 100%;
    max-width: 320px;
    justify-self: center;
    transition: transform 0.3s;
}

.leader-card:hover {
    transform: translateY(-10px);
}

.leader-img {
    width: 140px; /* Increased from 120px to 140px */
    height: 140px; /* Increased from 120px to 140px */
    background-color: var(--bg-light);
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--orange);
    overflow: hidden;
}

.leader-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.leader-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 5px;
}

.leader-card h3:first-of-type {
    color: var(--orange);
}

.leader-card p {
    font-size: 14px;
    color: var(--gray);
}

/* About Section */
.about-section {
    padding: 20px 0;
    background-color: var(--white);
    position: relative;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 16px;
    color: var(--gray);
}

.read-more {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
}

.read-more:hover {
    color: var(--primary);
}

/* Journey Timeline */
.journey-section {
    padding: 60px 0;
}

.timeline-wrapper {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
}

.timeline-line {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    z-index: 1;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.t-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.t-dot {
    width: 24px;
    height: 24px;
    background-color: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.t-item.active .t-dot, .t-item:hover .t-dot {
    background-color: var(--orange);
    border-color: var(--orange);
    transform: scale(1.2);
}

.t-item span {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--gray);
}

.t-item.active span {
    color: var(--primary);
}

.timeline-desc {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.year-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--orange);
    margin-bottom: 10px;
}

/* Objectives & Functions */
.objectives-section {
    padding: 80px 0;
}

.obj-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.obj-list {
    margin-bottom: 30px;
}

.obj-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--gray);
}

.num-box {
    width: 40px;
    height: 40px;
    background-color: var(--orange);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 4px;
    margin-right: 15px;
    flex-shrink: 0;
}

.obj-left p {
    color: var(--gray);
    margin-bottom: 20px;
}

.key-functions {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 10px;
    padding: 40px;
    height: 100%;
}

.kf-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.kf-logo {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    border-radius: 8px;
}

.kf-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
}

.kf-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kf-list i {
    color: var(--orange);
}

/* Initiatives */
.initiatives {
    padding: 50px 0;
}

.init-card {
    display: flex;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-top: 40px;
}

.init-img {
    flex: 1;
    overflow: hidden;
}

.init-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.init-card:hover .init-img img {
    transform: scale(1.05);
}

.init-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tag {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--orange);
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.init-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
}

.init-content p {
    color: var(--gray);
    margin-bottom: 30px;
}

/* Centers & Stats */
.centers-stats {
    padding: 80px 0;
}

.cs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.map-box {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.stats-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-box i {
    font-size: 32px;
    margin-bottom: 15px;
}

.stat-box h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--gray);
    font-weight: 500;
}

/* Gallery */
.gallery {
    padding: 80px 0;
}

.gal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.gal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gal-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.gal-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gal-item:hover img {
    transform: scale(1.05);
}

.gal-item.large {
    height: 100%;
}

.gal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 500;
}

/* Reports */
.reports {
    padding: 80px 0;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.report-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    padding: 40px 30px;
    border-radius: 8px;
    transition: all 0.3s;
}

.report-card:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.rep-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.report-card h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 10px;
}

.report-card p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.download {
    color: var(--orange);
    font-weight: 500;
    font-size: 14px;
}

/* Partners */
.partners {
    padding: 60px 0;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.p-logo {
    width: 190px;
    height: 100px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-weight: 500;
    transition: transform 0.3s ease;
}

.p-logo:hover {
    transform: translateY(-5px) scale(1.05);
}

.p-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.p-logo:nth-child(4) img,
.p-logo:nth-child(5) img {
    border-radius: 50%;
    mix-blend-mode: normal;
    box-shadow: none;
    clip-path: circle(48% at 50% 50%);
    transform: scale(1.4); /* Scaled up to match the visual size of the others */
}



/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.f-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.f-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    background-color: var(--white);
}

.f-logo h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 1.2;
}

.f-logo span {
    font-size: 12px;
    color: var(--light-gray);
    text-transform: uppercase;
}

.f-social a {
    color: var(--white);
    margin-left: 15px;
    font-size: 18px;
}

.f-social a:hover {
    color: var(--orange);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.f-col h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.f-desc {
    color: var(--light-gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.f-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--light-gray);
    font-size: 14px;
}

.f-contact i {
    color: var(--orange);
}

.f-col ul li {
    margin-bottom: 10px;
}

.f-col ul a {
    color: var(--light-gray);
    font-size: 14px;
}

.f-col ul a:hover {
    color: var(--orange);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: var(--light-gray);
}

.f-bottom-links a {
    color: var(--light-gray);
    margin-left: 15px;
}

.f-bottom-links a:hover {
    color: var(--orange);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .header-container, .footer-top { flex-direction: column; text-align: center; gap: 20px; }
    .nav-links { flex-wrap: wrap; justify-content: center; }
    .hero-content h1 { font-size: 36px; }
    .obj-grid, .cs-grid, .init-card, .footer-links-grid { grid-template-columns: 1fr; }
    .init-card { flex-direction: column; }
    .reports-grid { grid-template-columns: 1fr 1fr; }
    .gal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .reports-grid, .stats-wrapper, .gal-subgrid { grid-template-columns: 1fr; }
    .leader-container { flex-direction: column; align-items: center; }
    .timeline-items { flex-wrap: wrap; gap: 20px; justify-content: center; }
    .timeline-line { display: none; }
}

/* About Page Specific Styles */
.about-hero {
    position: relative;
    height: 300px;
    background-image: url('image/hero_banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-bottom: 30px;
}
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 60, 0.85); /* Dark blue overlay */
}
.about-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}
.breadcrumb {
    color: var(--white);
    font-size: 14px;
}
.breadcrumb a {
    color: #4da6ff;
}

.about-page-section {
    padding: 60px 0;
}
.about-page-section.bg-light {
    background-color: var(--bg-light);
}

.sub-title {
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.main-heading {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.about-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.about-grid-reverse {
    direction: rtl;
}
.about-grid-reverse > * {
    direction: ltr;
}

.image-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    padding: 15px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
}

.orange-border-list {
    list-style: none;
    margin-top: 20px;
}
.orange-border-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--dark);
    line-height: 1.5;
}
.orange-border-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: calc(100% - 10px);
    width: 3px;
    background-color: var(--orange);
}

/* Contact Page Specific Styles */
.contact-card-wrapper {
    position: relative;
    max-width: 450px;
    margin: 40px auto 0;
}
.dotted-pattern {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 150px;
    background-image: radial-gradient(#aaa 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: 1;
}
.contact-card {
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: 50px 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border-bottom: 6px solid var(--primary);
    text-align: left;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}
.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 15px;
}
.contact-card p {
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 30px;
    line-height: 1.6;
}
.c-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
}
.c-info i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}
.btn-purple {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #fae6fa; /* Light pink/purple */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 50px;
}

.feedback-form {
    max-width: 1000px;
    margin: 0 auto;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.feedback-form input, .feedback-form textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid var(--light-gray);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--dark);
    background: transparent;
    outline: none;
}
.feedback-form input::placeholder, .feedback-form textarea::placeholder {
    color: #999;
}
.feedback-form input:focus, .feedback-form textarea:focus {
    border-bottom-color: var(--orange);
}
.feedback-form textarea {
    height: 80px;
    resize: none;
}
.btn-submit {
    background-color: var(--orange);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-submit:hover {
    background-color: #d8541a;
}
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .contact-card {
        clip-path: none;
    }
}

/* Global Lightbox Styles */
.global-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 100000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--orange);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {transform:scale(0.8); opacity: 0;}
    to {transform:scale(1); opacity: 1;}
}

/* Team Member Image Hover Effects */
.leader-img, .leader-img-box, .exec-img {
    cursor: pointer;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease !important;
}

.leader-img:hover, .leader-img-box:hover, .exec-img:hover {
    box-shadow: 0 10px 25px rgba(242, 98, 34, 0.5) !important;
    transform: translateY(-5px);
    border-color: var(--primary) !important;
}

.leader-img img, .leader-img-box img, .exec-img img {
    transition: transform 0.4s ease !important;
}

.leader-img:hover img, .leader-img-box:hover img, .exec-img:hover img {
    transform: scale(1.15) !important;
}

/* Event Box & Countdown Timer Styles (Globally loaded) */
.featured-event {
    margin-top: -100px;
    position: relative;
    z-index: 5;
}

.event-box {
    background: var(--white);
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.event-details h2 {
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    line-height: 1.2;
}

.event-details p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 20px;
}

.event-info-list {
    list-style: none;
    margin-top: 30px;
}

.event-info-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    font-weight: 500;
}

.event-info-list li i {
    color: var(--orange);
    font-size: 24px;
}

.event-timer {
    background: var(--primary);
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    color: var(--white);
}

.event-timer h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.timer-box h3 {
    font-size: 36px;
    color: var(--orange);
    margin-bottom: 5px;
}

.timer-box span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.winner-badge {
    background: #fff3e0;
    color: #ef6c00;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    display: inline-block;
}

@media (max-width: 992px) {
    .event-box { grid-template-columns: 1fr; gap: 40px; }
    .featured-event { margin-top: -60px; }
}

@media (max-width: 600px) {
    .timer-grid { grid-template-columns: repeat(2, 1fr); }
    .event-box { padding: 20px 15px; border-radius: 16px; }
    .featured-event { margin-top: -20px; }
}

@media (max-width: 480px) {
    .featured-event { margin-top: 0; }
    .event-box { padding: 18px 12px; }
    .event-details h2 { font-size: 19px; }
}



.map-link:hover img { transform: scale(1.05); opacity: 1 !important; filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.2)); }



/* State Detail Page */

.state-name-banner { background-color: #f1f1f1; border: 2px solid #000; padding: 15px 0; margin-bottom: 40px; }

.state-name-banner h2 { font-size: 28px; margin: 0; font-weight: 700; color: #000; }

.association-title { font-size: 22px; font-weight: 800; margin-bottom: 40px; }

.assoc-divider { border-top: 2px solid #000; margin: 40px 0; opacity: 1; }

.officials-grid { display: flex; justify-content: center; gap: 80px; text-align: center; flex-wrap: wrap; }

@media (max-width: 768px) {
    .officials-grid { gap: 30px; }
    .official-img { width: 150px; height: 190px; }
    .official-card h4 { font-size: 16px; }
}

@media (max-width: 480px) {
    .officials-grid { flex-direction: column; align-items: center; gap: 25px; }
    .official-img { width: 130px; height: 165px; }
}

.official-img { border: 2px solid #000; width: 200px; height: 250px; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; background-color: #fff; overflow: hidden; }

.official-img img { width: 100%; height: 100%; object-fit: contain; }

.official-card h4 { font-size: 20px; font-weight: 800; margin-bottom: 5px; }

.state-details-section h4 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }

.details-list { list-style: none; padding: 0; margin: 0; }

.details-list li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }

.details-list li i { color: #000080; margin-top: 4px; font-size: 16px; width: 20px; text-align: center; }

.last-updated { text-align: center; margin-top: 40px; font-family: cursive; font-size: 16px; color: #555; }



/* Global Medal Tally Styles */
.tally-container {
    max-width: 800px;
    margin: 0 auto;
}

.tally-table {
    width: 100%;
    border-collapse: collapse;
}

.tally-table th {
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
}

.tally-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.medal {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.gold { background: #ffd700; }
.silver { background: #c0c0c0; }
.bronze { background: #cd7f32; }
