/* =========================================
   Variables & Reset
   ========================================= */
:root {
    --primary-color: #222831;
    /* Deep Charcoal - Strong, Modern */
    --secondary-color: #393E46;
    /* Technical Grey */
    --accent-color: #00ADB5;
    /* Electric Teal - Innovation */
    --highlight-color: #AAD8D3;
    /* Soft Teal */
    --gold-color: #FF5722;
    /* Industrial Orange - Replaces Gold for high-vis impact */
    --text-color: #222831;
    --light-text: #EEEEEE;
    --bg-light: #F3F4F6;
    --transition-speed: 0.3s;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.section {
    padding: 80px 0;
}

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

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--gold-color);
    margin: 15px 0 20px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    box-shadow: 0 6px 12px rgba(0, 173, 181, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
    border-color: var(--light-text);
}

.footer {
    background-color: #1A1D24;
    /* Even darker for footer */
}

.footer::before {
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--warm-accent) 50%, var(--accent-color) 100%);
}

.footer-col h4::after {
    background-color: var(--accent-color);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
}

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

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--light-text);
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-color);
    transition: width var(--transition-speed);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-contact {
    padding: 8px 20px;
    border: 1px solid var(--gold-color);
    border-radius: 4px;
    color: var(--gold-color);
}

.btn-contact:hover {
    background-color: var(--gold-color);
    color: var(--primary-color);
}

.btn-contact::after {
    display: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--light-text);
    transition: all 0.3s ease-in-out;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(13, 27, 42, 0.7), rgba(13, 27, 42, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* =========================================
   About Section
   ========================================= */
.about-section {
    background-color: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
}

.leadership {
    margin-top: 30px;
    background: var(--bg-light);
    padding: 20px;
    border-left: 4px solid var(--gold-color);
    border-radius: 4px;
}

.leadership h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.owners-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.owners-list i {
    color: var(--highlight-color);
    font-size: 1.2rem;
}

.company-details {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #777;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.experience-badge span {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.experience-badge strong {
    font-size: 1.8rem;
    color: var(--gold-color);
}

/* =========================================
   Statistics Section
   ========================================= */
.stats-section {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Background pattern/overlay for visual interest */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 80% 50%, rgba(0, 173, 181, 0.05) 0%, transparent 25%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--gold-color);
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-item p {
    color: var(--highlight-color);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stats-grid {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* =========================================
   Services Section
   ========================================= */
.services-section {
    background-color: var(--bg-light);
    background-image: url('../images/services.png');
    /* Fallback or subtle texture blend */
    background-size: cover;
    background-blend-mode: overlay;
    position: relative;
}

/* Add an overlay to the services section background to make text readable */
.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(248, 249, 250, 0.95);
    /* High opacity white/light overlay */
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

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

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--gold-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all var(--transition-speed);
}

.service-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--gold-color);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card ul {
    margin-top: 15px;
}

.service-card ul li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.service-card ul li::before {
    content: '•';
    color: var(--gold-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* =========================================
   Contact Section
   ========================================= */
.contact-section {
    background-color: #fff;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-form-container {
    flex: 1.5;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #0B1622;
    /* Darker than primary for depth */
    color: #b0b0b0;
    padding: 70px 0 25px;
    font-size: 0.9rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--gold-color) 50%, var(--primary-color) 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold-color);
}

.footer-logo h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: #fff;
}

.footer-logo span {
    color: var(--gold-color);
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 0.9rem;
    transition: all var(--transition-speed);
}

.social-links a:hover {
    background-color: var(--gold-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    transition: all var(--transition-speed);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold-color);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--gold-color);
    margin-top: 4px;
}

.footer-contact a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.footer-bottom p {
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    align-items: center;
}

.footer-bottom-links a {
    color: #b0b0b0;
}

.footer-bottom-links a:hover {
    color: var(--gold-color);
}

.footer-bottom-links span {
    opacity: 0.7;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 20px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom-links span {
        border-right: none;
        padding-right: 0;
    }
}

/* =========================================
   Animations
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.scroll-reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.active-reveal {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-container,
    .contact-wrapper {
        flex-direction: column;
    }

    .about-image {
        order: -1;
        width: 100%;
    }

    .experience-badge {
        right: 10px;
        bottom: -15px;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 20px;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease-in-out;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        right: 0;
    }
}