/* ===== Variables ===== */
:root {
    --bg: #ffffff;
    --surface: #f1f5f9;
    --text: #0f172a;
    --muted: #64748b;
    --brand: #0e7490;
    --brand-dark: #155e75;
    --accent: #0ea5e9;
    --accent-light: #e0f2fe;
    --dark: #0c1222;
    --radius: 14px;
}

/* ===== Reset & Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }

/* ===== Navbar ===== */
#mainNav {
    padding: 16px 0;
    transition: all 0.35s ease;
    background: transparent;
}
#mainNav.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 10px 0;
}
#mainNav .navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    color: #fff;
    transition: color 0.3s;
}
#mainNav.scrolled .navbar-brand { color: var(--brand); }

.brand-icon {
    font-size: 1.5rem;
    margin-right: 4px;
    vertical-align: -2px;
}

#mainNav .nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    margin-left: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.25s;
}
#mainNav .nav-link:hover { color: #fff; background: rgba(255,255,255,0.12); }
#mainNav.scrolled .nav-link { color: var(--muted); }
#mainNav.scrolled .nav-link:hover { color: var(--brand); background: var(--accent-light); }

#mainNav .navbar-toggler {
    border: none;
    color: #fff;
    font-size: 1.4rem;
}
#mainNav.scrolled .navbar-toggler { color: var(--text); }

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(12,18,34,0.82) 0%, rgba(14,116,144,0.75) 100%),
        url('https://images.unsplash.com/photo-1583912086296-be5b665036d3?w=1920&q=80') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(14,165,233,0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(14,116,144,0.15) 0%, transparent 50%);
}
.hero .container { position: relative; z-index: 1; }

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.75);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 28px;
    transition: all 0.3s;
}
.btn-accent:hover {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}
.btn-outline-light {
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 28px;
}

/* ===== Sections shared ===== */
.section-padding { padding: 80px 0; }

.section-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--brand);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.badge-light {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 14px;
}
.section-desc {
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About ===== */
.about-img-wrap {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 60px 40px;
    border: 1px solid rgba(0,0,0,0.06);
}
.about-placeholder-icon {
    font-size: 5rem;
    color: var(--brand);
    opacity: 0.5;
}
.stat-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    border: 1px solid rgba(0,0,0,0.05);
}
.stat-box i {
    color: var(--brand);
    font-size: 1.2rem;
}

/* ===== Product cards ===== */
.product-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 32px 26px;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(14,116,144,0.12);
}
.product-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
    color: var(--brand);
}
.product-card h5 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}
.product-card p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
}

/* ===== Why Us cards ===== */
.why-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 32px 22px;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(14,116,144,0.1);
}
.why-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.2rem;
    color: #fff;
}
.why-card h6 {
    font-weight: 700;
    margin-bottom: 8px;
}
.why-card p {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0;
}

/* ===== Contact ===== */
#contact { background: var(--dark); }

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
}
.contact-info-item i {
    font-size: 1.3rem;
    color: var(--accent);
    margin-top: 4px;
}
.contact-info-item h6 {
    color: #fff;
    margin-bottom: 4px;
    font-weight: 600;
}
.contact-info-item p {
    color: rgba(255,255,255,0.65);
    margin: 0;
    font-size: 0.95rem;
}

.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* ===== Footer ===== */
footer {
    background: #0a0f1a;
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
}
footer strong { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .hero { min-height: 80vh; }
    .section-padding { padding: 60px 0; }
    #mainNav .navbar-collapse {
        background: rgba(255,255,255,0.98);
        border-radius: 12px;
        padding: 16px;
        margin-top: 10px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    }
    #mainNav .nav-link { color: var(--text); }
    #mainNav .nav-link:hover { background: var(--accent-light); color: var(--brand); }
}

@media (max-width: 767px) {
    .hero { min-height: 70vh; padding-top: 100px; }
    .hero-title { font-size: 1.8rem; }
    .stat-box { font-size: 0.82rem; padding: 10px 12px; }
    .product-card { padding: 24px 20px; }
}

@media (max-width: 480px) {
    .hero { min-height: 65vh; }
    .btn-accent,
    .btn-outline-light {
        display: block;
        width: 100%;
        margin-left: 0 !important;
        margin-top: 10px !important;
    }
}
