/* Custom Properties */
:root {
    --primary-color: #e53935;
    /* MNM Red */
    --secondary-color: #000000;
    --light-color: #f4f4f4;
    --dark-color: #333333;
    --max-width: 1100px;
    /* --font-family: 'Roboto', sans-serif; */
    --transition: all 0.3s ease;
    font-family: 'Times New Roman', serif;
    letter-spacing: 0.5px;
}

/* General Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
    /* Prevents horizontal scroll on mobile */
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

/* Make images and containers responsive */
img {
    max-width: 100%;
    height: auto;
}

.container,
.form-container {
    width: 85%;
    max-width: none;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
}

/* Responsive font sizes */
body {
    font-size: 16px;
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
    }

    .container,
    .form-container {
        padding: 8px;
    }

    input,
    textarea,
    button {
        font-size: 16px;
        width: 100%;
    }
}

.container {
    width: 85%;
    max-width: none;
    margin: auto;
    padding: 0 20px;
}

.text-center,
.page-heading {
    text-align: center;
    text-align: center;
}

.page-heading1 {
    text-align: center;
}

.bg-light {
    background: var(--light-color);
}

.section-padding {
    padding: 60px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: #d32f2f;
}

.btn-secondary {
    background: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background: #555;
}

.btn-primary-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 23px;
}

.btn-primary-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.gallery-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 72px);
    gap: 20px;
}

.gallery-btn {
    padding: 20px 40px;
    font-size: 1.5rem;
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.gallery-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.image-gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px;
}

.image-gallery-container img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-gallery-container img:hover {
    transform: scale(1.05);
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    display: block;
    width: 100%;
    /* optional */
}

.center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

.video-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.video-item {
    flex: 1 1 calc(50% - 40px);
    max-width: 560px;
    min-width: 300px;
}

.video-item iframe {
    width: 100%;
    height: 315px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-item iframe:hover {
    transform: scale(1.05);
}

/* Header/Navbar */
header {
    background: #fff;
    color: var(--dark-color);
    border-bottom: 2px solid var(--light-color);
    position: sticky;
    top: 0;
    z-index: 2000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    flex-wrap: wrap;
    gap: 10px;
}

.logo {
    padding-top: 10px;
}

.logo img {
    height: 60px;
    width: auto;
}

header nav ul {
    display: flex;
    align-items: center;
}

header nav ul li a {
    display: block;
    padding: 15px 15px;
    color: var(--dark-color);
    font-weight: 500;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

/* Dropdown Styles */
.dropdown-parent {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--light-color);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 3000;
}

.dropdown li a {
    padding: 10px 15px;
    border-bottom: 1px solid var(--light-color);
}

.dropdown-parent:hover .dropdown {
    display: block;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
    z-index: 2001;
    position: relative;
    top: -40px;
    left: 150px;
    width: auto;
    height: auto;
    padding: 5px;
    line-height: 1;
    align-self: center;
}

#mobile-menu-btn {
    order: 3;
}

/* Hero Section */

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);
    color: #d70506;
    border: 2px solid #000;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Grid & Features */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    header .container.header-flex {
        flex-direction: column;
        align-items: flex-start;

    }

    .logo {
        margin-bottom: 10px;
    }

    #main-nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    #main-nav ul li {
        width: 100%;
        margin: 0;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        background: none;
    }

    .menu-toggle {
        display: block;
    }

    #main-nav {
        display: none;
        width: 100%;
    }

    #main-nav.active {
        display: block;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .leader-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .leader-img img {
        width: 80vw;
        max-width: 300px;
        height: auto;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .social-icons a {
        margin: 0 8px;
    }

    .fb-page,
    .snapwidget-widget,
    #twitter-feed {
        width: 100% !important;
        min-width: 0 !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .event-title {
        font-size: 1rem;
    }

    .container {
        padding: 0 5px;
    }

    .leader-img img {
        max-width: 200px;
    }

    .footer-links h4 {
        font-size: 1rem;
    }

    .copyright p,
    .copyright div {
        font-size: 0.9rem;
    }
}

/* Make images fluid */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility for hiding menu toggle on desktop */
.menu-toggle {
    display: none;
}

/* Flex/grid fixes for desktop */
.header-flex,
.leader-content,
.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-box {
    padding: 20px;
    border: 1px solid var(--light-color);
    border-radius: 8px;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Leader Section */
.leader-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.leader-img {
    flex: 1;
}

.leader-img img {
    width: 100%;
    max-width: 450px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.leader-text {
    flex: 2;
    /* text-align: justify; */
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: #333
}

.heading {
    font-weight: 700;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: #fff;
    padding: 40px 0 20px;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    padding-bottom: 30px;
    border-bottom: 1px solid #555;
    margin-bottom: 20px;
}

footer h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

footer a {
    color: #ccc;
}

footer a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}


/* ===========================================
   UNIVERSAL RESPONSIVE UPDATES
   =========================================== */

@media (max-width: 992px) {
    .container {
        max-width: 95%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    /* Mobile Navigation */
    .menu-toggle {
        display: block;
    }

    #main-nav {
        display: none;
        /* Hidden by default, shown via JS .active class */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background: #fff;
        border-top: 1px solid var(--light-color);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    #main-nav.active {
        display: flex;
    }

    header nav ul {
        flex-direction: column;
        width: 100%;
    }

    header nav ul li {
        width: 100%;
        text-align: center;
    }

    header nav ul li a {
        border-bottom: 1px solid var(--light-color);
    }

    .dropdown {
        position: static;
        display: none;
        /* Hide links in mobile view by default */
        width: 100%;
        box-shadow: none;
        background: var(--light-color);
    }

    /* Hero Section */
    .hero {
        min-height: 400px;
    }

    .hero h1 {
        font-size: 1.8rem;
        padding: 0 20px;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Layout Stacking */
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .leader-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 45px;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .section-padding {
        padding: 40px 0;
    }

    .nav-btn {
        padding: 8px 12px;
        font-size: 18px;
    }
}

/* leader, candidate */
.page-title {
    text-align: center;
    padding: 40px 0;
    background: var(--light);
    margin-bottom: 40px;
}

/* Leader Content */
.leader-flex {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.leader-img {
    flex: 0 0 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.leader-img img {
    width: 100%;
    height: auto;
    display: block;
}

.leader-intro {
    flex: 1;
}

.full-width-text p,
.leader-intro p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    /* text-align: justify; */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .leader-flex {
        flex-direction: column;
        align-items: center;
    }

    .leader-img {
        flex: 0 0 auto;
        width: 100%;
        max-width: 350px;
    }

    nav {
        display: none;
    }

    /* Add your JS toggle logic here */
}

/* contact */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Services/Events Page */
.page-heading {
    text-align: center;
    font-size: 2.0rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 40px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-flex;
}

.page-heading1 {
    text-align: center;
    font-size: 2.0rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 40px;
    padding-bottom: 10px;
    display: block;
    padding-left: 0;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: left;
}

.event-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0;
    /* Remove padding to allow image to fill the top */
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    /* Ensures the image corners are rounded */
    display: flex;
    flex-direction: column;
}

.event-card img {
    width: 100%;
    height: 200px;
    /* Increased image height */
    object-fit: cover;
}

.event-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* text-align: justify; */
}

/* Content Page Styles */
.content-wrapper {
    display: grid;
    gap: 2rem;
}

.content-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* text-align: justify; */
}

.content-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.content-text {
    line-height: 1.8;
}

.content-text h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.content-text p {
    font-size: 1.1rem;
    color: #555;
}

/* Breadcrumb Styles */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    /* background-color: #e9ecef; */
    border-radius: 0.25rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item+.breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.25rem;
    padding-left: 0.25rem;
    color: #6c757d;
    content: "/";
}

.breadcrumb-item.active {
    color: #6c757d;
}


@media (min-width: 768px) {
    .content-item {
        grid-template-columns: 1fr 2fr;
        align-items: center;
    }

    .content-item:nth-child(even) {
        grid-template-columns: 2fr 1fr;
    }

    .content-item:nth-child(even) .content-image {
        order: 2;
    }
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.event-title {
    font-size: 1.25rem;
    /* Standardized font size */
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 15px;
    flex-grow: 1;
    /* Pushes the meta/link to the bottom */
}

.event-meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #718096;
}

.event-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 15px;
}

.event-category {
    background-color: #edf2f7;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    color: var(--primary-color);
}

.read-more-link i {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.read-more-link:hover i {
    transform: translateX(4px);
}

/* Pagination */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-link {
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-link:hover {
    background-color: var(--light-color);
    border-color: #cbd5e0;
}

.page-link.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

@media (min-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

body.contact-page-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-gradient);
    color: #333;
}

/* Perfect Centering Logic */
.page-wrapper {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    /* Prevents touching screen edges on mobile */
}

.contact-container {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);


    /* The "Wide" Layout */
    width: 100%;
    max-width: 800px;
    /* Increased width as requested */
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-header h2 {
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

/* Universal Grid: 2 columns on desktop, 1 on mobile */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #edf2f7;
    border-radius: 10px;
    font-size: 1rem;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- UNIVERSAL RESPONSIVENESS --- */
@media (max-width: 768px) {
    .contact-container {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        /* Stack inputs on small screens */
    }

    .form-header h2 {
        font-size: 1.8rem;
    }
}

/* content */
/* Hide all sections by default */
.content-item {
    display: none;
}

/* Show only the section that matches the URL ID */
.content-item:target {
    display: block;
}

html {
    scroll-behavior: smooth;
}

/* Row and Column Layouts */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.col-md-6 {
    flex: 1 1 calc(50% - 10px);
    min-width: 300px;
}

.d-flex {
    display: flex;
}

.align-items-start {
    align-items: flex-start;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .col-md-6 {
        flex: 1 1 100%;
        min-width: 100%;
    }
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 991px) {
    .section-padding {
        padding: 40px 0;
    }

    .hero {
        min-height: 400px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    header .container {
        min-height: 60px;
    }

    header nav ul li a {
        padding: 12px 10px;
    }

    .page-heading {
        font-size: 1.8rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 30px 0;
    }

    .container {
        width: 95%;
        padding: 0 15px;
    }

    .hero {
        min-height: 350px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    header .container {
        min-height: 50px;
    }

    #main-nav {
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        border-bottom: 2px solid var(--light-color);
    }

    #main-nav.active {
        display: flex;
    }

    #main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    #main-nav ul li {
        width: 100%;
    }

    header nav ul li a {
        padding: 15px 15px;
        border-bottom: 1px solid var(--light-color);
    }

    .logo {
        width: 100%;
        margin-bottom: 5px;
    }

    .social-icons {
        margin-top: 10px;
    }

    .logo img {
        height: 50px;
    }

    .page-heading {
        font-size: 1.5rem;
    }

    .event-card {
        margin-bottom: 20px;
    }

    .image-gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .image-gallery-container img {
        height: 180px;
    }

    .video-item {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 100%;
    }

    .video-item iframe {
        height: 250px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .leader-content {
        flex-direction: column;
    }

    .leader-img {
        width: 100%;
        margin-bottom: 20px;
    }

    .leader-text {
        width: 100%;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .gallery-btn {
        padding: 15px 30px;
        font-size: 1.2rem;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        background: none;
        border: none;
    }

    .dropdown li a {
        padding-left: 30px;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 600px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }

    .section-padding {
        padding: 20px 0;
    }

    .hero {
        min-height: 300px;
    }

    .hero h1 {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    header {
        border-bottom: 1px solid var(--light-color);
    }

    header .container {
        min-height: 45px;
        padding: 0 10px;
    }

    .logo img {
        height: 40px;
    }

    .social-icons {
        display: flex;
        gap: 8px;
        margin-top: 8px;
    }

    .social-icons a {
        font-size: 14px;
    }

    .page-heading {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    h1,
    h2,
    h3,
    h4 {
        margin-bottom: 0.3rem;
    }

    .image-gallery-container {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px;
    }

    .image-gallery-container img {
        height: 200px;
    }

    .video-gallery {
        gap: 10px;
        padding: 10px;
    }

    .video-item iframe {
        height: 200px;
    }

    .event-card {
        margin-bottom: 15px;
    }

    .event-title {
        font-size: 0.9rem;
    }

    .btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .btn-primary-outline {
        padding: 6px 12px;
    }

    .gallery-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .center-text {
        font-size: 24px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links div {
        width: 100%;
    }

    input,
    textarea,
    button {
        font-size: 16px;
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .row {
        gap: 15px;
    }

    .col-md-6 {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .fb-page {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 8px;
    }

    .section-padding {
        padding: 15px 0;
    }

    .hero {
        min-height: 250px;
    }

    .hero h1 {
        font-size: 1rem;
    }

    .hero p {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }

    .page-heading {
        font-size: 1rem;
    }

    .event-title {
        font-size: 0.85rem;
    }

    .gallery-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .gallery-buttons {
        min-height: calc(100vh - 50px);
        flex-direction: column;
    }
}

/* Bootstrap Grid Utilities */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
    gap: 20px;
}

.col-md-6 {
    flex: 0 0 calc(50% - 20px);
    padding: 0;
    box-sizing: border-box;
}

.d-flex {
    display: flex;
}

.align-items-start {
    align-items: flex-start;
}

.social-embed {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.fb-page,
.elfsight-app-7bc7b513-d599-40ed-b440-a5c4db9ab555 {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 28px;
}

@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
    }

    .row {
        gap: 0;
    }
}

/* Utility Classes for Flexbox */
.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.align-items-flex-start {
    align-items: flex-start;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.px-1 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-2 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-3 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-1 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-2 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-3 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Responsive Typography Utilities */
@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }

    .show-mobile {
        display: block;
    }
}

@media (min-width: 769px) {
    .show-mobile {
        display: none;
    }
}

/* fb, x integration */
.social-card {
    background: #fff;
    /* padding: 15px; */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    /* Keeps columns even */
}

.social-embed-wrapper {
    display: flex;
    justify-content: center;
    overflow: hidden;
    min-height: 600px;
    /* Forces a consistent height */
}

/* Fixes Facebook's width bug on some mobile browsers */
.fb-page,
.fb-page span,
.fb-page iframe {
    width: 100% !important;
}

/* slider image */
* { margin: 0; padding: 0; box-sizing: border-box; }
.slider {
            width: 100%;
            /* Use dvh (dynamic viewport height) for better mobile browser support */
            height: 50vh; 
            overflow: hidden;
            position: relative;
            background-color: #000;
            /* Prevents pull-to-refresh gestures on mobile while swiping the slider */
            touch-action: pan-y; 
        }

        .slides {
            display: flex;
            width: 100%;
            height: 100%;
            transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .slide {
            min-width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slide img {
            width: 100%;
            height: 100%;
            /* 'cover' ensures the area is filled, 'contain' ensures full image is seen */
            /* Using 'cover' is standard for hero banners */
            object-fit: fill; 
            object-position: center;
        }

        /* Navigation Arrows */
        .prev, .next {
            cursor: pointer;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            background-color: rgba(0, 0, 0, 0.3);
            border-radius: 50%;
            z-index: 20;
            transition: 0.3s;
            opacity: 0;
        }

        .slider:hover .prev, .slider:hover .next { opacity: 1; }
        .next { right: 15px; }
        .prev { left: 15px; }

        /* Dots */
        .dots {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 10;
        }

        .dot {
            width: 8px;
            height: 8px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            cursor: pointer;
            transition: 0.3s;
        }

        .dot.active { background: #fff; transform: scale(1.4); }

        /* --- RESPONSIVE HEIGHTS --- */

        /* Mobile (Portrait) */
        @media (max-width: 480px) {
            .slider { height: 30vh; } /* Shorter height for small phones */
            .prev, .next { display: none; } /* Arrows usually in the way on small screens */
        }

        /* Tablets */
        @media (min-width: 768px) {
            .slider { height: 60vh; }
        }

        /* Laptops/Desktops */
        @media (min-width: 1024px) {
            .slider { height: 85vh; }
        }