/* =========================================
   VARIABLES & DESIGN TOKENS
   ========================================= */
:root {
    /* Color Palette */
    --primary: #0b6e78; /* Deep Teal */
    --primary-dark: #074f56;
    --primary-light: #16939f;
    --primary-glow: rgba(22, 147, 159, 0.4);
    --accent: #d4af37; /* Gold accent */
    
    /* Neutral Colors */
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0b1120;
    --border-color: #e2e8f0;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-hover: 0 20px 25px -5px rgba(11, 110, 120, 0.1), 0 10px 10px -5px rgba(11, 110, 120, 0.04);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; color: var(--text-main); }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 2rem; }
.relative-z { position: relative; z-index: 2; }

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Text Gradient Effect */
.text-gradient {
    background: linear-gradient(135deg, #16939f 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.875rem 2rem; border-radius: 999px; /* Pill shape */
    font-weight: 600; font-size: 1rem; cursor: pointer;
    transition: var(--transition); border: 2px solid transparent;
    font-family: var(--font-body); letter-spacing: 0.3px;
}
.btn-primary { background-color: var(--primary); color: white; }
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px var(--primary-dark);
}
.btn-glow {
    position: relative;
    z-index: 1;
}
.btn-glow::after {
    content: ''; position: absolute; inset: -2px;
    background: inherit; filter: blur(12px); opacity: 0;
    z-index: -1; border-radius: inherit; transition: opacity 0.3s;
}
.btn-glow:hover::after { opacity: 0.6; }

.btn-secondary { background-color: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); color: white; backdrop-filter: blur(10px); }
.btn-secondary:hover { background-color: white; color: var(--primary); transform: translateY(-3px); }
.btn-icon i { transition: transform 0.3s; }
.btn-secondary:hover .btn-icon i { transform: translateX(5px); }
.btn-block { width: 100%; }

/* =========================================
   HEADER
   ========================================= */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5); transition: var(--transition);
}
.header.scrolled { padding: 0.2rem 0; box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, 0.95); }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo-placeholder { font-size: 1.75rem; font-family: var(--font-heading); font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }

.nav-list { display: flex; align-items: center; gap: 2.5rem; }
.nav-link { font-weight: 500; color: var(--text-muted); font-size: 0.95rem; }
.nav-link:hover { color: var(--primary); }
.nav-link.btn-contact { background-color: var(--primary); color: white; padding: 0.6rem 1.5rem; border-radius: 999px; }
.nav-link.btn-contact:hover { background-color: var(--primary-dark); box-shadow: 0 4px 12px var(--primary-glow); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary); cursor: pointer; }

/* =========================================
   HERO SECTION (Enhanced)
   ========================================= */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 80px; overflow: hidden; }
.hero-bg-image {
    position: absolute; inset: -5%;
    background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?q=80&w=2070&auto=format&fit=crop');
    background-size: cover; background-position: center;
    animation: zoomPan 30s infinite alternate ease-in-out;
    z-index: 0;
}
@keyframes zoomPan {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-20px, 10px); }
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(11, 110, 120, 0.96) 0%, rgba(7, 79, 86, 0.85) 100%);
    z-index: 1; mix-blend-mode: multiply;
}
.hero-content { position: relative; z-index: 2; max-width: 850px; color: white; text-align: center; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }

.hero-badge {
    display: inline-flex; align-items: center; padding: 0.5rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem; font-size: 0.875rem; font-weight: 500; margin-bottom: 2rem;
    backdrop-filter: blur(4px); box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.hero-title { font-size: 4.25rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1px; color: #ffffff !important; text-shadow: 0 4px 15px rgba(0,0,0,0.6); }
.hero-subtitle { font-size: 1.25rem; font-weight: 400; margin-bottom: 2.5rem; color: #f8fafc !important; max-width: 700px; line-height: 1.6; text-shadow: 0 2px 10px rgba(0,0,0,0.6); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; }

/* =========================================
   SERVICES SECTION (Premium Cards)
   ========================================= */
.relative-section { position: relative; background-color: var(--bg-alt); overflow: hidden; padding: 7rem 0; }
.glow-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; z-index: 0; pointer-events: none; }
.blob-1 { top: -100px; left: -100px; width: 400px; height: 400px; background: var(--primary-light); }
.blob-2 { bottom: -100px; right: -100px; width: 500px; height: 500px; background: #94a3b8; }

.section-header { text-align: center; margin-bottom: 5rem; max-width: 800px; margin-inline: auto; }
.section-header h2 { font-size: 2.75rem; color: var(--primary); margin-bottom: 1rem; letter-spacing: -0.5px; }
.section-header p { font-size: 1.15rem; color: var(--text-muted); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.service-card {
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px);
    padding: 2.5rem; border-radius: 1.25rem; box-shadow: var(--shadow-md);
    transition: var(--transition); border: 1px solid rgba(255, 255, 255, 1);
    position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.card-glow {
    position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(22, 147, 159, 0.1), transparent 60%);
    opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(22, 147, 159, 0.2); }
.service-card:hover .card-glow { opacity: 1; }

.service-icon {
    width: 64px; height: 64px; background: linear-gradient(135deg, #e6f3f4 0%, #ffffff 100%);
    color: var(--primary); border-radius: 1rem; display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; margin-bottom: 1.5rem; transition: var(--transition);
    box-shadow: 0 4px 10px rgba(11, 110, 120, 0.05); border: 1px solid #d1e8ea;
}
.service-card:hover .service-icon { background: var(--primary); color: white; transform: scale(1.05) rotate(-5deg); box-shadow: 0 8px 15px rgba(11, 110, 120, 0.2); }
.service-card h3 { font-size: 1.35rem; margin-bottom: 1rem; color: var(--text-main); }
.service-card p { color: var(--text-muted); font-size: 1rem; }

/* =========================================
   SUCCESS CASES SECTION
   ========================================= */
.success-cases { padding: 7rem 0; background-color: white; }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.client-card {
    display: flex; flex-direction: column; gap: 1.5rem; padding: 2.5rem;
    border-radius: 1.25rem; background-color: var(--bg-alt);
    border: 1px solid var(--border-color); transition: var(--transition);
}
.client-card:hover { background-color: white; box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--primary-glow); }
.client-logo {
    height: 70px; display: flex; align-items: center; justify-content: flex-start;
    filter: grayscale(100%) opacity(0.6); transition: var(--transition);
}
.client-card:hover .client-logo { filter: grayscale(0%) opacity(1); transform: scale(1.05); }
.client-logo img { max-height: 100%; object-fit: contain; }
.client-info p { font-size: 1rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* =========================================
   CONTACT & FOOTER
   ========================================= */
.footer-section { background-color: var(--bg-dark); color: white; padding-top: 7rem; position: relative; overflow: hidden; }
.footer-section::before {
    content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
    width: 1000px; height: 1000px; background: radial-gradient(circle, rgba(11, 110, 120, 0.1) 0%, transparent 60%); pointer-events: none;
}
.contact-box {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 5rem;
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px);
    border-radius: 1.5rem; padding: 4rem; border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative; z-index: 1; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.contact-info h2 { font-size: 2.75rem; margin-bottom: 1.5rem; color: white; letter-spacing: -0.5px; }
.contact-info p { color: #94a3b8; margin-bottom: 3rem; font-size: 1.15rem; line-height: 1.6; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-details li { display: flex; align-items: center; gap: 1rem; color: #cbd5e1; font-size: 1.05rem; }
.icon-circle { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-light); border: 1px solid rgba(255,255,255,0.1); }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.95rem; font-weight: 500; color: #94a3b8; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 1rem 1.25rem; border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.03);
    color: white; font-family: inherit; font-size: 1rem; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary-light); background-color: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 4px rgba(22, 147, 159, 0.1);
}
.form-group select option { background-color: var(--bg-dark); color: white; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 2.5rem 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-logo .logo-text { font-size: 1.5rem; font-family: var(--font-heading); font-weight: 800; color: white; }
.footer-links { display: flex; gap: 2.5rem; }
.footer-links a { color: #94a3b8; font-size: 0.95rem; font-weight: 500; }
.footer-links a:hover { color: white; }
.footer-copy { color: #64748b; font-size: 0.9rem; }

/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 992px) {
    .contact-box { grid-template-columns: 1fr; gap: 3rem; padding: 2.5rem; }
    .hero-title { font-size: 3rem; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
}
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-menu {
        position: absolute; top: 80px; left: 0; width: 100%; background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px); padding: 2rem; box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s ease-in-out;
    }
    .nav-menu.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .nav-list { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .footer-links { flex-direction: column; gap: 1rem; }
}
