:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --bg-color: #f8f9fa;
    --light-bg-color: #ffffff;
    --footer-bg-color: #007bff;
}

/* Universal reset for margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Logo at the top center */
.logo-container {
    text-align: center;
    margin: 20px 0; /* Space around the logo */
  }
  
  .logo-image {
    height: 100px; /* Adjust logo size */
  }
  
  .logo-text {
    font-size: 28px;
    font-weight: bold;
    margin-top: 10px;
  }
  
  /* Navbar styles */
  .nav-links {
    text-align: center;
    margin-top: 10px;
    background-color: #ffffff; /* Dark background for the navbar */
    padding: 15px 0;
  }
  
  .nav-links a {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 20px;
    background-color: #ffffff; /* Button background */
    color: #0e0101; /* Button text color */
    text-decoration: none;
    font-size: 16px;
    border-radius: 25px; /* Rounded button look */
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    border: 2px solid #ffffff; /* Border for buttons */
  }
  
  /* Hover effect for buttons */
  .nav-links a:hover {
    background-color: #ffc107; /* Yellow highlight */
    color: #080000; /* Text becomes white */
    border-color: #ffc107; /* Border matches hover color */
    transform: scale(1.1); /* Slightly enlarges the button */
  }
  
/* General body styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--primary-color);
}



/* Header section */
header {
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 4rem;
    height: 30vh;
    text-align: center;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Main content section */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

/* Features section (grid layout) */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature {
    background: var(--light-bg-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

/* News section (grid layout) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-item {
    background: var(--light-bg-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Footer section */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--footer-bg-color);
    color: white;
    margin-top: 4rem;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    /* Adjust navbar for mobile */
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
        gap: 10px;
        justify-content: center; /* Center the navigation links */
    }

    /* Adjust header for mobile */
    header {
        padding: 6rem 1rem 3rem;
    }

    header h1 {
        font-size: 2rem;
    }

    /* Make features and news grid columns stack on smaller screens */
    .features, .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Content Section Styling */
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.content h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
}

.content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.signature {
    margin-top: 2rem;
    font-style: italic;
    text-align: right;
}

/* Enhancements for hover effects */
.feature:hover,
.news-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
}

.carousel-inner img {
    width: 100%;
    height: 500px; /* Adjust as needed */
    object-fit: cover; /* Ensures the whole image is visible */
    background-color: #000; 
}


/* Gallery Page Styling */
.gallery-container {
    max-width: 1000px;
    margin: auto;
    padding: 2rem;
}

.gallery-section {
    margin-bottom: 3rem;
    text-align: center;
}

.gallery-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Image Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 10px;
    justify-content: center;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* Hover Effect */
.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal Image Styling */
.modal-body img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

/* Modal adjustments for better fit */
.modal-dialog {
    max-width: 90%;
}

.modal-content {
    max-height: 80vh;
    overflow: hidden;
}

.modal-body {
    padding: 0;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-dialog {
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .modal-dialog {
        max-width: 100%;
    }
}


