/* ==== GLOBAL SETUP & DESIGN SYSTEM ==== */

/* Import Google Font: Red Hat Display */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;700;900&display=swap');

/* CSS Variables (Your Brand Colors) */
:root {
    --primary-color: #073674; /* Deep Blue */
    --secondary-color: #60656b; /* Charcoal Gray */
    --tertiary-color: #ffffff; /* White */
    --background-light: #f4f6f8; /* A very light gray for section backgrounds */
    --font-family: 'Red Hat Display', sans-serif;
}

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--secondary-color);
    background-color: var(--tertiary-color);
    line-height: 1.6;
}

/* ==== UTILITY CLASSES ==== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--tertiary-color);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: #052a5a; /* A slightly darker blue */
    transform: translateY(-3px);
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3 {
    color: var(--primary-color);
    font-weight: 900;
    line-height: 1.2;
}

h1 {
    font-size: 4rem; /* 64px */
}

h2 {
    font-size: 2.5rem; /* 40px */
    margin-bottom: 20px;
    text-align: center;
}

h3 {
    font-size: 1.5rem; /* 24px */
    margin-bottom: 10px;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem; /* 18px */
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.2rem;
}

blockquote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 700;
    color: var(--primary-color);
}

/* ==== HEADER NAVIGATION ==== */
.main-header {
    background-color: var(--tertiary-color);
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-placeholder {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-right {
    text-align: right;
}

.header-phone {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-bottom-color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Mobile Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: var(--primary-color);
}

/* ==== FOOTER NAVIGATION ==== */
.main-footer {
    background-color: var(--primary-color);
    color: var(--tertiary-color);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: var(--tertiary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #ffffff40;
    padding-bottom: 10px;
}

.footer-col .logo-placeholder {
    color: var(--tertiary-color);
    margin-bottom: 20px;
}

.footer-col p, .footer-col a {
    color: #d4e0f1;
    margin-bottom: 10px;
    display: block;
    transition: color 0.3s;
}

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

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.trust-logos img, .social-icons img {
    height: 40px;
    margin-right: 15px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1); /* Makes logos white */
}

.social-icons a {
    display: inline-block;
}

.footer-bottom-bar {
    background-color: #052a5a;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #d4e0f1;
}

.footer-bottom-bar a {
    color: var(--tertiary-color);
    display: inline;
    margin: 0 10px;
}

/* ==== HOMEPAGE SPECIFIC STYLES ==== */

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--tertiary-color);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 54, 116, 0.5); /* Blue overlay */
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    color: var(--tertiary-color);
    font-size: 5rem;
}

.hero-content h2 {
    color: var(--tertiary-color);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 20px 0 40px;
    text-align: center;
}

/* Section 1: Safety */
#safety {
    background-color: var(--background-light);
}

.safety-icons {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 40px 0;
}

.icon-item {
    max-width: 200px;
}

.icon-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.icon-item h3 {
    font-size: 1.2rem;
}

/* Section 2: Social Connection */
.image-collage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.image-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

/* Section 3: Status */
#status {
    background-color: var(--background-light);
}

.status-image img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 30px;
}

.award-logos {
    text-align: center;
    margin: 40px 0;
}

.award-logos img {
    height: 60px;
    margin: 0 20px;
    opacity: 0.7;
}

/* Section 4: Autonomy */
.autonomy-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.autonomy-text, .autonomy-image {
    flex: 1;
}

.autonomy-image img {
    width: 100%;
    border-radius: 5px;
}

/* Section 5: Purpose */
#purpose {
    background-color: var(--background-light);
}

.purpose-image img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 30px;
}

/* Section 6: Authority */
.authority-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.authority-text, .authority-visual {
    flex: 1;
}

.authority-visual img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 992px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 4rem; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .autonomy-layout, .authority-layout {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    
    /* Mobile Navigation */
    .main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 86px; /* Height of header */
        left: 0;
        width: 100%;
        background-color: var(--tertiary-color);
        border-bottom: 1px solid #e0e0e0;
        padding: 20px 0;
        text-align: center;
    }
    .main-nav ul.active {
        display: flex;
    }
    .main-nav li {
        margin: 10px 0;
    }
    .hamburger {
        display: block;
    }
    .nav-right {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .header-phone {
        margin-bottom: 0;
        font-size: 1rem;
    }

    .safety-icons {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* ==== LOGO SIZING ==== */
.logo-img {
    max-height: 60px; /* Adjust this value to make your header logo bigger or smaller */
    width: auto;
    vertical-align: middle; /* Helps align the logo nicely with the nav text */
}

.footer-col .logo-img {
    max-height: 50px; /* A slightly smaller logo for the footer */
    filter: brightness(0) invert(1); /* This keeps the logo white in the footer! */
}