/* Services Page Styles - Premium Dark & SA Colors */
:root {
    --bg-dark: #ffffff;
    --bg-card: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --gold: #DAA520;
    --gold-hover: #b8860b;

    /* South African Flag Colors for Accents */
    --sa-green: #007749;
    --sa-red: #DE3831;
    --sa-blue: #002395;
    --sa-black: #000000;
    --sa-white: #FFFFFF;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    --sa-gradient: linear-gradient(90deg, var(--sa-red), var(--sa-blue), var(--sa-green), var(--gold), var(--sa-black));
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Container Utility */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar Override removed to use default style */
/* =========================================
   Hero Section
   ========================================= */
.services-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 1rem;
    animation: fadeUp 1.2s ease-out forwards;
}

.hero-subtitle {
    display: block;
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.hero-subtitle::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--sa-gradient);
    margin-top: 5px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.hero-content:hover .hero-subtitle::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #1a1a1a;
    /* Removed background clip for solid black */
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #333333;
    margin: 0 auto 3rem;
    max-width: 700px;
    font-weight: 500;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gold);
    z-index: -1;
    transition: var(--transition);
}

.cta-button:hover::before {
    width: 100%;
}

.cta-button:hover {
    color: #000;
    box-shadow: 0 0 20px rgba(218, 165, 32, 0.4);
    border-color: var(--gold);
}

/* =========================================
   Intro Section
   ========================================= */
.services-intro {
    text-align: center;
    padding: 8rem 2rem 6rem;
    position: relative;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    display: inline-block;
}

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

.section-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Decorator Line with SA Colors */
.sa-divider {
    height: 4px;
    width: 100px;
    margin: 2rem auto 0;
    background: var(--sa-gradient);
    border-radius: 2px;
}

/* =========================================
   Service Blocks - Premium Cards
   ========================================= */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Removing gap for contiguous flow designs or keeping large gap */
    padding-bottom: 8rem;
    gap: 8rem;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.service-block.reverse {
    direction: rtl;
}

.service-block.reverse .service-info {
    direction: ltr;
    /* Reset text direction */
}

/* Media Side */
.service-media {
    position: relative;
    border-radius: 4px;
    /* Sharper, more professional edges */
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    box-shadow: var(--shadow-soft);
    border: none;
}

/* Adding a subtle SA Border to images */
.service-media::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--sa-gradient);
    z-index: 10;
}

.swiper {
    width: 100%;
    height: 500px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.swiper-slide-active img {
    transform: scale(1.1);
}

/* Swiper Controls - Gold */
.swiper-button-next,
.swiper-button-prev {
    color: var(--gold) !important;
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(218, 165, 32, 0.3);
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--gold);
    color: #000 !important;
}

.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.4;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: var(--gold) !important;
    opacity: 1;
}

/* Content Side */
.service-info {
    padding: 2rem;
}

.service-category {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: inline-block;
    border-bottom: 1px solid rgba(218, 165, 32, 0.3);
    padding-bottom: 5px;
}

.service-info h3 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.service-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 1rem;
    display: flex;
    align-items: center;
}

/* Custom Colorful Bullets using pseudo-elements */
.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
}

/* Varying bullet colors for that subtle SA touch */
.service-features li:nth-child(1)::before {
    background-color: var(--sa-green);
}

.service-features li:nth-child(2)::before {
    background-color: var(--sa-red);
}

.service-features li:nth-child(3)::before {
    background-color: var(--sa-blue);
}

.service-features li:nth-child(4)::before {
    background-color: var(--gold);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
    .service-block {
        gap: 3rem;
    }

    .service-info h3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 900px) {
    .services-hero {
        height: 70vh;
    }

    .service-block,
    .service-block.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        /* Reset direction for mobile */
        gap: 2rem;
    }

    .service-media {
        order: -1;
        /* Image always on top */
    }

    .service-info {
        padding: 0;
    }

    .swiper {
        height: 350px;
    }

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

    .section-title {
        font-size: 2.2rem;
    }
}