/* ===============================
   GLOBAL RESET & BASE
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1f2933;
    padding-top: 80px;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

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

/* ===============================
   NAVBAR (IMPROVED CONTRAST)
================================ */
.custom-navbar {
    background: linear-gradient(90deg, #0b2d4f, #081a30);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Navbar logo – WHITE BACKGROUND */
.navbar-logo {
    height: 44px;
    width: auto;
    background: #ffffff;
    padding: 6px 8px;
    border-radius: 8px;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.35);

    transition: transform 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

.logo-text {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
}

.logo-highlight {
    color: #fbbf24;
    font-size: 22px;
    font-weight: 600;
}

.navbar-nav .nav-link {
    color: #e5e7eb !important;
    font-weight: 500;
    padding: 8px 14px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fbbf24 !important;
}

.navbar-toggler {
    border: none;
}

/* ===============================
   BUTTONS
================================ */
.btn {
    transition: all 0.3s ease;
}

.btn-warning {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: none;
    color: #111827;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(251, 191, 36, 0.55);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: #020617;
}

/* ===============================
   HERO SECTION (BRIGHTER + DEPTH)
================================ */
.hero {
    position: relative;
    min-height: 85vh;
    background: radial-gradient(circle at top, #123b66, #020617);
    color: #ffffff;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 100px 15px;
    overflow: hidden;
}

/* Soft background watermark */
.hero-bg-logo {
    position: absolute;
    inset: 0;
    background: url("/static/img/Adaptatech_logo_1.png") no-repeat center;
    background-size: 420px;
    opacity: 0.012;
    filter: blur(2px);
    pointer-events: none;
    z-index: 1;
    animation: heroFloat 22s ease-in-out infinite;
}

/* Hero content above background */
.hero .container {
    position: relative;
    z-index: 2;
}

/* ===============================
   HERO LOGO – WHITE BACKGROUND
================================ */
.hero-logo {
    height: 150px;
    width: auto;
    margin: 0 auto 28px;

    background: #ffffff;
    padding: 22px 28px;
    border-radius: 22px;

    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.45);

    animation: fadeInUp 1.5s ease forwards;
}

/* Hero text */
.hero h1 {
    font-size: 3.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.2rem;
    color: #dbeafe;
    max-width: 760px;
    margin: 0 auto 32px;
}

/* ===============================
   SECTIONS
================================ */
.feature-box,
.card {
    background: #ffffff;
    border-radius: 14px;
    padding: 26px;
    transition: all 0.35s ease;
}

.feature-box:hover,
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15);
}

/* ===============================
   FOOTER (HIGH CONTRAST FIX)
================================ */
.footer {
    background: linear-gradient(
        180deg,
        #0b2d4f 0%,
        #07182c 100%
    ) !important;

    color: #e5e7eb !important;
    padding: 90px 0 50px;
    position: relative;
}

/* Strong divider line */
.footer hr {
    border: none;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    margin: 50px 0 25px;
}

/* Force visibility for Bootstrap-muted text */
.footer p,
.footer li,
.footer .text-muted,
.footer .small {
    color: #e5e7eb !important;
    opacity: 1 !important;
}

/* Headings */
.footer h5,
.footer h6 {
    color: #ffffff !important;
}

/* Copyright */
.footer .text-center {
    color: #cbd5e1 !important;
    font-size: 0.9rem;
}

/* Optional subtle top separator */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

/* ===============================
   ANIMATIONS
================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
    100% { transform: translateY(0); }
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.4rem; }
    .hero-logo { height: 120px; }
}

@media (max-width: 576px) {
    .hero { min-height: 75vh; }
    .hero h1 { font-size: 2rem; }
    .hero-logo { height: 95px; }
    .navbar-logo { height: 36px; }
}
/* ===============================
   PAGE HEADER (INNER PAGES)
================================ */
.page-header {
    background: linear-gradient(
        180deg,
        #0b2d4f,
        #020617
    );
    color: #ffffff;
    padding: 90px 15px 70px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header p {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===============================
   SERVICES SECTION
================================ */
.services-section {
    background: #f8fafc;
    padding: 90px 0;
}

/* Service cards */
.service-card {
    border: none;
    border-radius: 18px;
    transition: all 0.35s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.service-card .card-body {
    padding: 34px 28px;
}

.service-card .card-title {
    font-weight: 600;
    margin-bottom: 14px;
}

.service-card:hover {
    transform: translateY(-14px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.1rem;
    }

    .services-section {
        padding: 60px 0;
    }
}
