.body {
    font-family: "Roboto Condensed", sans-serif;
}

/* NAV SECTION */

#main-section {
    position: relative;
    min-height: 50vh;
    overflow: hidden;
    color: white;
}

/* Background carousel */
#background-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#background-carousel .carousel-inner,
#background-carousel .carousel-item,
#background-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(54, 28, 9, 0.7);
    pointer-events: none;
}

/* Overlay for better text visibility */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Bring content above background */
nav,
.container,
.learn {
    position: relative;
    z-index: 2;
}

/* Active navbar link styling */
.navbar-nav .nav-link.active {
    color: #cc7d13 !important;
    font-weight: bold;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 70%;
    height: 2px;
    background-color: #cc7d13;
}

/* Default nav link styling */
.navbar-nav .nav-link {
    color: white;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #cc7d13;
}

/* Responsive adjustments */
@media (max-width: 756px) {
    .navbar-nav .nav-link.active::after {
        left: 5%;
        width: 90%;
    }
}

/* Responsive Logo Example */
@media (max-width: 756px) {
    #logo {
        width: 50px;
        height: 50px;
    }
}

@media (min-width: 992px) and (max-width: 2000px) {
    #logo {
        margin-left: 70px;
    }
}

.commit {
    color: black;
}

.join {
    border: 2px solid #cc7d13;
    color: #cc7d13;
    padding: 5px;
    border-radius: 5px;
    width: 170px;
    align-items: center;
}

#join4 {
    text-decoration: none;
    color: #cc7d13;
}

#join4:hover {
    text-decoration: none;
    color: white;
}

.join:hover {
    border: 2px solid white;
    color: white;
    padding: 5px;
    border-radius: 5px;
    width: 170px;
    align-items: center;
}
#donate {
    text-decoration: none;
    color: white;
}

.network {
    border: 2px solid #cc7d13;
    color: white;
    background-color: #cc7d13;
    padding: 5px;
    border-radius: 5px;
    width: 100px;
    text-align: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    cursor: pointer;
}

.network:hover {
    background-color: #b36910;
    border-color: #b36910;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.network:active {
    transform: scale(0.98);
}

.network a {
    color: white;
    text-decoration: none;
    display: block;
}

#more {
    background-color: #cc7d13;
    border: 1px solid #cc7d13;
    border: 5px;
}

#more:hover {
    color: black;
}
#more2 {
    color: #cc7d13;
    border: 1px solid #cc7d13;
    background-color: none;
}
#more2:hover {
    color: white;
}

.more {
    text-decoration: none;
}

#navbar-toggler {
    color: black;
    background-color: white;
}

.main-section2 {
    border-bottom: 1px solid white;
    padding: 30px;
}

#home {
    color: white;
}

#home:hover {
    color: #cc7d13;
}

@media (max-width: 756px) {
    #back {
        width: 100px;
        height: 100px;
    }
}

.read {
    border: 2px solid #cc7d13;
    background-color: #cc7d13;
    color: white;
    padding: 8px 15px;
    width: 120px;
    margin: 10px auto 20px; /* Added bottom margin */
    text-align: center;
    border-radius: 5px;
    display: block;
    text-decoration: none;
    font-weight: 500;
}
.test {
    color: #cc7d13;
}

/* Enhanced Hero Section Styles */
.logo-main {
    transition: all 0.3s ease-in-out;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.logo-main:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 6px 12px rgba(204, 125, 19, 0.3));
}

/* Gradient text effect */
.text-gradient {
    background: linear-gradient(135deg, #cc7d13 0%, #e8a75d 50%, #cc7d13 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.text-gradient::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #cc7d13, transparent);
    border-radius: 2px;
}

/* Tagline styling */
.tagline-text {
    color: #ffff;
    font-size: 1.3rem;
    position: relative;
    padding: 15px 0;
}

.tagline-text::before,
.tagline-text::after {
    content: "✦";
    color: #cc7d13;
    margin: 0 15px;
    font-size: 1.1rem;
}

.letter-spacing {
    letter-spacing: 1.5px;
}

/* Description text styling */
.description-container {
    max-width: 700px;
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ffff;
    margin-bottom: 0.8rem;
}

.highlight-text {
    color: #ffff;
    font-style: italic;
    position: relative;
    padding: 10px 20px;
}

.highlight-text::before {
    content: '"';
    color: #cc7d13;
    font-size: 2rem;
    position: absolute;
    left: -5px;
    top: -10px;
    font-family: serif;
}

.highlight-text::after {
    content: '"';
    color: #cc7d13;
    font-size: 2rem;
    position: absolute;
    right: -5px;
    bottom: -15px;
    font-family: serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-main {
        width: 100px !important;
        height: 100px !important;
    }

    .display-5 {
        font-size: 2rem;
    }

    .tagline-text {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .tagline-text::before,
    .tagline-text::after {
        margin: 0 8px;
    }

    .description-text {
        font-size: 1rem;
    }

    .text-gradient::after {
        left: 15%;
        width: 70%;
    }
}

/* Animation for fade-in effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    animation: fadeInUp 0.8s ease-out;
}

.tagline-container {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.description-container {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* 500+ AND ALL SECTION */

#Background-section3 {
    position: relative;
    background-image: url(../IMAGES/Background.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 30vh;
    overflow: hidden;
    padding: 60px 20px; /* top/bottom and left/right padding */
}

#Background-section3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* optional overlay */
    z-index: 1;
}

#Background-section3 .content {
    position: relative;
    z-index: 2;
}

.story {
    color: #4f4f4f;
}
.event {
    border-left: dotted;
}
.event2 {
    color: #cc7d13;
}

.event3 {
    border-left: dotted;
}

@media (max-width: 756px) {
    .event3 {
        border: none;
    }
}

/* FEAUTURE ALUMNI */

.alumni-img-wrapper {
    width: 100%;
    height: 300px; /* Fixed height for all images */
    overflow: hidden;
    border-radius: 10px;
    background-color: #000;
}

.alumni-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures consistent image fill */
    display: block;
    border-radius: 10px;
}

.alumni-card {
    position: relative;
    width: 100%;
    height: 300px; /* fixed height */
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    background-color: #000;
}

.alumni-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.alumni-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
}

.alumni-name {
    font-size: 1.1rem;
}

.alumni-details {
    display: none;
    font-size: 0.9rem;
    margin-top: 5px;
}

.allow {
    background-color: #cc7d13;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.allow:hover {
    color: black;
}

.spotlight-card {
    position: relative;
    width: 100%;
    height: 300px; /* Fixed height */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.spotlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    padding: 10px 0;
    text-align: center;
    align-items: center;
}

.album-title {
    font-size: 16px;
    margin-bottom: 5px;
}

.link-btn {
    font-size: 14px;
    color: #ffd700;
    cursor: pointer;
    text-decoration: underline;
}

.link-btn:hover {
    color: #ffa500;
}

/* OUR SPOT LIGHT SECTION */

.my-greatvibes-text {
    font-family: "Great Vibes", cursive;
}

.link-btn {
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 6px 12px;
    width: 100px;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: 500;
}

.link-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.december {
    color: #4f4f4f;
    font-size: 15px;
}
.december2 {
    color: #4f4f4f;
}
#Designer {
    background-color: #834315;
    padding: 47px;
    border-radius: 5px;
}

/* OUR BLOG SECTION */

.card-text-wrapper {
    position: relative;
}

.card-text.expandable {
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.card-text.expandable.expanded {
    max-height: 1000px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
    font-weight: bold;
}
div.item {
    background-color: #cc7d13;
    color: white;
    padding: 7px;
}
.civic {
    color: #e1e1e1;
}
.coming {
    font-size: #e1e1e1;
    font-size: 14px;
}
/* 
    IMAGES SECTION */

.img-wrapper {
    width: 200px; /* Fixed width */
    max-height: 150px; /* Max height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.img-wrapper img {
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .img-wrapper {
        width: 120px; /* Smaller fixed width on tablets */
        max-height: 90px;
    }
}

@media (max-width: 480px) {
    .img-wrapper {
        width: 90px; /* Smaller fixed width on phones */
        max-height: 80px;
    }
}

/* Prevent scrollbar */
#auto-scroll-row {
    overflow-x: hidden;
}

.foot {
    text-align: center;
    color: white;
    align-items: center;
}

.allow3 {
    background-color: #cc7d13;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    width: 150px;
    margin: auto;
}

/* FOOTER */

.footer-section {
    background-color: #834315;
    color: #e0e0e0;
}
#submit {
    background-color: white;
    color: #cc7d13;
}

.backed {
    color: #e0e0e0;
}
#mail {
    background-color: #834315;
    border: 1px solid white;
}

#mail:hover {
    background-color: #834315;
    border: 1px solid black;
}
#mail::placeholder {
    color: white;
    opacity: 1; /* Ensures full visibility */
}

/* Section Header Styles */
.section-header {
    padding: 2rem 0;
}

/* Badge/Label Styling */
.badge-container {
    position: relative;
}

.section-badge {
    background: linear-gradient(135deg, #cc7d13, #e8a75d);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(204, 125, 19, 0.3);
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.section-badge:hover::before {
    left: 100%;
}

/* Heading Styling */
.heading-container {
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #cc7d13, #e8a75d);
    border-radius: 2px;
    position: relative;
}

.title-underline::before,
.title-underline::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: #cc7d13;
    border-radius: 50%;
    transform: translateY(-50%);
}

.title-underline::before {
    left: -20px;
}

.title-underline::after {
    right: -20px;
}

/* Content Styling */
.content-wrapper {
    max-width: 800px;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #5a6c7d;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    padding: 0 1rem;
}

.lead-text::before {
    content: '"';
    font-size: 4rem;
    color: #cc7d13;
    position: absolute;
    left: -10px;
    top: -20px;
    opacity: 0.3;
    font-family: serif;
}

/* Mission Highlight */
.mission-highlight {
    background: linear-gradient(
        135deg,
        rgba(204, 125, 19, 0.05),
        rgba(232, 167, 93, 0.1)
    );
    border-left: 4px solid #cc7d13;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.mission-highlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23cc7d13' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.mission-text {
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-badge {
    animation: fadeInUp 0.6s ease-out;
}

.heading-container {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.lead-text {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.mission-highlight {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .lead-text {
        font-size: 1.1rem;
        padding: 0;
    }

    .lead-text::before {
        left: -5px;
        top: -15px;
        font-size: 3rem;
    }

    .mission-highlight {
        padding: 1.5rem !important;
    }

    .mission-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 6px 20px;
    }
}

/* Custom CSS for event cards and badges */
:root {
    --brand-brown: #cc7d13;
    --brand-brown-light: #9a5c2c;
    --brand-brown-dark: #6a3610;
}

/* Badge Styles */
.badge-upcoming {
    background-color: var(--brand-brown) !important;
    color: white !important;
    font-size: 0.7em;
    padding: 0.5em 0.8em;
    border-radius: 4px;
}

.badge-ongoing {
    background-color: #28a745 !important;
    color: white !important;
    font-size: 0.7em;
    padding: 0.5em 0.8em;
    border-radius: 4px;
}

.badge-completed {
    background-color: #6c757d !important;
    color: white !important;
    font-size: 0.7em;
    padding: 0.5em 0.8em;
    border-radius: 4px;
}

.badge-cancelled {
    background-color: #dc3545 !important;
    color: white !important;
    font-size: 0.7em;
    padding: 0.5em 0.8em;
    border-radius: 4px;
}

/* Button Styles */
.btn-warning {
    background-color: var(--brand-brown);
    border-color: var(--brand-brown);
    color: white;
}

.btn-warning:hover {
    background-color: var(--brand-brown-light);
    border-color: var(--brand-brown-light);
    color: white;
}

.view-details-btn {
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(131, 67, 21, 0.3);
}

/* Card Styles */
.event-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(131, 67, 21, 0.15) !important;
}

.card-img-top {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Modal Styles */
.modal-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid var(--brand-brown);
}

.modal-title {
    color: var(--brand-brown);
    font-weight: 600;
}

/* Icon Styles */
.fas {
    width: 16px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .event-card {
        margin-bottom: 1.5rem;
    }

    .modal-dialog {
        margin: 1rem;
    }
}

/* Loading animation */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Carousel Styles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--brand-brown);
    border-radius: 50%;
    padding: 10px;
}

/* Footer enhancements with brown gradient */
.footer-section {
    background: linear-gradient(135deg, #834315, #a55c1f, #cc7d13);
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(0,0,0,0.03)"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.hover-primary {
    transition: all 0.3s ease;
    position: relative;
}

.hover-primary:hover {
    color: #ffd8a6 !important;
    transform: translateX(5px);
    text-decoration: none;
}

/* Social media links with gold accent */
.social-link {
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 5px;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

/* Text styling for better contrast */
.backed {
    opacity: 0.9;
    color: #f8f9fa !important;
}

.footer-section h5 {
    color: #ffd8a6;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-section h5::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #ffd8a6;
}

/* Contact icons styling */
.footer-section .fas {
    color: #ffd8a6;
    width: 16px;
}

/* Footer bottom section */
.footer-section hr {
    border-color: rgba(255, 216, 166, 0.3) !important;
}

.footer-section .text-center p {
    color: #ffd8a6;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-section {
        background: linear-gradient(135deg, #834315, #a55c1f);
    }

    .footer-section h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Smooth transitions for all footer elements */
.footer-section * {
    transition: all 0.3s ease;
}
