@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary-color: #008000;
    /* Mavi Green (Gear) */
    --secondary-color: #CC0000;
    /* Mavi Red (Inner Circle) */
    --accent-color: #000080;
    /* Mavi Blue (Flame) */
    --text-color: #555555;
    --heading-color: #333333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --dark-nav: #000000;
    --font-heading: 'Barlow', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    /* Hover to Red */
}

.btn-secondary {
    background-color: var(--white);
    color: var(--heading-color);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--heading-color);
    color: var(--white);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--heading-color);
}

/* Header Home 2 */
.top-bar-white {
    background-color: var(--white);
    padding: 15px 0;
}

.top-bar-white .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 24px;
    margin-bottom: 0;
    color: var(--primary-color);
    line-height: 1;
}

.logo-text span {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 1px;
}

.top-info-right {
    display: flex;
}

.info-item {
    display: flex;
    align-items: center;
    margin-left: 40px;
}

.info-item .icon-box {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    /* Orange in template, Green here */
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.info-item .info-text {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.info-item .info-text strong {
    color: var(--heading-color);
    font-weight: 700;
}

.main-nav-bar {
    background-color: var(--dark-nav);
    padding: 0;
}

.main-nav-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-right: 54px;
}

.main-nav a {
    color: var(--white);
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    padding: 20px 0;
    border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-actions .btn {
    padding: 10px 25px;
    font-size: 13px;
    margin-right: 20px;
    border-radius: 30px;
    /* Rounded button */
}

.search-icon {
    color: var(--white);
    cursor: pointer;
    font-size: 18px;
}

.mobile-menu-toggle {
    display: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 15px 0;
}

/* Hero Section Centered */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
}

.hero-centered .hero-content {
    max-width: 900px;
    text-align: left;
    margin: 0;
}

.hero-content h4 {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 16px;
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: 0;
    margin-right: 0;
}

.hero-buttons .btn {
    margin: 0 10px 0 0;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.img-placeholder {
    width: 100%;
    height: 450px;
    background-color: #ddd;
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 5px;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.experience-badge .years {
    display: block;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    font-weight: 500;
}

.sub-heading {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    padding-left: 50px;
}

.sub-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.about-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
}

.check-list {
    margin: 25px 0;
}

.check-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.check-list i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Services Section Home 2 */
.services-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.header-left {
    max-width: 500px;
}

.header-left h2 {
    font-size: 42px;
    margin-bottom: 0;
}

.header-right {
    max-width: 500px;
    text-align: right;
}

.services-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card-img {
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-img:hover .card-image img {
    transform: scale(1.1);
}

.icon-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    /* Orange in template */
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 3px;
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.card-content p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.read-more:hover i {
    margin-left: 10px;
}

.text-center {
    text-align: center;
}

/* Clients Section */
.clients-section {
    padding: 80px 0 100px;
    background-color: var(--white);
    overflow: hidden;
    /* Hide scrollbar for carousel */
}

.clients-section .section-header {
    margin-bottom: 50px;
}

.logos-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logos-slide-track {
    display: flex;
    width: calc(200px * 12);
    /* 200px (width + gap) * number of slides (original + doubled) */
    /* animation: scroll 30s linear infinite; - Removed for JS implementation */
    cursor: grab;
}

.logos-slide-track:active {
    cursor: grabbing;
}

.client-logo {
    width: 150px;
    margin: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.client-logo img {
    width: 100%;
    height: auto;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 6));
        /* Scroll by width of one set of logos */
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.site-footer {
    background-color: #111;
    color: #aaa;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 50px;
    border-bottom: 1px solid #222;
}

.footer-logo h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-widget h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget a {
    color: #aaa;
}

.footer-widget a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
}

.contact-list i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .top-info-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .services-grid-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-right {
        text-align: left;
        margin-top: 20px;
    }

    .nav-actions {
        display: none;
    }
}

/* Contact Page Styles */

/* Contact Hero */
.contact-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.contact-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--white);
}

.contact-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Breadcrumbs */
.breadcrumbs-section {
    background-color: #f5f5f5;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumbs-section p {
    margin: 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumbs-section a {
    color: #333;
    font-weight: 600;
}

.breadcrumbs-section i {
    font-size: 12px;
}

/* Contact Info Cards */
.contact-info-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.contact-card ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 14px;
    color: #555;
}

.contact-card ul li i {
    color: #ccc;
    margin-top: 4px;
}

/* Contact Form Section */
.contact-form-section {
    padding: 0 0 80px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.form-heading {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 24px;
}

.contact-form {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.btn-block {
    display: block;
    width: 100%;
    /* border-radius: 4px; - Inherit 30px from .btn */
    /* background-color: var(--accent-color); - Inherit Primary Green */
    /* color: var(--white); - Inherit White */
    border: none;
    font-size: 16px;
    font-weight: 700;
}

/* .btn-block:hover {
    background-color: var(--primary-color);
} - Inherit .btn-primary:hover (Red) */

/* Image Column */
.map-placeholder-image {
    height: 100%;
    min-height: 480px;
    margin-top: 54px;
    /* Align with form top (heading height + margin) */
    /* Match approximate form height */
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.map-placeholder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive for Contact Page */
@media (max-width: 900px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .map-placeholder-image {
        min-height: 300px;
    }
}

@media (max-width: 600px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Services Page Styles */
.services-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.services-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--white);
}

.services-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}


/* About Page Styles */
.about-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.about-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--white);
}

.about-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}


/* Projects Page Styles */
.projects-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.projects-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--white);
}

.projects-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}