* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
}

.navbar {
    background: linear-gradient(to right, #1c1c1c, #0e064c);
    color: white;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: #00bcd4;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* Nav links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li {
    position: relative;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    padding: 8px 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #ff4081;
    transition: width 0.4s ease;
}

.nav-links a:hover {
    color: #ff4081;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    background: linear-gradient(to right, #1c1c1c, #0e064c);
    top: 100%;
    left: 0;
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 10px 20px;
}

.dropdown-menu a {
    font-size: 16px;
    color: white;
}

.dropdown-menu a:hover {
    color: #ff4081;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 65px;
        left: 0;
        background: linear-gradient(to right, #1c1c1c, #0e064c);
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        display: none;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        padding: 10px 20px;
    }

    .dropdown-menu {
        position: relative;
        box-shadow: none;
        padding-left: 15px;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown>a::after {
        content: " ▼";
        font-size: 12px;
    }

    .dropdown>a:active+.dropdown-menu,
    .dropdown>a:focus+.dropdown-menu {
        display: block;
    }
}

h1 {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    font-size: 2.5em;
    font-weight: bold;
    background: linear-gradient(to right, #006400, #239323);
    /* Dark green to light green */
    color: white;
    border: 3px solid #006400;
    /* Border matches dark green */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 100, 0, 0.3);
    /* Green shadow */
    transition: all 0.3s ease;
}

h1:hover {
    background: linear-gradient(to left, #006400, #32cd32);
    /* Reverse gradient */
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 100, 0, 0.4);
    border-color: #32cd32;
    /* Border becomes lighter green */
}

/* Mobile view adjustments */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
        /* Smaller font size */
        padding: 12px 10px;
        /* Less padding for narrow screens */
        margin: 15px 10px;
        /* Slightly smaller margin */
        border-width: 2px;
        /* Slightly thinner border */
        border-radius: 8px;
        /* Slightly smaller border radius */
        box-shadow: 0 3px 8px rgba(0, 100, 0, 0.25);
        /* lighter shadow */
    }

    h1:hover {
        transform: translateY(-3px);
        /* smaller lift */
        box-shadow: 0 5px 10px rgba(0, 100, 0, 0.3);
        border-color: #32cd32;
    }
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: auto;
}

.gallery-container img {
    width: 100%;
    height: 70%;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-container img:hover {
    transform: scale(1.05);
}

/* Gallery Container for Portrait Images */
.gallery-container.portrait {
    display: grid;
    gap: 15px;
    max-width: 1200px;
    margin: auto;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Image Styling */
.gallery-container.portrait img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-container.portrait img:hover {
    transform: scale(1.05);
}

/* Modal (Image Enlarged) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Background overlay */
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    display: block;
    border-radius: 8px;
}

/* Close Button */
.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

/* Zoom Controls */
.zoom-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.zoom-controls button {
    padding: 10px;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.zoom-controls button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* Footer Base */
footer {
    background: linear-gradient(to right, #2e455b, #2f7580);
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Container Styling */
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

/* Contact Bar Styling */
.contact-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-in-out;
}

.contact-bar.single {
    justify-content: center;
}

/* Contact Item Styling */
.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Icon Styling with Glow Effect */
.contact-item img {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
}

.news-img img {
    width: 95%;
    height: auto;
    /* height ko auto rakhna chahiye taake aspect ratio maintain rahe */
    max-height: 80px;
    /* agar height fix karni ho to */
    display: block;
    margin: 0 auto;
    /* center align karne ke liye */
}

@media only screen and (max-width: 600px) {
    .news-img img {
        width: 90%;
        max-height: 60px;
    }
}