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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(13, 148, 136, 0.15);
    color: #134e4a;
}

/* ===== Side Navigation ===== */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(148, 163, 184, 0.15);
    z-index: 30;
    display: flex;
    align-items: center;
    padding: 2rem 1.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-nav-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.side-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.side-nav-logo-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.01em;
}

.side-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #0d9488;
    background: rgba(13, 148, 136, 0.06);
}

.nav-link.active {
    color: #0d9488;
    background: rgba(13, 148, 136, 0.1);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: #0d9488;
    border-radius: 0 4px 4px 0;
}

.nav-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
}

.nav-link.active .nav-icon,
.nav-link:hover .nav-icon {
    opacity: 1;
}

.side-nav-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.side-nav-contact {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.side-nav-footer .nav-icon {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    flex-shrink: 0;
}

/* ===== Main Content ===== */
.main-content {
    margin-left: 260px;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 40%, #f1f5f9 100%);
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(13, 148, 136, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(148, 163, 184, 0.08) 0%, transparent 50%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 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='%230d9488' fill-opacity='1' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(13, 148, 136, 0.05);
    top: 10%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 180px;
    height: 180px;
    background: rgba(148, 163, 184, 0.08);
    bottom: 20%;
    right: 15%;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: rgba(13, 148, 136, 0.06);
    top: 40%;
    right: 30%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

.hero-content {
    padding-top: 2rem;
}

.hero-badge {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.75rem, 5vw, 4.25rem);
    font-weight: 500;
    color: #1e293b;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: #64748b;
    line-height: 1.75;
    max-width: 560px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-stats {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: #0d9488;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

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

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    position: relative;
}

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

@keyframes scrollWheel {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: #0d9488;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.btn-primary:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: white;
    color: #334155;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #0d9488;
    color: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    color: #0d9488;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* ===== Section Common ===== */
.section {
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 500;
    color: #1e293b;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* ===== About Section ===== */
.about-image-wrapper {
    position: relative;
    z-index: 1;
}

.about-image {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-accent-card {
    animation: floatSlow 6s ease-in-out infinite;
}

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

/* ===== Service Cards ===== */
.service-card {
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    overflow: hidden;
}

.service-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #2dd4bf);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: white;
    transform: scale(1.05);
}

.service-icon--teal {
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    color: #0d9488;
}

.service-card:hover .service-icon--teal {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: white;
}

.service-icon--slate {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    color: #475569;
}

.service-card:hover .service-icon--slate {
    background: linear-gradient(135deg, #334155, #475569);
    color: white;
}

.service-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.service-desc {
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-list {
    display: flex;
    flex-direction: column;
}

.service-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

/* ===== Team Section ===== */
.team-value {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.team-value:last-child {
    border-bottom: none;
}

.team-value-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    line-height: 1;
}

.team-value-label {
    font-size: 0.85rem;
    font-weight: 400;
}

/* ===== CTA Section ===== */
.cta-pattern {
    background-size: 60px 60px;
}

/* ===== Contact Section ===== */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: #ccfbf1;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.06);
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
    flex-shrink: 0;
}

/* ===== Form ===== */
.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9rem;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.3s ease;
    outline: none;
}

.input-field::placeholder {
    color: #94a3b8;
}

.input-field:hover {
    border-color: #94a3b8;
}

.input-field:focus {
    border-color: #0d9488;
    background: white;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

select.input-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

/* ===== Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== Mobile Menu Button ===== */
.mobile-menu-btn {
    transition: all 0.3s ease;
}

.mobile-menu-btn.open {
    background: #0f766e !important;
    transform: rotate(90deg);
}

.mobile-menu-btn.open #menuIcon {
    transform: rotate(90deg);
}

/* Mobile hamburger animation */
#menuToggle svg path {
    transition: all 0.3s ease;
}

#menuToggle.active svg path:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuToggle.active svg path:nth-child(2) {
    opacity: 0;
}

#menuToggle.active svg path:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay */
.mobile-overlay {
    transition: opacity 0.3s ease;
}

.mobile-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
    .side-nav {
        transform: translateX(-100%);
    }

    .side-nav.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .hero-title {
        font-size: clamp(2.25rem, 7vw, 3.5rem);
    }

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

@media (max-width: 767px) {
    .side-nav {
        width: 280px;
    }

    .hero-stats {
        gap: 1rem;
    }

    .hero-stat-number {
        font-size: 1.75rem;
    }

    .service-card-inner {
        padding: 1.75rem;
    }

    #contactForm {
        padding: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}
