/* ==========================================
   PSYCHOLOGY SERVICES PAGE STYLES
   Following the design pattern from psychology home page
========================================== */

/* Global Typography - Inter Font */
.services-hero *,
.detailed-services-section *,
.how-it-works-section *,
.cta-section * {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
}

/* ==========================================
   HERO SECTION
========================================== */
.services-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e8f0f7 0%, #f5f8fb 50%, #ffffff 100%);
    padding: 100px 0;
    overflow: hidden;
}

/* Animated Floating Shapes */
.services-hero::before {
    content: "";
    position: absolute;
    top: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(96, 150, 180, 0.12) 0%, rgba(96, 150, 180, 0.02) 70%);
    border-radius: 50%;
    z-index: 0;
    animation: floatShape 15s ease-in-out infinite;
}

.services-hero::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(44, 76, 156, 0.08) 0%, rgba(44, 76, 156, 0.02) 70%);
    border-radius: 50%;
    z-index: 0;
    animation: floatShape 18s ease-in-out infinite reverse;
}

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

.services-hero h6 {
    letter-spacing: 2px;
    color: #2c4c9c;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
}

.services-hero h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1a2a4a;
}

.services-hero p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5a6c8f;
    margin-bottom: 30px;
}

.services-hero img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.services-hero img:hover {
    transform: scale(1.02);
}

/* ==========================================
   DETAILED SERVICES SECTION
========================================== */
.detailed-services-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 1;
}

.shape-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(147, 191, 207, 0.12) 0%, rgba(147, 191, 207, 0.02) 70%);
    top: -100px;
    left: -100px;
    animation: floatShape1 20s ease-in-out infinite;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(96, 150, 180, 0.1) 0%, rgba(96, 150, 180, 0.02) 70%);
    top: 30%;
    right: -80px;
    animation: floatShape2 18s ease-in-out infinite;
    animation-delay: 2s;
}

.shape-3 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(44, 76, 156, 0.08) 0%, rgba(44, 76, 156, 0.02) 70%);
    bottom: 20%;
    left: 10%;
    animation: floatShape3 15s ease-in-out infinite;
    animation-delay: 4s;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(96, 150, 180, 0.06) 0%, rgba(96, 150, 180, 0.01) 70%);
    bottom: -60px;
    right: 20%;
    animation: floatShape4 22s ease-in-out infinite;
    animation-delay: 1s;
}

.detailed-services-section .container {
    position: relative;
    z-index: 1;
}

.section-header .badge {
    background: #2c4c9c !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 15px;
}

.section-header .lead {
    font-size: 1.1rem;
    color: #5a6c8f;
    max-width: 700px;
    margin: 0 auto;
}

/* Service Detail Cards */
.service-detail-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(44, 76, 156, 0.08);
    border: 1px solid rgba(44, 76, 156, 0.08);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-detail-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c4c9c, #6096b4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-detail-card:hover::before {
    transform: scaleX(1);
}

.service-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(44, 76, 156, 0.15);
    border-color: rgba(44, 76, 156, 0.15);
}

/* Service Icon */
.service-icon-wrapper {
    margin-bottom: 25px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(44, 76, 156, 0.1) 0%, rgba(96, 150, 180, 0.08) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s ease;
}

.service-detail-card:hover .service-icon {
    background: linear-gradient(135deg, #2c4c9c 0%, #4a6bb5 100%);
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 36px;
    color: #2c4c9c;
    transition: all 0.4s ease;
}

.service-detail-card:hover .service-icon i {
    color: #ffffff;
    transform: scale(1.1);
}

.service-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a2a4a;
    margin-bottom: 20px;
    text-align: center;
    transition: color 0.3s ease;
}

.service-detail-card:hover .service-title {
    color: #2c4c9c;
}

.service-description {
    font-size: 0.95rem;
    color: #5a6c8f;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Service Features */
.service-features {
    padding-top: 20px;
    border-top: 1px solid rgba(44, 76, 156, 0.1);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.feature-item i {
    font-size: 16px;
    color: #2c4c9c;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.9rem;
    color: #5a6c8f;
}

/* ==========================================
   HOW IT WORKS SECTION
========================================== */
.how-it-works-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #e8f0f7 0%, #f5f8fb 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.process-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(44, 76, 156, 0.08);
    border: 1px solid rgba(44, 76, 156, 0.08);
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.process-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(44, 76, 156, 0.15);
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2c4c9c 0%, #4a6bb5 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.process-card:hover .process-number {
    transform: scale(1.15) rotate(10deg);
}

.process-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a2a4a;
    margin-bottom: 15px;
}

.process-card p {
    font-size: 0.95rem;
    color: #5a6c8f;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   CTA SECTION
========================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c4c9c 0%, #4a6bb5 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.cta-section .lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}


/* ==========================================
   ANIMATIONS
========================================== */
@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

@keyframes floatShape1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

@keyframes floatShape2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-25px, 25px) scale(1.08);
    }
}

@keyframes floatShape3 {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(15px, -20px);
    }
    66% {
        transform: translate(-10px, 15px);
    }
}

@keyframes floatShape4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -15px) scale(1.1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.5;
    }
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */
@media (max-width: 992px) {
    .services-hero h2 {
        font-size: 2.3rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-detail-card {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 60px 0;
        min-height: 60vh;
    }

    .services-hero h2 {
        font-size: 2rem;
    }

    .detailed-services-section,
    .how-it-works-section {
        padding: 60px 0;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .service-detail-card {
        padding: 30px;
    }

    .service-icon {
        width: 70px;
        height: 70px;
    }

    .service-icon i {
        font-size: 32px;
    }

    .service-title {
        font-size: 1.4rem;
    }

    .floating-shapes .shape {
        display: none;
    }

    .shape-1 {
        display: block;
        width: 200px;
        height: 200px;
        opacity: 0.5;
    }
}

@media (max-width: 576px) {
    .services-hero h2 {
        font-size: 1.75rem;
    }

    .psychology-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }


    .section-header h2 {
        font-size: 1.75rem;
    }

    .service-detail-card {
        padding: 25px;
    }

    .process-card {
        padding: 30px 20px;
    }
}

/* Print styles */
@media print {
    .floating-shapes,
    .services-hero::before,
    .services-hero::after,
    .cta-section::before {
        display: none;
    }
}

/* --- Button Styles --- */
a.btn-hero {
    display: inline-block;
    background: #2C4C9C;
    color: #fff;
    padding: 14px 36px;
    border-radius: 5px;
    /* font-weight: 600; */
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    font-family: 'Inter';
}

a.btn-hero:hover {
    background: #0c58c0 !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(216, 235, 214, 0.4);
    transform: translateY(-3px);
}

a.btn-hero-filled {
    display: inline-block;
    background: #fff;
    color: #2C4C9C;
    padding: 14px 36px;
    border-radius: 5px;
    /* font-weight: 600; */
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    font-family: 'Inter';
}

a.btn-hero-filled:hover {
    background: #0c58c0 !important;
    color: #ffffff !important;
    transform: translateY(-3px);
}
