/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('IMG/image.png') center/cover no-repeat;
    color: #f5f5f5;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

header .header-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    display: inline-block;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

header p {
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Logo */
.logo {
    width: 220px;
    margin: 0 auto 40px;
    border-radius: 50%;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    filter: brightness(1.1) contrast(1.2);
}

/* Navigation */
nav {
    background-color: #1a2a44;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-logo {
    color: #f5f5f5;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #ffd700;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #f5f5f5;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections */
section {
    padding: 60px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 2.2rem;
    color: #1a2a44;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-heading p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.about-text {
    flex: 1;
    min-width: 280px;
}

.about-image {
    flex: 1;
    min-width: 280px;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    color: #1a2a44;
    margin-bottom: 10px;
}

/* Updated Gallery Section */
.gallery {
    background-color: #1a2a44;
    color: white;
}

.gallery .section-heading h2 {
    color: white;
}

.gallery .section-heading p {
    color: #ccc;
}

.gallery-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-slide {
    display: none;
    text-align: center;
}

.gallery-slide.active {
    display: block;
}

.gallery-image {
    width: 100%;
    padding-top: 50%;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.gallery-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-caption {
    padding: 0 20px;
    margin-bottom: 20px;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.gallery-nav button {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 0 10px;
    padding: 5px 15px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.gallery-nav button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.contact-form {
    flex: 1;
    min-width: 280px;
}

.contact-info {
    flex: 1;
    min-width: 280px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

button.submit-btn {
    background-color: #1a2a44;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    display: inline-block;
}

button.submit-btn:hover {
    background-color: #2a3a54;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #1a2a44;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    color: #1a2a44;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: #1a2a44;
    color: white;
    text-align: center;
    padding: 20px;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.social-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #f5f5f5;
    font-size: 1.5rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Updated Media Queries */
@media (max-width: 992px) {
    .gallery-image {
        padding-top: 66.67%;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .logo {
        width: 180px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #1a2a44;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 99;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .gallery-image {
        padding-top: 75%;
    }
    
    .section-heading h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .about-text, .about-image, 
    .contact-form, .contact-info {
        min-width: 100%;
    }
    
    .gallery-image {
        padding-top: 100%;
    }
    
    .service-image {
        height: 160px;
    }
    
    .footer-links, .social-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links a, .social-links a {
        padding: 5px 0;
    }
}