/* styles.css */
:root {
    --primary-color: #ffffff; /* White bg */
    --brand-dark-blue: #0b223f; /* Dark Blue */
    --brand-blue: #1c4a8a; /* Lighter Blue for buttons */
    --brand-blue-hover: #133a70;
    --text-main: #333333;
    --text-muted: #555555;
    --bg-light: #f4f5f7; /* Very light grey */
    --bg-grey: #e2e8f0; /* Mid grey */
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Roboto', sans-serif;
    color: var(--text-main);
}

body {
    background-color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-accent {
    color: var(--brand-blue);
}
.text-white {
    color: #fff !important;
}
.bg-light {
    background-color: var(--bg-light);
}
.bg-dark {
    background-color: var(--brand-dark-blue);
    color: #fff;
}
.bg-blue {
    background-color: var(--brand-dark-blue);
}
.section {
    padding: 80px 0;
}
.mt-4 {
    margin-top: 1.5rem;
}
.text-center {
    text-align: center;
}
.font-bold {
    font-weight: 700;
}
.underline {
    text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--brand-dark-blue);
}
.text-white h1, .bg-dark h2, .bg-blue h2, .bg-blue h3, .bg-blue h4 {
    color: #ffffff;
}
p {
    margin-bottom: 1rem;
}

/* Tops Bar */
.top-bar {
    background-color: var(--brand-dark-blue);
    color: #ffffff;
    font-size: 0.9rem;
    padding: 8px 0;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 15px;
    transition: color var(--transition-speed);
}
.top-bar a:hover {
    color: #d1d5db;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
    text-align: center;
}
.btn-primary {
    background-color: var(--brand-blue);
    color: #ffffff;
}
.btn-primary:hover {
    background-color: var(--brand-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-outline {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}
.btn-outline:hover {
    background-color: #ffffff;
    color: var(--brand-dark-blue) !important;
}
.btn-dark {
    background-color: var(--brand-dark-blue);
    color: white;
}
.btn-dark:hover {
    background-color: #111;
}
.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}
.btn-block {
    display: block;
    width: 100%;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: padding var(--transition-speed) ease;
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.navbar.scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
}
.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--brand-dark-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}
.nav-links a {
    text-decoration: none;
    color: var(--brand-dark-blue);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color var(--transition-speed);
}
.nav-links a:hover {
    color: var(--brand-blue);
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--brand-dark-blue);
    cursor: pointer;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 100px 20px 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.4s ease-in-out;
    z-index: 999;
}
.mobile-nav.active {
    transform: translateY(0);
}
.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}
.mobile-nav a {
    text-decoration: none;
    color: var(--brand-dark-blue);
    font-weight: 700;
    font-size: 1.3rem;
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('images/hero_bg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 34, 63, 0.95) 0%, rgba(11, 34, 63, 0.5) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.trust-badge-hero {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.trust-badge-hero span {
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    color: #fff;
}
.hero .text-accent {
    color: #d1d5db; /* Light grey instead of blue to show on dark bg */
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f4f5f7;
    max-width: 600px;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* SEO Banner */
.seo-banner {
    padding: 40px 0;
    border-top: 4px solid var(--brand-blue);
}
.seo-banner p {
    margin: 0;
    font-size: 1.1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--brand-blue);
    border-radius: 2px;
}
.about-content .section-title::after {
    left: 0;
    transform: none;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 15px;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.feature-list li {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-dark-blue);
}
.about-image-wrapper {
    position: relative;
    border-radius: 8px;
}
.about-image-bg {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--bg-grey);
    border-radius: 8px;
    z-index: 0;
}
.about-img {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 8px;
    z-index: 1;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid var(--bg-grey);
    text-align: center;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom-color: var(--brand-blue);
}
.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--brand-blue);
}
.service-card h3 {
    margin-bottom: 15px;
}

/* Projects Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}
.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(11,34,63,0.9));
    color: #fff;
    transition: bottom 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
    bottom: 0;
}
.gallery-overlay h4 {
    color: #fff;
    margin-bottom: 5px;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px 30px;
    border-radius: 8px;
}
.stars {
    color: #f59e0b;
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.review-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #e2e8f0;
}
.reviewer {
    color: #fff;
    font-size: 1.1rem;
}

/* Contact Section */
.flex-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-methods {
    margin-top: 30px;
}
.method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}
.method-icon {
    width: 50px;
    height: 50px;
    background-color: var(--brand-dark-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.method a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}
.method a:hover {
    color: var(--brand-blue);
}
.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-top: 5px solid var(--brand-blue);
}
.form-title {
    margin-bottom: 25px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--brand-dark-blue);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--bg-light);
    transition: border-color 0.3s, background-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    background-color: #fff;
}

/* Footer */
.footer {
    background-color: #061222; /* Very dark blue */
    color: #94a3b8;
    padding: 80px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}
.footer-col h3, .footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-col a:hover {
    color: #fff;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
}
.social-links a:hover {
    background-color: var(--brand-blue);
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 0.8s forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUpAnim {
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.scroll-animate.slide-up { transform: translateY(50px); }
.scroll-animate.slide-right { transform: translateX(-50px); }
.scroll-animate.slide-left { transform: translateX(50px); }
.scroll-animate.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 992px) {
    .about-container, .flex-contact {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .top-bar {
        text-align: center;
    }
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    .nav-links, .nav-cta {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .feature-list {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}
