/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

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

/* ===== CLIP PATHS ===== */
.clip-hero-right {
    clip-path: polygon(30% 0%, 100% 0, 100% 100%, 0% 100%);
}

/* ===== GEOMETRIC SHAPES ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    top: 15%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    bottom: 20%;
    left: 15%;
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-square-1 {
    top: 30%;
    right: 28%;
    width: 80px;
    height: 80px;
    background: rgba(6, 95, 70, 0.06);
    border-radius: 16px;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.shape-triangle-1 {
    bottom: 30%;
    right: 35%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(16, 185, 129, 0.07);
    animation: float 10s ease-in-out infinite;
}

.shape-ring-1 {
    top: 60%;
    left: 8%;
    width: 100px;
    height: 100px;
    border: 3px solid rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    animation: float 7s ease-in-out infinite reverse;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

@keyframes spin {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== NAVIGATION ===== */
#navbar {
    background: rgba(254, 253, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(6, 95, 70, 0.08);
}

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    box-shadow: 0 4px 30px rgba(6, 95, 70, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #059669;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-link:hover {
    color: #059669;
    transform: scale(1.05);
}

.menu-line {
    transition: all 0.3s ease;
}

#mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero-image-wrap {
    box-shadow: 0 25px 60px rgba(6, 78, 59, 0.2);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.hero-image-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 35px 70px rgba(6, 78, 59, 0.25);
}

.floating-card {
    animation: floatReverse 5s ease-in-out infinite;
}

.card-cream {
    background: #fefdf8;
}

.card-emerald {
    background: #065f46;
}

/* Scroll indicator */
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(5, 150, 105, 0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== SECTION LABELS ===== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #059669;
    background: rgba(16, 185, 129, 0.08);
    padding: 0.4em 1em;
    border-radius: 100px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    color: #064e3b;
    line-height: 1.1;
}

.section-desc {
    font-size: 1.05rem;
    color: #047857;
    line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #065f46;
    color: #fefdf8;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #065f46;
}

.btn-primary:hover {
    background: #047857;
    border-color: #047857;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 95, 70, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #065f46;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(6, 95, 70, 0.2);
}

.btn-secondary:hover {
    border-color: #065f46;
    background: rgba(6, 95, 70, 0.04);
    transform: translateY(-2px);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #065f46;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrap {
    background: linear-gradient(135deg, #065f46, #047857);
    color: #fefdf8;
    transform: scale(1.05) rotate(-3deg);
}

/* ===== ABOUT IMAGES ===== */
.about-img-wrap {
    box-shadow: 0 20px 50px rgba(6, 78, 59, 0.15);
    transition: transform 0.5s ease;
}

.about-img-wrap:hover {
    transform: scale(1.02);
}

/* ===== FEATURE ROWS ===== */
.feature-row {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-row.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== CTA BUTTONS ===== */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fefdf8;
    color: #065f46;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: #d1fae5;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #fefdf8;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(254, 253, 248, 0.3);
}

.btn-cta-outline:hover {
    border-color: #fefdf8;
    background: rgba(254, 253, 248, 0.1);
    transform: translateY(-2px);
}

/* ===== FORM ===== */
.input-field {
    border: 1.5px solid #d1fae5;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-family: 'Inter', system-ui, sans-serif;
    color: #064e3b;
    background: #fefdf8;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.input-field:focus {
    border-color: #059669;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

.input-field::placeholder {
    color: #a7c4b5;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #065f46;
    color: #fefdf8;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 95, 70, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .clip-hero-right {
        clip-path: polygon(0% 0%, 100% 0, 100% 100%, 0% 100%);
    }

    .shape-square-1,
    .shape-triangle-1,
    .shape-ring-1 {
        display: none;
    }

    .floating-card {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 1rem;
        max-width: 100%;
    }

    .about-img-wrap:nth-child(2) {
        margin-left: 1rem;
    }

    .feature-number {
        font-size: 3rem !important;
        -webkit-text-stroke: 0 !important;
    }
}

@media (max-width: 640px) {
    .hero-image-wrap {
        border-radius: 20px;
    }
}
