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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: #fff;
    overflow-x: hidden;
}

/* ===== Geometric Background Shapes ===== */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: #14b8a6;
    top: -200px;
    right: -150px;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #0d9488;
    bottom: 20%;
    left: -100px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 200px solid transparent;
    border-right: 200px solid transparent;
    border-bottom: 346px solid #14b8a6;
    top: 40%;
    right: -80px;
    transform: rotate(15deg);
}

.shape-square {
    width: 200px;
    height: 200px;
    background: #0d9488;
    top: 60%;
    left: 5%;
    transform: rotate(45deg);
}

.shape-ring {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 40px solid #14b8a6;
    top: 75%;
    right: 10%;
}

/* ===== Navigation ===== */
.nav-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(20, 184, 166, 0.1);
    transition: box-shadow 0.3s ease;
}

.nav-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #14b8a6;
    transition: width 0.25s ease;
}

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

/* Mobile menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Buttons ===== */
.btn-primary {
    background: #14b8a6;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid #14b8a6;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background: #0d9488;
    border-color: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.35);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #1e293b;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    border-color: #14b8a6;
    color: #14b8a6;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    border-radius: 12px;
}

.btn-white {
    background: #fff;
    color: #0f172a;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
}

.btn-white:hover {
    background: #f0fdfa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
    color: #0f172a;
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
}

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

/* ===== Badges ===== */
.badge-teal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(20, 184, 166, 0.1);
    color: #0d9488;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(20, 184, 166, 0.2);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.badge-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ===== Hero ===== */
#hero {
    position: relative;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 30%, #f8fafc 60%, #f0f9ff 100%);
}

.hero-bg-block {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0f766e 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.9;
}

.hero-bg-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 40%;
    background: #ccfbf1;
    border-radius: 0 0 0 40%;
    opacity: 0.5;
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    animation: float 2.5s ease-in-out infinite;
}

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

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid #94a3b8;
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: #14b8a6;
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

/* ===== Services ===== */
.geo-accent {
    position: absolute;
    pointer-events: none;
}

.geo-accent-diagonal {
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, #ccfbf1 0%, #f0fdfa 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.5;
}

.geo-accent-circle {
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.05);
}

.service-card {
    perspective: 1000px;
}

.service-card-inner {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #14b8a6, #0d9488);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.service-card:hover .service-card-inner {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(20, 184, 166, 0.12);
    border-color: rgba(20, 184, 166, 0.3);
}

.service-card:hover .service-card-inner::before {
    transform: scaleX(1);
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14b8a6;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

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

/* ===== About ===== */
.about-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-img-wrapper:hover .about-img {
    transform: scale(1.03);
}

.about-float-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: 0 15px 35px rgba(20, 184, 166, 0.3);
}

.check-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

/* ===== Why Us ===== */
.why-us-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.why-item {
    padding-left: 0;
}

/* ===== Contact ===== */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.contact-info-card:hover {
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.08);
}

.contact-icon-wrap {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14b8a6;
    flex-shrink: 0;
}

.contact-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* ===== Form Elements ===== */
.form-label {
    display: block;
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: #14b8a6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

/* ===== Success Message ===== */
.form-success {
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.4s ease;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #14b8a6;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* ===== Map ===== */
.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 4px solid #fff;
}

/* ===== Reveal Animations ===== */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-bg-block {
        width: 100%;
        opacity: 0.15;
        clip-path: polygon(0 60%, 100% 40%, 100% 100%, 0% 100%);
    }
    
    .hero-bg-accent {
        display: none;
    }
    
    #hero h1 {
        font-size: 2.25rem;
    }
    
    .about-float-card {
        right: 10px;
        bottom: -10px;
    }
    
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .geo-shape {
        display: none;
    }
}

@media (max-width: 640px) {
    #hero h1 {
        font-size: 1.875rem;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }
}
