body {
    background-color: #f8f9fa;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

/* Gradient navbar background */
.bg-dark {
    background: linear-gradient(90deg, #0d223a 0%, #2377b7 100%) !important;
}

.navbar-brand {
    padding-left: 16px !important;
    margin-left: 0 !important;
}
.navbar .container-fluid {
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.navbar-brand img {
    height: 60px;
    width: auto;
    max-width: 250px;
    display: block;
}

/* HERO SECTION FLEX CENTERED WITH DOWNWARD SHIFT */
.hero {
    background: url('../images/hero.jpg') center 20%/cover no-repeat;
    color: white;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero .container {
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    transform: translateY(20%);
}

@media (min-width: 1200px) {
    .hero .container {
        transform: translateY(30%);
    }
}
@media (min-width: 1600px) {
    .hero .container {
        transform: translateY(36%);
    }
}

.hero h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
}

.hero p {
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    font-weight: 400;
}

.section-padding {
    padding: 80px 0;
}
.narrow-container {
    max-width: 800px;
    margin: 0 auto;
}
.bg-light {
    background-color: #f0f4f9 !important;
}
h2 {
    color: #0d6efd;
    border-bottom: 2px solid #ffc107;
    display: inline-block;
    padding-bottom: 5px;
}
.icon-box {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
}
.icon-box:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
.btn-primary:hover {
    background-color: #0b5ed7;
}
.footer {
    background: #222;
    color: #fff;
}