/* Custom Properties */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --dark: #0f172a;
    --light: #f8fafc;
    --text-gray: #475569;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: 80px 0; }
.bg-light { background-color: var(--light); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.2rem; font-weight: 800; }
.underline { width: 50px; height: 4px; background: var(--primary); margin: 10px auto; }

/* Navigation */
header {
    background: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 1.5rem;
}

.logo-img { height: 45px; width: auto; }

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li { margin-left: 2rem; }
.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 600;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }

/* Hamburger Menu Styling */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), 
                url('images/hero-image.jpg'); 
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 1rem; }
.hero-content p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; opacity: 0.9; }

/* Buttons */
.btn { padding: 12px 28px; border-radius: 6px; text-decoration: none; font-weight: 600; transition: var(--transition); display: inline-block; }
.btn-primary { background: var(--primary); color: white; border: none; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid white; color: white; margin-left: 10px; }
.btn-outline:hover { background: white; color: var(--dark); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card { background: white; padding: 2.5rem; border-radius: 12px; border: 1px solid #edf2f7; text-align: center; transition: var(--transition); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

/* Contact Form */
.contact-form { max-width: 550px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form textarea { padding: 0.8rem; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; }

/* Footer */
footer { background: var(--dark); color: #94a3b8; padding: 60px 0 20px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; padding-bottom: 30px; }
.footer-info h3 { color: white; margin-bottom: 0.5rem; }
.footer-bottom { text-align: center; border-top: 1px solid #1e293b; padding-top: 20px; font-size: 0.85rem; }

/* --- MOBILE RESPONSIVE OPTIMIZATION --- */
@media (max-width: 768px) {
    .hamburger { display: block; }
    
    /* Hamburger Animation to 'X' */
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-links.active { left: 0; }
    .nav-links li { margin: 1.5rem 0; }
    
    .hero-btns { display: flex; flex-direction: column; gap: 1rem; padding: 0 20px; }
    .btn-outline { margin-left: 0; }
}