/* Custom Properties */
:root {
    --primary-color: #026450;
    --secondary-color: #fdbe59;
    --bg-color: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --transition: all 0.3s ease;
}

/* Reset & Normalize */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #e5a94a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar.scrolled {
    padding: 5px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    max-height: 50px;
    object-fit: contain;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(2, 100, 80, 0.8), rgba(2, 100, 80, 0.8)), url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: white;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: opacity 0.3s;
}

.lazy {
    opacity: 0;
}
.lazy.loaded {
    opacity: 1;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-color);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

/* Interactive Contact Cards */
.contact-links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-action-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.contact-action-card[href]:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-card-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-arrow {
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.contact-action-card[href]:hover .contact-arrow {
    opacity: 1;
    transform: translateX(0);
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    width: auto;
    margin-right: 8px;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(2, 100, 80, 0.1);
}

/* Custom Attractive Option Cards (Radio Buttons) */
.attractive-options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.attractive-option {
    cursor: pointer;
    display: block;
}

.attractive-option input[type="radio"] {
    display: none; /* Hide default radio */
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 15px 10px;
    transition: all 0.3s ease;
    text-align: center;
    color: var(--text-light);
}

.option-icon {
    margin-bottom: 8px;
    stroke: currentColor;
    transition: color 0.3s ease;
}

.option-text {
    font-size: 0.95rem;
    font-weight: 600;
}

.attractive-option:hover .option-card {
    border-color: #d1d1d1;
}

.attractive-option input[type="radio"]:checked + .option-card {
    border-color: var(--primary-color);
    background: rgba(2, 100, 80, 0.05);
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Since the logo has a transparent background and might not be white, 
   we avoid completely inverting it, but adjust if needed */
.footer-logo img {
    max-height: 80px;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 30px 0;
        gap: 20px;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
/* Comprehensive Form Styles */
.comprehensive-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.comprehensive-form fieldset {
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 30px;
}

.comprehensive-form legend {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    padding: 0 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    padding: 15px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .comprehensive-form {
        padding: 20px 15px;
    }

    .comprehensive-form fieldset {
        padding: 15px 10px;
        margin-bottom: 20px;
    }
}

/* --- Hero Canvas Sequence Styles --- */
.hero-sequence-section {
    height: 400vh; /* Scroll length for the animation */
    background: #000;
    position: relative;
    margin-top: -80px; /* Pull up behind navbar */
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay-content {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    color: white;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 10;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    max-width: 800px;
    margin-bottom: 40px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8); /* Darkened the shadow slightly to make the white pop more */
    padding: 0 20px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
}

/* --- Framer Motion Style Scroll Reveals --- */
.framer-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

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

/* --- Instagram Feed Grid --- */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.insta-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.insta-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-item:hover img {
    transform: scale(1.05);
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

/* --- How It Works Timeline --- */
.how-timeline-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.how-timeline-bg-line {
    position: absolute;
    left: 23px; /* centers behind a 48px marker */
    top: 30px;
    bottom: 50px;
    width: 2px;
    background-image: linear-gradient(to bottom, #ccc 50%, transparent 50%);
    background-size: 2px 14px;
    z-index: 1;
}

.how-timeline-progress-line {
    position: absolute;
    left: 23px;
    top: 30px;
    width: 2px;
    height: 0%; /* Animates via JS */
    background-color: var(--primary-color);
    z-index: 2;
    transition: height 0.3s ease;
}

.how-step {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 3;
    margin-bottom: 50px;
    opacity: 0.6; /* Inactive opacity */
    transition: all 0.5s ease;
}

.how-step:last-child {
    margin-bottom: 0;
}

.how-marker {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #e5e5e5;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 30px;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 0 0 rgba(2, 100, 80, 0); /* Primary color shadow */
}

.how-content {
    padding-top: 10px;
    transition: all 0.5s ease;
}

.how-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.how-content p {
    margin: 0;
    color: var(--text-light);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

/* Active Step Styling */
.how-step.active {
    opacity: 1;
}

.how-step.active .how-marker {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 0 8px rgba(2, 100, 80, 0.15); /* Halos around marker */
    transform: scale(1.1);
}

.how-step.active .how-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.how-step.active .how-content p {
    max-height: 100px;
    opacity: 1;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .how-timeline-container { padding-left: 20px; padding-right: 20px; }
    .how-content h3 { font-size: 1.1rem; }
    .how-step.active .how-content h3 { font-size: 1.4rem; }
}

/* --- Why Are We Better Section --- */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-us-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 45px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    border-bottom: 4px solid var(--secondary-color);
}

.why-us-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 50px rgba(2, 100, 80, 0.1);
}

.why-icon-container {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px auto;
    border-radius: 50%;
    background-color: rgba(253, 190, 89, 0.15); /* light gold */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: transform 0.4s ease, background-color 0.4s ease;
}

.why-us-card:hover .why-icon-container {
    transform: scale(1.1);
    background-color: rgba(253, 190, 89, 0.25);
}

.why-icon-container svg {
    width: 42px;
    height: 42px;
    stroke-width: 1.5;
}

.why-us-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 700;
}

.why-us-card p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}
