/* ==================================================
   SERVICE DETAILS PAGE CSS
   ================================================== */

/* Hero Banner */
.service-details-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 200px 0 100px 0;
    text-align: center;
    border-bottom: 15px solid var(--accent-yellow);
}

.service-details-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.service-details-hero .container {
    position: relative;
    z-index: 2;
}

.service-details-hero h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 6vw, 5rem);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 0;
}

/* Intro Section */
.sd-intro-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.sd-intro-title {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--primary-black);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.sd-intro-text {
    font-family: "DM Sans", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Video Section */
.sd-video-section {
    padding-bottom: 80px;
    background-color: var(--bg-light);
}

.sd-video-wrapper {
    position: relative;
    max-width: 100%;
    /* Changed from 1000px to 100% to fill container */
    margin: 0 auto;
    padding: 20px;
    /* Space for the tilted card to not get cut off */
    z-index: 1;
}

.sd-video-wrapper::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background-color: var(--accent-yellow);
    border-radius: 20px;
    transform: rotate(-2deg);
    z-index: -1;
}

.sd-video-wrapper img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.sd-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    z-index: 2;
    height: 80px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sd-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* What is Section */
.sd-whatis-section {
    padding: 80px 0;
    background-color: var(--bg-white);
    text-align: center;
}

.sd-section-title {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-black);
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.sd-whatis-subtitle {
    font-family: "DM Sans", sans-serif;
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.sd-feature-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    text-align: left;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.sd-feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-black);
    flex-shrink: 0;
}

.sd-feature-content h4 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-black);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.sd-feature-content p {
    font-family: "DM Sans", sans-serif;
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
}

/* Problems Solves Section */
.sd-problems-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.sd-problems-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.sd-problems-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.sd-problems-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.sd-problems-list li i {
    color: #ffffff;
    background-color: var(--accent-yellow);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.sd-problems-text h4 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-black);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.sd-problems-text p {
    font-family: "DM Sans", sans-serif;
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
}

/* How It Works Section */
.sd-how-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.sd-step-card {
    background-color: var(--accent-yellow);
    border: 3px solid var(--primary-black);
    border-radius: 16px;
    padding: 40px 30px;
    height: 100%;
    position: relative;
    box-shadow: 6px 6px 0px var(--primary-black);
    /* Brutalist shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sd-step-card:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0px var(--primary-black);
}

.sd-step-num {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-size: 4rem;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 20px;
}

.sd-step-title {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.sd-step-desc {
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    color: #f7f7f7;
    /* Darker text for readability on yellow */
    font-weight: 500;
}

/* Discover More Services */
.sd-discover-section {
    padding: 80px 0 120px 0;
    background-color: var(--bg-light);
}

.sd-discover-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.sd-discover-header h2 {
    margin-bottom: 0;
}

.sd-view-all-btn {
    background-color: var(--accent-yellow);
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sd-view-all-btn:hover {
    transform: translateY(-3px) scale(1.03);
    background: #ffffff;
    color: var(--accent-yellow);
    box-shadow: 0 10px 20px var(--accent-yellow);
}

/* Small Service Cards */
.sd-small-service-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.sd-small-service-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.sd-small-service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 2;
}

.sd-small-service-content {
    position: relative;
    z-index: 3;
}

.sd-small-service-title {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.sd-small-service-desc {
    font-family: "DM Sans", sans-serif;
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 20px;
}

.sd-small-service-btn {
    background-color: #ffffff;
    color: var(--primary-black);
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.sd-small-service-btn:hover {
    transform: translateY(-3px) scale(1.03);
    background: var(--accent-yellow);
    color: #ffffff;
    box-shadow: 0 10px 20px var(--accent-yellow);
}

@media (max-width: 991px) {
    .sd-problems-img {
        height: 400px;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .sd-discover-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}