/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Navbar */
.navbar {
    background-color: #e9610c; /* Saffron color */
    padding: 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar ul {
    list-style: none;
    text-align: center;
}

.navbar ul li {
    display: inline-block;
    margin: 0 15px;
}

.navbar ul li a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
}

.navbar ul li a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 80vh; /* Full height of the viewport */
    background-image: url('../../images/ss.jpg'); /* Replace with your image path */
    background-size: cover; /* Cover the whole section */
    background-position: center; /* Center the image */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    
}

.hero p {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.cta-btn {
    padding: 10px 20px;
    background-color: #ff5733;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #ff421a;
}

/* Section Styling */
section {
    padding: 60px 20px;
    text-align: center;
}

/* Section Title Styles */
.section-title {
    font-size: 2.5rem;
    color: #FF9933;
    font-weight: bold;
    margin-bottom: 40px; /* Space between title and content */
    text-align: center; /* Ensure the title is centered */
}

/* Multicolumn Layouts (for Services, Grievances, etc.) */
.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center; /* Aligns items horizontally within their grid cells */
    align-items: center; /* Aligns items vertically within their grid cells */
    padding: 0 20px; /* Adds padding around the grid */
    max-width: 1200px; /* Optional: limits the width of the grid for a more controlled layout */
    margin: 0 auto; /* Centers the grid container horizontally */
}


.section-grid .card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
    transition: all 0.3s ease;
    width: 100%; /* Ensure the cards are full width within the grid item */
}

.section-grid .card:hover {
    transform: translateY(-10px);
}

.card h5 {
    font-size: 1.5rem;
    color: #FF9933;
    margin-bottom: 15px;
}

.card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.gallery-section .section-title {
    font-size: 2.5rem;
    color: #FF9933;
    font-weight: bold;
    margin-bottom: 30px;
}

.gallery-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    justify-items: center;
}

.gallery-section .gallery-grid img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-section .gallery-grid img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #505050;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Call to Action (CTA) Section */
.cta-section {
    background-color: #333;
    color: white;
    padding: 40px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section .cta-btn {
    background-color: #FF9933;
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-grid {
        grid-template-columns: 1fr; /* Stack cards in a single column on smaller screens */
    }

    .gallery-section .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* Message from the President Section */
#message-from-president {
    background-color: #FF9933; /* Saffron background */
    color: white;
    padding: 60px 20px;
    text-align: center;
}

#message-from-president .section-title {
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
    margin-bottom: 30px;
}

#message-from-president .message-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

#message-from-president .message-content img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 5px solid #fff;
}

#message-from-president .message-content h3 {
    font-size: 2rem;
    color: #FF9933;
    margin-bottom: 15px;
}

#message-from-president .message-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}
