:root {
    --primary-red: #b71c1c;
    --primary-yellow: #fdd835;
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f4f4f4;
    --max-width: 1200px;
    --header-height: 80px;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.top-bar {
    background-color: #cc0000;
    /* Red from image */
    color: #fff;
    padding: 10px 0;
    font-size: 0.9rem;
}

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

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
}

.social-icons a {
    color: #fff;
    margin-left: 15px;
    font-size: 1rem;
}

.main-header {
    background: #fff;
    padding: 10px 0;
}

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

.logo img {
    height: 60px;
    width: auto;
}

.header-extras {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-certs {
    height: 50px;
    /* Adjust height to match logo */
    width: auto;
}

.menu-toggle {
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    margin: 0 15px;
}

.btn-update {
    background-color: #cc0000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 0;
    /* Square corners as per image */
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-update:hover {
    background-color: #a00000;
    color: #fff;
}

.mobile-menu {
    display: none;
    /* Hidden by default, toggle with JS if needed */
    background: #fff;
    border-top: 1px solid #eee;
}

.mobile-menu .nav-links {
    flex-direction: column;
    padding: 20px;
}

.mobile-menu .nav-links li {
    margin-bottom: 10px;
}

.mobile-menu .nav-links li a {
    color: #333;
}

/* Hero Section Adjustment */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.png') no-repeat center center/cover;
    background-color: #222;
    /* Fallback */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: var(--header-height);
    margin-top: 130px;
    /* Adjust for taller header */
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-yellow);
    /* Or orange-ish from screenshot */
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-scroll-down {
    margin-top: 50px;
    font-size: 2rem;
    color: var(--primary-yellow);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Sections Common */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    color: var(--text-dark);
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-yellow);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: #0056b3;
    /* Blueish tone from screenshot */
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.service-content p {
    font-size: 0.9rem;
    color: #666;
}

/* About Us */
.about-section {
    background: #f4f4f4;
    /* Light blue/grey bg */
    padding: 0;
}

.about-banner {
    height: 200px;
    background: url('../images/about-banner.png') center/cover;
    background-color: var(--primary-red);
    margin-top: 130px;
    /* Push down below fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-container {
    max-width: 1000px;
    margin: -50px auto 0;
    background: #fff;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-container h2 {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--primary-yellow);
    display: inline-block;
}

/* Stats */
.stats-section {
    background: var(--primary-yellow);
    padding: 40px 0;
    color: var(--text-dark);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    flex: 1;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.stat-item p {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.gallery-item {
    height: 200px;
    background-color: #ccc;
    background-size: cover;
    background-position: center;
    transition: 0.3s;
}

.gallery-item:hover {
    opacity: 0.8;
}

.video-item {
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    position: relative;
    background: #000;
}

.video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Key Clients */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.client-logo {
    width: 100%;
    height: 140px;
    background-color: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.client-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.client-logo i {
    font-size: 2rem;
    color: #ccc;
}

/* Contact */
.contact-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/contact-bg.png') center/cover;
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0;
}

.contact-map-container {
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 40px;
}

.contact-map {
    width: 100%;
    height: 300px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-col h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-yellow);
}

.contact-col p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #ccc;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 3px;
}

.contact-form button {
    background: var(--primary-yellow);
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
}

/* Footer */
footer {
    background: #111;
    color: #777;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
}

/* Responsive */
/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 140px;
        /* Increased for top bar + header + button */
    }

    .top-bar {
        display: block;
        background-color: #cc0000;
        padding: 10px 0;
    }

    .top-bar-content {
        justify-content: space-between;
        padding: 0 15px;
        /* Add padding for edge spacing */
    }

    .contact-info {
        display: none;
    }

    .social-icons {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    .social-icons a {
        color: #fff;
        font-size: 1.2rem;
        margin: 0;
    }

    .main-header {
        padding: 10px 0;
    }

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

    .logo {
        flex: 1;
        /* Take up available space */
        max-width: 70%;
    }

    .logo img {
        height: 35px;
        max-width: 100%;
        width: auto;
        object-fit: contain;
    }

    .menu-toggle {
        display: block;
        font-size: 2rem;
        color: #000;
        margin-left: 15px;
        cursor: pointer;
    }

    .header-extras {
        width: 100%;
        margin-top: 15px;
        display: flex;
        justify-content: center;
        order: 3;
        /* Force to bottom */
    }

    .header-certs {
        display: none;
    }

    .btn-update {
        width: 100%;
        background-color: #cc0000;
        color: #fff;
        padding: 12px 20px;
        font-size: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 3px;
    }

    .btn-update i {
        display: block;
    }

    .hero {
        margin-top: 180px;
        /* Adjusted for taller header */
        padding: 60px 0;
    }

    .about-banner {
        margin-top: 180px;
    }

    .stats-grid {
        flex-direction: column;
        gap: 20px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 20px;
        width: 100%;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .client-logo {
        height: 100px;
    }

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

    .modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .header-extras {
        gap: 10px;
    }

    .btn-update {
        font-size: 0.7rem;
        padding: 6px 10px;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}