/* ===================================
   WHY CHOOSE US - INTERACTIVE SECTION
   3-Column Layout
   ================================== */

.why-choose-section {
    background: linear-gradient(135deg, #001a33 0%, #000c19 100%);
    min-height: 600px;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.05), transparent 70%);
    pointer-events: none;
}

/* 3-Column Layout Container */
.why-choose-section .container.container-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

/* ===================================
   Column 1: Intro (Left)
   ================================== */
.col-intro {
    width: 30%;
    position: relative;
    z-index: 10;
}

.why-choose-section .section-label {
    color: var(--primary-yellow);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
    text-shadow: 0 0 10px rgba(253, 197, 0, 0.3);
}

.why-choose-section h2.section-title {
    color: var(--white);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.why-choose-section h2.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-yellow);
    margin-top: 15px;
}

.why-choose-section .intro-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.sub-text {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--light-blue);
    margin-top: 1rem;
    display: block;
}

/* ===================================
   Column 2: Details (Middle - Dynamic)
   ================================== */
/* ===================================
   Column 2: Details (Now inside Right Col)
   ================================== */
.col-details {
    width: 100%;
    /* Full width of parent */
    position: relative;
    padding-top: 1rem;
}

#services-details-container {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 250px;
}

/* Placeholder Text */
#details-placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    opacity: 0.6;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 2rem;
    transition: opacity 0.3s;
}

#services-details-container.has-active-content #details-placeholder {
    display: none;
}

/* Dynamic Content Child Container */
#services-details-child {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    width: 100%;
}

#services-details-child.visible {
    opacity: 1;
    transform: translateY(0);
}

.detail-content {
    display: none;
}

.detail-content h4 {
    color: var(--primary-yellow);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(253, 197, 0, 0.3);
}

.detail-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.detail-content ul {
    list-style: none;
    padding-left: 0;
}

.detail-content ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

.detail-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary-yellow);
}

/* ===================================
   Column 3: Icons (Right - Interactive Container)
   ================================== */
.col-icons {
    width: 65%;
    /* Wider to hold content */
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-choose-section .services-column {
    width: 100%;
    position: relative;
    height: auto;
    /* Remove fixed height */
    min-height: 150px;
    /* Just enough for icons */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 1rem;
}

.service-choice-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0.8;
    transition: all 0.4s ease;
    white-space: nowrap;
    z-index: 5;
    margin-bottom: 2rem;
}

/* Rows of Icons */
.services-row {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    z-index: 2;
    padding-top: 3rem;
    /* Space for label */
}

/* Expanded State for Rows (Move slightly to allow text visibility) */
.services-row.row-expanded.row-1 {
    transform: scale(0.95);
}

/* Service Item (The Circles/Diamonds) */
.service-item {
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.05);
    /* Glassy background */
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0 10px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    transform: rotate(45deg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Inner content counter-rotated */
.service-desc {
    transform: rotate(-45deg);
    text-align: center;
    transition: transform 0.4s ease;
}

.service-icon {
    font-size: 1.75rem;
    color: #00d4ff;
    /* Neon cyan */
    display: block;
    margin-bottom: 0.4rem;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.service-item p {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Expanded State for Items */
.service-item.service-expanded {
    transform: rotate(45deg);
    margin: 15px;
    /* Increased margin for diamonds */
}

.service-item.service-expanded .service-desc {
    transform: rotate(-45deg);
}

/* Hover & Active States */
.service-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
    transform: rotate(45deg) scale(1.05);
    z-index: 10;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.service-item.service-expanded:hover {
    transform: rotate(45deg) scale(1.05);
}

.service-item:hover .service-icon,
.service-item:hover p {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.service-item.selected-service {
    background: rgba(253, 197, 0, 0.15);
    border-color: var(--primary-yellow);
    transform: rotate(45deg) scale(1.1);
    z-index: 10;
    box-shadow: 0 0 20px rgba(253, 197, 0, 0.5);
}

.service-item.selected-service .service-icon {
    color: var(--primary-yellow);
    text-shadow: 0 0 15px rgba(253, 197, 0, 0.6);
}

.service-item.selected-service p {
    color: var(--white);
}

.clear-fix {
    clear: both;
}


/* ===================================
   Responsive Adjustments
   ================================== */
@media (max-width: 992px) {
    .why-choose-section .container.container-flex {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }

    .col-intro,
    .col-details,
    .col-icons {
        width: 100%;
        text-align: center;
        max-width: 600px;
        /* Limit width for readability */
    }

    .why-choose-section h2.section-title:after {
        margin: 15px auto 0;
    }

    .col-details {
        padding-top: 0;
    }

    #services-details-container {
        min-height: auto;
    }

    .why-choose-section .services-column {
        height: auto;
        min-height: 250px;
    }

    .service-choice-label {
        position: relative;
        left: 0;
        transform: none;
        width: 100%;
        text-align: center;
    }

    .services-row {
        flex-wrap: wrap;
        padding-top: 1rem;
    }
}