/* ===== CSS Variables ===== */
:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --emerald-300: #6ee7b7;
    --emerald-200: #a7f3d0;
    --emerald-100: #d1fae5;
    --emerald-50: #ecfdf5;
    
    --gold-500: #d4af37;
    --gold-400: #e5c158;
    --gold-300: #f0d77a;
    
    --dark-900: #0a0f0d;
    --dark-800: #111916;
    --dark-700: #1a2520;
    --dark-600: #243129;
    
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-emerald: 0 10px 40px -10px rgba(16, 185, 129, 0.3);
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-800);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

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

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

/* ===== Utility Classes ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.navbar {
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
    color: var(--white);
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: var(--shadow-emerald);
}

.logo-text {
    color: var(--dark-800);
}

.logo-accent {
    color: var(--emerald-600);
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-700) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--emerald-500);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

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

.nav-link:hover {
    color: var(--emerald-600) !important;
}

.btn-cta {
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
    color: var(--white);
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    box-shadow: var(--shadow-emerald);
    transition: var(--transition-base);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -10px rgba(16, 185, 129, 0.4);
    color: var(--white);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23065f46' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, var(--emerald-100) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--emerald-50) 0%, transparent 40%);
    opacity: 0.8;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: linear-gradient(135deg, var(--emerald-50) 0%, transparent 60%);
    transform: rotate(-12deg);
}

.hero-content {
    padding-top: 6rem;
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge i {
    color: var(--emerald-500);
}

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

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

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

.btn-primary-custom {
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    box-shadow: var(--shadow-emerald);
    transition: var(--transition-base);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.5);
    color: var(--white);
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px solid var(--emerald-200);
    color: var(--emerald-700);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
}

.btn-outline-custom:hover {
    border-color: var(--emerald-500);
    background: var(--emerald-50);
    color: var(--emerald-700);
}

.hero-visual {
    padding-top: 6rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    padding: 2rem;
}

.hero-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.hero-icon-display {
    width: 100%;
    max-width: 400px;
    height: 350px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-emerald);
}

.hero-icon-display i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-icon-display {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-50));
    border: 2px solid var(--emerald-200);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.about-icon-display i {
    font-size: 7rem;
    color: var(--emerald-500);
}

.image-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, var(--emerald-200), var(--emerald-100));
    border-radius: 24px;
    z-index: 1;
    transform: translate(20px, 20px);
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.25rem;
    color: var(--emerald-500);
}

.floating-card span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-700);
}

.card-1 {
    top: 15%;
    left: -5%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 15%;
    left: 5%;
    animation-delay: 2s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.75rem;
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--emerald-400);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--emerald-500);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

/* ===== Section Common Styles ===== */
.section-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--emerald-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-label.centered {
    justify-content: center;
}

.label-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--emerald-400), var(--emerald-600));
    border-radius: 1px;
}

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

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

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

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

.about-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

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

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.about-content-col {
    padding-left: 3rem;
}

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

.about-features {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border-radius: 14px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.25rem;
    color: var(--emerald-600);
}

.feature-text h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-700);
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin: 0;
}

/* ===== Services Section ===== */
.services-section {
    padding: 8rem 0;
    background: var(--emerald-50);
    position: relative;
    overflow: hidden;
}

.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 90%, var(--emerald-100) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, var(--emerald-100) 0%, transparent 40%);
    z-index: 0;
}

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

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

.services-grid {
    row-gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-400), var(--emerald-600));
    opacity: 0;
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    background: linear-gradient(135deg, var(--emerald-700), var(--emerald-600));
    color: var(--white);
}

.service-card.featured::before {
    background: var(--gold-400);
    opacity: 1;
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gold-400);
    color: var(--dark-800);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-icon-wrapper {
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-100);
    border-radius: 18px;
    transition: var(--transition-base);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--emerald-600);
}

.service-card.featured .service-icon i {
    color: var(--white);
}

.service-title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-700);
}

.service-card.featured .service-title {
    color: var(--white);
}

.service-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card.featured .service-description {
    color: rgba(255, 255, 255, 0.85);
}

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

.service-link:hover {
    gap: 0.75rem;
    color: var(--emerald-700);
}

.service-card.featured .service-link {
    color: var(--emerald-200);
}

.service-card.featured .service-link:hover {
    color: var(--white);
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 8rem 0;
    background: var(--white);
}

.contact-info-col {
    padding-right: 3rem;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
    border-radius: 14px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.contact-text h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-700);
    margin-bottom: 0.25rem;
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
}

.contact-text a {
    color: var(--emerald-600);
}

.contact-text a:hover {
    color: var(--emerald-700);
    text-decoration: underline;
}

.contact-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-image {
    width: 100%;
    display: block;
}

.contact-form-wrapper {
    background: var(--gray-100);
    border-radius: 24px;
    padding: 3rem;
}

.form-title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-700);
    margin-bottom: 2rem;
}

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

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

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--dark-700);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

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

.btn-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-emerald);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -10px rgba(16, 185, 129, 0.5);
}

.btn-submit i {
    transition: var(--transition-fast);
}

.btn-submit:hover i {
    transform: translateX(4px);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-800);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 2rem;
}

.footer .logo-text {
    color: var(--white);
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray-300);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@keyframes scroll {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(6px);
    }
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .hero-content,
    .hero-visual {
        padding-top: 8rem;
    }
    
    .hero-visual {
        padding-top: 3rem;
    }
    
    .hero-image-wrapper {
        padding: 1rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .about-content-col {
        padding-left: 1rem;
        margin-top: 3rem;
    }
    
    .contact-info-col {
        padding-right: 1rem;
        margin-bottom: 3rem;
    }
    
    .experience-badge {
        right: 10px;
        bottom: -10px;
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .scroll-indicator {
        display: none;
    }
}
