:root {
    /* Colors */
    --primary: #2d6a4f;
    --primary-light: #40916c;
    --primary-dark: #1b4332;
    --secondary: #d8e2dc;
    --accent: #ff9f1c;
    --accent-light: #ffbf69;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --text-dark: #1b4332;
    --text-muted: #52796f;
    --error: #e63946;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    gap: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background-color: #c0cfc6;
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-icon {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem;
    border-radius: 12px;
    display: flex;
}

.logo-text {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.logo-text span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.mobile-toggle {
    display: none;
}

/* --- Hero Section --- */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, #f0faf4 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary);
    color: var(--primary-dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero h1 span {
    color: var(--primary);
    position: relative;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 1.8rem;
    color: var(--primary-dark);
    font-family: 'Outfit';
}

.stat-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-image-wrapper {
    position: relative;
}

.image-blob {
    position: absolute;
    width: 120%;
    height: 120%;
    background: var(--secondary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: -10%;
    left: -10%;
    z-index: 1;
    animation: blobMove 10s infinite alternate;
}

.hero-img {
    position: relative;
    z-index: 2;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: -10%;
}

.card-2 {
    bottom: 20%;
    right: -5%;
    animation-delay: 2s;
}

.icon-circle {
    width: 45px;
    height: 45px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.card-text span {
    display: block;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.card-text small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Animations */
@keyframes blobMove {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    100% {
        border-radius: 50% 50% 30% 70% / 50% 70% 30% 50%;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* --- Services --- */
.services {
    padding: 8rem 0;
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 30px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-card.active {
    background: var(--primary);
    color: var(--white);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card.active .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.service-card.active p {
    color: rgba(255, 255, 255, 0.8);
}

.read-more {
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card.active .read-more {
    color: var(--white);
}

/* --- About --- */
.about {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-images {
    position: relative;
}

.img-large img {
    border-radius: 40px;
    width: 90%;
}

.img-small {
    position: absolute;
    bottom: -10%;
    right: 0;
    width: 250px;
    border: 10px solid var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.img-small img {
    border-radius: 20px;
}

.check-list {
    margin: 2rem 0 3rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-list i {
    color: var(--primary);
}

/* --- Testimonials --- */
.testimonials {
    padding: 8rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0faf4 100%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quote-icon {
    color: var(--secondary);
    margin-bottom: 2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.testimonial-user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-user h4 {
    font-size: 1.1rem;
    margin-bottom: 0.1rem;
}

.testimonial-user span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Team --- */
.team {
    padding: 8rem 0;
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.team-img {
    height: 320px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.team-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* --- Contact --- */
.contact {
    padding: 8rem 0;
}

.contact-box {
    background: var(--primary-dark);
    border-radius: 50px;
    padding: 4rem;
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-info h2 span {
    color: var(--accent);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-item {
    display: flex;
    gap: 1.5rem;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.detail-item h5 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.detail-item p {
    margin-bottom: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    font-family: inherit;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.1);
}

/* --- Footer --- */
.footer {
    padding: 6rem 0 2rem;
    background: #0d2119;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links h4,
.footer-newsletter h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--white);
}

.newsletter-form button {
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 60px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-grid,
    .about-grid,
    .contact-box {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero {
        text-align: center;
        padding-top: 8rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-btns,
    .hero-stats {
        justify-content: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--primary-dark);
        cursor: pointer;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}