/* === RESET & VARIABLES === */
:root {
    --color-bg: #f8f9fa;
    --color-surface: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #555555;
    --color-accent: #0f4c75; /* Deep Ocean Blue */
    --color-accent-light: #3282b8;
    --color-highlight: #bbe1fa;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    --spacing-unit: 1rem;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-accent); line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1.5rem; color: var(--color-text-muted); }

.accent { color: var(--color-accent-light); }

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 76, 117, 0.2);
}

.btn-outline {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: white;
}

.full-width { width: 100%; text-align: center; }

/* === HEADER === */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--color-accent); }

.main-nav ul { display: flex; gap: 2rem; align-items: center; }
.main-nav a { font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: var(--color-accent-light); }
.btn-nav { 
    background: var(--color-accent); 
    color: white !important; 
    padding: 0.6rem 1.5rem; 
    border-radius: 50px; 
}

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-toggle span { display: block; width: 25px; height: 3px; background: var(--color-accent); margin: 5px 0; transition: var(--transition); }

/* === HERO WITH SIGNATURE VISUAL === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f4c75 0%, #1b262c 100%);
    color: white;
    overflow: hidden;
    padding-top: 80px;
}

.hero h1, .hero p { color: white; }
.hero-sub { font-size: 1.25rem; max-width: 600px; opacity: 0.9; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn-outline { border-color: white; color: white; }
.hero .btn-outline:hover { background: white; color: var(--color-accent); }

/* Signature Visual: Hydrophobic Water Beads Animation */
.signature-visual {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    pointer-events: none;
    overflow: hidden;
}

.bead {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(255,255,255,0.1));
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    animation: floatUp 8s infinite ease-in-out;
}

.bead-1 { width: 120px; height: 120px; right: 10%; top: 20%; animation-delay: 0s; }
.bead-2 { width: 80px; height: 80px; right: 25%; top: 60%; animation-delay: 2s; }
.bead-3 { width: 150px; height: 150px; right: 5%; top: 70%; animation-delay: 4s; opacity: 0.6; }

@keyframes floatUp {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
    50% { transform: translateY(-30px) scale(1.05); opacity: 1; }
}

/* === SECTIONS GENERAL === */
.section { padding: 6rem 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }

/* === SERVICES === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-surface);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--color-highlight);
}

.service-icon { font-size: 3rem; margin-bottom: 1.5rem; }

/* === WHY US === */
.why-section { background: var(--color-surface); }
.why-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: center; }
.trust-list li { 
    padding-left: 2rem; 
    position: relative; 
    margin-bottom: 1rem; 
    font-weight: 500;
}
.trust-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.why-stats { display: grid; gap: 2rem; }
.stat-box {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}
.stat-number { display: block; font-size: 3rem; font-family: var(--font-heading); color: var(--color-accent); font-weight: 700; }
.stat-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text-muted); }

/* === BLOG / ARTICLE === */
.blog-section { background: var(--color-bg); }
.article-container { max-width: 800px; }
.post-header { margin-bottom: 3rem; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 2rem; }
.post-header time { color: var(--color-text-muted); font-size: 0.9rem; }
.post-content h2 { margin-top: 3rem; font-size: 2rem; }
.post-content h3 { margin-top: 2rem; font-size: 1.4rem; color: var(--color-text); }
.post-content a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--color-accent-light); }
.cta-inline { 
    background: var(--color-highlight); 
    padding: 2rem; 
    border-radius: var(--border-radius); 
    margin-top: 3rem; 
    font-weight: 600;
    color: var(--color-accent);
}
.cta-inline a { font-weight: 800; }

/* === CONTACT === */
.contact-section { background: var(--color-surface); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.info-item { margin-bottom: 2rem; }
.info-item strong { display: block; margin-bottom: 0.5rem; color: var(--color-accent); }
.info-item p { margin-bottom: 0; color: var(--color-text); }

.contact-form {
    background: var(--color-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.contact-form label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-highlight);
}

/* === FOOTER === */
.site-footer {
    background: var(--color-accent);
    color: white;
    padding: 3rem 0;
    text-align: center;
}
.site-footer p { color: rgba(255,255,255,0.8); margin-bottom: 0.5rem; }
.small { font-size: 0.85rem; opacity: 0.7; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .bead-1, .bead-2, .bead-3 { opacity: 0.3; } /* Reduce visual intensity on mobile */
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: 70px; left: 0; right: 0;
        background: white;
        padding: 2rem;
        transform: translateY(-150%);
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .main-nav.active { transform: translateY(0); }
    .main-nav ul { flex-direction: column; gap: 1.5rem; }
    .btn-nav { width: 100%; text-align: center; display: block; }
    
    h1 { font-size: 2.5rem; }
    .section { padding: 4rem 0; }
    .contact-form { padding: 2rem; }
}