/* ==========================================
   PSYCHOLOGY PAGE STYLES
   Following the design pattern from welcome page
========================================== */

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2c4c9c;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(44, 76, 156, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(100px);
    opacity: 0;
    font-size: 15px;
    font-weight: 600;
}

/* Move appointment button left when back-to-top button is visible */
.floating-cta.shift-left {
    right: 100px;
}

.floating-cta.show {
    transform: translateY(0);
    opacity: 1;
}

.floating-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(44, 76, 156, 0.5);
}

.floating-cta i {
    margin-right: 10px;
    font-size: 16px;
}

@media (max-width: 576px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.875rem;
    }
}

/* Global Typography - Inter Font */
.psychology-hero *,
.counseling-section *,
.service *,
.stats-section *,
.psychologist-section *,
.faq-section * {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif !important;
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

.slide-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-up {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Delays */
.stagger-1 {
    transition-delay: 0.1s;
}
.stagger-2 {
    transition-delay: 0.2s;
}
.stagger-3 {
    transition-delay: 0.3s;
}
.stagger-4 {
    transition-delay: 0.4s;
}
.stagger-5 {
    transition-delay: 0.5s;
}

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

/* Animated Floating Shapes */
.psychology-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;
}

.psychology-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;
}

/* Additional Decorative Shapes */
.psychology-hero .container {
    position: relative;
    z-index: 2;
}

.psychology-hero .container::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle,
        rgba(147, 191, 207, 0.15) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: -1;
    animation: pulse 6s ease-in-out infinite;
}

button {
    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";
}
button:hover {
    background: #0c58c0 !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(216, 235, 214, 0.4);
    transform: translateY(-3px);
}

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";
    text-align: center;
}

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;
    box-shadow: 0 10px 30px rgba(216, 235, 214, 0.4);
    transform: translateY(-3px);
}

.psychology-hero .container::after {
    content: "";
    position: absolute;
    bottom: 10%;
    left: -3%;
    width: 150px;
    height: 150px;
    background: radial-gradient(
        circle,
        rgba(96, 150, 180, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: -1;
    animation: pulse 8s ease-in-out infinite;
    animation-delay: 2s;
}

/* Small Floating Dots */
.psychology-hero .row::before,
.psychology-hero .row::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(44, 76, 156, 0.06);
    border-radius: 50%;
    z-index: 0;
}

.psychology-hero .row::before {
    top: 15%;
    left: 10%;
    animation: floatDot 10s ease-in-out infinite;
}

.psychology-hero .row::after {
    bottom: 20%;
    right: 15%;
    animation: floatDot 12s ease-in-out infinite;
    animation-delay: 3s;
}

.psychology-hero h6 {
    letter-spacing: 2px;
    color: #2c4c9c;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.psychology-hero h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1a2a4a;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.psychology-hero p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5a6c8f;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

/* Image Enhancement with Glow */
.psychology-hero .col-md-6.text-center {
    position: relative;
}

.psychology-hero .col-md-6.text-center::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(
        circle,
        rgba(96, 150, 180, 0.15) 0%,
        transparent 60%
    );
    border-radius: 50%;
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

.psychology-hero img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    border: none !important;
}

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

.btn-psychology {
    display: inline-block;
    background: #2c4c9c;
    color: #fff;
    padding: 14px 36px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(44, 76, 156, 0.2);
    position: relative;
    z-index: 2;
}

.btn-psychology:hover {
    background: #1e3a7a;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(44, 76, 156, 0.3);
    transform: translateY(-3px);
}

/* ==========================================
   COUNSELING SECTION - Enhanced with Shapes
========================================== */
.counseling-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 50%, #f9fafb 100%);
    position: relative;
    overflow: hidden;
}

/* Background Decorative Shapes */
.counseling-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(147, 191, 207, 0.08) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    animation: floatShape 20s ease-in-out infinite;
}

.counseling-section::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(
        circle,
        rgba(96, 150, 180, 0.06) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    animation: floatShape 22s ease-in-out infinite reverse;
}

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    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: 25px;
}

.section-header p {
    font-size: 1rem;
    line-height: 1.8;
    color: #5a6c8f;
    text-align: center;
}

/* ==========================================
   SERVICE SECTION - Enhanced with Floating Elements
========================================== */
.service {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Decorative Background Shapes */
.service::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 5%;
    width: 180px;
    height: 180px;
    background: radial-gradient(
        circle,
        rgba(44, 76, 156, 0.04) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    animation: floatDot 15s ease-in-out infinite;
}

.service::after {
    content: "";
    position: absolute;
    bottom: 15%;
    right: 8%;
    width: 220px;
    height: 220px;
    background: radial-gradient(
        circle,
        rgba(96, 150, 180, 0.05) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    animation: floatDot 18s ease-in-out infinite;
    animation-delay: 4s;
}

.service .container {
    position: relative;
    z-index: 1;
}

.section__title-wrapper .badge {
    background: #2c4c9c;
    color: #fff;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
}

.section__title-2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 20px;
}

.service__wrapper-3 p {
    font-size: 1rem;
    color: #5a6c8f;
    line-height: 1.7;
}

.tp-btn-5,
.tp-btn-8 {
    background: #2c4c9c;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.tp-btn-5:hover,
.tp-btn-8:hover {
    background: #1e3a7a;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 76, 156, 0.2);
}

/* Service Cards */
.service__item-3 {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 25px;
    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;
}

.service__item-3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2c4c9c, #4a6bb5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service__item-3:hover::before {
    transform: scaleX(1);
}

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

.service__title-3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a2a4a;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.service__item-3:hover .service__title-3 {
    color: #2c4c9c;
}

.service__list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.service__list ul li {
    margin-bottom: 12px;
}

.service__list ul li a {
    color: #5a6c8f;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service__list ul li a:hover {
    color: #2c4c9c;
}

.service__list ul li a i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.service__list ul li a:hover i {
    transform: translateX(3px);
}

.tp-btn-9 {
    background: #2c4c9c;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    text-align: center;
}

.tp-btn-9:hover {
    background: #1e3a7a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(44, 76, 156, 0.2);
}

/* ==========================================
   STATS SECTION - Enhanced with Floating Shapes
========================================== */
.stats-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #e8f0f7 0%, #f5f8fb 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Multiple Floating Shapes */
.stats-section::before {
    content: "";
    position: absolute;
    top: -120px;
    left: -120px;
    width: 350px;
    height: 350px;
    background: radial-gradient(
        circle,
        rgba(147, 191, 207, 0.15) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    animation: floatShape 25s ease-in-out infinite;
}

.stats-section::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(96, 150, 180, 0.12) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    animation: floatShape 20s ease-in-out infinite reverse;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Additional Mid-level Shapes */
.stats-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(44, 76, 156, 0.03) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    animation: pulse 10s ease-in-out infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-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);
    position: relative;
    overflow: hidden;
}

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

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

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

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(44, 76, 156, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
    background: rgba(44, 76, 156, 0.1);
    transform: scale(1.1) rotate(5deg);
}

.stat-icon svg {
    width: 45px;
    height: 45px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-number .plus,
.stat-number .k {
    color: #2c4c9c;
    font-size: 2.5rem;
}

.stat-description {
    font-size: 0.95rem;
    color: #5a6c8f;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================
   PSYCHOLOGIST SECTION - Enhanced
========================================== */
.psychologist-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.psychologist-section::before {
    content: "";
    position: absolute;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle,
        rgba(96, 150, 180, 0.06) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    animation: floatDot 14s ease-in-out infinite;
}

.psychologist-section::after {
    content: "";
    position: absolute;
    bottom: 25%;
    left: 8%;
    width: 180px;
    height: 180px;
    background: radial-gradient(
        circle,
        rgba(147, 191, 207, 0.08) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    animation: floatDot 16s ease-in-out infinite;
    animation-delay: 2s;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.psychologist-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(44, 76, 156, 0.08) !important;
    border: 1px solid rgba(44, 76, 156, 0.08) !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

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

.psychologist-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid rgba(44, 76, 156, 0.1);
    transition: all 0.3s ease;
}

.psychologist-card:hover img {
    border-color: #2c4c9c;
    transform: scale(1.05);
}

.psychologist-card .name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a2a4a;
    margin-bottom: 8px;
}

.psychologist-card .title {
    font-size: 1rem;
    color: #2c4c9c;
    font-weight: 500;
    margin-bottom: 5px;
}

.psychologist-card .university {
    font-size: 0.9rem;
    color: #5a6c8f;
    margin-bottom: 20px;
}

.psychologist-card .btn-primary {
    background: #2c4c9c;
    border: none;
    padding: 10px 28px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.psychologist-card .btn-primary:hover {
    background: #1e3a7a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(44, 76, 156, 0.2);
}

/* Modal Styles */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    background-color: #ffffff !important;
}

.modal-header {
    background: linear-gradient(135deg, #2c4c9c 0%, #4a6bb5 100%);
    color: #fff;
    border-radius: 16px 16px 0 0;
    border: none;
    padding: 20px 30px;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}


.modal-title {
    font-weight: 600;
    color: #ffffff;
}

.modal-body {
    background-color: #ffffff !important;
    padding: 40px 50px;
    color: #1a2a4a !important;
}

.modal-body p {
    text-align: justify;
    line-height: 1.8;
    color: #5a6c8f !important;
    margin-bottom: 20px; /* Changed from 15px to 20px */
    padding: 0 10px; /* Added padding to text */
}

.modal-body p strong {
    color: #1a2a4a !important;
    font-weight: 600;
}

.modal-body img {
    border: 4px solid rgba(44, 76, 156, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-footer {
    background-color: #f8f9fa !important;
    border-top: 1px solid rgba(44, 76, 156, 0.1);
    padding: 15px 30px;
    border-radius: 0 0 16px 16px;
}

.modal-footer .btn-secondary {
    background-color: #6c757d;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal-footer .btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
}
/* ==========================================
   FAQ SECTION - Enhanced with Shapes
========================================== */
.faq-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #e8f0f7 0%, #f5f8fb 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Background Floating Shapes */
.faq-section::before {
    content: "";
    position: absolute;
    top: 15%;
    left: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(
        circle,
        rgba(147, 191, 207, 0.12) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    animation: floatShape 22s ease-in-out infinite;
}

.faq-section::after {
    content: "";
    position: absolute;
    bottom: 10%;
    right: -60px;
    width: 250px;
    height: 250px;
    background: radial-gradient(
        circle,
        rgba(96, 150, 180, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    animation: floatShape 18s ease-in-out infinite reverse;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.faq-left .badge {
    background: #2c4c9c;
    color: #fff;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.faq-description {
    font-size: 1rem;
    color: #5a6c8f;
    line-height: 1.8;
    margin-bottom: 30px;
}

.faq-description a {
    color: #2c4c9c;
    text-decoration: none;
    font-weight: 600;
}

.faq-description a:hover {
    text-decoration: underline;
}

.faq-cta {
    display: inline-block;
    color: #2c4c9c;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.faq-cta::after {
    content: "→";
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.faq-cta:hover::after {
    margin-left: 12px;
}

.faq-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(44, 76, 156, 0.05);
    border: 1px solid rgba(44, 76, 156, 0.08);
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(44, 76, 156, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(44, 76, 156, 0.02);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a2a4a;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(44, 76, 156, 0.1);
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-toggle::before,
.faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2c4c9c;
    transition: all 0.3s ease;
}

.faq-toggle::before {
    width: 14px;
    height: 2px;
}

.faq-toggle::after {
    width: 2px;
    height: 14px;
}

.faq-item.active .faq-toggle {
    background: #2c4c9c;
}

.faq-item.active .faq-toggle::before,
.faq-item.active .faq-toggle::after {
    background: #fff;
}

.faq-item.active .faq-toggle::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: #5a6c8f;
    line-height: 1.8;
    margin: 0;
}

/* ==========================================
   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 floatDot {
    0%,
    100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, -20px);
    }
}

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

@keyframes glowPulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.25;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll reveal animations */
.animate-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.animate-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .psychology-hero {
        padding: 80px 0;
    }

    .psychology-hero h2 {
        font-size: 2.5rem;
        max-width: 100%;
    }

    .faq-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .section__title-2,
    .section-title,
    .faq-title {
        font-size: 2rem;
    }

    /* Hide some decorative shapes on tablets */
    .psychology-hero .row::before,
    .psychology-hero .row::after {
        display: none;
    }
}

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

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

    .psychology-hero h6 {
        font-size: 12px;
    }

    .psychology-hero p {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .faq-title {
        font-size: 1.75rem;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .service,
    .counseling-section,
    .psychologist-section,
    .stats-section,
    .faq-section {
        padding: 60px 0;
    }

    /* Reduce floating shape sizes on mobile */
    .psychology-hero::before {
        width: 250px;
        height: 250px;
        top: -100px;
        left: -100px;
    }

    .psychology-hero::after {
        width: 200px;
        height: 200px;
        bottom: -80px;
        right: -80px;
    }

    .stats-section::before,
    .stats-section::after,
    .faq-section::before,
    .faq-section::after {
        width: 150px;
        height: 150px;
    }

    /* Hide smaller decorative elements on mobile */
    .service::before,
    .service::after,
    .psychologist-section::before,
    .psychologist-section::after,
    .counseling-section::before,
    .counseling-section::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .btn-psychology,
    .tp-btn-5,
    .tp-btn-8,
    .tp-btn-9 {
        padding: 12px 24px;
        font-size: 14px;
    }

    .service__item-3,
    .stat-card,
    .psychologist-card {
        padding: 30px 20px !important;
    }

    .section-header h2,
    .section__title-2,
    .section-title {
        font-size: 1.75rem;
    }
}

/* ==========================================
   ADDITIONAL ENHANCEMENTS
========================================== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Remove default borders */
.container,
.container-fluid,
.row,
.col,
[class*="col-"] {
    border: none !important;
}

img {
    border: none !important;
    outline: none !important;
}

section,
div {
    border: none !important;
}

/* Focus states for accessibility */
.btn-psychology:focus,
.tp-btn-5:focus,
.tp-btn-8:focus,
.tp-btn-9:focus,
.psychologist-card .btn-primary:focus {
    outline: 2px solid #2c4c9c;
    outline-offset: 2px;
}

/* Loading state animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(
        to right,
        #f0f0f0 0%,
        #e0e0e0 20%,
        #f0f0f0 40%,
        #f0f0f0 100%
    );
    background-size: 1000px 100%;
}

/* Interactive Elements */

/* Mouse Trail Effect */
.mouse-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(44, 76, 156, 0.3);
    pointer-events: none;
    transition: transform 0.15s ease;
}

/* Interactive Hover States */
.hover-grow {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-grow:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(44, 76, 156, 0.15);
}

.hover-glow {
    position: relative;
    overflow: hidden;
}

.hover-glow::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(44, 76, 156, 0.15) 0%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hover-glow:hover::after {
    opacity: 1;
}

/* Enhanced Card Hover Effects */
.service__item-3,
.psychologist-card,
.stat-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service__item-3:hover,
.psychologist-card:hover,
.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(44, 76, 156, 0.15);
}

/* Interactive Button States */
.btn-psychology,
.tp-btn-5,
.tp-btn-8,
.tp-btn-9 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-psychology:hover,
.tp-btn-5:hover,
.tp-btn-8:hover,
.tp-btn-9:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(44, 76, 156, 0.2);
}

/* Print styles */
@media print {
    .psychology-hero::before,
    .psychology-hero::after,
    .stats-section::before,
    .stats-section::after,
    .faq-section::before,
    .faq-section::after {
        display: none;
    }

    .btn-psychology,
    .tp-btn-5,
    .tp-btn-8,
    .tp-btn-9 {
        border: 1px solid #2c4c9c;
    }

    .mouse-trail {
        display: none;
    }
}


/* ==========================================
           COUNSELING SECTION - Enhanced with Floating Shapes
        ========================================== */
.counseling-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #e8f0f7 0%, #f5f8fb 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Floating Shapes Container */
.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 - Large top-left */
.shape-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(147, 191, 207, 0.15) 0%, rgba(147, 191, 207, 0.02) 70%);
    top: -120px;
    left: -120px;
    animation: floatShape1 20s ease-in-out infinite;
}

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

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

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

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.counseling-section .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: 25px;
}

.section-header p {
    font-size: 1rem;
    line-height: 1.8;
    color: #5a6c8f;
    text-align: center;
}

/* ==========================================
   SERVICE SECTION - Enhanced with Multiple Floating Shapes
========================================== */
.service {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

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

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

/* Shape Service 1 - Large top-left */
.shape-service-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(147, 191, 207, 0.12) 0%, rgba(147, 191, 207, 0.01) 70%);
    top: -150px;
    left: -150px;
    animation: floatServiceShape1 25s ease-in-out infinite;
}

/* Shape Service 2 - Medium top-right */
.shape-service-2 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(96, 150, 180, 0.1) 0%, rgba(96, 150, 180, 0.01) 70%);
    top: 5%;
    right: -100px;
    animation: floatServiceShape2 20s ease-in-out infinite;
    animation-delay: 3s;
}

/* Shape Service 3 - Small mid-left */
.shape-service-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(44, 76, 156, 0.08) 0%, rgba(44, 76, 156, 0.01) 70%);
    top: 40%;
    left: 5%;
    animation: floatServiceShape3 18s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Shape Service 4 - Large bottom-center */
.shape-service-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(147, 191, 207, 0.08) 0%, rgba(147, 191, 207, 0.01) 70%);
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    animation: floatServiceShape4 22s ease-in-out infinite;
    animation-delay: 5s;
}

/* Shape Service 5 - Small mid-right */
.shape-service-5 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(96, 150, 180, 0.09) 0%, rgba(96, 150, 180, 0.01) 70%);
    top: 60%;
    right: 8%;
    animation: floatServiceShape5 16s ease-in-out infinite;
    animation-delay: 2s;
}

/* Shape Service 6 - Medium bottom-right */
.shape-service-6 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(44, 76, 156, 0.06) 0%, rgba(44, 76, 156, 0.01) 70%);
    bottom: 10%;
    right: -60px;
    animation: floatServiceShape6 19s ease-in-out infinite;
    animation-delay: 4s;
}

.service .container {
    position: relative;
    z-index: 1;
}

.section__title-wrapper .badge {
    background: #2C4C9C;
    color: #fff;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
}

.section__title-2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 20px;
}

.service__wrapper-3 p {
    font-size: 1rem;
    color: #5a6c8f;
    line-height: 1.7;
    max-width: 500px;
}

/* Service Cards with Icon */
.service__item-3 {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 25px;
    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;
}

.service__item-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2C4C9C, #6096B4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service__item-3:hover::before {
    transform: scaleX(1);
}

.service__item-3: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: 20px;
}

.service-icon {
    width: 70px;
    height: 70px;
    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;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44, 76, 156, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: iconPulse 3s ease-in-out infinite;
}

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

.service__item-3:hover .service-icon::before {
    opacity: 1;
}

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

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

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

.service__item-3:hover .service__title-3 {
    color: #2C4C9C;
}

.service__list {
    flex-grow: 1;
}

.service__list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.service__list ul li {
    margin-bottom: 12px;
}

.service__list ul li a {
    color: #5a6c8f;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service__list ul li a i {
    font-size: 14px;
    color: #2C4C9C;
    transition: transform 0.3s ease;
}

.service__list ul li a:hover {
    color: #2C4C9C;
    padding-left: 5px;
}

.service__list ul li a:hover i {
    transform: scale(1.2);
}

/* ==========================================
   ANIMATIONS
========================================== */
@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 floatServiceShape1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(40px, -35px) scale(1.05);
    }
    50% {
        transform: translate(20px, 20px) scale(1.1);
    }
    75% {
        transform: translate(-30px, 10px) scale(0.98);
    }
}

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

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

@keyframes floatServiceShape4 {
    0%, 100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
    50% {
        transform: translateX(-50%) translateY(-20px) scale(1.05);
    }
}

@keyframes floatServiceShape5 {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-20px, -20px);
    }
}

@keyframes floatServiceShape6 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(15px, 25px) scale(1.12);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */
@media (max-width: 992px) {
    .section__title-2,
    .section-header h2 {
        font-size: 2rem;
    }

    .shape-1,
    .shape-service-1 {
        width: 250px;
        height: 250px;
    }

    .shape-2,
    .shape-service-2 {
        width: 180px;
        height: 180px;
    }

    .shape-3,
    .shape-4,
    .shape-service-5,
    .shape-service-6 {
        display: none;
    }
}

@media (max-width: 768px) {
    .counseling-section,
    .service {
        padding: 60px 0;
    }

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

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

    /* Show only one small shape on mobile */
    .shape-1 {
        display: block;
        width: 150px;
        height: 150px;
        opacity: 0.5;
    }

    .service__item-3 {
        padding: 30px 20px;
    }

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

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

/* ==========================================
   EXPANDABLE FAQ STYLES
========================================== */

/* Extra FAQ Items Container */
.faq-extra-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-extra-items.expanded {
    max-height: 3000px; /* Large enough to accommodate all items */
}

/* Initial state for extra FAQ items */
.faq-extra-items .faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Animate items when expanded */
.faq-extra-items.expanded .faq-item {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ CTA Button Enhanced */
.faq-cta {
    display: inline-block;
    color: #2c4c9c;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 12px 24px;
    border: 2px solid #2c4c9c;
    border-radius: 6px;
    background: transparent;
}

.faq-cta::after {
    content: "→";
    margin-left: 8px;
    transition: margin-left 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.faq-cta:hover {
    background: #2c4c9c;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 76, 156, 0.2);
}

.faq-cta:hover::after {
    margin-left: 12px;
}

/* When FAQ is expanded, change button appearance */
.faq-cta.expanded {
    background: #2c4c9c;
    color: #ffffff;
}

.faq-cta.expanded::after {
    content: "↑";
    transform: rotate(0deg);
}

.faq-cta.expanded:hover::after {
    transform: translateY(-3px);
}

/* Smooth animation for FAQ container expansion */
.faq-right {
    transition: all 0.4s ease;
}

/* Ensure consistent styling for all FAQ items */
.faq-extra-items .faq-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease, opacity 0.5s ease, transform 0.5s ease;
    box-shadow: 0 2px 10px rgba(44, 76, 156, 0.05);
    border: 1px solid rgba(44, 76, 156, 0.08);
    margin-bottom: 0;
    margin-top: 15px;
}

.faq-extra-items .faq-item:hover {
    box-shadow: 0 6px 20px rgba(44, 76, 156, 0.1);
}

/* Loading animation for expanding FAQ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-extra-items.expanded .faq-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animation delays for each item */
.faq-extra-items.expanded .faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-extra-items.expanded .faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-extra-items.expanded .faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-extra-items.expanded .faq-item:nth-child(4) {
    animation-delay: 0.4s;
}

.faq-extra-items.expanded .faq-item:nth-child(5) {
    animation-delay: 0.5s;
}

.faq-extra-items.expanded .faq-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-cta {
        padding: 10px 20px;
        font-size: 14px;
        display: block;
        text-align: center;
        width: 100%;
        max-width: 250px;
    }

    .faq-extra-items {
        transition: max-height 0.6s ease;
    }

    .faq-extra-items.expanded {
        max-height: 4000px;
    }
}

@media (max-width: 576px) {
    .faq-cta {
        font-size: 13px;
        padding: 10px 18px;
    }
}

/* ==========================================
   FAQ SECTION - CONSISTENT GAP FIX
========================================== */

/* Remove default gaps and use consistent spacing */
.faq-right {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Consistent 15px gap between all items */
}

/* Reset margins for all FAQ items */
.faq-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(44, 76, 156, 0.05);
    border: 1px solid rgba(44, 76, 156, 0.08);
    margin: 0; /* Remove all margins - gap will handle spacing */
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(44, 76, 156, 0.1);
}

/* Extra FAQ Items Container */
.faq-extra-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 15px; /* Same consistent gap */
}

.faq-extra-items.expanded {
    max-height: 3000px;
    margin-top: 0; /* No extra margin needed */
}

/* Initial state for extra FAQ items */
.faq-extra-items .faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin: 0; /* Ensure no margins */
}

/* Animate items when expanded */
.faq-extra-items.expanded .faq-item {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ CTA Button Enhanced */
.faq-cta {
    display: inline-block;
    color: #2c4c9c;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 12px 24px;
    border: 2px solid #2c4c9c;
    border-radius: 6px;
    background: transparent;
}

.faq-cta::after {
    content: "→";
    margin-left: 8px;
    transition: margin-left 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.faq-cta:hover {
    background: #2c4c9c;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 76, 156, 0.2);
}

.faq-cta:hover::after {
    margin-left: 12px;
}

/* When FAQ is expanded, change button appearance */
.faq-cta.expanded {
    background: #2c4c9c;
    color: #ffffff;
}

.faq-cta.expanded::after {
    content: "↑";
    transform: rotate(0deg);
}

.faq-cta.expanded:hover::after {
    transform: translateY(-3px);
}

/* Smooth animation for FAQ container expansion */
.faq-right {
    transition: all 0.4s ease;
}

/* Ensure consistent styling for all FAQ items */
.faq-extra-items .faq-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease, opacity 0.5s ease, transform 0.5s ease;
    box-shadow: 0 2px 10px rgba(44, 76, 156, 0.05);
    border: 1px solid rgba(44, 76, 156, 0.08);
}

.faq-extra-items .faq-item:hover {
    box-shadow: 0 6px 20px rgba(44, 76, 156, 0.1);
}

/* Loading animation for expanding FAQ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-extra-items.expanded .faq-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animation delays for each item */
.faq-extra-items.expanded .faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-extra-items.expanded .faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-extra-items.expanded .faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-extra-items.expanded .faq-item:nth-child(4) {
    animation-delay: 0.4s;
}

.faq-extra-items.expanded .faq-item:nth-child(5) {
    animation-delay: 0.5s;
}

.faq-extra-items.expanded .faq-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-cta {
        padding: 10px 20px;
        font-size: 14px;
        display: block;
        text-align: center;
        width: 100%;
        max-width: 250px;
    }

    .faq-extra-items {
        transition: max-height 0.6s ease;
    }

    .faq-extra-items.expanded {
        max-height: 4000px;
    }

    /* Maintain consistent gaps on mobile */
    .faq-right {
        gap: 12px;
    }

    .faq-extra-items {
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .faq-cta {
        font-size: 13px;
        padding: 10px 18px;
    }

    /* Slightly smaller gaps on very small screens */
    .faq-right {
        gap: 10px;
    }

    .faq-extra-items {
        gap: 10px;
    }
}
