.services-overview {
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-overview .hero-slide {
    transition: opacity 1s ease, visibility 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-overview .container {
    position: relative;
    z-index: 2;
}

.services-overview .section-header {
    text-align: center;
    margin-bottom: 2rem;
    color: #fff;
}

.services-overview .section-header h1 {
    font-size: 48px;
    color: #fff;
    max-width: 600px;
    margin: 10px auto;
}

.services-overview .section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.services-overview .overview-content {
    position: relative;
    z-index: 2;
}

.services-overview .overview-text {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    margin: 0 auto 3rem;
}

.services-overview .overview-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #222222;
    margin-bottom: 10px;
}

@media screen and (max-width: 1200px) {
    .services-overview .container {
        padding: 15px;
    }
}

@media screen and (max-width: 1000px) {
    .services-overview {
        min-height: 500px;
    }
}

@media screen and (max-width: 1024px) {
    .services-overview .section-header h1 {
        font-size: 40px;
    }

}

@media screen and (max-width: 920px) {
    .services-overview {
        min-height: 550px;
    }

    .services-overview .overview-text {
        padding: 2rem;
    }
}

@media screen and (max-width: 730px) {
    .services-overview {
        min-height: 700px;
    }
}

@media screen and (max-width: 600px) {
    .services-overview {
        min-height: 600px;
    }

    .services-overview .overview-text {
        padding: 1.5rem;
    }

    .services-overview .overview-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media screen and (max-width: 450px) {
    .services-overview {
        width: 100%;
        min-height: 700px;
    }

    .services-overview .overview-text p {
        font-size: o.95rem;
        line-height: 1.5;
    }
}

@media screen and (max-width: 400px) {
    .services-overview {
        min-height: 750px;
    }
}

.service-categories {
    position: relative;
    top: var(--relative-top);
    padding: 3rem 0;
    background: #f8fafc;
}

.service-categories .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}


.service-categories .service-tabs {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.service-categories .tab-buttons {
    display: flex;
    background: #f1f5f9;
    overflow-x: auto;
}

.service-categories .tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 15px;
    font-weight: 700;
    color: #64748b;
}

.service-categories .tab-btn:hover,
.service-categories .tab-btn.active {
    background: var(--primary-color-2);
    color: white;
}

.service-categories .tab-content {
    padding: 3rem;
}

.service-categories .tab-panel {
    display: none;
}

.service-categories .tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

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

.service-categories .headings{
    padding: 10px;
}

.service-categories .headings h4 {
    font-size: 1.5rem;
    color: var(--primary-color-1);
    font-weight: 600;
}

.service-categories .side-heading{
    font-size: 20px;
    padding: 5px;
    margin: 20px 10px;
}

.service-categories .headings h5{
    padding: 10px 0;
    font-size: 1.1rem;
    color: var(--primary-color-2);
}

.service-categories .service-list {
    display: grid;
    gap: 1rem;
}

.service-categories .service-item {
    border-left: 4px solid var(--primary-color-2);
    padding-left: 1.5rem;
    margin-left: 1.5rem;
}

.service-categories .service-item p {
    color: #0a0a0a;
    line-height: 1.6;
}

.service-categories .therapeutic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-categories .therapeutic h4 {
    color: var(--primary-color-1);
    text-align: center;
    font-size: 24px;
}

.service-categories .therapeutic-item {
    background: linear-gradient(135deg, var(--primary-color-2-hover), var(--primary-color-2));
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.service-categories .therapeutic-item:hover {
    transform: translateY(-5px);
}

.service-categories .therapeutic-item svg{
    width: 200px;
    height: 80px;
}

.service-categories .therapeutic-item span{
    font-size: 18px;
}

.hexagonal-expertise {
    position: relative;
    top: var(--relative-top);
    padding: 4rem 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.hexagonal-expertise .hex-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 21, 255, 0.1) 0%, transparent 50%);
    animation: hexPatternMove 20s ease-in-out infinite;
}

@keyframes hexPatternMove {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(20px) translateY(-20px);
    }
}

.hexagonal-expertise .section-header-3d {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.hexagonal-expertise .hexagonal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.hexagonal-expertise .hex-item {
    position: relative;
    height: 180px;
    backdrop-filter: blur(20px);
    border: 1px solid var(--primary-color-2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    transform-style: preserve-3d;
}

.hexagonal-expertise .hex-item:hover {
    transform: translateY(-10px) rotateX(10deg);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
    border-color: var(--primary-color-1);
}

.hexagonal-expertise .hex-content {
    text-align: center;
    color: #ffffff;
    z-index: 2;
    position: relative;
}

.hexagonal-expertise .hex-content svg {
    height: 80px;
    width: 100px;
    margin-bottom: 1rem;
    animation: hexIconFloat 3s ease-in-out infinite;
}

@keyframes hexIconFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

.hexagonal-expertise .hex-content span {
    font-size: 1rem;
    font-weight: 600;
    display: block;
    line-height: 1.3;
    color: var(--primary-color-2);
}

.hexagonal-expertise .hex-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0066ff, #004dd9);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hexagonal-expertise .hex-item:hover .hex-glow {
    opacity: 0.1;
}

.footer {
    position: relative;
    top: var(--relative-top);
}