/* HASS Consulting Engineers - Company Website Styles */

:root {
    /* Core - Based on logo colors (green + red) */
    --primary-color: #429139;      /* Brand green */
    --primary-hover: #2F7A2E;      /* Green hover */
    --secondary-color: #7FA278;    /* Soft green tint */
    --accent-color: #E13325;       /* Brand red */
    --accent-hover: #C6281D;       /* Red hover */

    /* Neutrals */
    --text-dark: #111111;          /* Main text */
    --text-light: #4B5563;         /* Muted text */
    --bg-main: #F0F3EB;            /* Soft off-white background */
    --bg-light: #F0F3EB;           /* Section backgrounds */
    --bg-white: #FFFFFF;           /* Card/surface backgrounds */
    --border-color: #E5E7EB;       /* Borders */

    /* Additional */
    --neutral: #111111;
    --neutral-hover: #2B2B2B;
    --warm: #CAB3A8;               /* Warm neutral for badges */
}

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

body {
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-main);
}

/* Navigation */
.navbar {
    background: var(--neutral);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo h1 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(200, 230, 201, 0.5);
}

.nav-links a.active {
    color: #111;
    background: rgba(255, 255, 255, 1);
    border-bottom-color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7f5 0%, #e8efe8 100%);
    color: var(--text-dark);
    padding: 10rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(66,145,57,0.08)" stroke-width="8"/></svg>') repeat;
    background-size: 200px;
    opacity: 0.5;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero .tagline {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero .established {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image {
    margin: 2.5rem auto 0;
    max-width: 960px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 18px 55px rgba(17, 17, 17, 0.12);
}

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 650;
    transition: all 0.15s ease;
    cursor: pointer;
    border: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

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

.btn-accent {
    background: var(--accent-color);
    color: #fff;
}

.btn-accent:hover {
    background: var(--accent-hover);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-neutral {
    background: var(--neutral);
    color: #fff;
}

.btn-neutral:hover {
    background: var(--neutral-hover);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.75rem;
    color: #fff;
    background: var(--primary-color);
}

.badge-accent {
    background: var(--accent-color);
}

.badge-neutral {
    background: var(--neutral);
}

.badge-warm {
    background: var(--warm);
    color: #3B2F2A;
}

/* Alert Blocks */
.alert {
    border-radius: 14px;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 1rem 0;
}

.alert-success {
    background: rgba(66,145,57,0.10);
    border-color: rgba(66,145,57,0.25);
}

.alert-danger {
    background: rgba(225,51,37,0.10);
    border-color: rgba(225,51,37,0.25);
}

.alert-info {
    background: rgba(202,179,168,0.25);
    border-color: rgba(202,179,168,0.45);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--neutral) 0%, #2B2B2B 100%);
    color: #fff;
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Sections */
.section {
    padding: 5rem 2rem;
}

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

.section-dark {
    background: var(--neutral);
    color: #fff;
}

.section-accent {
    background: var(--accent-color);
    color: #fff;
}

.section-tint {
    background: rgba(127,162,120,0.18);
    border-top: 1px solid rgba(127,162,120,0.35);
    border-bottom: 1px solid rgba(127,162,120,0.35);
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.section-dark .section-header h2 {
    color: #fff;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.8);
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    padding: 3rem 0;
}

.stat-item h3 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: 1px solid var(--border-color);
}

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

.service-card .icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #fff;
}

.service-card .icon-accent {
    background: var(--accent-color);
}

.service-card .icon-neutral {
    background: var(--neutral);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card ul li {
    padding: 0.3rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--bg-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    text-align: center;
    border: 1px solid var(--border-color);
}

.team-card .photo {
    height: 200px;
    background: linear-gradient(135deg, var(--neutral), #2B2B2B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 4rem;
}

.team-card .info {
    padding: 1.5rem;
}

.team-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.team-card .position {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.team-card .qualification {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.team-card .experience {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Director Profile */
.director-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    background: var(--bg-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.director-photo {
    background: linear-gradient(135deg, var(--neutral), #2B2B2B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 6rem;
    min-height: 400px;
}

.director-info {
    padding: 2rem;
}

.director-info h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.director-info .credentials {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.director-info .position {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.qualifications h4,
.experience-list h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.qualifications ul,
.experience-list ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.qualifications ul li,
.experience-list ul li {
    padding: 0.3rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
    padding-left: 1.5rem;
    position: relative;
}

.qualifications ul li::before,
.experience-list ul li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Projects */
.project-filters {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.project-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.year-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.year-filter label {
    color: var(--text-light);
    font-weight: 500;
}

.year-filter select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    background: #fff;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    outline: none;
}

.year-filter select:focus {
    box-shadow: 0 0 0 3px rgba(66, 145, 57, 0.2);
}

.category-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.project-section-header {
    grid-column: 1 / -1;
    padding: 2rem 0 1rem 0;
    border-bottom: 3px solid var(--primary-color);
    margin-top: 2rem;
}

.project-section-header:first-child {
    margin-top: 0;
}

.project-section-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card {
    background: var(--bg-white);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
}


.project-card .year {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.project-card .category {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-light);
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
    margin-bottom: 0.8rem;
}

.project-card h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.project-card p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Current Projects */
.current-projects {
    margin-bottom: 3rem;
}

.current-project-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border-radius: 14px;
    padding: 2rem;
    margin-bottom: 1rem;
}

.current-project-card .badge {
    display: inline-block;
    background: var(--accent-color);
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.current-project-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.current-project-card p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.current-project-card .completion {
    margin-top: 1rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item .details h4 {
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.contact-item .details p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-item .details a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item .details a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(66,145,57,0.6);
    box-shadow: 0 0 0 4px rgba(66,145,57,0.18);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Map */
.map-container {
    margin-top: 3rem;
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Certifications */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.cert-card {
    background: var(--bg-white);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
}

.cert-card .icon {
    width: 60px;
    height: 60px;
    background: #7FA278;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #fff;
    font-size: 1.5rem;
}

.cert-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.cert-card p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Clients */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.client-logo {
    background: var(--bg-white);
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

/* Footer */
.footer {
    background: var(--neutral);
    color: #fff;
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-col:first-child h4 {
    color: var(--primary-color);
}

.footer-col p {
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.footer-col ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* About Page */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 14px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 5rem;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.vm-card {
    background: var(--bg-white);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    border: 1px solid var(--border-color);
}

.vm-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vm-card:first-child {
    border-top: 4px solid var(--primary-color);
}

.vm-card:last-child {
    border-top: 4px solid var(--accent-color);
}

.vm-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--bg-white);
}

.timeline-content {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    max-width: 350px;
    margin-right: 2rem;
    border: 1px solid var(--border-color);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 2rem;
}

.timeline-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}


.timeline-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--neutral);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

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

    .navbar {
        background: var(--neutral);
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .director-profile {
        grid-template-columns: 1fr;
    }

    .director-photo {
        min-height: 250px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .vision-mission {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1.1rem;
    }

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

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

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

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-right: 0;
        padding-left: 50px;
        justify-content: flex-start;
    }

    .timeline-item:nth-child(even) {
        padding-left: 50px;
    }

    .timeline-item::before {
        left: 20px;
    }

    .timeline-content {
        margin-right: 0;
        margin-left: 0;
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 8rem 1rem 4rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== Redesign Enhancements (2026) ===== */

/* Brand lockup */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-sub {
  font-size: 0.78rem;
  opacity: 0.8;
}

/* Nav overlay for mobile */
.nav-overlay {
  display: none;
}

/* Improve nav link style */
.nav-links a {
  border-bottom: 2px solid transparent;
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
}


.nav-links a.active {
  background: rgba(255,255,255,1);
  border-bottom-color: transparent;
}

/* Hero brand mark */
.hero-logo {
  margin-bottom: 1.5rem;
}

.hero-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 20px;
  background: #fff;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-badge-text {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(66, 145, 57, 0.3);
  background: rgba(66, 145, 57, 0.15);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.20);
  margin-bottom: 16px;
}

.hero-badge img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}

.hero h1 {
  letter-spacing: -0.4px;
}

/* Slightly nicer spacing */
.section { padding: 4.5rem 2rem; }

/* Mobile nav improvements */
@media (max-width: 900px) {
  .mobile-menu-btn { display: block; }

  .nav-links {
    position: fixed;
    top: 74px;
    right: 16px;
    left: 16px;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(17,17,17,0.98);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
    display: none;
    z-index: 1100;
  }

  .nav-links.active { display: flex; }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(2px);
    z-index: 1050;
  }

  .nav-overlay.active { display: block; }

  .nav-container { padding: 0 1rem; }
  .logo { display: none; }
}

/* Email Popup */
.email-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.email-popup-overlay.active {
    display: flex;
}

.email-popup {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.email-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.email-popup-close:hover {
    color: var(--text-dark);
}

.email-popup-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.email-popup h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.email-popup-address {
    background: var(--bg-light);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    word-break: break-all;
}

.email-popup-status {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.email-popup-status.error {
    color: var(--accent-color);
}

