:root {
    --primary-color: #001F3F;
    /* Deep Navy */
    --vibrant-color: #39CCCC;
    /* Teal/Cyan */
    --accent-color: #FF851B;
    /* Orange */
    --dark-color: #111;
    --light-color: #F8F9FA;
    --text-color: #333;
    --white: #FFFFFF;
    --font-family: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 10px 10px 20px rgba(0, 0, 0, 0.15);
}

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/p6.png');
    pointer-events: none;
    opacity: 0.1;
    z-index: 9999;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-vibrant {
    color: var(--vibrant-color);
}

.text-center {
    text-align: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Header & Nav */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--vibrant-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--vibrant-color);
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    display: inline-block;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(57, 204, 204, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 26px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-emergency {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 133, 27, 0.4);
}

.large {
    font-size: 1.5rem;
    padding: 20px 45px;
}

.full-width {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1595113316349-9fa4eb24f884?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    color: var(--white);
    filter: contrast(1.05) saturate(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.9) 0%, rgba(0, 31, 63, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 1;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.subtitle {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    color: var(--vibrant-color);
    display: block;
    margin-bottom: 10px;
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    background: #fff;
}

.stat-card {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 2px;
    transform: rotate(-1deg);
    box-shadow: var(--shadow);
}

.stat-card:nth-child(2) {
    transform: rotate(2deg);
    background: var(--vibrant-color);
    color: var(--primary-color);
    margin-top: 30px;
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 800;
}

/* Services */
.services {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 15px 15px 0px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 20px 20px 0px var(--vibrant-color);
}

.service-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.service-info {
    padding: 30px;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Urgent CTA */
.urgent-cta {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
}

.urgent-cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.urgent-cta p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.benefits {
    list-style: none;
    margin-top: 30px;
}

.benefits li {
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.benefits i {
    color: var(--vibrant-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 2px;
    filter: sepia(0.2);
    box-shadow: 15px 15px 0px var(--primary-color);
}

.caption {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    margin-top: 20px;
    text-align: right;
    color: #666;
}

/* Contact */
.contact {
    padding: 100px 0;
    background-color: #eee;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info {
    background: linear-gradient(180deg, var(--primary-color) 0%, #003366 100%);
    padding: 50px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: var(--vibrant-color);
    margin-right: 20px;
    font-size: 1.2rem;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
}

.socials {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.socials a {
    font-size: 1.5rem;
    transition: var(--transition);
}

.socials a:hover {
    color: var(--vibrant-color);
}

.contact-form {
    background: var(--white);
    color: var(--text-color);
    padding: 50px;
}

.contact-form h3 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-form form input,
.contact-form form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--vibrant-color);
}

.footer-legal h4 {
    margin-bottom: 20px;
    color: var(--vibrant-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1.2s 0.3s forwards;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes shakeReveal {
    0% {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }

    50% {
        transform: scale(1.02) translateY(-5px);
    }

    70% {
        transform: scale(0.98) translateY(2px);
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.shake-reveal {
    animation: shakeReveal 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Responsive */
@media (max-width: 968px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .about-image img {
        box-shadow: 10px 10px 0px var(--vibrant-color);
    }
}