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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333536;
    line-height: 1.5;
    overflow-x: hidden;
    padding-top: 175px;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 93px;
}

/* Header */
.header {
    background-color: #333536;
    height: 175px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: height 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    height: 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 93px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.logo-full {
    height: 120px;
    width: auto;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.logo-mark {
    height: 50px;
    width: auto;
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header.scrolled .logo-full {
    opacity: 0;
    height: 50px;
}

.header.scrolled .logo-mark {
    opacity: 1;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #f5f3e7;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav {
    display: flex;
    gap: 90px;
    align-items: center;
}

.nav a {
    font-size: 16px;
    color: #f5f3e7;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

.nav a:hover {
    color: #a1a56a;
}

.btn-primary {
    background-color: #a1a56a;
    color: #f5f3e7;
    border: none;
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #8b8e59;
}

/* Hero Section */
.hero {
    background-color: #333536;
    position: relative;
    padding: 96px 0 132px;
    min-height: 600px;
}

.hero-background {
    position: absolute;
    top: 0;
    right: 93px;
    width: 600px;
    height: 100%;
    opacity: 0.15;
    overflow: hidden;
    pointer-events: none;
}

.hero-pattern {
    width: 100%;
    height: 100%;
    background-image: url('assets/network.svg');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
}

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

.hero-title {
    font-family: 'Spartan', sans-serif;
    font-size: 60px;
    font-weight: 500;
    color: #a1a56a;
    margin-bottom: 89px;
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    font-weight: 300;
    color: #f5f3e7;
    max-width: 823px;
    line-height: 40px;
    margin-bottom: 112px;
}

.hero-description p {
    margin-bottom: 20px;
}

.hero-description .highlight {
    color: #a1a56a;
}

.hero-description strong {
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 25px;
}

.btn-secondary {
    background-color: #74783c;
    color: #f5f3e7;
    border: 1px solid #8b8884;
    padding: 15px 22px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #5f6233;
}

.btn-white {
    background-color: white;
    color: #74783c;
    border: 1px solid #8b8884;
    padding: 15px 22px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.btn-white:hover {
    background-color: #f5f5f5;
}

.btn-secondary img,
.btn-white img {
    width: 14px;
    height: 14px;
}

/* Services Section */
.services {
    background-color: white;
    padding: 37px 0 72px;
}

.section-header {
    margin-bottom: 90px;
}

.section-header h2 {
    font-size: 60px;
    font-weight: 500;
    color: #74783c;
    margin-bottom: 13px;
}

.section-header p {
    font-size: 14px;
    color: #333536;
    line-height: 20px;
}

.services-grid {
    display: flex;
    gap: 119px;
}

.services-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 65px;
}

.service-item {
    display: flex;
    gap: 33px;
}

.service-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background-color: #74783c;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 36px;
    height: 36px;
}

.service-content {
    flex: 1;
    max-width: 400px;
}

.service-content h3 {
    font-size: 24px;
    font-weight: 500;
    color: #74783c;
    margin-bottom: 11px;
    line-height: 1.2;
}

.service-content p {
    font-size: 14px;
    color: #333536;
    line-height: 20px;
}

.service-content p a,
.about-text p a {
    color: #74783c;
    text-decoration: underline;
    text-decoration-color: #74783c;
    text-underline-offset: 2px;
    transition: color 0.3s, text-decoration-color 0.3s;
}

.service-content p a:hover,
.about-text p a:hover {
    color: #C78F4E;
    text-decoration-color: #C78F4E;
}

/* Projects Section */
.projects {
    background-color: #f5f3e7;
    padding: 50px 0 107px;
}

.projects h2 {
    font-size: 60px;
    font-weight: 500;
    color: #74783c;
    margin-bottom: 34px;
}

.projects-intro {
    font-size: 14px;
    color: #333536;
    line-height: 20px;
    margin-bottom: 63px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 560px);
    gap: 79px;
}

.project-card {
    background-color: white;
    border-radius: 12px;
    padding: 36px 39px;
    min-height: 280px;
}

.project-card .project-icon {
    width: 101px;
    height: 101px;
    background-color: #74783c;
    border-radius: 16.49px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.project-card .project-icon img {
    width: 49.469px;
    height: 49.469px;
}

.project-card h3 {
    font-size: 24px;
    font-weight: 500;
    color: #74783c;
    margin-bottom: 13px;
}

.project-card p {
    font-size: 14px;
    color: #333536;
    line-height: 20px;
}

/* About Section */
.about {
    background-color: #f5f3e7;
    padding: 13px 0 58px;
}

.about-content {
    display: flex;
    gap: 158px;
    align-items: center;
}

.about-image {
    flex-shrink: 0;
    width: 444.536px;
    height: 444.536px;
    background-color: #f5f3e7;
    border: 5.421px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 344.245px;
    height: 254.795px;
}

.about-text {
    flex: 1;
    max-width: 543px;
}

.about-text h2 {
    font-size: 60px;
    font-weight: 500;
    color: #74783c;
    margin-bottom: 40px;
}

.about-text p {
    font-size: 14px;
    color: #333536;
    line-height: 20px;
    margin-bottom: 20px;
}

.about-text strong {
    font-weight: 700;
}

/* Footer */
.footer {
    background-color: #333536;
    padding: 51px 0 41px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 168px;
}

.footer-links {
    max-width: 543px;
}

.footer-links h3 {
    font-size: 24px;
    color: #a1a56a;
    font-weight: 400;
    margin-bottom: 44px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: #f5f3e7;
    text-decoration: underline;
    line-height: 20px;
    margin-bottom: 47px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #a1a56a;
}

.footer-logo {
    display: flex;
    align-items: center;
}

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

.footer-divider {
    width: calc(100% - 162px);
    height: 1px;
    background-color: #8b8884;
    margin: 0 auto 41px;
}

.footer-copyright {
    font-size: 14px;
    color: #f5f3e7;
    text-align: center;
    line-height: 20px;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .container {
        padding: 0 50px;
    }

    .header-content,
    .hero-content {
        padding: 0 50px;
    }

    .hero-background {
        right: 50px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    body {
        padding-top: 80px;
    }

    .header {
        height: 80px;
    }

    .hamburger {
        display: flex;
    }

    .logo-full {
        opacity: 0;
        height: 50px;
    }

    .logo-mark {
        opacity: 1;
    }

    .nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 80px);
        background-color: #333536;
        flex-direction: column;
        gap: 30px;
        padding: 40px 30px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        align-items: flex-start;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(245, 243, 231, 0.1);
    }

    .nav .btn-primary {
        width: 100%;
        margin-top: auto;
    }

    .hero-background {
        right: 50px;
        width: 450px;
        opacity: 0.06;
    }

    .hero-title {
        font-size: 48px;
    }

    .services-grid {
        gap: 60px;
    }

    .about-content {
        gap: 80px;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }

    .header-content {
        padding: 0 30px;
    }

    .hero-background {
        right: 30px;
        width: 350px;
        opacity: 0.05;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .hero-description {
        font-size: 18px;
        line-height: 32px;
        margin-bottom: 60px;
    }

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

    .services-grid {
        flex-direction: column;
        gap: 40px;
    }

    .services-column {
        gap: 40px;
    }

    .section-header h2,
    .projects h2,
    .about-text h2 {
        font-size: 40px;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-image {
        width: 100%;
        height: auto;
    }

    .footer-content {
        flex-direction: column-reverse;
        gap: 60px;
    }

    .footer-logo {
        justify-content: center;
    }
}
