/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    
    --cream-50: #fefdf8;
    --cream-100: #fefce8;
    --cream-200: #fef9c3;
    --cream-300: #fef08a;
    --cream-400: #fde047;
    
    --sand-50: #fafaf9;
    --sand-100: #f5f5f4;
    --sand-200: #e7e5e4;
    --sand-300: #d6d3d1;
    --sand-400: #a8a29e;
    --sand-500: #78716c;
    --sand-600: #57534e;
    --sand-700: #44403c;
    --sand-800: #292524;
    --sand-900: #1c1917;
    
    --white: #ffffff;
    --black: #0f172a;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--sand-800);
    background-color: var(--cream-50);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--sand-900);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--emerald-600);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--emerald-500);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--sand-600);
    max-width: 600px;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
    color: var(--white);
    border-color: var(--emerald-600);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--emerald-700), var(--emerald-600));
    border-color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--emerald-700);
    border-color: var(--emerald-300);
}

.btn-outline:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-500);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--emerald-700);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* ===================================
   Navbar
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 248, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sand-200);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--sand-900);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--sand-700);
}

.nav-links a:hover {
    color: var(--emerald-600);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--sand-800);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream-50) 0%, var(--emerald-50) 50%, var(--cream-100) 100%);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 211, 153, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(110, 231, 183, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--emerald-200);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--emerald-700);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--emerald-500);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--sand-900);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--sand-600);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Floating Stat Cards */
.hero-cards {
    position: relative;
    height: 400px;
}

.stat-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
}

.stat-card:nth-child(1) {
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.stat-card:nth-child(2) {
    top: 40%;
    right: 20%;
    animation-delay: 1s;
}

.stat-card:nth-child(3) {
    bottom: 20%;
    right: 0;
    animation-delay: 2s;
}

.stat-card:nth-child(4) {
    bottom: 0;
    right: 30%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-200));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--sand-900);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--sand-500);
    margin-top: 0.25rem;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 60%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

.about-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: 2rem;
    right: -1rem;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
}

.exp-text {
    font-size: 0.875rem;
    opacity: 0.9;
}

.about-content {
    padding-left: 1rem;
}

.about-text {
    color: var(--sand-600);
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--sand-700);
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--emerald-500);
    flex-shrink: 0;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--cream-50) 0%, var(--emerald-50) 100%);
}

.section-header {
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: var(--transition);
    border: 1px solid var(--sand-200);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--emerald-200);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-200));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--sand-900);
}

.service-card p {
    color: var(--sand-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--emerald-600);
}

.service-link:hover {
    gap: 0.75rem;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: 6rem 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--cream-50), var(--emerald-50));
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--emerald-100);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: var(--cream-300);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--sand-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--emerald-300), var(--emerald-400));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--sand-900);
    font-size: 0.9375rem;
}

.author-location {
    font-size: 0.8125rem;
    color: var(--sand-500);
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--emerald-800), var(--emerald-700));
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.125rem;
    color: var(--emerald-100);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--emerald-700);
    border-color: var(--white);
}

.cta .btn-primary:hover {
    background: var(--cream-100);
    border-color: var(--cream-100);
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--cream-50) 0%, var(--sand-50) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text {
    color: var(--sand-600);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-200));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact-text-content {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--sand-500);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-weight: 500;
    color: var(--sand-800);
}

.contact-value:hover {
    color: var(--emerald-600);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--sand-200);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--sand-900);
}

.form-group {
    margin-bottom: 1.25rem;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--sand-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--sand-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--sand-800);
    background: var(--cream-50);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px var(--emerald-100);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-200));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--emerald-600);
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--sand-900);
}

.form-success p {
    color: var(--sand-600);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--sand-900);
    color: var(--sand-400);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-contact li {
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--emerald-400);
}

.footer-bottom {
    border-top: 1px solid var(--sand-800);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
}

.footer-disclaimer {
    font-size: 0.8125rem;
    opacity: 0.7;
}

/* ===================================
   Mobile Menu
   =================================== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--sand-200);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--sand-700);
    border-bottom: 1px solid var(--sand-100);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-cards {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-content {
        padding-left: 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ===================================
   Animations
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .testimonial-card {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .service-card.visible,
    .testimonial-card.visible {
        opacity: 1;
        transform: translateY(0);
    }
}
