/* 1. Guaranteed Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@700;800&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

/* 2. Modern Color Palette */
:root {
    --bg-color: #f8fafc;        
    --text-main: #334155;       
    --text-muted: #64748b;
    --primary-dark: #0f172a;    
    --accent-color: #2563eb;    
    --card-bg: #ffffff;
}

/* 3. Global Typography Boost */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.8;
    font-size: 18px; 
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-dark);
    margin-top: 0;
}

/* 4. Sticky Header */
header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.05rem; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(43, 58, 95, 0.75), rgba(0, 0, 0, 0.85)), url('77.jpg') center/cover no-repeat;
    color: #fff;
    padding: 160px 20px; 
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: 4rem; 
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--accent-color); 
}

.hero p {
    font-size: 2rem; 
    color: #cbd5e1;
    max-width: 100%;
    margin: 0 auto;
}

/* Default Section Layouts */
section, .services-container, .gallery-container {
    padding: 100px 5%;
}

/* --- Full-Bleed Split About Us Section --- */
.about-us {
    padding: 0 !important; 
    background-color: var(--card-bg); 
}

.about-container {
    display: flex;
    align-items: stretch; 
    max-width: 100%; 
    margin: 0;
    gap: 0; 
}

.about-image {
    flex: 1;
    display: flex;
    min-height: 400px; 
    background-color: #fff; 
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    border-radius: 0; 
    display: block;
}

.about-content {
    flex: 1;
    padding: 60px 8%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.about-content h2 {
    font-size: 2.8rem; 
    margin-bottom: 25px;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.about-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background: var(--accent-color);
    margin-top: 15px;
    border-radius: 3px;
}

.about-content p {
    font-size: 1.25rem; 
    font-weight: 500;  
    line-height: 1.8;
    color: var(--text-main); 
    margin-bottom: 20px;
}

/* 5. Services Grid */
.services-title {
    text-align: center;
    padding-top: 80px;
}

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-box {
    background: #000000; 
    color: #fff;
    padding: 60px 40px; 
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.35);
}

.service-box h3 {
    color: #fff; 
    font-size: 1.8rem; 
    margin-bottom: 20px;
}

.service-box p {
    color: #e2e8f0; 
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0;
}

/* --- THE GALLERY FIX: EDGE-TO-EDGE --- */
.gallery-container {
    background: #fff;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 4 / 3; 
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
    overflow: hidden; /* Ensures the picture stays perfectly inside the curved borders */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Forces the picture to stretch and fill the whole card */
    display: block;
    transition: transform 0.3s ease;
}


/* Contact Grid */
/* Contact Grid (Modernized) */
.contact-us {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
    background-color: var(--bg-color);
}

.contact-wrapper {
    max-width: 1200px;
    width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    color: var(--primary-dark);
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
}

.contact-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 3px;
}

.contact-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px; 
}

.contact-item {
    background-color: var(--card-bg); 
    padding: 50px 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.contact-icon-wrapper {
    background-color: rgba(37, 99, 235, 0.08); 
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.contact-item svg {
    width: 32px; 
    height: 32px;
    fill: var(--accent-color); 
}

.contact-item h4 {
    color: var(--primary-dark); 
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.contact-item p {
    margin: 0;
    color: var(--text-muted); 
    font-family: 'Inter', sans-serif; 
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 400; 
}
/* Footer */
footer {
    background: rgb(255, 255, 255);
    color: #000000;
    text-align: center;
    padding: 60px 5%;
}

.footer-sitemap ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.footer-sitemap a {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.footer-sitemap a:hover {
    color: var(--accent-color);
}

/* Mobile Menu Toggle & Full Screen Overlay */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 10001; 
}

.menu-toggle span {
    height: 4px;
    width: 30px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: all 0.3s ease-in-out; 
}

/* Hamburger morphs into an X when opened */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    background: #fff;
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px); 
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
    background: #fff;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .services {
        grid-template-columns: 1fr; 
    }
    
    .hero h1 {
        font-size: 3rem;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        width: 100%;
        min-height: 350px;
    }

    .about-content {
        text-align: center;
        padding: 60px 5%;
    }

    .about-content h2::after {
        margin: 15px auto 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-list {
        display: flex; 
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%; 
        height: 100vh;
        background: linear-gradient(rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.95)), url('imgback.jpeg') center/cover no-repeat;
        z-index: 10000;
        gap: 2.5rem;
        
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-list.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-list a {
        color: #fff;
        font-size: 2.2rem; 
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    
    .contact-grid-modern {
        grid-template-columns: 1fr;
    }
}