/* ========== Google Fonts ========== */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');


/* ========== Scrollbar ========== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    width: 12px;
    border-left: 0 solid white;
    border-right: 0 solid white;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(30deg, #eee 40%, #0b0a0a 60%);
    width: 0;
    height: 25%;
    transition: .5s ease;
    cursor: pointer;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}


/* ========== Template Colors ========== */

:root {
    --primary-color: #3a7823;
    --secondary-color: #3c63cd;
    --primary-text-color: #2f2e2e;
    --secondary-text-color: #4f4f4f;
    --primary-white: #eee;
    --primary-black: #0b0a0a;
    --primary-blue: #233a78;
    --primary-maroon: #78233a;
    --primary-green: #3a7823;
    --primary-red: #cb342b;
    --secondary-white: #e9eff5;
    --secondary-black: #1c1b1b;
    --secondary-blue: #3c63cd;
    --secondary-maroon: #892b45;
    --secondary-green: #4a8933;
    --secondary-red: #d3463e;
    --white: #fff;
    --black: #000;
    --red: #ff0000;
    --green: #00ff00;
    --blue: #0000ff;

    /*Socialmedia App Icon Colors*/
    --linkedin: #0077b5;
    --twitter: #1da1f2;
    --twitter-x: #000;
    --instagram: #d62976;
    --facebook: #1877f2;
    --pinterest: #e60023;
    --threads: #000;
    --youtube: #ff0000;
    --google-plus: #db4a39;

    /*Gradient Colors*/
    --gradient-1: linear-gradient(225deg, #233a78 0%, #3c63cd 100%);
    --gradient-2: linear-gradient(225deg, #233a78 0%, #3c63cd 100%);
}


/* ========== General ========== */

body {
    font-family: 'Raleway', sans-serif;
    overflow-x: hidden;
}

span {
    font-weight: 400;
}

a {
    text-decoration: none;
}

/*Headings*/
.heading {
    font-size: 48px;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 25px;
}

.subheading {
    font-size: 18px;
    color: var(--primary-text-color);
    font-weight: 400;
    margin-bottom: 25px;
    font-family: 'Open Sans', sans-serif;
}

.text {
    font-size: 16px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 25px;
    font-family: 'Open Sans', sans-serif;

}

/*Social Icons*/
.social-icons ul {
    margin-bottom: 0px;
    transition: transform 0.5s;
}

.social-icons ul li {
    font-size: 15px;
    display: inline-block;
    margin-right: 5px;
    margin-left: 5px;
}

.social-icons ul li a {
    overflow: hidden;
    border-radius: 50%;
    display: block;
    color: var(--primary-white);
    height: 40px;
    line-height: 40px;
    width: 40px;
    border: 1px solid transparent;
    text-align: center;
    border-color: var(--primary-white);
}

/*Socialmedia Icons Hover*/
.linked-in-hover:hover {
    color: var(--linkedin) !important;
    transition: all 0.5s ease;
    background-color: var(--white);
    border-color: var(--linkedin);
    transform: translateY(-8px);
}

.twitter-x-hover:hover {
    color: var(--twitter-x) !important;
    transition: all 0.5s ease;
    background-color: var(--white);
    border-color: var(--twitter-x);
    transform: translateY(-8px);
}

.instagram-hover:hover {
    color: var(--instagram) !important;
    transition: all 0.5s ease;
    background-color: var(--white);
    border-color: var(--instagram);
    transform: translateY(-8px);
}

.facebook-hover:hover {
    color: var(--facebook) !important;
    transition: all 0.5s ease;
    background-color: var(--white);
    border-color: var(--facebook);
    transform: translateY(-8px);
}

.youtube-hover:hover {
    color: var(--youtube) !important;
    transition: all 0.5s ease;
    background-color: var(--white);
    border-color: var(--youtube);
    transform: translateY(-8px);
}

/*Button*/
.btn {
    z-index: 2;
    letter-spacing: .5px;
    border-radius: 0;
    font-weight: 500;
    overflow: hidden;
    position: absolute;
    line-height: inherit;
    display: inline-block;
    color: var(--white);
    border: 2px solid transparent;
    text-transform: capitalize;
    transition: all .5s ease !important;
}

.btn.button {
    font-size: 15px !important;
    font-weight: 500;
    color: var(--white);
    padding: 9px 27px !important;
    line-height: 1.8em !important;
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
    font-family: 'Raleway', sans-serif;
}

.btn.btn-rounded {
    border-radius: 50px;
}

.btn.navbar-donate-btn {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-black);
    color: var(--primary-white);
    font-weight: 600;
    animation: pulse-bg 3s infinite ease-in-out;
    transition: all 0.3s ease;
    margin-left: 1px;
}

@keyframes pulse-bg {
    0% {
        background-color: var(--primary-maroon);
    }

    50% {
        background-color: var(--primary-red);
    }

    100% {
        background-color: var(--primary-green);
    }
}

.btn.navbar-donate-btn-hvr:hover {
    background-color: var(--primary-white);
    border: 2px solid var(--primary-black);
    color: var(--primary-black);
    font-weight: 600;
}

.btn.navbar-donate-btn i {
    margin-right: 5px;
    font-size: 13px;
    display: inline-block;
    animation: drop-icon 2s infinite ease-in-out;
}

@keyframes drop-icon {
    0% {
        transform: translateX(-3px);
        opacity: 0.8;
    }

    50% {
        transform: translateX(3px);
        opacity: 1;
    }

    100% {
        transform: translateX(-3px);
        opacity: 0.8;
    }
}

.btn.banner-donate-btn {
    background-color: var(--primary-white);
    border: 2px solid var(--primary-black);
    color: var(--primary-black);
    font-weight: 600;
    margin-left: 10px;
}

.btn.banner-donate-btn-hvr:hover {
    background-color: var(--secondary-black);
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
    font-weight: 600;
}

.btn.banner-donate-btn i {
    margin-right: 5px;
    font-size: 13px;
    display: inline-block;
}

.btn.black-btn {
    background: var(--secondary-black);
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
    font-weight: 600;
}

.btn.black-btn-hvr:hover {
    background-color: var(--primary-white);
    border: 2px solid var(--primary-black);
    color: var(--primary-black);
    font-weight: 600;
}

.btn.black-btn i {
    margin-right: 5px;
    font-size: 13px;
    animation: drop-icon 2s infinite ease-in-out;
}

@keyframes drop-icon {
    0% {
        transform: translateX(-3px);
        opacity: 0.8;
    }

    50% {
        transform: translateX(3px);
        opacity: 1;
    }

    100% {
        transform: translateX(-3px);
        opacity: 0.8;
    }
}

.btn.white-btn {
    background: var(--primary-white);
    border: 2px solid var(--primary-black);
    color: var(--primary-black);
    font-weight: 600;
}

.btn.white-btn-hvr:hover {
    background-color: var(--secondary-black);
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
}

.btn.white-btn i {
    margin-right: 5px;
    font-size: 15px;
}

.btn.white-btn-cta {
    background: var(--primary-white);
    border: 2px solid var(--primary-black);
    color: var(--primary-black);
    font-weight: 600;
    min-width: 130px;
    text-align: center;
}

.btn.white-btn-cta:hover {
    background: transparent;
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
    font-weight: 600;
}

.btn.white-btn-cta i {
    margin-right: 5px;
    font-size: 13px;
    animation: drop-icon 2s infinite ease-in-out;
}

@keyframes drop-icon {
    0% {
        transform: translateX(-3px);
        opacity: 0.8;
    }

    50% {
        transform: translateX(3px);
        opacity: 1;
    }

    100% {
        transform: translateX(-3px);
        opacity: 0.8;
    }
}

.btn.donate-btn-cta {
    background: transparent;
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
    font-weight: 600;
    min-width: 130px;
    text-align: center;
}

.btn.donate-btn-cta:hover {
    background: var(--primary-black);
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
    font-weight: 600;
}

.btn.donate-btn-cta i {
    margin-right: 5px;
    font-size: 15px;
}

.btn.donate-btn-footer {
    background: var(--primary-color);
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
    font-weight: 600;
}

.btn.donate-btn-footer:hover {
    background: var(--primary-black);
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
    font-weight: 600;
}

.btn.donate-btn-footer i {
    margin-right: 5px;
    font-size: 15px;
}

.subscribe-btn {
    padding: 24px 16px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    height: 35px !important;
    min-width: 140px !important;
    background-color: var(--primary-black) !important;
    border: 1px solid var(--primary-white) !important;
    color: var(--primary-white) !important;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid var(--primary-black);
}

.subscribe-btn:hover {
    background-color: var(--primary-color) !important;
    color: var(--primary-white);
    border: 2px solid var(--primary-white);
}

.subscribe-btn i {
    margin-right: 8px;
    font-size: 13px;
    animation: drop-icon 2s infinite ease-in-out;
}

@keyframes drop-icon {
    0% {
        transform: translateX(-3px);
        opacity: 0.8;
    }

    50% {
        transform: translateX(3px);
        opacity: 1;
    }

    100% {
        transform: translateX(-3px);
        opacity: 0.8;
    }
}

.contact-subscribe-btn {
    padding: 24px 16px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    height: 35px !important;
    min-width: 140px !important;
    background-color: transparent !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid var(--primary-black);
}

.contact-subscribe-btn:hover {
    background-color: var(--primary-black) !important;
    color: var(--primary-white) !important;
    border: 2px solid var(--primary-color);
}

.contact-subscribe-btn i {
    margin-right: 8px;
    font-size: 13px;
    animation: drop-icon 2s infinite ease-in-out;
}

@keyframes drop-icon {
    0% {
        transform: translateX(-3px);
        opacity: 0.8;
    }

    50% {
        transform: translateX(3px);
        opacity: 1;
    }

    100% {
        transform: translateX(-3px);
        opacity: 0.8;
    }
}

.btn.white-btn-abt {
    background: var(--primary-white);
    border: 2px solid var(--primary-black);
    color: var(--primary-black);
    font-weight: 600;
    min-width: 130px;
    text-align: center;
}

.btn.white-btn-abt:hover {
    background: var(--primary-color);
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
    font-weight: 600;
}

.btn.white-btn-abt i {
    margin-right: 5px;
    font-size: 13px;
    animation: drop-icon 2s infinite ease-in-out;
}

@keyframes drop-icon {
    0% {
        transform: translateX(-3px);
        opacity: 0.8;
    }

    50% {
        transform: translateX(3px);
        opacity: 1;
    }

    100% {
        transform: translateX(-3px);
        opacity: 0.8;
    }
}


/* ========== Socialmedia Icons Hover ========== */

/*Social Icons*/
.social-icons ul {
    margin-bottom: 0px;
    transition: transform 0.5s;
}

.social-icons ul li {
    font-size: 15px;
    display: inline-block;
    margin-right: 5px;
    margin-left: 5px;
}

.social-icons ul li a {
    overflow: hidden;
    border-radius: 50%;
    display: block;
    color: var(--primary-white);
    height: 40px;
    line-height: 40px;
    width: 40px;
    border: 1px solid transparent;
    text-align: center;
    border-color: var(--primary-white);
}

/*Socialmedia Icons Hover*/
.linked-in-hover:hover {
    color: var(--linkedin);
    transition: all 0.5s ease;
    background-color: var(--white);
    border-color: var(--linkedin);
    transform: translateY(-8px);
}

.twitter-x-hover:hover {
    color: var(--twitter-x);
    transition: all 0.5s ease;
    background-color: var(--white);
    border-color: var(--twitter-x);
    transform: translateY(-8px);
}

.instagram-hover:hover {
    color: var(--instagram);
    transition: all 0.5s ease;
    background-color: var(--white);
    border-color: var(--instagram);
    transform: translateY(-8px);
}

.facebook-hover:hover {
    color: var(--facebook);
    transition: all 0.5s ease;
    background-color: var(--white);
    border-color: var(--facebook);
    transform: translateY(-8px);
}


/* ========== Loader ========== */

.loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 111111;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pulse-circle {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 45px;
}

.logo-wrapper img {
    width: 90px;
    height: auto;
    position: relative;
    z-index: 2;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.loader-description {
    margin-top: 60px;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 800;
    opacity: 1;
}

/* Pulse ring styles */
.pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    animation: pulseAnim 8s ease-out infinite;
    opacity: 0;
}

.pulse-1 {
    animation-delay: 0s;
}

.pulse-2 {
    animation-delay: 0.5s;
}

.pulse-3 {
    animation-delay: 1s;
}

.pulse-4 {
    animation-delay: 1.5s;
}

.pulse-5 {
    animation-delay: 2s;
}

.pulse-6 {
    animation-delay: 2.5s;
}

.pulse-7 {
    animation-delay: 3s;
}

.pulse-8 {
    animation-delay: 3.5s;
}

/* Pulse animation */
@keyframes pulseAnim {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}



/* ========== Navbar ========== */

/* General Navbar Styling */
.navbar {
    background-color: var(--primary-white);
    padding: 0;
    /* Remove extra space */
    height: 100px;
    /* Match logo height */
    display: flex;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Add spacing between each nav item */
.navbar .nav-item {
    margin: 0 5px;
    /* Adjust the value to control spacing */
}


.navbar-brand img {
    width: 300px;
    height: auto;
}

.navbar-nav {
    margin-left: auto;
    align-items: center;
    display: flex;
}

/* Consistent nav link styling */
.navbar .nav-link span {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 5px;
    color: var(--secondary-black);
    position: relative;
    display: inline-block;
    /* Key for proper underline width */
    transition: all 0.3s ease;
    text-transform: uppercase;
}

/* Hover effect */
.navbar .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar .nav-link span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar .nav-link:hover span::after {
    width: 100%;
}

/* Chevron icon styling under the nav title */
.navbar .nav-link .fa-chevron-down {
    font-size: 12px;
    color: var(--secondary-black);
    transition: transform 0.3s ease;
}

/* Optional: Rotate arrow on hover */
.navbar .nav-item.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Styling */
.nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
    visibility: visible;
    opacity: 1;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--primary-red);
    min-width: 200px;
    z-index: 9999;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 0;
    margin-top: 10px;
}

/* ===== DROPDOWN MENU ITEMS ===== */
.dropdown-item span {
    position: relative;
    display: inline-block;
}

.dropdown-item:hover {
    color: var(--primary-color);
    background-color: transparent;
    /* Optional: keep no bg */
}

/* Underline effect for dropdowns too */
.dropdown-item span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.dropdown-item:hover span::after {
    width: 100%;
}

/* Remove old dropdown arrow ::after if still present */
.nav-item.dropdown .nav-link::after {
    content: none !important;
    display: none !important;
}

/* Styling the Arrow Icon */
.nav-item.dropdown .nav-link i {
    margin-left: 5px;
    font-size: 14px;
    /* Adjust icon size */
    transition: transform 0.3s ease;
    /* Smooth transition for the arrow */
}

/* Rotate the arrow when hovering over the dropdown */
.nav-item.dropdown:hover .nav-link i {
    transform: rotate(180deg);
    /* Arrow rotates */
}

/* Media Query for Mobile */
@media (max-width: 767px) {
    .navbar-brand img {
        width: 200px;
        padding-left: 10px;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        width: 100%;
    }
}



/*side menu button*/
.sidemenu_btn {
    width: 36px;
    padding: 6px;
    right: 40px;
    top: 20px;
    z-index: 999;
    margin-top: 12px;
    margin-left: 16px;
    cursor: pointer;
    position: absolute;
    display: inline-block;
    transition: all .3s linear;
}

.sidemenu_btn span {
    height: 2px;
    width: 100%;
    background: var(--secondary-text-color);
    display: block;
    margin: auto;
    transition: .5s ease;
}

.sidemenu_btn:hover span:first-child,
.sidemenu_btn:hover span:last-child {
    width: 70%;
    background-color: var(--secondary-text-color);
}

.sidemenu_btn:hover span:nth-child(2) {
    background-color: var(--secondary-text-color);
}

.sidemenu_btn span:nth-child(2) {
    margin: 4px 0;
}

/*close button*/
#close_side_menu {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 1001;
    width: 50px;
    /* Increased from 40px */
    height: 50px;
    /* Increased from 40px */
    cursor: pointer;
}

#close_side_menu::before,
#close_side_menu::after {
    content: '';
    position: absolute;
    left: 12px;
    /* Adjusted for larger width */
    top: 24px;
    /* Adjusted for vertical centering */
    width: 26px;
    /* Increased line width */
    height: 3px;
    /* Thicker line for visibility */
    background-color: var(--primary-white);
    transition: 0.3s ease;
}

#close_side_menu::before {
    transform: rotate(45deg);
}

#close_side_menu::after {
    transform: rotate(-45deg);
}



/* ============ Side Menu Styles ============ */
.side-menu {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    justify-content: space-between;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.side-menu.active {
    display: flex;
    overflow: hidden;
    /* prevent side-menu from scrolling */
}

.side-menu-content {
    overflow-y: auto;
    height: 100vh;
}


.side-menu .side-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 1001;
    font-size: 30px;
    color: var(--primary-white);
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

.bg-video {
    position: fixed;
    /* <-- was absolute */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.side-menu-content {
    display: flex;
    width: 100%;
    color: white;
}

/* Left Menu */
.menu-left {
    flex: 1;
    background: rgba(0, 0, 0, 0.70);
    padding-top: 100px;
    padding-bottom: 100px;
    padding-right: 100px;
    padding-left: 180px;
    position: relative;
    overflow-y: auto;
    /* <-- Enable vertical scrolling */
    max-height: 100vh;
    /* <-- Prevent content from spilling beyond screen */
}

.main-menu {
    list-style: none;
    padding: 0;
}

.main-menu li {
    margin: 20px 0;
    font-size: 22px;
}

.main-menu li a {
    color: var(--primary-white);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 35px;
    font-weight: 100;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.main-menu li a:hover {
    transform: translateX(5px);
}

.submenu {
    display: none;
    flex-direction: column;
    margin-top: 40px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.submenu.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.submenu a {
    color: var(--primary-white);
    margin-bottom: 10px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 35px;
    font-weight: 100;
    letter-spacing: 1px;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    color: var(--primary-white);
    border: none;
    font-size: 28px;
    cursor: pointer;
}

.back-btn {
    background: none;
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
    padding: 10px 30px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
    align-self: flex-start;
    border-radius: 50px;
}

.back-btn i {
    margin-right: 10px;
    font-size: 15px;
    animation: drop-icon 2s infinite ease-in-out;
}

@keyframes drop-icon {
    0% {
        transform: translateX(-3px);
        opacity: 0.8;
    }

    50% {
        transform: translateX(3px);
        opacity: 1;
    }

    100% {
        transform: translateX(-3px);
        opacity: 0.8;
    }
}

/* Right Info Panel */
.menu-right {
    flex: 1;
    background: rgba(0, 0, 0, 0.70);
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.menu-right h2.side-menu-right-heading {
    font-size: 35px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.menu-right h2.side-menu-right-sub-heading {
    font-size: 28px;
    margin-bottom: -10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.menu-right p {
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 16px;
}

.side-menu-copyright {
    font-size: 16px !important;
    color: var(--primary-white);
    margin-top: -10px !important;
}

@media (max-width: 768px) {
    .side-menu-content {
        display: flex;
        flex-direction: column;
        height: 100vh;
    }

    .menu-left,
    .menu-right {
        flex: unset;
        width: 100%;
        padding: 40px 30px;
    }

    .menu-left {
        max-height: none;
        overflow: visible;
        padding-top: 100px;
        padding-bottom: 60px;
        padding-right: 40px;
        padding-left: 40px;
    }

    .main-menu li {
        margin: 10px 0;
        font-size: 22px;
    }

    .main-menu li a {
        color: var(--primary-white);
        font-size: 25px;
        font-weight: 100;
        letter-spacing: 1px;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .main-menu li a:hover {
        transform: translateX(5px);
    }

    .submenu a {
        margin-bottom: 10px;
        font-size: 22px !important;
        font-weight: 100;
        letter-spacing: 1px;
    }

    .menu-right {
        display: block;
        padding: 30px 0px;
    }

    .menu-right h2 {
        font-size: 22px;
        margin-bottom: -10px;
    }

    .menu-right p {
        margin-top: 20px;
        margin-bottom: 30px;
        font-size: 14px;
    }

    .submenu a {
        font-size: 16px;
    }

    .side-menu-copyright {
        font-size: 12px !important;
        color: var(--primary-white);
        margin-top: -10px !important;
    }
}



/* ========== Banner Style ========== */

.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Swiper full-screen background */
.banner-swiper {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark overlay */
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
    z-index: 1;
    pointer-events: none;
}


/* Centered content overlay */
.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.banner-content .heading {
    font-size: 40px;
    margin-top: 80px;
    margin-bottom: 10px;
}

.banner-content .text {
    font-size: 20px;
    margin-bottom: 40px;
    font-family: Raleway;
}

.button-center {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Swiper navigation (Next/Prev buttons) */
.swiper-button-prev,
.swiper-button-next {
    color: var(--primary-black);
    font-weight: 900;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner:hover .swiper-button-prev,
.banner:hover .swiper-button-next {
    opacity: 1;
    color: var(--primary-black);
    font-weight: bolder;
}

/* Pagination Dots */
.swiper-pagination {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 2;
    margin-bottom: 120px;
}

.swiper-pagination-bullet {
    background: var(--primary-white);
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: var(--primary-black);
    opacity: 1;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .banner-swiper .swiper-slide img {
        width: 100%;
        height: 100vh;
        object-fit: cover;
        object-position: center
            ;
    }

    .banner-content .heading {
        font-size: 30px;
    }

    .banner-content .text {
        font-size: 16px;
    }

    .swiper-pagination {
        margin-bottom: 0;
    }
}



/* ========== Video Section ========== */

.video-thumbnail-section {
    position: relative;
    background-image: url('../images/map-dotted.png');
    /* Section background */
    background-size: cover;
    background-attachment: fixed;
    /* Parallax effect */
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.video-heading {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-text-color);
}

.video-description {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 40px;
    color: var(--secondary-text-color);
}

.video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.video-thumb {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 8px;
}

.video-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}


/* Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    border: 2px solid var(--primary-black);
    z-index: 1;
    transition: background 0.3s;
    animation: breathe 2s infinite ease-in-out;
}

@keyframes breathe {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.08);
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
    }
}

.play-button::after {
    content: '';
    position: absolute;
    left: 32px;
    top: 22px;
    width: 0;
    height: 0;
    border-left: 25px solid var(--primary-red);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.play-button:hover {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--primary-white);
}



/* ========== CTA Section ========== */

.cta-section {
    overflow-x: hidden;
}

.cta-section .text-row {
    padding-top: 80px;
    padding-bottom: 80px;
    background: url('../images/ad-noise.png') var(--primary-color);
}

.cta-section .text-row .subheading {
    font-size: 32px;
    font-style: italic;
    color: var(--primary-white);
}

@media (max-width: 768px) {
    .cta-section .text-row {
        padding: 40px 20px;
        background-color: var(--primary-color);
    }

    .cta-section .text-row .subheading {
        font-size: 28px;
    }
}


/* ========== Newsletter Section ========== */

.newsletter-section {
    background: url('../images/dorf-news-letter.jpg') center center / cover no-repeat fixed;
    padding: 100px 20px;
    text-align: center;
    color: white;
    position: relative;
}

.newsletter-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 40px;
    margin-bottom: 20px;
}

.newsletter-description {
    font-size: 18px;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    width: 70%;
    max-width: 400px;
    color: var(--primary-black);
}

@media (max-width: 768px) {
    .newsletter-title {
        font-size: 30px;
    }

    .newsletter-description {
        font-size: 14px;
    }
}




/* ========= SECTION ========= */
.blogs-main-section {
    padding: 60px 0;
    background:#fff;
    overflow:hidden;
}

.section-heading{
    text-align:center;
    font-size:32px;
    margin-bottom:15px;
}

.section-description{
    max-width:900px;
    margin:0 auto 40px;
    text-align:center;
}

/* ========= CAROUSEL ========= */

.carousel-wrapper{
    position:relative;
    max-width:1300px;
    margin:0 auto;
    display:flex;
    align-items:center;
}

.carousel-window{
    overflow:hidden;
    width:100%;
}

/* Track */
.carousel-track{
    display:flex;
    gap:20px;
    transition:transform .5s ease;
}

/* Cards */
.blog-card{
    flex: 0 0 32%;
    min-width:32%;
    background:#fff;
    border:1px solid #ddd;
    padding:15px;
    border-radius:6px;
    text-align:center;
}

.blog-card img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.blog-card h3{
    margin:10px 0;
}

.blog-card p{
    font-size:14px;
}

/* Read Button */
.read-more-btn{
    display:inline-block;
    background:#333;
    color:#fff;
    padding:8px 14px;
    border-radius:30px;
    margin-top:10px;
    text-decoration:none;
}

/* Buttons */
.carousel-btn{
    background:#000;
    border:0;
    color:#fff;
    width:40px;
    height:40px;
    border-radius:50%;
    font-size:22px;
    cursor:pointer;
}

/* ===== MOBILE ===== */
@media(max-width:768px){
    .blog-card{
        flex:0 0 90%;
        min-width:90%;
    }
}






/* ========== Footer Section ========== */

/* Footer Container */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1440px;
    margin: auto;
    padding: 30px 0;
}

.footer {
    background: url(../images/map-dotted.png) var(--primary-black);
    color: var(--primary-white);
    padding: 20px 0;
}

.footer-top-nav {
    background-color: var(--secondary-black);
    padding: 10px 0;
    text-align: center;
}

.footer-top-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-top-nav ul li {
    display: inline;
    margin: 0 15px;
}

.footer-top-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-top-nav ul li a:hover {
    text-decoration: underline;
}

/* Adjust individual column widths */
.footer-logo {
    flex-basis: 25%;
    min-width: 200px;
}

.footer-logo img {
    max-width: 100%;
}

.footer .button-center {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.footer .button-center h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-white);
}

.footer-column {
    flex-basis: 30% !important;
}

.footer-column h4 {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-links-columns {
    display: flex;
    gap: 60px;
    /* spacing between columns */
}

.footer-links-columns ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-columns li {
    margin-bottom: 15px;
}

.footer-links-columns a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    color: var(--primary-white);
    padding-left: 10px;
}

.footer-links-columns a:hover {
    color: var(--secondary-blue);
}


/* Contact info */

.footer-column.contact {
    flex-basis: 25%;
}
.contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--primary-white);
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 30px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
    text-align: left;
}

.contact p i {
    font-size: 16px;
    color: var(--primary-white);
    padding: 20px 20px 20px 10px;
}

.contact p a,
.contact p span {
    color: var(--primary-white);
    text-decoration: none;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
    display: inline-block;
}

.contact p:hover a,
.contact p:hover span {
    transform: translateX(5px);
    color: var(--secondary-blue);
}

.footer-divider {
    border: 0;
    height: 1px;
    background-color: #444;
    margin: 20px 0;
}

/* Social Icons */
.footer-social-icons ul {
    padding-left: 0;
    margin-top: 30px;
    margin-bottom: 10px;
    transition: transform 0.5s;
}

.footer-social-icons ul li {
    font-size: 15px;
    display: inline-block;
    margin: 0 5px;
}

.footer-social-icons ul li a {
    overflow: hidden;
    border-radius: 50%;
    display: block;
    color: var(--primary-white);
    height: 40px;
    width: 40px;
    line-height: 40px;
    border: 1px solid var(--primary-white);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.footer-social-icons ul li a:hover {
    color: var(--secondary-blue);
    font-weight: 600;
    transform: translateY(-8px);
}

/* Footer Bottom Section */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: auto;
    padding: 10px 0;
}

.copyright {
    font-size: 14px;
    color: var(--primary-white);
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.footer-links li {
    display: inline;
}

.footer-links li a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
}

.footer-links li a:hover {
    color: var(--secondary-blue);
}


/* Responsive Layout */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo,
    .footer-column {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-columns-wrapper {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .footer-columns-wrapper .footer-column {
        width: 90%;
        text-align: left;
    }

    .social-icons {
        display: flex;
        justify-content: center;
    }

    .footer .button-center {
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-top: 10px;
        justify-content: center;
    }

    .footer-links-columns {
        display: flex;
        gap: 40px;
        /* spacing between columns */
    }
}

@media (min-width: 769px) {
    .footer-container {
        display: flex;
        justify-content: space-between;
    }

    .footer-columns-wrapper {
        display: contents;
    }

    .footer-column {
        flex-basis: 20%;
    }

    .footer .button-center {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}


/*=============================================================================*/


/* ========== About Page Bredcrum Section CSS ========== */

.breadcrumb-banner {
    position: relative;
    height: 400px;
    color: var(--primary-white);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.9));
    z-index: 2;
}

.breadcrumb-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    padding: 20px;
    margin-left: 120px;
    margin-top: 90px;
    text-align: left;
}

.breadcrumbs {
    font-size: 14px;
    color: var(--secondary-white);
    margin-bottom: 10px;
}

.breadcrumbs a {
    color: var(--primary-white);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.page-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 18px;
    max-width: 700px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {

    .breadcrumb-content {
        margin-left: 20px;
        margin-bottom: 30px;
    }
}



/* ========== About Page Main Section CSS ========== */
.about-section {
    padding: 80px 20px;
    background-color: var(--secondary-white);
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    overflow: hidden;
    /* Prevents layout shift during animation */
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.about-image img:hover {
    animation: breathing 1.5s ease-in-out infinite;
}

@keyframes breathing {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

.about-content {
    flex: 1;
    min-width: 300px;
    color: var(--black);
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.about-content h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.about-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.about-buttons .btn {
    padding: 12px 24px;
    font-size: 16px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Style for the play button */
.about-image .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.about-image .play-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.about-image .play-button::before {
    content: "\f04b";
    /* Font Awesome play icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: white;
    font-size: 28px;
}

.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    position: relative;
    width: 90vw;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    margin: auto;
}

.video-modal-content iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: block;
}

.video-modal .close {
    position: absolute;
    top: 8px;
    right: 12px;
    color: white;
    font-size: 56px;
    cursor: pointer;
    z-index: 20;
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 10px;
    border-radius: 4px;
    line-height: 1;
}

.about-image-grid {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-image-grid .image-row {
    display: flex;
    gap: 10px;
}

.about-image-grid .image-row img {
    width: 100%;
    height: 220px;
    /* Set your preferred height */
    object-fit: cover;
    border-radius: 8px;
    flex: 1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-image-grid .image-row.full-width {
    display: block;
}

.about-image-grid .image-row.full-width img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

/* Play button centered across all images */
.about-image-grid .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.about-image-grid .play-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.about-image-grid .play-button::before {
    content: "\f04b";
    /* Font Awesome play icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: white;
    font-size: 28px;
}

.readmore-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.readmore-modal-content {
    background-color: var(--primary-white);
    padding: 30px 40px;
    border-radius: 12px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    /* Prevent content from going outside */
    overflow-y: auto;
    position: relative;
    text-align: left;
    box-sizing: border-box;
}

.readmore-modal .close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-black);
    cursor: pointer;
    z-index: 10;
}

.readmore-modal-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--black);
}

.readmore-modal-content h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.readmore-modal-content p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--secondary-black);
    margin-bottom: 30px;
}

.readmore-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding-bottom: 10px;
}



@media (max-width: 768px) {
    .about-content h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .about-content h4 {
        font-size: 18px;
        color: var(--primary-color);
        margin-bottom: 20px;
        font-weight: 700;
    }

    .about-content p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .about-image-grid .image-row img,
    .about-image-grid .image-row.full-width img {
        height: 160px;
    }

    .about-image-grid {
        gap: 6px;
    }

    .about-content {
        text-align: center;
    }

    .about-buttons {
        justify-content: center;
    }

    .readmore-modal-content {
        max-width: 90%;
        padding: 20px 20px;
    }

    .readmore-modal .close {
        top: 10px;
        right: 15px;
    }

    .readmore-modal-content h2 {
        font-size: 18px;
    }

    .readmore-modal-content h4 {
        font-size: 16px;
    }

    .readmore-modal-content p {
        font-size: 14px;
    }

    .video-modal-content iframe {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }

    .video-modal-content {
        width: 90vw;
        aspect-ratio: 16 / 9;
        position: relative;
    }

    .video-modal-content iframe {
        width: 100% !important;
        height: 100% !important;
        border-radius: 8px;
    }

    .video-modal .close {
        top: 8px;
        right: 12px;
        font-size: 36px;
        z-index: 20;
        position: absolute;
        background: rgba(0, 0, 0, 0.6);
        padding: 2px 10px;
        border-radius: 4px;
        line-height: 1;
    }
}





/* ===============================
   BLOG LISTING PAGE SECTION
================================ */

.blogs-listing-section{
    padding:60px 0 80px;
    background:#fff;
}

/* GRID */

.blogs-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-top:40px;
}

/* SAME blog-card STYLE AS HOME */

.blog-card{
    background:#fff;
    border:1px solid #ddd;
    padding:15px;
    border-radius:6px;
    text-align:center;
}

.blog-card img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.blog-card h3{
    margin:10px 0;
}

.blog-card p{
    font-size:14px;
}

/* READ MORE */

.read-more-btn{
    display:inline-block;
    background:#000;
    color:#fff;
    padding:8px 14px;
    border-radius:30px;
    margin-top:10px;
    text-decoration:none;
}

/* ===============================
         PAGINATION
================================ */

.pagination{
    margin-top:40px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
}

.page-btn{
    min-width:36px;
    height:36px;
    line-height:36px;
    text-align:center;
    border-radius:50%;
    background:#eee;
    text-decoration:none;
    color:#000;
    transition:.3s ease;
}

.page-btn:hover{
    background:#000;
    color:#fff;
}

.page-btn.active{
    background:#000;
    color:#fff;
}

.page-btn.prev,
.page-btn.next{
    border-radius:30px;
    padding:0 16px;
}

/* ===============================
        RESPONSIVE
================================ */

@media(max-width:992px){
    .blogs-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .blogs-grid{
        grid-template-columns:1fr;
    }
}










/* ========== Terms & Conditions Main Section CSS ========== */

.main-content-section {
    padding: 80px 20px;
    /* Adds space at top and bottom */
    background-color: var(--primary-white);
    /* Optional: white background */
}

.main-content-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.main-content-section p,
.main-content-section ul {
    margin-left: 20px;
    /* Indent the paragraph and list */
    text-align: left;
    line-height: 1.7;
    color: var(--secondary-black);
    /* Optional: Slightly dark text */
    font-size: 17px;
}

.main-content-section ul {
    list-style-type: disc;
    padding-left: 40px;
    /* More indent for list items */
}

.main-content-section li {
    margin-bottom: 10px;
    /* Space between list items */
}

.main-content-section h2,
.main-content-section h3,
.main-content-section h4 {
    text-align: left;
    color: var(--primary-text-color);
    /* Use your theme color */
    margin-top: 40px;
    margin-bottom: 20px;
}




/* ========== FAQ Main Section CSS ========== */

/* FAQ Section Styles */
.faq-section {
    padding: 50px 0;
    background-color: var(--secondary-white);
}

.faq-section h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--secondary-black);
}

/* FAQ Accordion Styles */
.faq-accordion {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 10px;
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 15px;
    background-color: var(--primary-white);
    border: 1px solid var(--secondary-black);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: left;
    /* Aligns the question text to the left */
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--secondary-white);
    color: var(--primary-color);
}

/* FAQ Icon (Plus Sign) */
.faq-icon {
    margin-right: 15px;
    font-size: 25px;
    font-weight: 600;
    color: var(--secondary-black);
    transition: transform 0.3s ease;
    /* Smooth transition for rotation */
}

/* Rotate Plus Icon on Expansion */
.faq-item.active .faq-icon {
    transform: rotate(360deg);
    /* Rotate the icon when the item is active */
}

/* FAQ Answer Styles */
.faq-answer {
    display: none;
    padding: 15px;
    background-color: var(--primary-white);
    border: 1px solid var(--secondary-black);
    font-size: 14px;
    color: var(--secondary-black);
}

/* Active FAQ Item */
.faq-item.active .faq-answer {
    display: block;
}

/* Hover and Focus Effects for Question */
.faq-item .faq-question:hover {
    background-color: var(--secondary-white);
}

.faq-item .faq-question:focus {
    outline: none;
}

/* Link Style in FAQ Answer */
.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Spacing and Layout */
.faq-item + .faq-item {
    margin-top: 10px;
}

.faq-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}




/* ========== Publications Main Section CSS ========== */

.publications-section {
    padding: 60px 0;
    background-color: var(--secondary-white);
}

.publications-section h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--secondary-black);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--secondary-black);
    font-size: 16px;
}

.publication-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.publication-card {
    background-color: var(--primary-white);
    border: 1px solid var(--secondary-black);
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

.publication-card:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.publication-card h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.publication-card .authors {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 5px;
    color: var(--secondary-black);
}

.publication-card .authors span {
    font-weight: 600;
}

.publication-card .journal {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-black);
    margin-bottom: 10px;
}

.view-publication {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: underline;
}




/* ========== Board of Directors Main Section CSS ========== */

.board-section {
    padding: 60px 20px;
    background-color: var(--primary-white);
    text-align: center;
}

.board-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--secondary-black);
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* always 3 columns on desktop */
    gap: 30px;
}

.board-member {
    background-color: var(--secondary-white);
    border: 1px solid var(--secondary-black);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.board-member:hover {
    transform: translateY(-5px);
}

.board-member img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

.board-member h3 {
    margin: 10px 0 5px;
    font-size: 28px;
    color: var(--secondary-black);
}

.board-role {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
}

.board-qualification {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Responsive: 2 per row on medium, 1 per row on small */
@media (max-width: 992px) {
    .board-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .board-grid {
        grid-template-columns: 1fr;
    }
}



/* ========== Internship Main Section CSS ========== */

.internship-section {
    padding: 60px 0;
    background-color: var(--primary-white);
}

.internship-section h1 {
    text-align: center;
    font-size: 32px;
    color: var(--secondary-black);
    margin-bottom: 10px;
}

.internship-section p.subtext {
    text-align: center;
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.internship-details {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.internship-details ul {
    padding-left: 20px;
    color: var(--secondary-black);
}

.internship-details ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.internship-cta {
    text-align: center;
    margin-top: 40px;
}

.internship-cta a {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.internship-cta a:hover {
    background-color: var(--primary-color-dark);
}



/* ========== Career Main Section CSS ========== */

.career-section {
    padding: 60px 0;
    background-color: var(--primary-white);
}

.career-section h1 {
    text-align: left;
    font-size: 32px;
    color: var(--secondary-black);
    margin-bottom: 10px;
}

.career-section p.subtext {
    text-align: center;
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.career-details {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.career-section ul {
    padding-left: 20px;
    color: var(--secondary-black);
}

.career-section ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.career-section span{
    font-weight: 700;
}

.career-cta {
    text-align: center;
    margin-top: 40px;
}

.career-cta a {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.career-cta a:hover {
    background-color: var(--primary-color-dark);
}




/* ========== Research Main Section CSS ========== */

.research-section {
    padding: 60px 0;
    background-color: var(--secondary-white);
}

.research-section h1 {
    text-align: center;
    font-size: 32px;
    color: var(--secondary-black);
    margin-bottom: 10px;
}

.research-section p.subtext {
    text-align: center;
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.research-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.research-card {
    background-color: var(--primary-white);
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: box-shadow 0.3s ease;
}

.research-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.research-card h3 {
    font-size: 20px;
    color: var(--secondary-black);
    margin-bottom: 10px;
}

.research-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}




/* ========== Residents Main Section CSS ========== */

.resident-section {
    padding: 60px 0;
    background-color: var(--primary-white);
}

.resident-section h1 {
    text-align: left;
    font-size: 32px;
    color: var(--secondary-black);
    margin-bottom: 10px;
}

.resident-section h2 {
    text-align: left;
    font-size: 24px;
    color: var(--secondary-black);
    margin-bottom: 10px;
}

.resident-section h3 {
    text-align: left;
    font-size: 18px;
    color: var(--secondary-black);
    margin-bottom: 10px;
}

.resident-section p.subtext {
    text-align: center;
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.resident-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-box {
    background-color: var(--secondary-white);
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    width: 300px;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}


/* ========== Contact Page Form Section CSS ========== */

.contact-section {
    padding: 60px 20px;
    background-color: var(--primary-white);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    align-items: flex-start;
}

.contact-form {
    flex: 1 1 55%;
}

.contact-form h2 {
    font-size: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.name-fields {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    margin-left:
}

.form-group span {
    font-weight: normal;
    font-size: 12px;
    color: gray;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    font-size: 14px;
    background: var(--secondary-white);
    border-radius: 55px;
}

.submit-btn {
    background: transparent;
    color: var(--primary-black);
    border: 1px solid var(--primary-color) !important;
    padding: 12px 30px;
    border: none;
    font-size: 14px;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    min-width: 340px;
}

.submit-btn:hover {
    background: var(--primary-black);
    color: var(--primary-white);
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.form-row .g-recaptcha,
.form-row .submit-btn {
    flex-shrink: 0;
}


.newsletter-box {
    flex: 1 1 40%;
    background: var(--secondary-white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--primary-color);
    margin-top: 60px;
}

.newsletter-box h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.newsletter-box p {
    font-size: 14px;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.newsletter-form input {
    padding: 10px;
    font-size: 14px;
    width: 60%;
    border: 1px solid var(--primary-color) !important;
}

.newsletter-form button {
    padding: 10px 20px;
    font-size: 14px;
    background: var(--secondary-black);
    color: var(--primary-white);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
}

/* Modal container */
.newsletter-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Modal box */
.newsletter-modal-content {
    background-color: var(--primary-white);
    margin: 10% auto;
    padding: 30px 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    color: var(--primary-black);
}

/* Close button */
.newsletter-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-black);
    cursor: pointer;
}

/* Success & error text */
.newsletter-modal-content.success {
    border-left: 6px solid var(--primary-green);
}

.newsletter-modal-content.error {
    border-left: 6px solid var(--primary-red);
}

.thank-you-box a {
    text-decoration: none;
    padding: 12px 24px;
    background: var(--primary-green);
    color: white;
    border-radius: 4px;
    transition: background 0.3s;
}

.thank-you-box a:hover {
    background: var(--primary-color);
}

@media screen and (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column-reverse;
        align-items: center; /* center both items horizontally */
    }

    .form-row .g-recaptcha {
        transform: scale(0.95);
        transform-origin: center;
        margin: 0 auto;
    }

    .form-row .submit-btn {
        width: 100%;
        text-align: center;
    }

    .newsletter-form {
        display: flex;
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-form button {
        width: auto;
        align-self: flex-start;
        box-sizing: border-box;
        padding: 8px 16px;
    }

    .newsletter-box {
        margin-top: 10px;
    }
}


/* ========== Gallery Section CSS ========== */

.gallery-grid {
    padding: 60px 20px;
    text-align: center;
    background: #fafafa;
}

.gallery-grid h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-container a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.grid-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.grid-container img:hover {
    transform: scale(1.05);
}


/* ========== Residents Main Section CSS ========== */







.bio-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.bio-modal-content {
    background-color: var(--primary-white);
    padding: 30px 40px;
    border-radius: 12px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    /* Prevent content from going outside */
    overflow-y: auto;
    position: relative;
    text-align: left;
    box-sizing: border-box;
}

.bio-modal .close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-black);
    cursor: pointer;
    z-index: 10;
}

.bio-modal-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--black);
}

.bio-modal-content h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.bio-modal-content p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--secondary-black);
    margin-bottom: 30px;
}

.bio-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding-bottom: 10px;
}



@media (max-width: 768px) {

    .bio-modal-content {
        max-width: 90%;
        padding: 20px 20px;
    }

    .bio-modal .close {
        top: 10px;
        right: 15px;
    }

    .bio-modal-content h2 {
        font-size: 18px;
    }

    .bio-modal-content h4 {
        font-size: 16px;
    }

    .bio-modal-content p {
        font-size: 14px;
    }
}