/* ===== CSS Custom Properties ===== */
:root {
    --midnight: #0a1628;
    --midnight-light: #132240;
    --midnight-mid: #1a2d4a;
    --mint: #34c7a0;
    --mint-light: #4dd8b3;
    --mint-pale: #e6faf5;
    --mint-ghost: #f0faf7;
    --white: #ffffff;
    --off-white: #f8fafb;
    --gray-50: #f1f5f8;
    --gray-100: #e2e8ef;
    --gray-200: #c8d3df;
    --gray-400: #8a9bb0;
    --gray-600: #5a6d82;
    --gray-800: #2a3a4e;
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06), 0 1px 2px rgba(10, 22, 40, 0.04);
    --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.08), 0 2px 6px rgba(10, 22, 40, 0.04);
    --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12), 0 4px 12px rgba(10, 22, 40, 0.06);
    --shadow-xl: 0 24px 60px rgba(10, 22, 40, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::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(--gray-800);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

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

/* ===== Typography ===== */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.2; color: var(--midnight); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { color: var(--gray-600); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--mint);
    color: var(--midnight);
    box-shadow: 0 4px 16px rgba(52, 199, 160, 0.35);
}
.btn-primary:hover {
    background: var(--mint-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52, 199, 160, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--midnight);
    border: 2px solid rgba(10, 22, 40, 0.2);
}
.btn-outline-light:hover {
    background: var(--midnight);
    color: var(--white);
    border-color: var(--midnight);
    transform: translateY(-2px);
}

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

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===== Section Shared ===== */
.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mint);
    background: var(--mint-pale);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}
.section-tag.light { color: var(--mint-light); background: rgba(52, 199, 160, 0.15); }

.section-title { margin-bottom: 16px; }
.section-title.light-title { color: var(--white); }
.section-desc { font-size: 1.05rem; max-width: 600px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header.light { color: var(--white); }
.section-header.light .section-desc { color: rgba(255, 255, 255, 0.75); }

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
    transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--midnight);
}
.logo-icon { color: var(--midnight); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav > ul { display: flex; gap: 28px; }
.main-nav > ul li a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-600);
    transition: var(--transition);
    position: relative;
}
.main-nav > ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mint);
    border-radius: 2px;
    transition: var(--transition);
}
.main-nav > ul li a:hover { color: var(--midnight); }
.main-nav > ul li a:hover::after { width: 100%; }

.nav-cta {
    padding: 10px 22px !important;
    font-size: 0.9rem !important;
    background: var(--midnight);
    color: var(--white);
    box-shadow: none;
}
.nav-cta:hover {
    background: var(--midnight-light) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--midnight);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--midnight);
    overflow: hidden;
    padding-top: 72px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--midnight) 0%, var(--midnight-light) 50%, var(--midnight-mid) 100%);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2334c7a0' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 60px 0;
}

.hero-content { color: var(--white); }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(52, 199, 160, 0.15);
    border: 1px solid rgba(52, 199, 160, 0.3);
    color: var(--mint-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    margin-bottom: 28px;
}
.hero-badge svg { width: 14px; height: 14px; }

.hero-headline {
    color: var(--white);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 24px;
    line-height: 1.15;
}
.hero-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-trust { display: flex; gap: 32px; flex-wrap: wrap; }
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
}
.trust-item svg { color: var(--mint); width: 18px; height: 18px; }

.hero-visual { position: relative; }
.hero-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}
.hero-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.hero-card-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-card-badge svg { color: var(--mint); width: 16px; height: 16px; }

.hero-stat-card {
    position: absolute;
    bottom: -24px;
    right: -16px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--mint);
    line-height: 1;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 600;
    margin-top: 4px;
}

/* ===== Services ===== */
.services {
    padding: 100px 0;
    background: var(--off-white);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--mint);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(52, 199, 160, 0.15);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--mint-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint);
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--mint);
    color: var(--midnight);
}
.service-card h3 { margin-bottom: 12px; color: var(--midnight); }
.service-card p { font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; }
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--mint);
    transition: var(--transition);
}
.service-link:hover { gap: 10px; color: var(--mint-light); }
.service-link--urgent { color: #e74c3c; }
.service-link--urgent:hover { color: #c0392b; }

/* ===== About ===== */
.about {
    padding: 100px 0;
    background: var(--white);
}
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}
.about-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    background: var(--mint);
    border-radius: var(--radius-lg);
    opacity: 0.2;
    z-index: -1;
}
.about-content { padding: 8px 0; }
.about-text { margin-bottom: 20px; font-size: 1rem; line-height: 1.8; }
.about-stats {
    display: flex;
    gap: 40px;
    margin: 36px 0;
    padding: 28px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}
.about-stat { text-align: left; }
.stat-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--mint);
    line-height: 1;
}
.stat-text {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 600;
    margin-top: 4px;
}

/* ===== Why Us ===== */
.why-us {
    padding: 100px 0;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}
.why-us::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(52, 199, 160, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}
.why-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
}
.why-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(52, 199, 160, 0.3);
    transform: translateY(-4px);
}
.why-icon {
    width: 52px;
    height: 52px;
    background: rgba(52, 199, 160, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint-light);
    margin-bottom: 20px;
}
.why-card h3 { color: var(--white); margin-bottom: 12px; }
.why-card p { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; line-height: 1.7; }

/* ===== Testimonials ===== */
.testimonials {
    padding: 100px 0;
    background: var(--off-white);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(52, 199, 160, 0.15);
}
.testimonial-stars {
    display: flex;
    gap: 4px;
    color: #f5a623;
    margin-bottom: 20px;
}
.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--gray-600);
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--mint-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint);
}
.author-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--midnight);
}
.author-location {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ===== CTA ===== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--mint) 0%, #2db892 100%);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.cta-content { flex: 1; min-width: 280px; }
.cta-title { color: var(--midnight); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.cta-text { color: rgba(10, 22, 40, 0.7); font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
    background: var(--white);
}
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-desc { font-size: 1rem; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--mint-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint);
    flex-shrink: 0;
}
.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--midnight);
    margin-bottom: 4px;
}
.contact-item p, .contact-item a {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}
.contact-item a:hover { color: var(--mint); }
.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-form-wrap {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.form-title {
    font-size: 1.4rem;
    margin-bottom: 28px;
    color: var(--midnight);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--midnight);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--gray-800);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mint);
    box-shadow: 0 0 0 3px rgba(52, 199, 160, 0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; cursor: pointer; }

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success svg { color: var(--mint); margin-bottom: 16px; }
.form-success h4 { color: var(--midnight); margin-bottom: 8px; }
.form-success p { color: var(--gray-600); }

/* ===== Footer ===== */
.site-footer {
    background: var(--midnight);
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255, 255, 255, 0.5); }
.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}
.footer-links ul li a:hover { color: var(--mint-light); }
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.5);
}
.footer-contact a { color: rgba(255, 255, 255, 0.5); transition: var(--transition); }
.footer-contact a:hover { color: var(--mint-light); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}
.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-inner { grid-template-columns: 1fr; gap: 40px; }
    .about-image { max-width: 480px; margin: 0 auto; }
    .why-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .contact-inner { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 1000;
    }
    .main-nav.open { right: 0; }
    .main-nav > ul { flex-direction: column; align-items: center; gap: 20px; }
    .main-nav > ul li a { font-size: 1.1rem; }
    .nav-cta { margin-top: 8px; }

    .hero { min-height: auto; padding: 120px 0 80px; }
    .hero-inner { padding: 0; }
    .hero-card img { height: 280px; }
    .hero-stat-card { right: 0; bottom: -16px; }
    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px; }
    .about-stats { gap: 24px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { justify-content: center; }
    .hero-trust { flex-direction: column; align-items: center; gap: 12px; }
}
