:root {
    --primary-color: #8B0000;
    --secondary-color: #8B0000;
    --text-color: #000000;
    --background-color: #fff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
body {
    color: #000000;
    background-color: #fff;
    line-height: 1.6;
}
.header-top {
    background: #8B0000;
    color: #fff;
    font-size: 14px;
    padding: 8px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.top-link {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-link:hover {
    text-decoration: none;
}

.divider {
    opacity: 0.8;
}


/* UPDATED NAVBAR */
nav.navbar-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}
.logo {
    display: flex;
    align-items: center;
}
.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-text {
    font-weight: 700;
    color: #8B0000;     
    font-size: 16px;
}
.logo img {
    height: auto;
    width: 60px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0;
}
nav ul li a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
}
nav ul li a:hover {
    color: #8B0000;
}

ul .mobile-btn {
    background: #8B0000;
    color: #fff;
    padding: 8px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    border: 1px solid #8B0000;
    padding: 6px;
    border-radius: 0px;
}
.menu-toggle span {
    height: 3px;
    width: 25px;
    background: #8B0000;
    margin: 3px 0;
    border-radius: 0px;
}
#menu-checkbox {
    display: none;
}

/* HERO */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 30px 5%;
    background-image: url('../images/Banner.jpg');
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    height: 600px;
}
.hero-text {
    max-width: 650px;
}
.hero-text h1 {
    font-size: 60px;
    margin-bottom: 15px;
}
.hero-text p {
    font-size: 18px;
    margin-bottom: 25px;
}
.hero img {
    max-width: 550px;
    width: 100%;
}

/* services */
.services{
    background-color: #F1F1F1;
}
.events-double-slider {
    width: 100%;
    overflow: hidden;
}

.events-row {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    padding: 10px 0;
}

.events-track {
    display: flex;
    gap: 25px;
}

.events-track img {
    height: 220px;
    width: auto;
    flex-shrink: 0;
    border-radius: 12px;
    object-fit: cover;
    transition: 0.3s;
}

.events-track img:hover {
    transform: scale(1.05);
}

/* ROW 1 → Left to Right */
.track-1 {
    animation: slide-right 22s linear infinite;
}

/* ROW 2 → Right to Left */
.track-2 {
    animation: slide-left 22s linear infinite;
}

/* Animations */
@keyframes slide-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@keyframes slide-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 768px) {
    .events-track img {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .events-track img {
        height: 140px;
    }
}

/* ABOUT */
.about-section {
    padding: 60px 5%;
}

.about-images img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.about-images img + img {
    margin-top: 20px; /* gap between images */
}

.about-content {
    max-width: 550px;
}

.about-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-title span {
    color: #8B0000;
}

.about-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
}

/* Light Outline Buttons */
.btn-light-outline {
    background: #f2f2f2;
    padding: 12px 28px;
    border-radius: 8px;
    color: #000;
    font-weight: 500;
    text-decoration: none;
    margin-right: 10px;
    transition: 0.3s;
    display: inline-block;
}

.btn-light-outline:hover {
    background: #dedede;
}

/* Red Button */
.btn-dark-red {
    background: #8B0000;
    padding: 12px 28px;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-dark-red:hover {
    background: #6d0000;
}

/* FOOTER */
footer {
    background: #8B0000;
    color: #fff;
    padding: 50px 10%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}
footer img {
    height: 60px;
    margin-bottom: 10px;
}
footer h3 {
    margin-bottom: 15px;
}
footer ul {
    list-style: none;
}
footer ul li {
    margin-bottom: 8px;
}
footer ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}
.footer-bottom {
    background: #8B0000;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}
.footer-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #fff;
    font-size: 15px;
}

.footer-info i {
    font-size: 18px;
    margin-top: 3px;
    color: #fff;
}

.footer-info a {
    color: #fff;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: none;
}

/* CONTACT FORM */
.contact-form {
    width: 100%;
    max-width: 450px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd3e1;
    border-radius: 6px;
    font-size: 16px;
}
.contact-form textarea {
    height: 120px;
    resize: none;
}
.send-btn {
    padding: 12px;
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    cursor: pointer;
}
.msg-box {
    padding: 12px;
    border-radius: 6px;
    display: none;
    font-size: 15px;
}
.msg-error {
    background: #ffe1e1;
    color: #c30000;
}
.msg-success {
    background: #e6ffec;
    color: #0b7a35;
}

.member-card {
    background: #fff;
    padding: 20px 20px;
    border-radius: 10px;
    box-shadow: 0px 3px 12px rgba(0,0,0,0.12);
    text-align: center;
    font-weight: 600;
}
.section-title {
    font-size: 32px;
    font-weight: 700;
}
.section-title span {
    color: #8B0000;
}

.section-subtitle {
    color: #666;
    font-size: 16px;
    max-width: 750px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* FORM OUTER BOX */
.join-form-section {
    padding: 20px 0;
    margin-top:-70px;
}

.join-form {
    background: #fff;
    padding: 30px 24px;
    border-radius: 12px;
    box-shadow: 0 0 24px rgba(0,0,0,0.1);
}

/* INPUTS */
.form-input {
    flex: 1;
    min-width: 180px;
    padding: 10px 15px;
    border: 1px solid #6e6e6e;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.form-input:focus {
    border-color: #8B0000;
}

/* BUTTON */
.join-btn {
    padding: 10px 25px;
    background: #8B0000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.3s;
}

.join-btn:hover {
    background: #600000;
}
.mission-values {
    background: #f5f5f5;
}

.mv-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mv-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.mv-title span {
    color: #8B0000;
}

.mv-card p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 350px;
}

.mv-list {
    list-style: disc;
    padding-left: 25px;
    font-size: 15px;
    line-height: 1.6;
}

.mv-list li {
    margin-bottom: 6px;
}

.event-card {
    border: none !important;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12) !important;
}

.event-card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18) !important;
}

.nav-pills .nav-link {
    border-radius: 50px;
    padding: 10px 25px;
    background: #000;
    margin: 0 8px;
    font-weight: 600;
    color: #fff;
    transition: 0.3s ease;
}

.nav-pills .nav-link.active {
    background: #8B0000;
    color: #fff;
}

.card-title{
    font-size: 16px;
    color:#000;
    font-weight: 600;
}

.tab-pane .row {
    margin-bottom: 30px; 
}

.tab-pane .row:last-child {
    margin-bottom: 0; 
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .mv-card {
        text-align: center;
        min-height: auto;
    }

    .mv-list {
        text-align: left;
        margin: 0 auto;
        display: inline-block;
    }
}

/* RESPONSIVE BEHAVIOR */
@media (max-width: 992px) {
    .join-form {
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .form-input {
        min-width: 45%;
    }
    .section-title{
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .form-input {
        min-width: 100%;
    }
    .join-form-section {
    padding: 20px 0;
    margin-top: -160px;
}

    .join-btn {
        width: 100%;
        text-align: center;
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero{
        padding: 60px 5%;
        align-items: center;
        justify-content: center;
    }
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .about-section {
        text-align: center;
    }

    .about-images {
        width: 100%;
    }

    .about-content {
        margin-top: 20px;
        max-width: 100%;
    }

    .about-buttons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .about-title {
        font-size: 30px;
    }

    .btn-light-outline,
    .btn-dark-red {
        width: 100%;
        text-align: center;
    }
}


/* UPDATED MOBILE NAVIGATION */
@media (max-width: 768px) {

    .logo img{
        width: 40px;
    }

    .logo-text {
        font-weight: 700;
        color: #8B0000;     
        font-size: 10px;
    }

    nav ul {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #8B0000;
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 25px 40px 35px 40px;
    }
    nav ul{
        gap:15px;
    }

    nav ul li a {
        color: #fff;
        font-size: 16px;
        padding: 5px 0;
        display: block;
    }

    #menu-checkbox:checked ~ ul {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-btn { display: none; }

    ul .mobile-btn {
        margin-top: 10px;
        display: inline-block;
        background: #fff;
        color: #8B0000 !important;
        padding: 8px 24px;
        border-radius: 6px;
        font-weight: 500;
        font-size: 16px;
        text-decoration: none;
    }
}
