/* Base Variables & Reset - MATCHED TO LOGO */
:root {
    --brand-blue: #0d3559;  
    --brand-red: #ac242e;   
    
    --text-main: #0d3559;   
    --text-muted: #5a768f;  
    --white: #ffffff;
    --bg-light: #f4f6f8;   
    --bg-dark-header: #0d3559; 
    --bg-dark-footer: #0a253d; 
    
    --btn-primary: #ac242e; 
    --btn-primary-hover: #961825; 
    --border-primary: #ac242e; 
    --link-accent: #ac242e;
    --icon-accent: #ac242e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    color: var(--text-main); 
    line-height: 1.6;
    padding-top: 70px; 
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography & Utilities */
.section { padding: 80px 0; }
.light-bg { background-color: var(--bg-light); }
.text-center { text-align: center; }

.section-title {
    font-size: 2.2rem;
    color: var(--brand-blue); 
    margin-bottom: 20px;
}
.section-subtitle {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}
.left-align { text-align: left; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--btn-primary); 
    color: var(--white);
}
.btn-primary:hover {
    background: var(--btn-primary-hover); 
}
.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--brand-blue);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-dark-header); 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}
.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain; 
}
.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
}

/* THE CSS TRICK FOR THE LOGO TEXT */
.logo-text::after {
    content: " SOLUTIONS";
    color: var(--brand-red);
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    margin-left: 25px;
    font-size: 1rem;
    transition: 0.3s;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--brand-red); 
}
.hamburger {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Page Headers */
.page-header {
    background: var(--bg-dark-header); 
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}
.page-header h1 {
    font-size: 2.5rem;
    color: var(--white); 
    margin-bottom: 10px;
}
.page-header p {
    color: var(--white);
    opacity: 0.9;
}

/* Hero Section */
.hero {
    height: calc(100vh - 70px);
    background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1920&q=80') center/cover;
    position: relative;
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 53, 89, 0.85); 
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; color: var(--white); }
.hero-buttons { display: flex; gap: 15px; }

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-content p { margin-bottom: 15px; color: var(--text-muted); }
.core-values { display: flex; flex-direction: column; gap: 20px; }
.value-box {
    background: var(--bg-light);
    padding: 30px;
    border-left: 4px solid var(--border-primary); 
    border-radius: 4px;
}
.value-box i { font-size: 2rem; color: var(--icon-accent); margin-bottom: 15px; } 
.value-box h3 { color: var(--brand-blue); margin-bottom: 10px;}
.value-box p { color: var(--text-muted); }

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
}
.service-card:hover { transform: translateY(-5px); }
.service-card i { font-size: 2.5rem; color: var(--icon-accent); margin-bottom: 20px; } 
.service-card h3 { color: var(--brand-blue); margin-bottom: 15px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-details h3 { color: var(--brand-blue); margin-bottom: 10px; }
.contact-details p { color: var(--text-muted); margin-bottom: 10px; }
.info-list { list-style: none; margin-top: 20px; }
.info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-muted);
}
.info-list i { color: var(--brand-blue); font-size: 1.2rem; } 
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: var(--text-main);
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-blue); 
}

/* Footer */
.footer {
    background: var(--bg-dark-footer); 
    color: var(--white);
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-info h3 { color: var(--brand-red); margin-bottom: 15px; } 
.footer-info p { color: var(--white); opacity: 0.8;}
.footer-links h4, .footer-contact h4 { margin-bottom: 20px; color: var(--white); }
.footer-links a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 10px;
    opacity: 0.8;
}
.footer-links a:hover { color: var(--brand-red); opacity: 1; } 
.footer-contact p { margin-bottom: 10px; opacity: 0.8; color: var(--white);}
.footer-contact i { color: var(--brand-red); margin-right: 10px; } 
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; left: 0; width: 100%;
        background: var(--bg-dark-header);
        padding: 20px;
    }
    .nav-menu.active { display: flex; }
    .nav-menu a { margin: 10px 0; color: var(--white);}
    .nav-menu a:hover, .nav-menu a.active { color: var(--brand-red); }
    .hamburger { display: block; }
    
    .hero-content h1 { font-size: 2.5rem; }
    .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
}