/* internal.css */
body {
    background-color: var(--bg-color);
}

.internal-hero-v2 {
    margin: 110px 40px 40px;
    height: 45vh;
    min-height: 350px;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.internal-hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 30, 15, 0.95), rgba(20, 30, 15, 0.75));
    z-index: 1;
}

/* Background Variations */
.bg-services {
    background-image: url('img/service-1-old.png');
}

.bg-serve {
    background-image: url('img/service-5.jpg');
}

.bg-maintenance {
    background-image: url('img/service-6.png');
}

.bg-contracts {
    background-image: url('img/contracts.jpg');
}

.internal-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 0 40px;
}

.internal-hero-content h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: -1px;
}

@media (min-width: 769px) {
    .hero-nowrap {
        white-space: nowrap;
    }
}

.internal-hero-content p {
    font-size: 1.2rem;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.custom-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    justify-content: center;
}

.dot {
    width: 10px;
    height: 10px;
    background: #4ade80;
    /* Bright vibrant green */
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.7);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.8);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 12px rgba(74, 222, 128, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

@media (max-width: 768px) {
    .internal-hero-v2 {
        margin: 100px 20px 20px;
        height: 60vh;
        border-radius: 30px;
    }

    .custom-tag {
        display: none !important;
    }
}

/* Interactive Services Component */
.services-interactive {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    margin: 80px auto 50px;
    align-items: start;
}

.services-sidebar {
    position: sticky;
    top: 120px;
}

.services-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background: transparent;
}

.service-item:first-child {
    border-top: 1px solid #eee;
}

.service-item.active {
    background: #fdf8f0;
    /* Soft beige like the image */
    border-left: 4px solid var(--accent-color);
    border-bottom-color: transparent;
}

.service-icon-circle {
    width: 45px;
    height: 45px;
    background: var(--beige-accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    transition: var(--transition);
}

.service-item.active .service-icon-circle {
    background: var(--accent-color);
    color: white;
}

.service-num {
    font-size: 0.8rem;
    color: #999;
    margin-right: 20px;
    font-weight: 600;
}

.service-item-title {
    font-size: 1.1rem;
    font-weight: 500;
    flex-grow: 1;
    color: #444;
}

.service-item.active .service-item-title {
    color: #111;
}

.service-item-arrow {
    opacity: 0.8;
    color: #1a2a12;
    transition: var(--transition);
}

.service-item.active .service-item-arrow {
    opacity: 1;
    transform: translateX(5px);
}

.services-main-content {
    min-height: 600px;
}

.service-pane {
    display: none;
    animation: fadeIn 0.6s ease-out;
}

.service-pane.active {
    display: block;
}

.service-detail-title {
    font-family: var(--font-sans);
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1a2a12;
    letter-spacing: -1px;
}

.service-detail-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
    /* max-width: 600px; */
}

.service-detail-image {
    width: 100%;
    height: 450px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@media (max-width: 1024px) {
    .services-sidebar {
        display: block;
        width: 100%;
    }

    .services-interactive {
        grid-template-columns: 1fr;
        padding: 40px 0;
        margin: 40px 20px 80px;
        gap: 0;
    }

    .services-main-content {
        display: none;
    }

    .service-item {
        flex-wrap: wrap;
        padding: 25px 20px;
        border-radius: 20px;
        margin-bottom: 10px;
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .service-item.active {
        background: #fdf8f0;
        border-left: 4px solid var(--accent-color);
    }

    .service-item.active .service-item-arrow {
        transform: rotate(90deg);
    }

    .service-pane {
        display: none;
        width: 100%;
        order: 10;
        padding-top: 25px;
        margin-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        animation: fadeIn 0.4s ease-out;
    }

    .service-item.active .service-pane {
        display: block !important;
    }

    .service-detail-title {
        display: none;
        /* Hide repeated title in mobile trigger */
    }

    .service-detail-desc {
        font-size: 1.1rem;
        margin-bottom: 25px;
        color: #555;
    }

    .service-detail-image {
        height: 300px;
        border-radius: 15px;
    }
}

/* Bottom CTA */
.cta-bottom {
    padding: 100px 0 140px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 40px;
}

.cta-flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.cta-text h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 16px;
    font-weight: 600;
    color: #1a2a12;
    letter-spacing: -1px;
}

.cta-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-cta {
    display: inline-block;
    padding: 22px 55px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.25rem;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: -0.2px;
}

.btn-cta:hover {
    background-color: var(--accent-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .cta-flex {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .cta-text p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Contract Steps Layout */
.contract-steps {
    max-width: 1200px;
    margin: 80px auto 0;
}

.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 100px;
    align-items: flex-start;
}

.step-number {
    font-family: 'EB Garamond', serif;
    font-size: 5rem;
    font-weight: 500;
    color: var(--accent-color);
    line-height: 1;
    min-width: 110px;
    letter-spacing: -2px;
}

.step-divider {
    width: 1px;
    background-color: #e0dcd5;
    align-self: stretch;
    min-height: 120px;
}

.step-content {
    flex: 1;
    padding-top: 10px;
}

.step-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.step-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .step-item {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 60px;
    }

    .step-number {
        font-size: 3.5rem;
        min-width: auto;
    }

    .step-divider {
        width: 100%;
        height: 1px;
        min-height: auto;
    }

    .step-content {
        padding-top: 10px;
    }
}