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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}
html {
    scroll-padding-top: 100px; /* adjust if your header height changes */
}

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

/* ===== Container Utility ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Header / Navigation ===== */
header {
    background-color: #0c2d57;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    background-color: #e0e0e0;
    padding: 4px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #c72027;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 85vh;
    background: #0c2d57;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: flex-center;
    align-items: center;       /* Center horizontally */
    text-align: center;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero {
  display: flex;
  align-items: center;        /* center horizontally */
  justify-content: center;    /* center vertically */
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;    /* center text inside */
  height: 100%;               /* fill hero height */
  text-align: center;
}

.hero-text {
    position: relative;
    z-index: 2; /* Above overlay */
    color: #fff;
    max-width: 900px;
    padding: 2rem;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Hero link as button */
.hero-text a {
    display: inline-block;
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    font-weight: bold;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.hero-text a:hover {
    background-color: #222; /* Slightly lighter black on hover */
    color: #fff; /* Keep white text */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-text a {
        padding: 0.9rem 1.5rem; /* Bigger tap area */
        font-size: 1.05rem;
        border-radius: 6px;
    }
}
/* 🔽 Add these link color rules here */
.hero-lower a {
    color: red;
    text-decoration: underline;
}

.hero-lower a:hover {
    color: darkred;
}
/* 🔼 End of link color rules */

.hero-lower p {
    font-size: 1.25rem;
    color: #fff;
}

.hero-lower p {
    font-size: 1.25rem;
    color: #fff;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #c72027;
    color: #fff;
}

.btn-primary:hover {
    background-color: #a3141c;
}

/* ===== Section Titles ===== */
.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #0c2d57;
}

/* ===== Benefits Section ===== */
.benefits {
    padding: 3rem 0;
    background-color: #f7f8fa;
}

.benefit-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: -0.75rem;
}

.benefit-item {
    background: #fff;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
    margin: 0.75rem;
    flex: 1 1 250px;
}

.benefit-item i {
    font-size: 2rem;
    color: #c72027;
    margin-bottom: 0.5rem;
}

.benefit-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #0c2d57;
}

/* ===== Why Section ===== */
.why {
    padding: 3rem 0;
}

.why-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: -0.75rem;
}

.why-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 0.75rem;
    flex: 1 1 250px;
}

.why-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.why-item .large-icon {
    font-size: 3rem;
    color: #c72027;
    margin-top: 1rem;
}

.why-item h3 {
    font-size: 1.2rem;
    color: #0c2d57;
}

.why-item p {
    font-size: 0.95rem;
    color: #555;
}

/* ===== Services Section ===== */
.services {
    padding: 3rem 0;
    background-color: #f7f8fa;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: -0.75rem;
}

.service-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
    margin: 0.75rem;
    flex: 1 1 200px;
}

.service-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #0c2d57;
}

.service-item p {
    font-size: 0.9rem;
    color: #555;
}

/* ===== Quote Section ===== */
.quote {
    padding: 3rem 0;
}
#quote {
    scroll-margin-top: 400px; /* was too small before, now much larger */
}

.quote-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: #0c2d57;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: border 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0c2d57;
    outline: none;
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
}

.required {
    color: #c72027;
    margin-left: 0.25rem;
}

/* ===== Footer ===== */
footer {
    background-color: #0c2d57;
    color: #ffffff;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.footer-info a {
    color: #c72027;
    text-decoration: underline;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.footer-link:hover {
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .quote-container {
        padding: 3rem;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.25rem;
    }
}

/* ===== Resources Page ===== */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

.resources-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #002b5c;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resources-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.resources-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.resources-card span {
    display: block;
    padding: 10px;
    font-weight: bold;
}

/* ===== Mobile Responsiveness ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    .nav-links {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .nav-links a {
        padding: 8px 0;
    }
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    .hero-tagline {
  font-size: 1.3rem;
  font-weight: 600; /* slightly bolder */
}
    .form-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    .form-group {
        width: 100%;
    }
    img {
        max-width: 100%;
        height: auto;
    }
    h2.section-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    .benefit-grid,
    .services-grid,
    .why-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

/* ===== Hamburger Menu ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        background: #002b5c;
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 15px;
        border-radius: 8px;
        width: 200px;
        z-index: 1000;
    }
    .nav-links.show {
        display: flex;
    }
    .nav-links a {
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    .nav-links a:last-child {
        border-bottom: none;
    }
}
@media (min-width: 769px) {
  .hero-description {
    display: none;
  }
}
.hero-text p.hero-tagline {
  font-size: 1.3rem !important;  /* slightly bigger */
  font-weight: 600 !important;   /* semi-bold */
}
