/* Color Variables */
:root {
    --primary-color: #043459;
    --light-bg: #fff;
    --light-accent: #f0f4f8;
    --text-dark: #2c3e50;
    --border-light: #e0e6ed;
    --accent-blue: #0d5a96;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-accent);
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 200ms linear;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    height: 251px;
    width: 100%;
    display: block;
    text-align: center;
    transition: all 0.2s ease;
}

.logo svg path {
    fill: var(--primary-color);
}

/* Logo styling when scrolled */

body.scrolled .logo {
    width: 74px;
    height: 74px;
    transition: all 0.2s ease;
}

body .logo svg {
    height: 100%;
    width: 100%;
}




.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    width: 100%;
    justify-content: center;
    margin: 2rem 0 1rem 0;
}

body.scrolled .nav-links {
    width: auto;
    margin-top: 1rem;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: #b3d9ff;
}

/* Scroll margin for anchor links to account for sticky navbar */
#home,
#services,
#contact {
    scroll-margin-top: 320px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-blue) 100%);
    color: var(--light-bg);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero .subtitle {
    font-size: 1.4em;
    margin-bottom: 25px;
    font-weight: 300;
}

.hero .intro-text {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.95;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.services h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 60px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light-accent);
    padding: 35px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(4, 52, 89, 0.15);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.service-card p {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: var(--light-accent);
}

.gallery h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 60px;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image svg {
    width: 100%;
    height: 100%;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact h2 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-form-section,
.contact-info-section {
    background: var(--light-accent);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(4, 52, 89, 0.1);
}

.btn {
    background-color: var(--primary-color);
    color: var(--light-bg);
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: var(--accent-blue);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Contact Info */
.info-item {
    margin-bottom: 25px;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.info-item p {
    color: var(--text-dark);
    line-height: 1.6;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--accent-blue);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-bg);
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-links a {
    color: var(--light-bg);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #b3d9ff;
}

/* Responsive Design */
@media (max-width: 768px) {
 

    .logo {
        width: 150px;
        height: 120px;
    }

    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero .subtitle {
        font-size: 1.1em;
    }

    .services h2,
    .gallery h2 {
        font-size: 2em;
    }

    .contact h2 {
        font-size: 1.6em;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 25px;
    }

    .hero {
        padding: 50px 0;
    }

    .services,
    .gallery,
    .contact {
        padding: 50px 0;
    }


}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5em;
    }

    .hero .subtitle {
        font-size: 1em;
    }

    .services h2,
    .gallery h2 {
        font-size: 1.5em;
        margin-bottom: 30px;
    }

    .nav-links {
        gap: 10px;
        font-size: 0.9em;
    }

    .service-card {
        padding: 20px;
    }
}