:root {
    --color-forest: #2E4E36;
    --color-earth: #7B5E3B;
    --color-soft-gray: #EDEDED;
    --color-gold: #D4A857;
    --color-white: #FFFFFF;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.16);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-forest);
    background: var(--color-soft-gray);
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--color-forest);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--color-gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn {
    cursor: pointer;
    background: var(--color-forest);
    color: var(--color-white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 500;
    transition: all var(--transition-fast);
    text-align: center;
    display: inline-block;
}

button:hover, .btn:hover {
    background: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-sm);
}

.section {
    padding: var(--space-lg) 0;
    position: relative;
}

.dark-section {
    background-color: var(--color-earth);
    color: var(--color-white);
}

.quantum-bg {
    position: relative;
    background: radial-gradient(ellipse at center, #558066 0%, #3e6153 100%);
    overflow: hidden;
}

.quantum-bg::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    background: linear-gradient(125deg, rgba(46, 78, 54, 0.8), rgba(46, 78, 54, 0.4));
    opacity: 0.7;
    z-index: -1;
    animation: quantumPulse 15s infinite alternate;
}

.quantum-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    z-index: -1;
    animation: quantumShift 30s infinite linear;
}

@keyframes quantumPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

@keyframes quantumShift {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

.header {
    position: relative;
    padding: var(--space-sm) 0;
    z-index: 100;
    transition: all var(--transition-medium);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-forest);
    font-weight: 700;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 11;
}

.logo:hover {
    color: var(--color-gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-forest);
    margin: 6px 0;
    transition: all var(--transition-fast);
}

.navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: var(--space-md);
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-forest);
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url("../images/hero-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 2;
    background: rgb(46, 78, 54, 0.5);
    padding: var(--space-lg);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    color: var(--color-white);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-forest);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--color-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-forest);
}

.features {
    padding: var(--space-xl) 0;
}

.section-heading {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-heading h2 {
    font-size: 2.5rem;
    color: var(--color-forest);
    position: relative;
    padding-bottom: var(--space-sm);
    display: inline-block;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background: var(--color-gold);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(295px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.feature-card {
    background: var(--color-white);
    color: var(--color-forest);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--color-gold);
    z-index: -1;
    transition: height var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.feature-icon {
    font-size: 3rem;
    color: var(--color-forest);
    margin-bottom: var(--space-sm);
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
    color: var(--color-forest);
}

.projects {
    padding: var(--space-xl) 0;
    background-color: var(--color-soft-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(295px, 1fr));
    gap: var(--space-md);
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    height: 300px;
    transition: transform var(--transition-medium);
    box-shadow: var(--shadow-md);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: var(--color-white);
    transform: translateY(100%);
    transition: transform var(--transition-medium);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    margin-bottom: var(--space-xs);
}

.testimonials {
    background: var(--color-earth);
    color: var(--color-white);
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    z-index: 1;
    animation: slowMove 80s linear infinite;
}

@keyframes slowMove {
    0% { background-position: 0 0; }
    100% { background-position: 500px 500px; }
}

.testimonials-container {
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    position: relative;
    backdrop-filter: blur(5px);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: var(--space-sm);
    position: relative;
}

.testimonial-content::before {
    content: "";
    font-size: 5rem;
    font-family: serif;
    position: absolute;
    top: -2rem;
    left: -1rem;
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-right: var(--space-sm);
}

.author-details h4 {
    margin-bottom: 0;
}

.contact {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.contact-info {
    padding: var(--space-md);
}

.contact-item {
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-right: var(--space-sm);
}

.contact-form {
    background: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    transition: border var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-forest);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.checkbox-input {
    margin-right: var(--space-xs);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: var(--space-lg);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer {
    background-color: var(--color-forest);
    color: var(--color-white);
    padding: var(--space-md) 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.footer-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-left: var(--space-md);
}

.footer-links a {
    color: var(--color-white);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-gold);
}

.copyright {
    width: 100%;
    text-align: center;
    padding-top: var(--space-sm);
    margin-top: var(--space-sm);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.policy-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(46, 78, 54, 0.95);
    color: var(--color-white);
    padding: var(--space-md);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(100%);
    transition: transform var(--transition-medium);
    backdrop-filter: blur(5px);
}

.policy-popup.active {
    transform: translateY(0);
}

.policy-text {
    flex: 1;
    margin-right: var(--space-md);
}

.policy-buttons {
    display: flex;
    gap: var(--space-sm);
}

.page-header {
    position: relative;
    height: 30vh;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.page-header h1 {
    font-size: 3rem;
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: var(--space-md);
    color: var(--color-forest);
}

.service-price {
    display: inline-block;
    background: var(--color-forest);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.service-card h3 {
    margin-bottom: var(--space-sm);
}

.not-found {
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.not-found h1 {
    font-size: 8rem;
    margin-bottom: 0;
    line-height: 1;
}

.not-found h2 {
    margin-bottom: var(--space-md);
}

.thank-you {
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.thank-you h1 {
    margin-bottom: var(--space-sm);
}

.policy-content {
    padding: var(--space-xl) 0;
}

.policy-content h2 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.policy-content p {
    margin-bottom: var(--space-md);
}

.home-button {
    display: inline-flex;
    align-items: center;
    margin-top: var(--space-lg);
    font-weight: 500;
}

.home-button i {
    margin-right: var(--space-xs);
}

.fractal-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: -1;
    animation: fractalFloat 30s infinite linear;
    pointer-events: none;
}

@keyframes fractalFloat {
    0% {
        background-position: 0 0;
        transform: scale(1);
    }
    50% {
        background-position: 100px -100px;
        transform: scale(1.05);
    }
    100% {
        background-position: 0 0;
        transform: scale(1);
    }
}

.floating-element {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(212, 168, 87, 0.3) 0%, rgba(46, 78, 54, 0) 70%);
    z-index: 0;
    animation: float 15s infinite ease-in-out;
    pointer-events: none;
}

.floating-element:nth-child(1) {
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}


.floating-element:nth-child(2) {
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: -100px;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(50px, 50px) scale(1.5);
        opacity: 0.2;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
}

@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: 2;
    }

    .contact-form {
        order: 1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .menu-toggle {
        display: block;
    }

    .navigation {
        position: fixed;
        top: 0;
        display: none;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-white);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-medium);
        z-index: 11;
    }

    .navigation.active {
        right: 0;
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
    }

    .nav-item {
        margin: var(--space-sm) 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-heading h2 {
        font-size: 2rem;
    }

    .feature-card {
        text-align: center;
    }

    .policy-popup {
        flex-direction: column;
        align-items: flex-start;
    }

    .policy-text {
        margin-right: 0;
        margin-bottom: var(--space-sm);
    }
}

@media (max-width: 576px) {
    .footer-links{
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .footer-links li{
        margin-left: 0;

    }

    .footer-container{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

}
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    .container {
        width: 95%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-heading h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: var(--space-sm);
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .not-found h1 {
        font-size: 5rem;
    }
}

@media (max-width: 320px) {
    html {
        font-size: 12px;
    }

    .container {
        width: 100%;
        padding: var(--space-sm);
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}

.menu-open{
    overflow: hidden;
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: var(--space-md);
}

.table-responsive table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.table-responsive th,
.table-responsive td {
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid var(--color-soft-gray);
}

.table-responsive thead {
    background-color: var(--color-forest);
    color: var(--color-white);
}

.table-responsive th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-color: var(--color-forest);
}

.table-responsive tbody tr {
    transition: background-color var(--transition-fast);
}

.table-responsive tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-responsive tbody tr:hover {
    background-color: rgba(212, 168, 87, 0.1);
}

.table-responsive td {
    color: var(--color-forest);
    border-color: var(--color-soft-gray);
}

.table-responsive tbody tr td:first-child {
    font-weight: 500;
}

@media (max-width: 768px) {
    .table-responsive th,
    .table-responsive td {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}