/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
    scroll-behavior: smooth;
    overflow-x: hidden; 
}

/* --- Header & Navigation --- */
header {
    background: #003366; 
    color: white;
    padding: 10px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    color: #ffcc00; 
    letter-spacing: 1px;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    border-radius: 4px; 
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffcc00;
}

.nav-links a.active {
    border-bottom: 2px solid #ffcc00;
}

.wa-btn {
    background: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.wa-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* --- Hero Section --- */
.hero {
    height: 90vh; 
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('images/newone.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    margin-top: 60px; 
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
    letter-spacing: 2px;
}

.hero-text p {
    font-size: 1.4rem;
    margin-bottom: 35px;
    font-weight: 300;
}

.main-btn {
    background: #ffcc00;
    color: #003366;
    padding: 16px 45px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.main-btn:hover {
    background: white;
    color: #003366;
    transform: scale(1.05);
}

/* --- Main Layout --- */
.container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #003366;
    position: relative;
    text-transform: capitalize;
}

.title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #ffcc00;
    display: block;
    margin: 15px auto;
}

.about-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

.service-section {
    background: white;
    margin-bottom: 50px;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border-left: 6px solid #003366;
    transition: 0.4s ease;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.service-header i {
    font-size: 35px;
    color: #ffcc00;
    margin-right: 20px;
}

.service-header h3 {
    font-size: 1.8rem;
    color: #003366;
}

/* --- Gallery --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-item {
    margin: 0;
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.4s ease;
    text-align: center;
    border: 1px solid #eee;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #ffcc00;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
}

.gallery-item figcaption {
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #003366;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Lightbox System --- */
.lightbox {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.95);
}

.lightbox-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.lightbox-content {
    display: block;
    max-width: 90%;
    max-height: 70vh;
    border-radius: 10px;
    border: 4px solid #ffcc00;
    animation: zoom 0.3s;
}

#caption {
    background: rgba(255, 204, 0, 0.95);
    color: #003366;
    padding: 15px 25px;
    margin-top: 20px;
    border-radius: 8px;
    max-width: 700px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: #ffcc00;
}

@keyframes zoom {
    from {transform: scale(0.8); opacity: 0;} 
    to {transform: scale(1); opacity: 1;}
}

/* --- Footer --- */
footer {
    background: #111;
    color: #ddd;
    padding: 60px 5% 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info {
    flex: 1;
    min-width: 280px;
}

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #ffcc00;
}

.footer-info p {
    margin: 15px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-info i {
    color: #ffcc00;
    width: 20px;
}

.footer-info a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.footer-info a:hover {
    color: #ffcc00;
}

.footer-map {
    flex: 1;
    min-width: 300px;
}

footer hr {
    border: 0;
    border-top: 1px solid #333;
    margin: 40px 0 20px;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

/* --- Responsive Media Queries --- */
@media (max-width: 768px) {
    header {
        padding: 10px 3%;
    }

    nav {
        flex-direction: column;
        gap: 12px;
    }

    .nav-links {
        padding: 5px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li {
        margin: 5px 10px;
    }

    .wa-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .hero {
        background-attachment: scroll; /* Performance fix for mobile */
        height: 65vh;
        margin-top: 110px; /* Adjusted for larger mobile header */
    }

    .hero-text h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .main-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .container {
        margin: 40px auto;
    }

    .title {
        font-size: 1.8rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info p {
        justify-content: center;
    }

    .close-btn {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }

    .gallery {
        grid-template-columns: 1fr; /* Single column for small phones */
    }
}