:root {
    --primary-color: #1C3F1A;
    --secondary-color: #2B602A;
    --accent-color: #800020;
    --light-color: #F7F7F7;
    --dark-color: #222222;
    --heading-font: 'Bebas Neue', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    line-height: 1.2;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.page-wrapper {
    display: flex;
    width: 100%;
    position: relative;
}

.side-navigation {
    position: fixed;
    width: 250px;
    height: 100vh;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
}

.logo-container {
    text-align: center;
    margin-bottom: 50px;
}

.logo {
    width: 120px;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-link {
    display: block;
    padding: 10px 15px;
    border-left: 2px solid transparent;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link:focus {
    border-left: 2px solid var(--accent-color);
    transform: translateX(5px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link:focus::after {
    width: 50%;
}

.nav-decoration {
    position: absolute;
    top: 30%;
    right: -20px;
    width: 40px;
    height: 200px;
    background-color: var(--accent-color);
    border-radius: 20px 0 0 20px;
    opacity: 0.7;
}

.content {
    flex: 1;
    margin-left: 250px;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 30px;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--accent-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.diagonal-divider {
    height: 100px;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.diagonal-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transform: skewY(-4deg);
    transform-origin: top left;
    z-index: -1;
}

.diagonal-divider.reverse::before {
    transform: skewY(4deg);
    transform-origin: top right;
}

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-color: var(--primary-color);
    color: var(--light-color);
    overflow: hidden;
}

.hero-content {
    display: flex;
    height: 100%;
    padding: 0 50px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    position: relative;
}

.hero-text {
    flex: 1;
    max-width: 550px;
    transform: translateY(-50px);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--light-color);
    position: absolute;
    top: 20%;
    letter-spacing: 5px;
}

.hero-subtitle {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.wave-divider {
    width: 100%;
    height: 30px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%23800020'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%232B602A'%3E%3C/path%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%231C3F1A'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    margin: 20px 0;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0);
}

.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23F7F7F7'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--accent-color);
    color: var(--light-color);
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(128, 0, 32, 0.3);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
}

.pyramid-container {
    position: relative;
    padding: 20px;
}

.pyramid-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.pyramid-image:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.decorative-frame {
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.7;
    transform: rotate(-2deg);
}

.infographic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.benefit-item:hover::before {
    width: 8px;
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-icon-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.benefit-title {
    margin-bottom: 15px;
    color: var(--accent-color);
    font-size: 1.8rem;
}

.benefit-desc {
    font-size: 1rem;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-image-container {
    height: 200px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-title {
    padding: 20px 20px 10px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-desc {
    padding: 0 20px 20px;
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;
}

.service-button {
    display: inline-block;
    margin: 0 20px 20px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--light-color);
    font-weight: 500;
    border-radius: 5px;
    text-align: center;
    transition: var(--transition);
}

.service-button:hover {
    background-color: var(--accent-color);
    transform: translateX(5px);
}

.results-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.result-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.result-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.result-item:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.result-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.result-item:hover .result-image {
    transform: scale(1.05);
}

.result-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--light-color);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.result-item:hover .result-overlay {
    opacity: 1;
    transform: translateY(0);
}

.result-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--light-color);
}

.result-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info {
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-text {
    margin-bottom: 20px;
}

.contact-email {
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 30px;
}

.contact-form {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(28, 63, 26, 0.2);
}

.submit-button {
    display: inline-block;
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--light-color);
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(128, 0, 32, 0.2);
}

.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    position: relative;
    margin-top: 50px;
}

.zigzag-divider {
    height: 70px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V7.23C0,65.52,268.63,112.77,600,112.77S1200,65.52,1200,7.23V0Z' fill='%23222222'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    margin-top: -70px;
}

.footer-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 50px 30px;
    display: grid;
    grid-template-areas:
        "logo nav services"
        "policy copyright copyright";
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-item {
    display: flex;
    flex-direction: column;
}

.logo-item {
    grid-area: logo;
    justify-content: center;
    align-items: center;
}

.nav-item {
    grid-area: nav;
}

.services-item {
    grid-area: services;
}

.policy-item {
    grid-area: policy;
}

.copyright-item {
    grid-area: copyright;
    text-align: center;
}

.footer-logo {
    width: 150px;
    margin-bottom: 20px;
}

.footer-heading {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--light-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 1200px) {
    .section-title {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .side-navigation {
        width: 200px;
    }
    
    .content {
        margin-left: 200px;
    }
    
    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-areas:
            "logo logo"
            "nav services"
            "policy policy"
            "copyright copyright";
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .side-navigation {
        width: 100%;
        height: auto;
        position: relative;
        padding: 15px;
    }
    
    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav-link {
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 8px 15px;
    }
    
    .nav-link:hover, .nav-link:focus {
        border-left: none;
        border-bottom: 2px solid var(--accent-color);
        transform: translateY(-3px);
    }
    
    .nav-decoration {
        display: none;
    }
    
    .content {
        margin-left: 0;
    }
    
    .hero-content {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }
    
    .hero-title {
        writing-mode: horizontal-tb;
        transform: none;
        position: static;
        margin-bottom: 20px;
        font-size: 3.5rem;
    }
    
    .hero-text {
        transform: none;
        max-width: 100%;
    }
    
    .hero-image-container {
        margin-top: 30px;
    }
    
    .infographic {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .results-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-areas:
            "logo"
            "nav"
            "services"
            "policy"
            "copyright";
        grid-template-columns: 1fr;
    }
}

@media (max-width: 375px) {
    .section-content {
        padding: 50px 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .benefit-title,
    .service-title,
    .footer-heading {
        font-size: 1.5rem;
    }
}