:root {
    --primary: #1e3a8a; /* Deep Trustworthy Blue */
    --secondary: #ea580c; /* Safety/Action Orange */
    --secondary-hover: #c2410c;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f3f4f6;
    --white: #ffffff;
    --font-main: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

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

/* Typography */
h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Top Bar */
.top-bar {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.emergency-text strong {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: var(--white);
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a:not(.btn) {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:not(.btn):hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px; /* Squarer buttons for professional look */
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-huge {
    padding: 1.25rem 2.5rem;
    font-size: 1.5rem;
    border-radius: 8px;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

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

.btn-light {
    background-color: var(--white);
    color: var(--secondary);
}

.btn-light:hover {
    background-color: #ffedd5;
    color: var(--secondary-hover);
}

/* Hero */
.hero {
    display: flex;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding: 6rem 1.5rem;
    max-width: 600px;
    width: 50%;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.trust-icons {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.hero-image-placeholder {
    width: 50%;
    background-color: var(--primary);
    background-image: linear-gradient(135deg, var(--primary), #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Services */
.services {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.title-underline {
    height: 4px;
    width: 60px;
    background-color: var(--secondary);
    margin: 0 auto;
}

.title-underline.left {
    margin: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.25rem;
    color: var(--primary);
}

.card p {
    color: var(--text-light);
}

/* CTA Banner */
.cta-banner {
    background-color: var(--primary);
    color: var(--white);
    padding: 5rem 0;
}

.cta-banner h2 {
    font-size: 2.5rem;
}

.cta-banner p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* About */
.about {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.about p {
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.check-list li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
    margin-right: 0.5rem;
}

.about-image-placeholder {
    background-color: #cbd5e1;
    height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: #d1d5db;
    padding: 4rem 0 2rem;
}

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

.footer .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer h3 {
    color: var(--white);
    font-size: 1.25rem;
}

.footer a {
    color: #d1d5db;
    text-decoration: none;
}

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

.back-portfolio {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #374151;
}

.back-portfolio a {
    color: var(--secondary);
    font-weight: bold;
}

.copyright {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    font-size: 0.875rem;
}

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

@media (max-width: 900px) {
    .hero { flex-direction: column; }
    .hero-content { width: 100%; padding: 4rem 1.5rem; max-width: none; }
    .hero-image-placeholder { width: 100%; height: 300px; }
    .about-grid { grid-template-columns: 1fr; }
    .top-bar .container { flex-direction: column; gap: 0.5rem; text-align: center; }
    
    .mobile-menu-btn { display: block; }
    .nav { 
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease;
    }
    .nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}
