/* Core Design System Variables */
:root {
    --primary: #63C1C6;
    --primary-dark: #4EA3A8;
    --dark: #1A202C;
    --text-main: #4A5568;
    --light: #E2E8F0; /* Darkened from F7FAFC */
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --transition: all 0.3s ease;
}

/* Base Styles */
* { box-sizing: border-box; }
body {
    background-color: var(--light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout & Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(99, 193, 198, 0.4);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 193, 198, 0.6);
    background: var(--primary-dark);
    color: var(--white);
}

/* Header & Nav */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 1rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary);
}

.desktop-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
}

.desktop-menu a:hover {
    color: var(--primary);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    background: none;
    border: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right 0.4s ease;
    z-index: 1001;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.mobile-menu a:hover {
    color: var(--primary);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.overlay.active {
    display: block;
    opacity: 1;
}

.close-menu-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--dark);
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

.site-footer p {
    color: #A0AEC0;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.footer-signature {
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--primary);
    margin-top: 3rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .desktop-menu { display: none; }
    .mobile-menu-btn { display: block; }
}

/* Page Components */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; position: relative; background: linear-gradient(135deg, #cceeff 0%, #f0fbff 100%); }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--glass-border); padding: 4rem 2rem; border-radius: 30px; box-shadow: var(--shadow); margin-top: 60px;}
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1rem; letter-spacing: -1px; }

/* Animate On Scroll */
.animate-on-scroll { opacity: 1; transform: none; transition: none; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 4rem; max-width: 1200px; margin: 2rem auto 4rem; position: relative; z-index: 10; padding: 0 2rem; }
.service-card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); text-align: center; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(31, 38, 135, 0.15); }
.service-img { width: 100%; height: 250px; object-fit: cover; border-bottom: 1px solid #edf2f7; }
.service-info { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.service-info h3 { color: var(--primary); font-size: 1.5rem; margin-bottom: 1rem; }
.service-info p { color: var(--text-main); font-size: 1rem; margin-bottom: 1.5rem; }
