@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #1e3a5f;
    --secondary: #2d7dd2;
    --accent: #f5a623;
    --light-bg: #f4f7fb;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #2d5a8e 100%);
    --gradient-accent: linear-gradient(135deg, #f5a623 0%, #f7c04a 100%);
}

/* ===================== BASE ===================== */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.25;
}
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }

/* ===================== NAVBAR ===================== */
.glass-nav {
    background: rgba(14, 30, 55, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 0;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}
.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: -0.3px;
    color: white !important;
    font-weight: 800;
}
.nav-link {
    font-weight: 500;
    letter-spacing: 0.2px;
    color: rgba(255, 255, 255, 0.72) !important;
    transition: color 0.25s;
    font-size: 0.92rem;
    padding: 6px 12px !important;
    border-radius: 8px;
}
.nav-link:hover { color: white !important; background: rgba(255,255,255,0.07); }
.nav-link.active { color: white !important; }
.nav-link.active { position: relative; color: var(--accent) !important; }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #1a4080 100%);
    color: white;
    padding: 130px 0 110px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
}
.hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; width: 100%; height: 100px;
    background: linear-gradient(to top, var(--light-bg), transparent);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }

/* ===================== TRUST METRICS BAR ===================== */
.metrics-bar {
    background: white;
    border-radius: 20px;
    box-shadow: 0 12px 50px rgba(30, 58, 95, 0.1);
    padding: 28px 40px;
    position: relative;
    z-index: 10;
    margin-top: -55px;
    border: 1px solid var(--border-color);
}
.metric-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -1px;
}
.metric-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 5px;
    letter-spacing: 0.2px;
}
.metric-divider {
    width: 1px;
    background: var(--border-color);
    align-self: stretch;
    margin: 4px 0;
}

/* ===================== BUTTONS ===================== */
.btn-accent {
    background: var(--gradient-accent);
    color: #1a1a1a;
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.2px;
    font-size: 0.97rem;
}
.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.5);
    color: #000;
}
.btn-outline-light {
    border-radius: 50px;
    padding: 13px 32px;
    font-weight: 600;
    border-width: 2px;
    transition: all 0.3s;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-outline-light:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

/* ===================== CARDS ===================== */
.modern-card {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 24px rgba(30, 58, 95, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
    height: 100%;
}
.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(30, 58, 95, 0.13);
    border-color: rgba(45, 125, 210, 0.25);
}
.modern-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.modern-card:hover::after { transform: scaleX(1); }

/* ===================== ICON BOXES ===================== */
.icon-box {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}
.icon-gradient-blue   { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1e40af; }
.icon-gradient-teal   { background: linear-gradient(135deg, #ccfbf1, #99f6e4); color: #0f766e; }
.icon-gradient-amber  { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.icon-gradient-red    { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #991b1b; }
.icon-gradient-purple { background: linear-gradient(135deg, #ede9fe, #ddd6fe); color: #5b21b6; }
.icon-gradient-green  { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #14532d; }
.icon-gradient-navy   { background: linear-gradient(135deg, #dbeafe, #93c5fd); color: #1e3a5f; }

/* ===================== SECTION LABEL ===================== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
    background: rgba(45, 125, 210, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ===================== CARD IMAGE WRAPPER ===================== */
.card-img-wrap {
    width: 100%;
    height: 190px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.modern-card:hover .card-img-wrap img { transform: scale(1.04); }

/* ===================== PAGE HEADER ===================== */
.page-header {
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 55%, #1a4080 100%);
    padding: 80px 0 65px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: white !important; }
.page-header .lead { color: rgba(255,255,255,0.68) !important; }
.page-header .section-label { color: var(--accent); background: rgba(245,166,35,0.12); }

/* ===================== FACILITY PAGE ===================== */
.facility-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    height: 460px;
    box-shadow: 0 20px 60px rgba(30, 58, 95, 0.15);
}
.facility-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* ===================== FEATURE ROW ITEMS ===================== */
.feature-row-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: white;
    border-radius: 14px;
    margin-bottom: 14px;
    box-shadow: 0 2px 12px rgba(30, 58, 95, 0.06);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.feature-row-item:hover {
    box-shadow: 0 8px 28px rgba(30, 58, 95, 0.1);
    transform: translateX(5px);
    border-color: rgba(45, 125, 210, 0.25);
}
.feature-row-item h5 {
    margin: 0;
    font-size: 0.97rem;
    color: var(--primary);
    font-weight: 600;
}

/* ===================== VALIDATION CARDS ===================== */
.validation-card {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 24px rgba(30, 58, 95, 0.05);
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.validation-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(30, 58, 95, 0.12);
}
.validation-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
}
.validation-card:hover::after { transform: scaleX(1); }
.validation-card .card-img-wrap { height: 200px; }

/* ===================== CUSTOMER SECTOR CARDS ===================== */
.sector-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 24px rgba(30, 58, 95, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.sector-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(30, 58, 95, 0.13);
    border-color: rgba(45, 125, 210, 0.2);
}
.sector-icon-wrap {
    width: 96px; height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
}

/* ===================== LISTS ===================== */
.custom-list { padding-left: 0; list-style: none; }
.custom-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 13px;
    font-size: 0.97rem;
    color: var(--text-main);
}
.custom-list li::before {
    content: '\F26A';
    font-family: 'bootstrap-icons', sans-serif;
    position: absolute; left: 0; top: 1px;
    color: var(--secondary);
    font-size: 1.05rem;
}

/* ===================== FORMS ===================== */
.form-control {
    border-radius: 10px;
    padding: 0.85rem 1rem;
    border-color: var(--border-color);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
}
.form-control:focus {
    box-shadow: 0 0 0 4px rgba(45, 125, 210, 0.12);
    border-color: var(--secondary);
}

/* ===================== FOOTER ===================== */
.footer-modern {
    background: linear-gradient(180deg, #0d1f35 0%, #091627 100%);
    color: #94a3b8;
    padding: 70px 0 30px;
    font-size: 0.93rem;
}
.footer-modern h5 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.footer-modern a { color: #94a3b8; text-decoration: none; transition: color 0.3s; }
.footer-modern a:hover { color: var(--accent); }
.footer-divider { border-color: rgba(255, 255, 255, 0.08); margin: 30px 0; }

/* ===================== ANIMATIONS ===================== */
.fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
