@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
    /* Color Palette - Simple & Trustworthy */
    --color-bg-white: #ffffff;
    --color-bg-light-gray: #f4f6f8;
    --color-navy: #0a192f;
    /* Main Text / Headings */
    --color-green: #2e7d32;
    /* Trustworthy Green for accents/buttons */
    --color-text-body: #334155;
    /* Dark gray for readability */
    --color-disabled: #94a3b8;
    /* Grey for disabled items */

    /* Spacing & Layout */
    --container-width: 1100px;
    --header-height: 80px;
    --border-radius: 4px;
    /* Less rounded, more "solid" */
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-white);
    color: var(--color-text-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-navy);
    font-weight: 800;
    /* Bold */
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    /* Slightly larger for readability */
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.9;
}

ul {
    list-style: none;
}

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

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

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

.btn {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--color-green);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #1b5e20;
    /* Darker green */
}

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

/* Header */
header {
    background: var(--color-bg-white);
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    max-width: 100%;
    /* Use full width for header to push logo to corner */
    padding: 0 15px;
    /* Minimal padding to push logo to the edge */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-navy);
}

.logo-img {
    height: 70px;
    width: auto;
}

/* Nav Styles for Tabs */
.desktop-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--color-navy);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-green);
    border-bottom-color: var(--color-green);
}

/* Disabled Tab Style */
.nav-link.disabled {
    color: var(--color-disabled);
    cursor: not-allowed;
    border-bottom-color: transparent !important;
}

.nav-link.disabled:hover {
    color: var(--color-disabled);
    opacity: 0.6;
}


.btn-header {
    background-color: var(--color-green);
    color: white !important;
    padding: 10px 20px;
    border-bottom: none;
    border-radius: var(--border-radius);
}

.btn-header:hover {
    background-color: #1b5e20;
}

/* Tab Content Visibility */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.active-tab {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Mobile Nav Styles */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-navy);
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
        /* Hidden by default on mobile */
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .desktop-nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .nav-link {
        display: block;
        width: 100%;
    }

    .mobile-toggle {
        display: block;
    }
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: #1a472a;
    /* Fallback */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/hero-bg-new.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.7);
    /* Subtle blur for background depth */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: var(--color-text-dark);
}

.hero-tag {
    color: var(--color-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

@media (min-width: 768px) {
    .hero {
        padding: 120px 0;
    }
}

/* Services Grid for Tab */
.services-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

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

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

.service-card-body h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

/* About Layout */
.about-layout {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .about-layout {
        grid-template-columns: 2fr 1fr;
    }
}

/* Trust Section */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.trust-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
}

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

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

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--color-navy);
    outline: none;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
    }
}