/* 
   Sri Soundarya Counselling Center - Custom Styles
   Theme: Wellness, Pastel, Glassmorphism, Calming
*/

:root {
    /* Pastel Palette */
    --primary-color: #6a85b6;
    /* Soft Blue */
    --secondary-color: #bac8e0;
    /* Light Blue */
    --accent-color: #a3cfbb;
    /* Mint */
    --warm-color: #f8cdda;
    /* Pastel Pink/Peach */
    --violet-soft: #c5a3cf;
    /* Soft Violet */

    /* Text & Background */
    --text-dark: #2c3e50;
    --text-light: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --glow: 0 0 15px rgba(163, 207, 187, 0.5);
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--violet-soft));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Utilities */
.section-padding {
    padding: 80px 0;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up-element {
    opacity: 0;
    /* Start hidden, JS will trigger */
    animation: fadeUp 1s ease-out forwards;
}

/* Delay classes for staggered animation */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* --- Section 1: Hero --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
    overflow: hidden;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.6;
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--warm-color);
    top: -50px;
    left: -50px;
    animation: float 8s infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    bottom: -100px;
    right: -100px;
    animation: float 10s infinite reverse;
}

.hero-content {
    z-index: 1;
    position: relative;
}

.btn-neumorphic {
    background: #e0e5ec;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    color: var(--text-dark);
    font-weight: 600;
    box-shadow: 9px 9px 16px rgb(163, 177, 198, 0.6), -9px -9px 16px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.btn-neumorphic:hover {
    box-shadow: inset 6px 6px 10px 0 rgba(163, 177, 198, 0.7), inset -6px -6px 10px 0 rgba(255, 255, 255, 0.8);
    transform: scale(0.98);
    color: var(--primary-color);
}

.btn-primary-glow {
    background: linear-gradient(45deg, var(--primary-color), var(--violet-soft));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(106, 133, 182, 0.4);
}

.btn-primary-glow:hover {
    box-shadow: 0 6px 20px rgba(106, 133, 182, 0.6);
    transform: translateY(-2px);
    color: white;
}

/* --- Section 2: Treatments --- */
.treatment-card {
    text-align: center;
    padding: 30px 20px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.treatment-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.5);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-inline: auto;
    transition: all 0.3s ease;
}

.treatment-card:hover .treatment-icon {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px rgba(106, 133, 182, 0.5);
    transform: rotateY(180deg);
}

/* --- Section 3: FAQ --- */
.faq-card {
    padding: 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
}

/* --- Section 4: Doctors --- */
.doctor-card {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
}

.doctor-img-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, var(--primary-color), var(--warm-color));
    position: relative;
}

.doctor-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    background-color: #ddd;
    /* Placeholder color */
}

/* --- Section 5: Quotes --- */
.quotes-section {
    background: linear-gradient(to right, rgba(106, 133, 182, 0.1), rgba(197, 163, 207, 0.1));
}

.quote-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
}

.quote-text {
    font-size: 1.8rem;
    font-style: italic;
    color: var(--text-dark);
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary-color);
}

/* --- Section 6: Contact --- */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: 0.3s;
}

.contact-info-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.2rem;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    border: none;
    box-shadow: var(--glass-shadow);
}

/* --- Footer --- */
footer {
    background: linear-gradient(to right, #2c3e50, #4ca1af);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.social-icons a {
    color: white;

    .shape-1 {
        width: 300px;
        height: 300px;
        background: var(--warm-color);
        top: -50px;
        left: -50px;
        animation: float 8s infinite;
    }

    .shape-2 {
        width: 400px;
        height: 400px;
        background: var(--accent-color);
        bottom: -100px;
        right: -100px;
        animation: float 10s infinite reverse;
    }

    .hero-content {
        z-index: 1;
        position: relative;
    }

    .btn-neumorphic {
        background: #e0e5ec;
        border: none;
        border-radius: 50px;
        padding: 15px 40px;
        color: var(--text-dark);
        font-weight: 600;
        box-shadow: 9px 9px 16px rgb(163, 177, 198, 0.6), -9px -9px 16px rgba(255, 255, 255, 0.5);
        transition: all 0.3s ease;
    }

    .btn-neumorphic:hover {
        box-shadow: inset 6px 6px 10px 0 rgba(163, 177, 198, 0.7), inset -6px -6px 10px 0 rgba(255, 255, 255, 0.8);
        transform: scale(0.98);
        color: var(--primary-color);
    }

    .btn-primary-glow {
        background: linear-gradient(45deg, var(--primary-color), var(--violet-soft));
        color: white;
        border: none;
        box-shadow: 0 4px 15px rgba(106, 133, 182, 0.4);
    }

    .btn-primary-glow:hover {
        box-shadow: 0 6px 20px rgba(106, 133, 182, 0.6);
        transform: translateY(-2px);
        color: white;
    }

    /* --- Section 2: Treatments --- */
    .treatment-card {
        text-align: center;
        padding: 30px 20px;
        height: 100%;
        border: 1px solid rgba(255, 255, 255, 0.4);
    }

    .treatment-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
        color: var(--primary-color);
        background: rgba(255, 255, 255, 0.5);
        width: 80px;
        height: 80px;
        line-height: 80px;
        border-radius: 50%;
        margin-inline: auto;
        transition: all 0.3s ease;
    }

    .treatment-card:hover .treatment-icon {
        background: var(--primary-color);
        color: white;
        box-shadow: 0 0 20px rgba(106, 133, 182, 0.5);
        transform: rotateY(180deg);
    }

    /* --- Section 3: FAQ --- */
    .faq-card {
        padding: 40px;
        height: 100%;
        position: relative;
        overflow: hidden;
    }

    .faq-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
    }

    /* --- Section 4: Doctors --- */
    .doctor-card {
        text-align: center;
        padding: 40px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    }

    .doctor-img-wrapper {
        width: 150px;
        height: 150px;
        margin: 0 auto 20px;
        border-radius: 50%;
        padding: 5px;
        background: linear-gradient(45deg, var(--primary-color), var(--warm-color));
        position: relative;
    }

    .doctor-img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid white;
        background-color: #ddd;
        /* Placeholder color */
    }

    /* --- Section 5: Quotes --- */
    .quotes-section {
        background: linear-gradient(to right, rgba(106, 133, 182, 0.1), rgba(197, 163, 207, 0.1));
    }

    .quote-card {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
        padding: 50px;
    }

    .quote-text {
        font-size: 1.8rem;
        font-style: italic;
        color: var(--text-dark);
    }

    .carousel-indicators [data-bs-target] {
        background-color: var(--primary-color);
    }

    /* --- Section 6: Contact --- */
    .contact-info-item {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 10px;
        transition: 0.3s;
    }

    .contact-info-item:hover {
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        background: var(--primary-color);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 20px;
        font-size: 1.2rem;
    }

    .map-container iframe {
        width: 100%;
        height: 350px;
        border-radius: 20px;
        border: none;
        box-shadow: var(--glass-shadow);
    }

    /* --- Footer --- */
    footer {
        background: linear-gradient(to right, #2c3e50, #4ca1af);
        color: white;
        padding: 30px 0;
        text-align: center;
    }

    .social-icons a {
        color: white;
        margin: 0 10px;
        font-size: 1.5rem;
        transition: 0.3s;
    }

    .social-icons a:hover {
        color: var(--accent-color);
        transform: scale(1.2);
    }

    /* --- Section 6: Google Reviews --- */
    .btn-google-review {
        background: white;
        color: var(--text-dark);
        font-weight: 700;
        padding: 15px 40px;
        border-radius: 50px;
        border: 2px solid var(--primary-color);
        box-shadow: 0 0 15px rgba(106, 133, 182, 0.3);
        transition: all 0.3s ease;
        font-size: 1.1rem;
        display: inline-flex;
        align-items: center;
    }

    .btn-google-review:hover {
        background: var(--primary-color);
        color: white;
        box-shadow: 0 0 25px rgba(106, 133, 182, 0.6);
        transform: translateY(-3px);
    }

    .btn-google-review i {
        color: #fbbc05;
        /* Google Star Color */
    }

    .review-widget-container {
        border-radius: 20px;
        overflow: hidden;
        box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
        background: rgba(255, 255, 255, 0.3);
        padding: 10px;
    }
}