/* CSS Variables based on logo */
:root {
    --primary-blue: #2d5a77;
    --primary-green: #629789;
    --secondary-green: #85a98d;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f4f8f7;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-green);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-blue);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    border: 2px solid var(--white);
    color: var(--primary-green);
    font-weight: 700;
}

.btn-white:hover {
    background-color: transparent;
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
}

.logo img {
    height: 150px;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
}

.nav a:hover {
    color: var(--primary-green);
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 101;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-blue);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 30%, rgba(255,255,255,0.1) 90%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-box {
    max-width: 600px;
}

.hero-text-box h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-text-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-green);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

/* Services Section */
.section-header {
    margin-bottom: 50px;
}

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

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-15px);
}

.service-img {
    height: 220px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 30px;
    flex-grow: 1;
}

.service-content h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-content-only {
    border-top: 4px solid var(--primary-green);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.contact-item strong {
    color: var(--primary-blue);
    display: inline-block;
    width: 90px;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* Areas Served Marquee */
.areas-section {
    padding: 40px 0;
    background-color: #f9fbfb;
    overflow: hidden;
    border-top: 1px solid #eaeaea;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    display: block;
}

.marquee-content {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: marquee 50s linear infinite;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.marquee-content span {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0 10px;
}

.marquee-content .dot {
    color: var(--primary-green);
    font-size: 1.2rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-content:hover {
    animation-play-state: paused;
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 130px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: #a7c5d8;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-services ul,
.footer-company ul,
.footer-areas ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-services a,
.footer-company a,
.footer-areas li {
    color: #a7c5d8;
    transition: color 0.3s ease;
}

.footer-services a:hover,
.footer-company a:hover {
    color: var(--secondary-green);
}

.footer-areas p {
    color: #a7c5d8;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.308);
    padding-top: 20px;
    font-size: 0.9rem;
}

.footer-bottom p,
.footer-logo p {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 992px) {
    .hamburger {
        display: block;
    }
    .header-cta {
        display: none;
    }
    .nav {
        position: absolute;
        left: -100%;
        top: 100%;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    .nav.active {
        left: 0;
    }
    .nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-text-box h1 {
        font-size: 2.8rem;
    }
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    .header-container {
        height: auto;
        padding: 15px 20px;
    }
    .hero-text-box h1 {
        font-size: 2.2rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .btn-block {
        width: 100%;
    }
    .hero {
        flex-direction: column;
        height: auto;
        min-height: auto;
        padding-bottom: 0;
        align-items: stretch;
    }
    .hero-content {
        order: 1;
        padding: 40px 20px;
        text-align: center;
        background-color: var(--white);
    }
    .hero-image {
        order: 2;
        position: relative;
        height: 400px;
        width: 100%;
    }
    .hero-image::after {
        display: none;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-text-box h1 {
        font-size: 1.8rem;
    }
    .hero-text-box p {
        font-size: 1rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-services ul, .footer-company ul, .footer-areas ul {
        align-items: center;
    }
}
