/* Global styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #000000;
    background-color: #fffafa;
    font-family: Poppins;
    font-weight: 100;
}

/* Text Color */
.text-gold {
    color: gold;
}
/* Navbar */
.navbar-nav .nav-item .nav-link {
    border: 0 solid rgb(241, 217, 80); /* Default border */
    border-radius: 5px;
    transition: all 0.3s ease; /* Smooth transition for border and background */
    margin-right: 10px;
    width: 120px;
    text-align: center;
    color: gold;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-link {
    border: 1px solid rgb(241, 217, 80); /* Default border */
}
.nav-item.active .nav-link {
    background-color: gold; /* Gold fill on hover and active state */
    color: black; /* Text color changes to black for contrast */
}
/* Hero Section */
.hero-section h1 {
    font-size: 5rem;
    color: white;
    font-weight: bold;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Adjust transparency */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px;
}
.hero-section .btn-warning {
    font-size: 1.2rem;
    border-radius: 30px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.hero-section .btn-warning:hover {
    background-color: #e68a00;
}
/* Media Queries for Mobile */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section h2 {
        font-size: 1.7rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .nav-link {
        font-size: 1rem;
        color: gold;
    }
}

/*========= About Us Section =========*/

/* Reduce space between columns */
.row.g-0 {
    margin-left: 0px !important;
    margin-right: 0px !important;
    gap: 0; /* Add spacing between columns */
}

/* Reduce space around the feature boxes */
.feature-box {
    width: 100%;  /* Adjust width for better fit */
    max-width: 500px; /* Prevent excessive width */
}
/* Animations */
.animate-left {
    opacity: 0;
    transform: translateX(-70px);
    animation: slideInLeft 2s ease-out forwards;
}

.animate-right {
    opacity: 0;
    transform: translateX(70px);
    animation: slideInRight 2s ease-out forwards;
}

.bounce {
    animation: bounceIn 1.2s ease-out;
}
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* When the element comes into view, this class will be added */
.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes bounceIn {
    0% { transform: scale(0.9); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); }
}

/* Text and Layout Adjustments */
.text-gold {
    color: gold;
}

/* Responsive Design */

@media (min-width: 769px) {
    .row {
        display: flex;
        flex-direction: row !important; /* Ensure side-by-side layout on larger screens */
        align-items: center;
        justify-content: space-between;
    }

    .col-md-7, .col-md-5 {
        width: 50% !important; /* Ensure equal width */
        max-width: 800px; /* Prevent excessive stretching */
    }


    .feature-box {
        width: 90% !important; /* Ensure proper fit */
        margin: 5px auto !important; /* Center it */
    }
}

/* ================= Core Values =========== */
/* Core Values Section */
#core-values {
    padding: 40px 20px;
    background-color: #f9f9f9;
    background: url('images/gallery.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}
.value-content p{
    color: white;
    text-align: left;
}
.container {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

/* Gold Text */
.text-gold {
    color: gold;
}

/* Main Wrapper */
.values-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Left & Right Columns */
.values-column {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 20px; 
}

/* Center Logo */
.logo-container {
    width: 20%;
    display: flex;
    justify-content: center;
}

.logo {
    width: 150px;
    border-radius: 50px;
}

/* Value Cards */
.value-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #000000; 
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

/* Icons */
.icon {
    font-size: 24px;
    color: gold;
}

/* Position icons left or right */
.left .icon {
    order: -1;
}

.right .icon {
    order:-1;
}

/* Bottom Value (Below Icon) */
.bottom-value {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

/* Responsive - Mobile Stacking */
@media (max-width: 768px) {
    .values-wrapper {
        flex-direction: column;
    }

    .values-column {
        width: 100%;
    }

    .logo-container {
        display: none; /* Hide the logo on mobile */
    }

    .value-card {
        flex-direction: row;
        margin-bottom: 10px;
    }

}


/*========Objectives============*/
#objectives {
    padding: 50px 0;
}

#objectives .container {
    width: 100vw;
    max-width: 100vw;
    padding: 0;
    margin: 0;
}

/* Objective Section */
.objectives-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align all items at the top */
    gap: 15px;
    padding: 20px;
    width: 100%;
}

/* Each objective item */
.objective-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 200px;
    gap: 10px; /* Uniform space between title and card */
}

/* Ensure title heights are equal */
.objective-title {
    min-height: 60px;  /* Set a fixed minimum height */
    width: 210px;
    display: flex;
    background-color: #000000; /* Dark Purple */
    color: #FFD700; /* Gold Text */
    padding: 5px;
    border-radius: 8px;
    text-align: center;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
    border: none; /* Remove border if present */
}
/* Gold Hover Effect */
.objective-title:hover {
    background: gold;
    color: black;
}

/* Cards */
.objective-card {
    background-color:black;
    Width: 100%;
    height: 400px;
    padding: 20px;
    text-align: left;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: left;
    justify-content: left;
    color:white;
}


/* Hover Effect for Cards */
.objective-card:hover {
    transform: scale(1.05);
}


/* Mobile Layout */
@media (max-width: 768px) {
    .objectives-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .objective-item {
        width: 100%;
        max-width: 300px; /* Same width for title and card */
    }

    /* Title and Card Matching Width */
    .objective-title {
        width: 100%;
        min-height: 50px; /* Adjust height if needed */
    }

    .objective-card {
        width: 100%; /* Same width as title */
        height: 200px; /* Landscape format */
        display: flex;
        align-items: center;
        justify-content: left;
        padding: 15px;
    }
}

  /* ======================Team Section===================== */
/* Team Section */
#team {
    text-align: center;
    padding: 20px 0;
    background-color: #504855; /* Dark Purple */
}

.team-title {
    color: #FFD700; /* Gold */
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Team Grid */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Individual Team Members */
.team-member {
    width: 250px; /* Adjust size as needed */
    text-align: center;
}

.team-member img {
    width: 250px;
    height: 350px;
    border-radius: 0%; /* Makes images circular */
    border: 3px solid #000000; /* Gold border */
    transition: transform 0.3s ease-in-out;
}

.team-member h3 {
    color: #FFD700; /* Gold */
    margin-top: 5px;
    font-size: 18px;
}

.team-member p {
    color: white;
    font-size: 14px;
}

/* Hover Effect */
.team-member img:hover {
    transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .team-grid {
        flex-direction: column;
        align-items: center;
    }

    .team-member {
        width: 80%;
    }
}

/*======================= Events Section============================ */
#events {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 10px;
}

h2 {
    color: gold;
    text-align: center;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 10px;
    width: 100%
}

.event-item img {
    width: 100%;
    height: 100%; /* Same height for uniformity */
    object-fit: cover;
    border-radius: 0px;
    cursor: pointer;
    transition: transform 0.01s ease-in-out;
}

.event-item img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .events-grid {
        grid-template-columns: 1fr;
    }

}
/* ================Contact Form Styling============= */
.contact-section {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers everything */
    gap: 40px; /* Space between elements */
    text-align: center; /* Center text */
    flex-wrap: wrap; /* Ensures responsiveness */
}
.text-gold {
    color: gold;
}
/* Centers heading & description */
.contact-header {
    text-align: center;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-direction: row; /* Ensure correct alignment */
}

.contact-info {
    background: black;
    color: white;
    padding: 10px;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    flex: 1; /* Makes it responsive */
    min-width: 250px;
    width: 350px;
}
.contact-info i {
    color: gold; /* Gold icons */
    margin-right: 8px;
}
.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}
.social-icons a {
    font-size: 24px;
    color: gold; /* All icons in gold */
    transition: color 0.3s ease-in-out;
}
.social-icons a:hover {
    color: #c8a415; /* Slightly darker gold on hover */
}
.contact-info-card, .contact-form {
    background: black;
    color: white;
    padding: 10px;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 280px;
    width: 400px;
    flex: 1;
    text-align: left;
}
.contact-image {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
}

.contact-image img {
    max-width: 250px;
    display: block;
    margin: 0 auto; /* Centers the image */
}
.contact-form {
    flex: 1;
    max-width: 500px;
    padding: 20px;
    min-width: 250px;
    background: #000000;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}
.contact-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensures responsiveness */
}

.contact-image {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
}

contact-info-card {
    background: black;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 400px;
}
.social-icons a {
    color: gold;
    font-size: 20px;
    margin-right: 10px;
    transition: color 0.3s ease-in-out;
}

.social-icons a:hover {
    color: gold; /* Light yellow-green on hover */
}


.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-submit {
    background: gold;
    color: black;
    padding: 12px;
    border: none;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #a8b820;
}

/* ==================== 📱 RESPONSIVENESS ==================== */
@media screen and (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* Stack elements on small screens */
        gap: 20px; /* Reduce space between elements */
    }

    .contact-info, .contact-form, .contact-image {
        max-width: 100%; /* Full width */
    }
}

/* Footer Styling */
footer {
    background-color: #000;
    color: #fff;
}




