﻿/* ============ Global Styles ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --royal: #0c4da2;
    --sky: #56b5f6;
    --dark: #101828;
    --mid: #4f5f8f;
    --light: #f8fbff;
    --text: #1f2937;
    --muted: #6b7280;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: #ffffff;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* ============ Topbar & Navbar ============ */
.topbar {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background-color: #ffffff;
}

.navbar-wrap {
    background-color: #ffffff;
}

.brand-title {
    font-size: 1rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--dark);
}

.text-sky {
    color: var(--sky);
}

.nav-link {
    color: var(--text);
    font-weight: 600;
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--royal);
}

.navbar-toggler {
    border-width: 2px;
}

.logo-img {
    width: 50px;
    height: auto;
}

/* ============ Hero ============ */
.hero {
    min-height: 680px;
    background: linear-gradient(180deg, rgba(12, 77, 162, 0.92) 0%, rgba(86, 181, 246, 0.84) 100%), url('img/service-6.jpg') center/cover no-repeat;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(2, 62, 138, 0.45);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 999px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(2.75rem, 4vw, 4.75rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.btn-primary,
.btn-outline-primary {
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--royal);
    border-color: var(--royal);
    color: #ffffff;
}

.btn-primary:hover,
.btn-outline-primary:hover {
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--royal);
    background-color: transparent;
    border: 2px solid rgba(12, 77, 162, 0.15);
}

/* ============ Page Title ============ */
.page-title-section {
    background: linear-gradient(135deg, var(--royal), var(--sky));
    color: white;
    text-align: center;
    padding: 100px 0;
}

.page-title-section h1 {
    font-size: clamp(2.5rem, 3vw, 4rem);
    margin-bottom: 15px;
    letter-spacing: 0.08em;
}

.page-title-section p {
    font-size: 1.05rem;
    opacity: 0.92;
}

/* ============ Layout Sections ============ */
.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--royal);
    margin-bottom: 20px;
    font-weight: 700;
}

.text-secondary {
    color: var(--muted) !important;
}

.info-box,
.stat-card,
.team-card,
.feature-card,
.highlight-card,
.gallery-block,
.contact-info-card {
    border-radius: 18px;
}

.info-box {
    background-color: rgba(86, 181, 246, 0.12);
    padding: 30px;
    min-height: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.info-box i {
    color: var(--royal);
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.info-box h5 {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.info-box p {
    margin-bottom: 0;
}

.bg-sky {
    background-color: rgba(86, 181, 246, 0.14);
}

.bg-royal {
    background-color: rgba(12, 77, 162, 0.12);
}

.stat-card {
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 36px;
    text-align: center;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--royal);
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--muted);
}

.team-card {
    background-color: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    padding: 24px;
    text-align: center;
}

.team-card h5 {
    margin-top: 16px;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.team-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.feature-card {
    background-color: #ffffff;
    padding: 30px;
    min-height: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.feature-card:hover {
    transform: translateY(-6px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 22px;
    margin-bottom: 25px;
    color: white;
}

.feature-icon.bg-sky {
    background-color: var(--sky);
}

.feature-icon.bg-royal {
    background-color: var(--royal);
}

.feature-card h4 {
    margin-bottom: 18px;
    letter-spacing: 0.05em;
}

.gallery-block,
.highlight-card {
    min-height: 230px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: white;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-block span,
.highlight-card span {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    z-index: 1;
}

.highlight-card::before,
.gallery-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.72) 100%);
}

.highlight-card div,
.gallery-block span {
    position: relative;
    z-index: 1;
}

.cta-section,
.cta {
    padding: 60px 0;
}

.cta-section {
    background-color: var(--royal);
    color: white;
}

.cta-section h2,
.cta h2 {
    font-size: clamp(2rem, 2.5vw, 3rem);
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.cta-section p,
.cta p {
    color: rgba(255, 255, 255, 0.88);
}

.footer {
    background-color: #0f172a;
    color: rgba(255, 255, 255, 0.75);
}

.footer h5 {
    color: #ffffff;
}

.footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.footer a:hover {
    color: var(--sky);
}

.footer-logo {
    width: 140px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    transition: color 0.2s ease;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 52px;
    height: 52px;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: var(--royal);
    color: white;
    border-radius: 50%;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.back-to-top:hover {
    background-color: #0a3b7c;
}

@media (max-width: 992px) {
    .hero {
        min-height: 520px;
    }

    .page-title-section {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-wrap: wrap;
    }

    .hero {
        min-height: 460px;
    }

    .hero p,
    .page-title-section p {
        font-size: 1rem;
    }

    .page-title-section h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 380px;
        padding-top: 80px;
    }

    .hero-badge {
        margin-bottom: 18px;
    }

    .btn {
        width: 100%;
    }
}
