:root {
    /* Color Palette */
    --primary-color: #0d9488; /* Teal */
    --primary-gradient: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
    --secondary-gradient: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
    --text-primary: #0f172a; 
    --text-gradient: linear-gradient(to right, #0f172a, #334155);
    --text-secondary: #475569; 
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --border-color: rgba(226, 232, 240, 0.8);
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 6rem 0;
    --border-radius: 16px;
    --transition-speed: 0.4s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients & Orbs */
body::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100vh;
    background: radial-gradient(circle at 15% 50%, rgba(13, 148, 136, 0.12), transparent 40%),
                radial-gradient(circle at 85% 30%, rgba(2, 132, 199, 0.12), transparent 40%);
    z-index: -1; pointer-events: none;
}

a { text-decoration: none; }
ul { list-style: none; }

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

.bg-light { background: var(--secondary-gradient); position: relative; }
.bg-light::before { content: ''; position: absolute; top:0; left:0; right:0; height: 1px; background: linear-gradient(90deg, transparent, rgba(13,148,136,0.2), transparent); }
.bg-light::after { content: ''; position: absolute; bottom:0; left:0; right:0; height: 1px; background: linear-gradient(90deg, transparent, rgba(13,148,136,0.2), transparent); }

/* Typography */
h1 { font-size: 4rem; font-weight: 800; line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 1.5rem; background: var(--text-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
h2 { font-size: 2.75rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 1rem; color: var(--text-primary); }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
p { color: var(--text-secondary); font-size: 1.125rem; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600; cursor: pointer;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    border: none; position: relative; overflow: hidden;
}
.btn-primary {
    background: var(--primary-gradient); color: white;
    box-shadow: 0 10px 20px -5px rgba(13, 148, 136, 0.4);
}
.btn-primary::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}
.btn-primary:hover::after { left: 150%; }
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(13, 148, 136, 0.5);
}

.btn-outline {
    background: rgba(255,255,255,0.8); color: var(--text-primary);
    border: 1px solid rgba(13, 148, 136, 0.3);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px -5px rgba(13, 148, 136, 0.15);
    background: white;
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* Navbar */
.navbar {
    position: fixed; top: 0; width: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000; transition: all var(--transition-speed) ease;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.5px; }
.logo span { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a:not(.btn) {
    color: var(--text-secondary); font-weight: 500; position: relative; padding-bottom: 0.25rem;
    transition: color 0.3s;
}
.nav-links a:not(.btn):hover { color: var(--primary-color); }
.nav-links a:not(.btn)::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--primary-gradient); transition: width var(--transition-speed) ease;
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-primary); }

/* Hero Section */
.hero { margin-top: 80px; min-height: calc(100vh - 80px); display: flex; align-items: center; position: relative; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-text p { margin-bottom: 2.5rem; font-size: 1.25rem; }
.hero-actions { display: flex; gap: 1rem; }
.hero-image { position: relative; }
.hero-image::before {
    content: ''; position: absolute; inset: -20px;
    background: var(--primary-gradient); filter: blur(40px); opacity: 0.2; z-index: -1; border-radius: 50%;
}
.hero-image img {
    width: 100%; border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.5);
    transition: transform 0.5s ease;
}
.hero-image:hover img { transform: scale(1.02) translateY(-10px); }

/* Sections */
section { padding: var(--section-padding); }
.section-header { text-align: center; max-width: 650px; margin: 0 auto 4rem auto; }
.section-header h2 { background: var(--text-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
    z-index: 1;
}
.service-card::before {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: var(--primary-gradient); opacity: 0; z-index: -1;
    transition: opacity var(--transition-speed);
}
.service-card:hover::before { opacity: 0.03; }
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.1);
    border-color: rgba(13, 148, 136, 0.3);
}
.icon-wrapper {
    width: 64px; height: 64px;
    background: var(--secondary-gradient);
    color: var(--primary-color);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; margin-bottom: 2rem;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.8), 0 4px 10px rgba(13,148,136,0.1);
}
.service-card:hover .icon-wrapper { background: var(--primary-gradient); color: white; }

/* About */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.team-card { 
    border-radius: var(--border-radius); overflow: hidden; 
    background: white; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.team-card img { width: 100%; height: 380px; object-fit: cover; transition: transform 0.6s ease; }
.team-card:hover img { transform: scale(1.05); }
.team-info { padding: 2rem; text-align: center; background: white; position: relative; z-index: 10; border-top: 1px solid var(--border-color); }
.team-info h4 { font-size: 1.35rem; margin-bottom: 0.25rem; font-weight: 700; color: var(--text-primary); }
.team-info span { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;}

/* Contact Form */
.contact-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; }
.contact-info h2 { font-size: 3rem; line-height: 1.2; margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 3rem; font-size: 1.2rem; }
.contact-details li { margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1.25rem; font-size: 1.1rem; color: var(--text-primary); }
.contact-details i { 
    width: 44px; height: 44px; background: white; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    color: var(--primary-color); font-size: 1.25rem; box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.contact-form {
    background: rgba(255,255,255,0.9); backdrop-filter: blur(20px);
    padding: 3.5rem; border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.6);
}
.form-group { margin-bottom: 1.75rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.95rem; color: var(--text-primary); }
.form-group input, .form-group textarea {
    width: 100%; padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px; font-family: inherit; font-size: 1rem;
    transition: all var(--transition-speed) ease;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary-color);
    background: white; box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}
.btn-submit { width: 100%; padding: 1.25rem; font-size: 1.1rem; }

/* Footer */
footer { padding: 4rem 0 2rem; background: var(--bg-white); border-top: 1px solid var(--border-color); position: relative; overflow: hidden;}
footer::before { content:''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 1px; background: var(--primary-gradient); opacity: 0.3; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem;}
.footer-brand p { font-size: 0.9rem; margin-top: 0.75rem; color: var(--text-secondary); }
.social-links { display: flex; gap: 1rem; }
.social-links a { 
    width: 40px; height: 40px; border-radius: 50%; background: var(--bg-light); 
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); font-size: 1.2rem; transition: all var(--transition-speed) ease; 
}
.social-links a:hover { background: var(--primary-gradient); color: white; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(13, 148, 136, 0.3); }

/* Animation Utils */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
    h1 { font-size: 3rem; }
    .hero-content, .contact-container { grid-template-columns: 1fr; gap: 4rem; }
    .services-grid, .team-grid { grid-template-columns: 1fr; gap: 2rem; max-width: 500px; margin: 0 auto;}
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-actions { flex-direction: column; }
    .contact-form { padding: 2rem; }
}
