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

:root {
    --deep-blue: #0A192F;
    --deep-blue-light: #112240;
    --safety-orange: #FF5A1F;
    --safety-orange-hover: #E04D18;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --charcoal-grey: #333333;
    --light-grey: #E5E5E5;
    --text-grey: #666666;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--charcoal-grey);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-grey);
}

a {
    text-decoration: none;
    color: var(--deep-blue);
    transition: var(--transition);
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--off-white);
}

.bg-dark {
    background-color: var(--deep-blue);
    color: var(--white);
}

.bg-dark h2, .bg-dark h3, .bg-dark p {
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--safety-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--safety-orange-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 90, 31, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--deep-blue);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--deep-blue);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--safety-orange);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--deep-blue);
}

.nav-links a:hover {
    color: var(--safety-orange);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--deep-blue);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.9)), url('../images/hero-bg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; /* Offset for sticky header */
}

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

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero .subheadline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--safety-orange);
    margin-bottom: 1rem;
}

.hero .supporting-text {
    font-size: 1.1rem;
    color: var(--light-grey);
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

.trust-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.9);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
}

.trust-items {
    display: flex;
    justify-content: space-between;
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.trust-item i {
    color: var(--safety-orange);
}

/* Challenge Section */
.challenge {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.challenge p {
    font-size: 1.1rem;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.solution-card {
    background-color: var(--white);
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--safety-orange);
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--safety-orange);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.solution-card ul {
    list-style: none;
}

.solution-card ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-grey);
}

.solution-card ul li::before {
    content: '✓';
    color: var(--safety-orange);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--safety-orange);
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
}

/* Industries & Risk Coverage (Badges) */
.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.badge {
    background-color: var(--deep-blue-light);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.badge:hover {
    background-color: var(--safety-orange);
    transform: translateY(-2px);
}

/* Process Timeline */
.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.process-step {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--safety-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 auto 1rem auto;
}

.process-step h3 {
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--safety-orange);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--deep-blue);
    color: var(--white);
    padding: 4rem 0 2rem 0;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--light-grey);
}

.footer-col ul li a:hover {
    color: var(--safety-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-grey);
}

/* Modal Form */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-grey);
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--light-grey);
    border-radius: 4px;
    font-family: inherit;
}

#formMessage {
    margin-top: 1rem;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.5rem; }
    .trust-items { flex-direction: column; gap: 1rem; text-align: center; align-items: center; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-ctas {
        flex-direction: column;
    }
    .process-timeline {
        flex-direction: column;
    }
}
