/* --- 1. GLOBAL VARIABLES & RESET --- */
:root {
    --primary-blue: #2D74B4;
    --primary-orange: #F05A28;
    --dark-text: #2B3336;
    --light-bg: #F4F7F6;
    --white: #ffffff;
    --header-bg: #FDF8F4;
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: #fcfcfc;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, .nav-link, .btn {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- 2. TOP BANNER --- */
.top-banner {
    background-color: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}
.top-banner a { color: white; text-decoration: underline; margin-left: 5px; }
.banner-divider { margin: 0 10px; opacity: 0.5; }

/* --- 3. NAVIGATION --- */
header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 5%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    z-index: 1001;
}

.logo-area img { 
    height: 60px; 
    width: auto; 
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply; 
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lt-main {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.lt-sub {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-orange);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 3px;
}

.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 14px; color: var(--dark-text); }
.nav-links a:hover { color: var(--primary-blue); }

.nav-btn {
    background: var(--primary-orange);
    color: white !important;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: bold;
}
.nav-btn:hover { background: #d14010; transform: translateY(-2px); }

/* Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1002;
}
.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: 0.3s;
}

/* --- 4. HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(45, 116, 180, 0.85), rgba(45, 116, 180, 0.65)), 
                url('https://images.unsplash.com/photo-1513694203232-719a280e022f?q=80&w=2069&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}
.hero-content { max-width: 900px; animation: fadeIn 1s ease-in; }
.hero h1 { font-size: 4rem; margin-bottom: 20px; line-height: 1.1; text-shadow: 0 4px 8px rgba(0,0,0,0.3); }
.hero p { font-size: 1.4rem; margin-bottom: 40px; font-weight: 600; opacity: 0.95; }
.main-btn {
    background: var(--primary-orange); color: white; padding: 18px 50px; font-size: 1.2rem;
    border-radius: 4px; font-weight: bold; display: inline-block; box-shadow: 0 4px 15px rgba(240, 90, 40, 0.4);
}
.main-btn:hover { background: #d14010; transform: translateY(-3px); }

/* --- 5. SECTIONS --- */
.section { padding: 100px 5%; }
.bg-light { background-color: var(--light-bg); }
.section-title { text-align: center; font-size: 2.8rem; color: var(--primary-blue); margin-bottom: 60px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.card {
    background: white; padding: 50px 30px; border-radius: 8px; box-shadow: var(--shadow); text-align: center;
    transition: transform 0.3s ease; border-bottom: 4px solid transparent;
    height: 100%;
}
.card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--primary-orange); }
.card i { font-size: 3.5rem; color: var(--primary-blue); margin-bottom: 25px; }
.card h3 { margin-bottom: 15px; font-size: 1.5rem; color: var(--dark-text); }
.card p { color: #666; font-size: 1rem; }

/* --- 6. SERVICES & PROJECTS & ABOUT (Vertical Layouts) --- */
.service-stack, .project-stack { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }

/* Service Row */
.service-row {
    display: flex; gap: 30px; background: white; padding: 40px; border-radius: 8px;
    box-shadow: var(--shadow); align-items: flex-start; border-left: 5px solid transparent;
    transition: transform 0.3s ease;
}
.service-row:hover { transform: translateY(-5px); border-left: 5px solid var(--primary-orange); }
.service-icon {
    flex-shrink: 0; width: 80px; height: 80px; background: #eef4fa; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--primary-blue); font-size: 2rem;
}

/* Project Row */
.project-row {
    display: flex; background: white; border-radius: 8px; overflow: hidden;
    box-shadow: var(--shadow); transition: transform 0.3s ease; 
    align-items: center; 
}
.project-row:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }

/* IMAGES (Projects & About) */
.project-pic, .about-pic {
    width: 50%; 
    height: 400px; 
    object-fit: cover; 
    display: block;
}

.project-row-content { width: 50%; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.project-tag {
    display: inline-block; background: #eef4fa; color: var(--primary-blue); padding: 5px 12px;
    border-radius: 20px; font-size: 0.85rem; font-weight: bold; margin-bottom: 15px; width: fit-content;
}

.service-content, .project-row-content { flex-grow: 1; }
.service-content h3, .project-row-content h3 { color: var(--primary-blue); margin-bottom: 15px; font-size: 1.8rem; }
.service-content ul { list-style: none; margin: 0; padding: 0; }
.service-content li { margin-bottom: 10px; padding-left: 25px; position: relative; color: #666; }
.service-content li::before { content: '✓'; position: absolute; left: 0; color: var(--primary-orange); font-weight: bold; }

/* About Page Split Layout */
.about-split {
    display: flex;
    align-items: center; /* Vertically center */
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    background: white; /* Optional: adds a card effect */
    padding: 20px;
    border-radius: 8px;
}
.about-text { flex: 1; padding: 20px; }

/* --- 7. CONTACT LAYOUTS --- */
.contact-section { background-color: #1a2022; color: white; padding: 80px 5%; }
.contact-wrapper { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* Reviews / Blob */
.reviews-container h2 { font-size: 2.5rem; margin-bottom: 10px; }
.review-card {
    background: white; color: var(--dark-text); padding: 25px; border-radius: 8px;
    margin-bottom: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); position: relative;
}
.review-card::after {
    content: ''; position: absolute; bottom: -10px; left: 20px; border-width: 10px 10px 0;
    border-style: solid; border-color: white transparent; display: block; width: 0;
}
.stars { color: #FFD700; margin-bottom: 10px; }
.review-author { display: flex; align-items: center; gap: 15px; margin-top: 15px; }
.author-avatar { width: 40px; height: 40px; background: var(--primary-blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }

/* Form */
.form-container { background: white; color: var(--dark-text); padding: 40px; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; gap: 20px; }
.form-row input { width: 50%; }

input, textarea { padding: 15px; border: 1px solid #ddd; border-radius: 4px; background: #f9f9f9; font-family: 'Open Sans', sans-serif; width: 100%; font-size: 1rem; }
input[type="file"] { padding: 10px; background: white; }

button[type="submit"] {
    background: var(--primary-orange); color: white; padding: 15px; border: none; border-radius: 4px;
    font-size: 1.2rem; font-weight: bold; cursor: pointer; font-family: 'Oswald', sans-serif; transition: 0.3s;
}
button[type="submit"]:hover { background: #d14010; }

/* Map */
.map-section { width: 100%; height: 400px; background: #ddd; border-top: 5px solid var(--primary-blue); }
.map-section iframe { width: 100%; height: 100%; border: 0; filter: grayscale(20%); }

/* Footer */
footer { background: #111; color: #666; padding: 40px 5%; text-align: center; font-size: 0.9rem; }

/* --- 8. MOBILE RESPONSIVE FIXES --- */
@media (max-width: 1000px) {
    .hamburger { display: flex; }
    
    .nav-links {
        display: none; 
        position: absolute; top: 100%; left: 0; width: 100%;
        background-color: var(--header-bg);
        flex-direction: column; padding: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); text-align: center;
    }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 1.2rem; padding: 15px; border-bottom: 1px solid #ddd; width: 100%; }
    .nav-btn { width: 100%; margin-top: 10px; }

    /* Fix Squished Forms */
    .contact-wrapper { grid-template-columns: 1fr; } 
    .form-row { flex-direction: column; gap: 15px; } 
    .form-row input { width: 100%; } 
    
    .top-banner { display: flex; flex-direction: column; gap: 5px; }
    .banner-divider { display: none; }

    .lt-main { font-size: 1.1rem; }
    .lt-sub { font-size: 0.6rem; }
    .logo-area img { height: 45px; }

    .hero h1 { font-size: 2.2rem; }
    
    /* Stack Services/Projects/About */
    .service-row, .project-row, .about-split { flex-direction: column; text-align: center; padding: 30px 20px; }
    .service-icon { margin: 0 auto; }
    .service-content ul { display: inline-block; text-align: left; }
    
    /* Ensure images show on mobile */
    .project-pic, .about-pic { width: 100%; height: 250px; }
    .project-row-content, .about-text { width: 100%; padding: 20px 0; }
    
    /* Re-order about: Image top, text bottom on mobile */
    .about-split { flex-direction: column-reverse; } 
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }