﻿/* ========= Custom Submenu Dropdown CSS ========= */

/* Our Team container */
.dropdown-submenu {
    position: relative;
}

    /* Position the submenu beside its parent */
    .dropdown-submenu .dropdown-menu2 {
        top: 0;
        left: 100%;
        margin-top: -1px;
        display: none;
        position: absolute;
        background-color:white;
    }

    /* When hovering over "Our Team", show its submenu */
    .dropdown-submenu:hover .dropdown-menu2 {
        display: block;
    }

    /* Optional arrow indicator */
    .dropdown-submenu > .dropdown-toggle::after {
        content: " ▸";
        float: right;
    }

/* ===== Event Cards ===== */
/* ===== BIG EVENT CARD ===== */
.event-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
    height: 100%;
}

    .event-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px rgba(0,0,0,0.18);
    }

    /* Bigger Image */
    .event-card img {
        height: 300px; /* Increase image height */
        object-fit: cover;
    }

/* Content spacing */
.event-content {
    padding: 25px;
}

.event-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.event-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

/* Big button */
.read-more-btn {
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 15px;
}

/* ===== Desktop spacing ===== */
@media(min-width:1200px) {
    .event-card img {
        height: 340px;
    }
}

/* ===== Tablet ===== */
@media(max-width:992px) {
    .event-card img {
        height: 260px;
    }
}

/* ===== Mobile ===== */
@media(max-width:768px) {
    .event-card img {
        height: 200px;
    }
}


/* ===== Modal Slider ===== */
.modal-img {
    height: 400px;
    object-fit: cover;
}

/* ===== Mobile ===== */
@media(max-width:768px) {
    .event-card img {
        height: 180px;
    }

    .modal-img {
        height: 250px;
    }
}

.modal-img {
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* Arrow style */
.custom-arrow {
    width: 60px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    padding: 18px;
}

/* Mobile */
@media(max-width:768px) {
    .modal-img {
        height: 220px;
    }
}

/* Ensure the Brand/Logo container doesn't take 100% width on mobile */
.navbar-brand {
    display: flex;
    align-items: center;
    white-space: normal; /* Allows the name to wrap if it's too long */
    margin-right: 0;
}

/* Fix for the Navbar items on mobile */
@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .navbar-collapse {
        background: rgba(0, 0, 0, 0.9);  Ensures menu is readable over background 
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }
}

/* Scaling the text size using clamp for smooth responsiveness */
.navbar-brand h1 {
    font-size: clamp(14px, 3.5vw, 22px) !important;
}

.responsive-brand-text {
    font-size: clamp(14px, 4vw, 24px);
    line-height: 1.2;
    max-width: 280px;
    display: block;
}

/* This replaces the @media logic that caused the error */
@media (min-width: 992px) {
    .responsive-brand-text {
        max-width: 100%;
    }
}

.donate-btn-custom {
        background-color: #FF6F0F; /* Your brand orange */
        border: none;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        font-weight: 600;
        transition: 0.3s;
        display: inline-flex;
        align-items: center;
        text-transform: uppercase;
        font-size: 14px;
    }

    .donate-btn-custom:hover {
        background-color: #e65a00;
        color: white;
        transform: translateY(-2px);
    }

    /* Fix for mobile: make button full width on small screens */
    @media (max-width: 991px) {
        .donate-btn-custom {
            margin-top: 15px;
            width: 100%;
            justify-content: center;
        }
    }
