/* --- CSS STYLES --- */
:root {
    --primary: #004aad; /* Deep Water Blue */
    --dark: #002855;    /* Navy */
    --darker: #0b1c2e;  /* Footer BG */
    --accent: #ff6b00;  /* Safety Orange */
    --teal: #004d4d;    /* Dark Teal */
    --light: #f4f8fb;   /* Light Grey/Blue */
    --white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --border: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

/* UTILITIES */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }

.btn {
    display: inline-block;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

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

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

.btn-link {
    color: var(--teal);
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 20px;
}

.section-padding { padding: 80px 0; }

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto 0;
}

/* HEADER & TOP BAR */
.top-bar {
    background-color: var(--dark);
    color: var(--white);
    padding: 12px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

header {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height 0.3s;
}

/* --- UPDATED LOGO STYLES (Paste this into style.css) --- */

.logo {
    display: flex;
    flex-direction: column; /* Stacks image and text vertically */
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.logo-img {
    height: 42px; /* CRITICAL: Restricts image size so it fits! */
    width: auto;
    margin-bottom: 2px;
}

.company-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #004aad;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1px;
}

.company-name span,
.orange-text {
    color: #ff6b00; /* Colors the D orange */
}

.tagline {
    font-size: 0.58rem;
    color: #000000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
}

/* Mobile Hamburger Icon */
.menu-toggle {
    display: none; /* Hidden by default on large screens */
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    margin-left: 20px;
}

/* Desktop Navigation Links */
.nav-links { display: flex; } /* Default desktop view */

.nav-links a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

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

/* MOBILE MENU STYLES */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%; 
    height: 100%;
    background-color: var(--dark); 
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding-top: 100px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav a {
    display: block;
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.mobile-nav a:hover {
    background-color: var(--primary);
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
}

/* HERO SLIDER */
.hero-slider-section {
    position: relative;
    height: 85vh;
    overflow: hidden;
    background: #000;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    visibility: hidden;
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
    transform: scale(1);
    transition: transform 6s linear;
}

.slide-item.active .slide-image { transform: scale(1.05); }

.slide-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    max-width: 900px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    max-width: 800px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }
.prev-arrow { left: 30px; }
.next-arrow { right: 30px; }

/* GUARANTEE BAR */
.guarantee-bar {
    background-color: var(--accent);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
}
.guarantee-bar i { margin-right: 10px; }

/* ABOUT GRID SECTION */
.about-section { background-color: #fcfcfc; }

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: stretch;
}

.about-text h3 {
    font-size: 2.2rem;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

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

.check-list {
    list-style: none;
    margin: 30px 0;
}

.check-list li {
    position: relative;
    padding-left: 35px;
    color: #555;
    font-weight: 500;
    margin-bottom: 12px;
}

.check-list li::before {
    content: '\f058'; /* FontAwesome Check Circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #25d366; /* Green check */
    font-size: 1.2rem;
}

.cta-box {
    background-color: var(--accent); /* Orange */
    color: white;
    padding: 50px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-box h3 { font-size: 2rem; margin-bottom: 20px; color: white; }

.phone-big {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 30px;
    color: white;
    text-decoration: none;
}

.phone-icon-circle {
    background-color: var(--white);
    color: var(--accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 1.5rem;
}

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

.service-card {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.service-img-holder {
    height: 220px;
    background: #eee;
    position: relative;
}

.service-img-holder img { width: 100%; height: 100%; object-fit: cover; }

.service-content { padding: 30px; }

.service-content h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--dark); }

.service-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

/* VIDEO SECTION */
.video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
    background: #000;
}

/* Embed responsiveness for Drive/YouTube */
.video-wrapper .embed-container {
    position: relative; 
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0; 
    overflow: hidden;
}
.video-wrapper .embed-container iframe {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    border: 0;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    background-color: var(--dark); /* Brand Navy */
    color: white;
    padding: 100px 0;
    text-align: center;
    overflow: hidden; /* Hide scrollbar */
}

.testimonials-header h2 { color: white; }

.testimonials-header h2::after { background: var(--accent); }

.rating-summary {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 50px;
}

.stars { color: #ffc107; font-size: 1.2rem; }

/* Carousel Track */
.reviews-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0 50px 0; 
}

.reviews-track {
    display: flex;
    gap: 30px;
    animation: slideReviews 40s linear infinite; 
    width: max-content;
}

.reviews-track:hover {
    animation-play-state: paused; 
}

@keyframes slideReviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.review-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    color: #333;
    width: 350px; 
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27), box-shadow 0.4s ease;
    cursor: default;
}

/* POP-UP EFFECT ON HOVER (Desktop only) */
.review-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 10;
    border-bottom: 5px solid var(--accent);
}

.reviewer-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    background-color: var(--teal);
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2rem;
}

.reviewer-info h4 { font-size: 1rem; margin: 0; color: var(--dark); font-weight: 800; }
.reviewer-info span { font-size: 0.8rem; color: #888; }

.review-text { font-size: 0.95rem; line-height: 1.6; margin-top: 10px; color: #555; }

/* WHY CHOOSE US (Black BG) */
.why-us-section {
    background-color: #111;
    color: white;
}

.why-us-section .section-title h2 { color: white; }

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

.feature-box { padding: 20px; }

.feature-box i { font-size: 2.5rem; color: white; margin-bottom: 20px; }

.feature-box h4 { font-size: 1.3rem; margin-bottom: 15px; color: white; }

.feature-box p { color: #bbb; font-size: 0.95rem; line-height: 1.6; }

/* FOOTER */
footer {
    background-color: var(--darker);
    color: #ccc;
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

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

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--accent);
}

.contact-list li {
    list-style: none;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-list i {
    color: var(--accent);
    margin-right: 15px;
    margin-top: 5px;
}

.social-icons a {
    color: white;
    margin-right: 15px;
    font-size: 1.1rem;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* ============================================================
   CLEANED & OPTIMIZED RESPONSIVENESS (Mobile Fixes)
   ============================================================ */

/* TABLETS & LARGE PHONES (Under 992px) */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
    .hero-slider-section { height: 65vh; }
    .slide-content h1 { font-size: 2.5rem; }
    .slider-arrow { display: none; } /* Arrows clutter small screens */
}

/* SMARTPHONES (Under 768px) */
@media (max-width: 768px) {
    /* Header Fix: Prevent Get Quote from overlapping Logo */
    nav {
        height: auto;
        padding: 15px 0;
        flex-direction: column; /* Stack logo and buttons for space */
        gap: 15px;
    }

    .logo { font-size: 1.5rem; text-align: center; }

    .nav-links { display: none; } /* Hide desktop links */
    .menu-toggle { display: block; margin-left: 0; } /* Center menu button */

    .top-bar { display: none; } /* Hide top info bar to save height */

    /* Hero Text Scaling */
    .slide-content h1 { font-size: 1.8rem; line-height: 1.2; padding: 0 10px; }
    .slide-content p { font-size: 1rem; margin-bottom: 20px; }
    
    /* Section Adjustments */
    .section-padding { padding: 50px 0; }
    .section-title h2 { font-size: 2rem; }

    /* CTA Box / Phone Fix */
    .cta-box { padding: 30px 20px; }
    .cta-box h3 { font-size: 1.6rem; }
    .phone-big { font-size: 1.3rem; justify-content: center; }

    /* Reviews: Change from Animation to Stacked cards for mobile ease-of-use */
    .reviews-track {
        animation: none !important; 
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .review-card {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
        transform: none !important; /* Disable hover pop-up on touch */
    }

    /* Footer Fix */
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col h3::after { left: 50%; transform: translateX(-50%); }
    .contact-list li { justify-content: center; }
}

/* SMALL PHONES (Under 480px) - The "Screen-is-too-tiny" Fixes */
@media (max-width: 480px) {
    .slide-content h1 { font-size: 1.5rem; }
    
    .guarantee-bar {
        font-size: 0.85rem;
        padding: 15px 10px;
    }
    .guarantee-bar i { display: none; } /* Remove icon to fit text on one line */

    .btn { padding: 12px 25px; font-size: 0.8rem; width: 100%; } /* Full width buttons look better on tiny screens */
}

