/* Variables & Reset */
:root {
    /* Color Palette */
    --primary-hue: 195;
    --primary: hsl(var(--primary-hue), 29%, 45%); /* Muted Blue */
    --primary-light: hsl(var(--primary-hue), 60%, 92%);
    --primary-dark: hsl(var(--primary-hue), 40%, 30%);

    --accent-hue: 150;
    --accent: hsl(var(--accent-hue), 35%, 60%); /* Soft Green */
    --accent-light: hsl(var(--accent-hue), 40%, 90%);
    
    --text-main: hsl(210, 10%, 20%);
    --text-muted: hsl(210, 5%, 45%);
    --bg-body: #ffffff;
    --bg-alt: #f8fafc;
    
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-dark);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.section-title {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 3rem;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo .dot {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary-nav):hover {
    color: var(--primary);
}

.btn-primary-nav {
    background-color: var(--accent);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
}

.btn-primary-nav:hover {
    background-color: var(--primary);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('assets/images/hero.png') no-repeat center center/cover;
    color: var(--white);
    margin-top: 0; /* Nav is fixed overlay */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 58, 66, 0.8), rgba(28, 92, 114, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* Features */
.features {
    padding: 5rem 0;
    background: var(--bg-alt);
    margin-top: -4rem; /* Overlap effect */
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* About Section */
.about {
    padding: 8rem 0;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: var(--white);
    padding: 2rem;
    border-radius: 50%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 140px;
    height: 140px;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    line-height: 1.2;
}

.about-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.about-list li {
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 500;
}

/* Visual Divider */
.visual-divider {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.parallax-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Services */
.services {
    padding: 8rem 0;
    background: var(--bg-alt);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

/* CTA */
.cta {
    background: var(--primary);
    padding: 6rem 0;
    text-align: center;
    color: var(--white);
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1a202c;
    color: #e2e8f0;
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-logo {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--accent);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-hours h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-hours h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.footer-hours ul li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: #2d3748;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: #718096;
}

.footer-bottom {
    background: #171923;
    text-align: center;
    padding: 1.5rem 0;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Animations included in standard classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .experience-badge {
        right: 50%;
        transform: translateX(50%);
        bottom: -2rem;
    }

    .about-list {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .container {
        width: 95%;
    }
}
