/* style.css */
:root {
    --primary: #0A4A6F;     /* Profile Blue */
    --secondary: #1A7FB7;   /* Profile Light Blue */
    --accent: #FF6B00;      /* Profile Orange */
    --text-dark: #212529;
    --text-light: #6c757d;
    --bg-light: #F8F9FA;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden; /* Critical for preventing horizontal scroll */
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary); font-weight: 700; }
a { text-decoration: none; transition: 0.3s ease; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

/* UTILITIES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }

.btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid var(--primary);
}
.btn:hover { background: transparent; color: var(--primary); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* NAVBAR */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 24px; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.logo img { height: 50px; } 

/* Desktop Links */
.nav-links { display: flex; gap: 25px; }
.nav-links a { color: var(--text-dark); font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.hamburger { display: none; font-size: 24px; cursor: pointer; }

/* HERO SECTION */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(10, 74, 111, 0.7), rgba(10, 74, 111, 0.5)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop'); 
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white);
}
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; color: var(--white); }
.hero p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; max-width: 700px; margin-inline: auto; }

/* PAGE HEADERS (Small Hero) */
.page-header {
    height: 50vh;
    background: linear-gradient(rgba(10, 74, 111, 0.8), rgba(10, 74, 111, 0.6)), url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=2070&auto=format&fit=crop');
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); text-align: center; margin-top: 80px;
}
.page-header h1 { font-size: 3rem; color: var(--white); }

/* STATS */
.stats-container { margin-top: -50px; position: relative; z-index: 10; padding-bottom: 50px; }
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    background: var(--white); padding: 40px; border-radius: 12px; box-shadow: var(--shadow); gap: 20px;
}
.stat-box h3 { font-size: 2.5rem; color: var(--accent); margin-bottom: 5px; }
.stat-box p { font-weight: 600; color: var(--secondary); text-transform: uppercase; font-size: 0.9rem; }

/* GRIDS & CARDS */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

.card {
    background: var(--white); border-radius: 10px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s;
    border-bottom: 3px solid transparent;
}
.card:hover { transform: translateY(-10px); border-bottom-color: var(--accent); }
.card-body { padding: 25px; }
.card-icon { font-size: 40px; margin-bottom: 15px; }

/* PROJECT CARDS */
.project-card { position: relative; height: 350px; border-radius: 10px; overflow: hidden; }
.project-card img { width: 100%; height: 100%; transition: 0.5s; }
.project-card:hover img { transform: scale(1.1); }
.project-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 30px; color: var(--white); transform: translateY(20px); transition: 0.3s;
}
.project-card:hover .project-overlay { transform: translateY(0); }
.project-overlay h3 { color: var(--white); margin-bottom: 5px; }
.project-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 5px;
    border: 1px solid rgba(255,255,255,0.4);
}

/* TEAM */
.team-img { 
    width: 180px; 
    height: 180px; 
    border-radius: 50%; 
    margin: 0 auto 20px; 
    overflow: hidden; 
    border: 4px solid var(--bg-light);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-section-split {
    display: flex;
    flex-wrap: wrap;
    box-shadow: var(--shadow);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 40px;
    background: var(--white);
}

.contact-info-panel {
    flex: 1;
    background: var(--primary);
    color: var(--white);
    padding: 60px;
    min-width: 300px;
}

.contact-form-panel {
    flex: 1.5;
    padding: 60px;
    background: var(--white);
    min-width: 300px;
}

.contact-info-panel h3, .contact-info-panel h4 { color: var(--white); }
.contact-info-panel p { color: rgba(255,255,255,0.8); }
.office-item { border-left: 4px solid var(--accent); padding-left: 20px; margin-bottom: 40px; }

/* FOOTER */
footer { background: var(--primary); color: var(--white); padding: 60px 0 20px; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer h3 { color: var(--white); }
.footer p, .footer li a { color: rgba(255,255,255,0.8); margin-bottom: 10px; display: block; }
.footer li a:hover { color: var(--accent); padding-left: 5px; }


/* MOBILE FIXES & HAMBURGER ANIMATION (The Core Fix) */
@media(max-width: 768px) {
    /* 1. Hide desktop links */
    .nav-links { 
        position: fixed;
        top: 80px; 
        right: 0; /* Menu slides from the right edge */
        width: 80%; /* Takes up 80% of the screen */
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 20px;
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        
        /* HIDDEN by default (moved off-screen to the right) */
        transform: translateX(100%); 
        
        /* The smooth transition property */
        transition: transform 0.4s ease-in-out; 
    }
    
    /* 2. Menu is visible when 'active' class is applied (brought back to screen) */
    .nav-links.active { 
        transform: translateX(0); 
    }
    
    /* 3. Display the hamburger icon */
    .hamburger { 
        display: block; 
    }

    /* 4. Other Mobile Adjustments */
    .hero h1 { font-size: 2.5rem; }
    .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .contact-section-split { flex-direction: column; }
    .about-split { grid-template-columns: 1fr; }
}
/* --- END OF style.css --- */