/* -------------------------------------------------------------------------- */
/* 6) HERO SECTION & BACKGROUND IMAGE */
/* -------------------------------------------------------------------------- */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: -1;
}

/* The .bg-image within .hero */
/* For static background images, always visible */
.bg-static {
    opacity: 1;
    transition: none;
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* Your existing styles for the hero section remain unchanged */
.relative-background {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}


.bg-static.show {
    opacity: 1;
}

/* Gradient overlay on hero */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.388),
            rgba(0, 0, 0, 0.432),
            rgba(0, 0, 0, 0.356),
            rgba(0, 0, 0, 0.298),
            rgba(0, 0, 0, 0.256));
    z-index: -1;
    pointer-events: none;
}

body.dark-mode .gradient-overlay {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.3));
}

/* Page title in hero */
.page-title {
    width: 100%;
    position: fixed;
    top: 3.5em;
    text-align: center;
    color: #d3ff96;
    font-size: 3.5em;
    border: none;
    padding: 0.3em;
    z-index: -1;
}

.relative-background {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}


.services-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    color: #333;
}

.services-section .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.services-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #444;
}

.services-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.6;
}

.service-card {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.service-card i {
    font-size: 2.5em;
    color: #007bff;
    margin-right: 20px;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #555;
}

.service-card p {
    font-size: 1em;
    line-height: 1.6;
}

body.dark-mode .services-section {
    padding: 60px 20px;
    background-color: #111;
    /* Dark background for dark mode */
    color: #ffffff;
    /* Light text color for visibility */
}

body.dark-mode .services-section h2 {
    color: #e0e0e0;
    /* Softer light color for headings */
}

body.dark-mode .services-section p {
    color: #d3d3d3;
    /* Softer light color for paragraphs */
}

body.dark-mode .service-card {
    background-color: #222;
    /* Slightly lighter dark background for cards */
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
    /* Subtle light shadow for contrast */
}

body.dark-mode .service-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    /* Enhanced hover shadow in dark mode */
}

body.dark-mode .service-card i {
    color: #1e90ff;
    /* Bright accent color for icons */
}

body.dark-mode .service-card h3 {
    color: #f0f0f0;
    /* Light heading color for dark mode */
}

body.dark-mode .service-card p {
    color: #cccccc;
    /* Softer light color for card text */
}


.service-card:nth-child(3) i {
    color: #1e90ff;
    /* Blue for WordPress/Wix */
}

.service-card:nth-child(4) i {
    color: #32cd32;
    /* Green for "Build and Hand Off" */
}

.service-card:nth-child(5) i {
    color: #ffa500;
    /* Orange for "Build and Maintain" */
}

.service-card:nth-child(6) i {
    color: #800080;
    /* Purple for SEO and Google Setup */
}


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

    .service-card i {
        margin-bottom: 10px;
        margin-right: 0;
    }
}

body.dark-mode .service-card:hover i {
    color: #87cefa;
    /* Slightly lighter color on hover for better interaction */
}

/* -------------------------------------------------------------------------- */
/* 10) VIDEOS SECTION */
/* -------------------------------------------------------------------------- */
.videos {
    text-align: center;
    padding: 4em 1em;
    background-color: #ffffff;
}

body.dark-mode .videos {
    background-color: #111;
}

.videos h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    color: #333;
}

body.dark-mode .videos h2 {
    color: #c9c9c9;
}

.video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
}

.video-item {
    flex: 1 1 calc(50% - 2em);
    max-width: 600px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

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

@media (max-width: 768px) {
    .video-item {
        flex: 1 1 100%;
    }
}