/* Base Styles & Variables */
:root {
    --primary-color: #6f7b5e;
    /* Olive/Sage Green */
    --primary-dark: #5a644c;
    --bg-color: #f9f8f4;
    /* Warmer Cream */
    --bg-dark: #2c322c;
    /* Dark elegant green */
    --text-main: #1a1a1a;
    --text-light: #555555;
    --white: #ffffff;
    --border-color: #e0ded5;

    /* Modern Typography */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

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

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    font-family: var(--font-body);
}

.section-subtitle::before {
    content: '';
    width: 30px;
    height: 1px;
    background-color: var(--primary-color);
}

/* Animations */
.animate {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-up {
    transform: translateY(40px);
}

.fade-right {
    transform: translateX(-40px);
}

.fade-left {
    transform: translateX(40px);
}

.animate.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    border-radius: 4px;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary-dark);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    box-shadow: 0 10px 20px rgba(111, 123, 94, 0.25);
    color: white;
}

/* New Header Design */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header-top {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding: 10px 0;
    transition: var(--transition);
}

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

.contact-info {
    display: flex;
    gap: 20px;
}

.social-links-top a {
    margin-left: 15px;
}

.social-links-top a:hover {
    color: var(--white);
}

.header-main {
    padding: 20px 0;
    background-color: rgba(249, 248, 244, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.scrolled .header-top {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
}

.header.scrolled .header-main {
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
}

.logo-icon {
    width: 35px;
    height: 35px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

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

.nav a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 200px;
    padding-bottom: 80px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-content {
    max-width: 650px;
    margin-bottom: 80px;
}

.hero h1 {
    font-size: 65px;
    color: var(--text-main);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 550px;
}

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

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-stats {
    display: flex;
    gap: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 30px 45px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    position: relative;
    z-index: 3;
    border-left: 4px solid var(--primary-color);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 40px;
    border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
    padding-right: 0;
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-text h4 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.stat-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Marquee Section */
.marquee-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 25px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
}

.marquee-section.dark-marquee {
    background-color: var(--bg-dark);
}

.marquee-content {
    display: flex;
    gap: 3rem;
    animation: marquee 25s linear infinite;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.marquee-content span {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
}

.marquee-content span::after {
    content: '✦';
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

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

    100% {
        transform: translateX(-50%);
    }
}

/* About Section (New Design) */
.about {
    padding: 150px 0;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-images {
    flex: 1;
    position: relative;
    min-height: 600px;
}

.image-wrapper {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

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

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

.main-img {
    top: 0;
    left: 0;
    width: 75%;
    height: 500px;
    z-index: 1;
}

.sec-img {
    bottom: 0;
    right: 0;
    width: 55%;
    height: 350px;
    z-index: 2;
    border: 10px solid var(--bg-color);
}

.experience-badge {
    position: absolute;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%);
    background-color: var(--primary-color);
    color: white;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 15px 30px rgba(111, 123, 94, 0.3);
    border: 5px solid var(--bg-color);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    margin-top: 5px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 3rem;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.about-features {
    margin-bottom: 40px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 1.1rem;
}

.about-features li span {
    color: var(--primary-color);
    font-weight: bold;
}

/* Features Section */
.features {
    padding: 0 0 150px 0;
}

.features .container {
    display: flex;
    gap: 80px;
}

.features-intro {
    flex: 1;
}

.features-intro h2 {
    font-size: 3rem;
}

.features-intro p {
    color: var(--text-light);
    font-size: 1.05rem;
}

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

.feature-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border-left-color: var(--primary-color);
}

.check-icon {
    color: var(--primary-color);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: var(--font-body);
}

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

/* Testimonials */
.testimonials {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    position: relative;
    padding: 50px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.quote-number {
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 5rem;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.05);
    font-family: var(--font-heading);
    line-height: 1;
}

.testimonial-card h3 {
    margin-top: 20px;
    font-size: 1.6rem;
    color: var(--white);
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    font-style: italic;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--white);
    font-family: var(--font-body);
}

.author-info span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.stars {
    margin-left: auto;
    color: #ffd700;
    font-size: 1rem;
}

/* Services */
.services {
    padding: 150px 0;
}

.services h2 {
    font-size: 3.2rem;
    margin-bottom: 70px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.service-cards .card {
    position: relative;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-cards .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-cards .card:hover img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    color: white;
}

.card-overlay h3 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--white);
}

.service-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
}

.icon-item .icon {
    margin-bottom: 25px;
    display: inline-block;
    color: var(--primary-color);
}

.icon-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-family: var(--font-body);
    font-weight: 600;
}

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

/* Projects */
.projects {
    padding: 100px 0 150px;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.projects-header h2 {
    font-size: 3.2rem;
    margin: 0;
}

.slider-nav {
    display: flex;
    gap: 15px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border-color);
    background-color: transparent;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.projects-carousel {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding-bottom: 40px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.projects-carousel::-webkit-scrollbar {
    display: none;
}

.project-card {
    min-width: 400px;
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    scroll-snap-align: start;
}

.project-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.project-info {
    padding: 35px;
}

.project-meta {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.project-info h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

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

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 100px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand .logo {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin: 25px 0;
    max-width: 300px;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.footer h4 {
    margin-bottom: 30px;
    font-size: 1.3rem;
    color: var(--white);
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a,
.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.footer-links a:hover {
    color: white;
}

.working-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.working-hours li span:last-child {
    color: var(--white);
    font-weight: 500;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 30px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.4);
}

.legal-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 4rem;
    }

    .about .container {
        gap: 50px;
    }

    .features .container {
        gap: 50px;
    }
}

@media (max-width: 992px) {
    .header-top {
        display: none;
    }

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

    .hero-image {
        position: relative;
        width: 100%;
        height: 500px;
        margin-top: 50px;
        clip-path: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding: 20px;
        border-left: none;
        border-top: 4px solid var(--primary-color);
    }

    .stat-item {
        border-right: none;
        padding-right: 0;
        width: 45%;
        justify-content: center;
        margin-bottom: 20px;
    }

    .about .container,
    .features .container {
        flex-direction: column;
    }

    .about-images {
        width: 100%;
        min-height: 500px;
        margin-bottom: 40px;
    }

    .testimonial-grid,
    .service-cards {
        grid-template-columns: 1fr;
    }

    .service-icons {
        grid-template-columns: 1fr 1fr;
    }

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

    .project-card {
        min-width: 320px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

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

    .hero {
        padding-top: 120px;
    }

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

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

    .service-icons {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .stat-item {
        width: 100%;
    }
}