/* Custom CSS for Serenity Hypnotherapy */

:root {
    --primary-color: #8A2BE2;
    --secondary-color: #4B0082;
    --accent-color: #9370DB;
    --dark-color: #0D0D0D;
    --light-color: #1A1A1A;
    --gradient: linear-gradient(135deg, #4B0082 0%, #8A2BE2 50%, #9370DB 100%);
    --gradient-hover: linear-gradient(135deg, #3A006B 0%, #7B1FA2 50%, #8A63D2 100%);
    --gradient-dark: linear-gradient(135deg, rgba(75, 0, 130, 0.9) 0%, rgba(138, 43, 226, 0.9) 50%, rgba(147, 112, 219, 0.9) 100%);
    --text-dark: #E8E8E8;
    --text-light: #B8B8B8;
    --text-violet: #D8BFD8;
    --shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
    --shadow-hover: 0 20px 40px rgba(138, 43, 226, 0.4);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.5);
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #0D0D0D;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.section-padding {
    padding: 100px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-appointment {
    background: var(--gradient);
    color: white !important;
    margin-left: 15px;
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(138, 43, 226, 0.3);
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    z-index: 1050;
    position: fixed !important;
    top: 0;
    width: 100%;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color) !important;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(147, 112, 219, 0.5);
    display: flex;
    align-items: center;
}



.navbar-toggler {
    border: 1px solid rgba(147, 112, 219, 0.5);
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(147, 112, 219, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28147, 112, 219, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color) !important;
    text-shadow: 0 0 10px rgba(147, 112, 219, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.8) 0%, rgba(75, 0, 130, 0.9) 25%, rgba(138, 43, 226, 0.9) 75%, rgba(147, 112, 219, 0.8) 100%),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.3) 0%, rgba(13, 13, 13, 0.7) 100%);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(138, 43, 226, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0.95;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    /* border-radius: var(--border-radius);
    box-shadow: var(--shadow-dark);
    border: 2px solid rgba(138, 43, 226, 0.3); */
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-btn {
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* About Section */
.about-image img {
    /* border-radius: var(--border-radius);
    box-shadow: var(--shadow-dark);
    border: 2px solid rgba(138, 43, 226, 0.3); */
}

.credentials {
    margin-top: 2rem;
}

.credential-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 20px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(75, 0, 130, 0.1) 100%);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 10px;
    box-shadow: var(--shadow-dark);
    transition: var(--transition);
}

.credential-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(138, 43, 226, 0.5);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(75, 0, 130, 0.2) 100%);
}

.credential-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-right: 15px;
    min-width: 40px;
    text-shadow: 0 0 10px rgba(147, 112, 219, 0.5);
}

.credential-item h5 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.credential-item p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Services Section */
.service-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(75, 0, 130, 0.1) 100%);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(138, 43, 226, 0.2);
    box-shadow: var(--shadow-dark);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(138, 43, 226, 0.5);
    background: linear-gradient(135deg, rgba(26, 26, 26, 1) 0%, rgba(75, 0, 130, 0.2) 100%);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h4 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-card ul li {
    padding: 5px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    text-shadow: 0 0 5px rgba(147, 112, 219, 0.5);
}

.service-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
    border-top: 1px solid rgba(138, 43, 226, 0.3);
    padding-top: 15px;
    text-shadow: 0 0 10px rgba(147, 112, 219, 0.3);
}

/* Testimonials Section */
.testimonial-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(75, 0, 130, 0.1) 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(138, 43, 226, 0.2);
    box-shadow: var(--shadow-dark);
    height: 100%;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(138, 43, 226, 0.5);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: var(--accent-color);
    margin-right: 3px;
    text-shadow: 0 0 5px rgba(147, 112, 219, 0.5);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text-light);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h5 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev i,
.carousel-control-next i {
    color: white;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-form {
    background: rgba(26, 26, 26, 0.3);
    padding: 40px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.3);
    box-shadow: var(--shadow-dark);
    position: relative;
    z-index: 10;
}

.contact-form .form-control {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(138, 43, 226, 0.3);
    color: var(--text-dark);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    background: rgba(26, 26, 26, 0.9);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(147, 112, 219, 0.3);
    color: white;
}

.contact-form .form-control::placeholder {
    color: var(--text-light);
}

.contact-info {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.contact-info i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(147, 112, 219, 0.5);
}

.contact-info h5 {
    color: white;
    margin-bottom: 10px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Contact Section - Matching Hero Style */
.contact-section {
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.8) 0%, rgba(75, 0, 130, 0.9) 25%, rgba(138, 43, 226, 0.9) 75%, rgba(147, 112, 219, 0.8) 100%),
                url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
    overflow: hidden;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.3) 0%, rgba(13, 13, 13, 0.7) 100%);
}

.contact-section .section-title {
    text-shadow: 2px 2px 10px rgba(138, 43, 226, 0.5);
}

.contact-section .section-subtitle {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(138, 43, 226, 0.3);
    background: #0D0D0D;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Navbar Logo Styling */
.navbar-logo {
    height: 40px;
    width: auto;
    margin-right: 12px;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--transition);
    filter: drop-shadow(0 0 8px rgba(147, 112, 219, 0.5));
}

.navbar-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(147, 112, 219, 0.8));
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        display: block;
        margin: 10px 0;
        width: 100%;
    }

    .btn-appointment {
        margin-left: 0 !important;
        margin-top: 10px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .hero-image img {
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 40px 0;
    }

    .service-card,
    .testimonial-card {
        margin-bottom: 30px;
    }

    .hero-image img {
        max-width: 250px;
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient);
    z-index: 1000;
    transition: width 0.1s ease;
}

/* Floating Elements */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0D0D0D;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-hover);
}

/* Mysterious Glow Effects */
.section-padding {
    position: relative;
}

.section-padding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(138, 43, 226, 0.5) 50%, transparent 100%);
}

/* Dark Background Sections */
.bg-dark {
    background: radial-gradient(ellipse at center, rgba(75, 0, 130, 0.1) 0%, rgba(13, 13, 13, 1) 70%);
}

/* Mystical Particle Animation */
@keyframes mysticalFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 1;
    }
}

.mystical-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
    animation: mysticalFloat 8s ease-in-out infinite;
}

/* Enhanced Glowing Text */
.glow-text {
    text-shadow: 0 0 10px rgba(147, 112, 219, 0.5),
                 0 0 20px rgba(147, 112, 219, 0.3),
                 0 0 30px rgba(147, 112, 219, 0.2);
}
