:root {
    --primary: #0f766e;
    --primary-dark: #065f46;
    --dark: #0f172a;
    --muted: #334155;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #0f766e, #0d9488);
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* High quality background with overlay handling */
    background: linear-gradient(rgba(236, 254, 255, 0.5), rgba(236, 254, 255, 0.5)), 
                url('https://images.pexels.com/photos/11145690/pexels-photo-11145690.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--dark);
    line-height: 1.6;
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    gap: 0.8rem;
}

.brand img {
    width: 35px;
    height: 35px;
}

nav a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

nav a:hover, nav a.active {
    color: var(--primary);
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 6rem 2rem 4rem;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
    text-shadow: 2px 2px 0px rgba(255,255,255,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--muted);
    background: rgba(255,255,255,0.6);
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
}

.hero-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.hero-card ul {
    list-style: none;
}

.hero-card li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.hero-card a {
    color: var(--dark);
    text-decoration: none;
    transition: 0.2s;
}

.hero-card a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Common Classes */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.content-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.92);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(5px);
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Counters */
.counters-section {
    background: var(--gradient);
    color: var(--white);
    padding: 4rem 2rem;
    margin: 4rem 0;
    text-align: center;
}

.counter-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.counter {
    font-size: 3.5rem;
    font-weight: 900;
}

.counter-label {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 10px;
}

/* Solutions Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* Why Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.why-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Contact */
.contact-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        display: none; /* Hidden by default on mobile */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }

    nav.active {
        display: flex; /* Show when active class added via JS */
    }

    nav a {
        margin: 0;
        padding: 1rem;
        display: block;
        border-bottom: 1px solid #f0f0f0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .counter {
        font-size: 2.5rem;
    }
}