:root {
    --primary-blue: #1A3C6C; /* Deep Corporate Blue from Logo */
    --accent-red: #D62828;   /* Professional Red for CTA */
    --light-bg: #F8F9FA;
    --text-dark: #2D3436;
    --text-gray: #636E72;
}

* { margin: 0; padding: 0; box-box: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: #fff; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navigation */
.navbar { background: #fff; padding: 15px 0; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1000; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 200px; width: auto; }
nav ul { list-style: none; display: flex; align-items: center; }
nav ul li { margin-left: 30px; }
nav ul li a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 14px; transition: 0.3s; }
nav ul li a:hover { color: var(--accent-red); }
.nav-cta { background: var(--accent-red); color: #fff !important; padding: 10px 20px; border-radius: 4px; }

/* Hero Section */
.hero { 
    background: linear-gradient(rgba(26, 60, 108, 0.85), rgba(26, 60, 108, 0.85)), url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    color: #fff;
}
.badge { background: var(--accent-red); padding: 5px 12px; font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; border-radius: 20px; }
.hero h1 { font-size: 48px; margin: 20px 0; line-height: 1.2; }
.hero h1 span { font-weight: 300; }
.hero p { max-width: 600px; font-size: 18px; margin-bottom: 30px; opacity: 0.9; }

/* Services */
.services { padding: 80px 0; background: var(--light-bg); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 32px; color: var(--primary-blue); }
.line { width: 60px; height: 4px; background: var(--accent-red); margin: 15px auto; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-top: 4px solid transparent; transition: 0.3s; }
.service-card:hover { border-top: 4px solid var(--accent-red); transform: translateY(-5px); }
.icon-box { background: var(--primary-blue); color: #fff; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 24px; border-radius: 4px; margin-bottom: 20px; }

/* Buttons */
.btn-red { background: var(--accent-red); color: #fff; padding: 15px 35px; text-decoration: none; border-radius: 4px; font-weight: bold; display: inline-block; transition: 0.3s; }
.btn-outline { border: 2px solid #fff; color: #fff; padding: 13px 35px; text-decoration: none; border-radius: 4px; font-weight: bold; display: inline-block; margin-left: 15px; transition: 0.3s; }
.btn-red:hover { opacity: 0.9; }
.btn-outline:hover { background: #fff; color: var(--primary-blue); }

/* Footer */
.footer { background: var(--primary-blue); color: #fff; padding: 40px 0; text-align: center; }
.small { opacity: 0.7; font-size: 13px; margin-top: 10px; }
/* Portfolio Gallery Styling */
.portfolio { padding: 80px 0; background: #fff; }

.project-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 20px; 
}

.project-card { 
    position: relative; 
    height: 300px; 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}

.project-img { 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    transition: transform 0.5s ease; 
}

.overlay { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    background: linear-gradient(transparent, rgba(26, 60, 108, 0.95)); 
    padding: 30px; 
    color: white; 
    transform: translateY(20px);
    transition: 0.4s;
}

.project-card:hover .project-img { transform: scale(1.1); }
.project-card:hover .overlay { transform: translateY(0); }

.overlay span { 
    font-size: 12px; 
    text-transform: uppercase; 
    background: #D62828; 
    padding: 3px 8px; 
    border-radius: 3px; 
}

.overlay h3 { margin-top: 10px; font-size: 20px; }