/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header Styles */
.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Top Bar */
.top-bar {
    background-color: rgba(240, 240, 240, 0.95); /* Light grey with slight transparency */
    color: #333333;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left {
    /* Placeholder for potential left-side content */
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #333333;
}

.contact-info i {
    color: #333333;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.05); /* Circular light grey transparent background */
    color: #333333;
    text-decoration: none;
    border-radius: 50%; /* Rounded icon containers */
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #3498db; /* Slight colour accent (Blue) */
    transform: translateY(-2px);
    filter: brightness(0.9); /* Adjust brightness for light background */
}

/* Navigation Bar */
.nav-bar {
    background-color: #0f1725; /* Dark navy charcoal palette */
    padding: 10px 0; /* Reduced padding for a tighter fit with larger logo */
    transition: all 0.3s ease;
}

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

/* Logo */
.logo {
    position: relative;
    z-index: 1001; /* Ensure logo is above other elements */
}

.logo-img {
    height: 140px; /* Even bigger size */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    position: absolute; /* Enable overlap */
    top: -45px; /* Pull up further to overlap with top bar */
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3)); /* Stronger shadow for bigger logo */
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 60px; /* Height of the nav bar area for the logo */
    width: 280px; /* Further increased space to prevent menu overlap */
}

/* Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    flex: 1; /* Allow menu to fill available space between logo and right edge */
    justify-content: flex-end; /* Align items to the right */
}

.nav-menu li a {
    text-decoration: none;
    color: #e6e6e6;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu li a:hover {
    color: #3498db;
}

/* Contact Button Style */
.nav-menu li a.btn-contact {
    background-color: #3498db;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-menu li a.btn-contact:hover {
    background-color: #2980b9;
    color: #ffffff;
}

/* Sticky Header Effect (Optional adjustment on scroll) */
.site-header.scrolled .nav-bar {
    padding: 10px 0;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    color: #ffffff;
    text-align: left; /* Ensure text is left-aligned */
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #f0f0f0;
}

.btn-hero {
    display: inline-block;
    background-color: #3498db;
    color: #ffffff;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Slider Controls */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: #3498db;
    transform: scale(1.2);
}

/* Why Use Ask4Task Section */
.why-us-section {
    background-color: #1a2533; /* Dark background similar to reference */
    padding: 60px 0 80px;
    color: #ffffff;
    /* Optional: Add a texture or image overlay if desired later */
    background-image: linear-gradient(rgba(20, 30, 40, 0.9), rgba(20, 30, 40, 0.9)), url('https://www.transparenttextures.com/patterns/dark-matter.png');
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    text-align: center;
}

.section-header .line {
    height: 1px;
    width: 100px; /* Adjust width as needed */
    background-color: rgba(255, 255, 255, 0.3);
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.section-header h2 .highlight {
    position: relative;
    display: inline-block;
}

.section-header h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px; /* Adjust spacing below text */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #e67e22; /* Orange accent color */
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.icon-wrapper {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper i {
    font-size: 2.5rem;
    color: #0f1725; /* Dark blue icon color */
}

/* Specific icon colors if needed, e.g., shield with orange check */
.feature-card:first-child .icon-wrapper i {
    color: #0f1725; /* Base color */
    /* Font Awesome duotone or stack would be needed for exact multi-color, keeping it simple for now or using CSS gradient on text if supported */
}

.card-content {
    flex: 1;
}

.card-content h3 {
    color: #0f1725; /* Dark blue text */
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-content p {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-header-light {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-light h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f1725; /* Dark navy color from reference */
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666666;
    max-width: 800px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columns for desktop */
    gap: 20px;
}

.category-card {
    text-align: left;
    transition: all 0.3s ease;
}

.category-image {
    width: 100%;
    height: 180px; /* Adjust based on image aspect ratio in reference */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Align to top to help hide bottom text */
    transition: transform 0.5s ease;
    transform: scale(1.15); /* Slight zoom to crop edges (including bottom text) */
    transform-origin: top center; /* Keep top visible, push bottom out */
}

.category-card:hover .category-image img {
    transform: scale(1.25); /* Zoom more on hover */
}

.category-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f1725;
    margin-bottom: 12px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 6px;
    position: relative;
    padding-left: 12px;
}

.category-list li::before {
    content: '•';
    color: #0f1725; /* Dark bullet point */
    position: absolute;
    left: 0;
    font-weight: bold;
}

.view-all-container {
    margin-top: 50px;
    text-align: center;
}

.btn-view-all {
    display: inline-block;
    background-color: transparent;
    color: #3498db;
    border: 2px solid #3498db;
    padding: 12px 35px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-view-all:hover {
    background-color: #3498db;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: 100px 0;
    background-color: #f8f9fa; /* Light grey background */
    color: #333;
    position: relative;
    overflow: hidden;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.section-header-left {
    margin-bottom: 30px;
    text-align: left;
}

.section-header-left h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0f1725;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header-left .line-left {
    display: block;
    width: 60px;
    height: 3px;
    background-color: #e67e22; /* Orange accent */
    margin-top: 5px;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.features-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #3498db; /* Blue accent border */
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(52, 152, 219, 0.1); /* Light blue bg */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f1725;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for tablet/smaller desktop */
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Our Process Section */
.process-section {
    background-color: #0f1725; /* Dark navy background matching nav bar */
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.process-card {
    position: relative;
    padding: 35px 25px;
    text-align: left;
    background-color: #1a2533; /* Slightly lighter card background */
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Equal height cards */
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(229, 126, 34, 0.3); /* Orange hint on hover */
}

/* Add connecting line for desktop - Adjust for card layout */
.process-card::after {
    display: none; /* Remove connecting lines for card layout as they might look cluttered */
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    margin-bottom: 20px;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Remove the orange accent line above number */
.step-number::before {
    display: none;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.step-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #b0b0b0;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .process-card {
        text-align: center;
    }
    
    .step-number::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Call to Action Section */
.cta-section {
    position: relative;
    padding: 100px 0;
    background-image: url('peterdargatz-excavator-51665_1280.jpg'); /* Reuse existing image or use a new one */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    color: #ffffff;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 37, 0.85), rgba(15, 23, 37, 0.9)); /* Dark overlay */
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e0e0e0;
    line-height: 1.6;
}

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

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #e67e22; /* Orange accent */
    color: #ffffff;
    padding: 15px 40px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    border: 2px solid #e67e22;
}

.btn-cta-primary:hover {
    background-color: #d35400;
    border-color: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: #ffffff;
    padding: 15px 40px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    border: 2px solid #ffffff;
}

.btn-cta-secondary:hover {
    background-color: #ffffff;
    color: #0f1725;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo-img {
        height: 100px;
        top: -20px;
    }
    
    .nav-menu {
        display: none; /* Mobile menu logic would go here */
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header .line {
        width: 50px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr; /* 1 column for small mobile */
    }
}
