/* Custom CSS for MindCare Therapy Clinic */

:root {
    --primary-color: #f87025;
    --secondary-color: #0dcaf0;
    --danger-color: #fe0002;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
    
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

.section-title {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

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

/* Top Header */
.top-header {
    background-color: var(--danger-color);
    color: var(--white-color);
    padding: 10px 0;
    font-size: 0.9rem;
}

.contact-info span {
    display: inline-block;
    margin-right: 1rem;
}

.social-icons a {
    color: var(--white-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Main Header */
.main-header {
    background-color: var(--white-color);
    box-shadow: var(--shadow-light);
    padding: 1rem 0;
    transition: var(--transition);
}

.main-header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--white-color);
    box-shadow: var(--shadow-medium);
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
        /* width: 100%; */
    height: 46px;
    border-radius: var(--border-radius);
    margin-right: 0.5rem;
}

.brand-text {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
} */

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-appointment {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-appointment:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Hero Section */
.hero-section {
    /* position: relative; */
    margin-top: -80px;
    padding-top: 80px;
}

.hero-section .carousel-item {
    height: 80vh;
    min-height: 600px;
}

.hero-section .carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(0.7);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.carousel-caption .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: rgba(248, 112, 37, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

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

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

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--primary-color);
}
 
/* Specialized Services Section */
.specialized-services {
    background-color: var(--light-color);
}

.specialized-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.specialized-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.specialized-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
}

.card-content h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.card-content a {
    color: var(--gray-color);
    margin-bottom: 0;
} 

 
/* Services Section */
.services-section {
    background-color: var(--light-color);
}

.service-card {
    background-color: var(--white-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white-color);
}
.service-icon i{
    font-size: 35px;
    color: #fff!important;
}
.service-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 0;
}



/* Pain Section */
.pain-section {
    background-color: var(--light-color);
}

.pain-content h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}
 
.pain-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pain-list li {
    padding-bottom: 5px;
    display: flex;
    align-items: center;
}

.pain-list i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.pain-cta .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
}

.pain-cta .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pain-cta .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.pain-cta .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--white-color);
    position: relative;
}

.testimonial-card {
    background-color: var(--light-color);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    max-width: 800px;
    margin: 0 auto;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--dark-color);
    margin: 2rem 0;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.testimonial-role {
    color: var(--gray-color);
    font-size: 0.9rem;
}

#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
    background-color: var(--primary-color);
    width: 50px;
    height: 50px;
}

/* Help Desk Section */
.help-desk-section {
    background-color: var(--light-color);
}

.contact-form {
    background-color: var(--white-color);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
}

.contact-form h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.contact-form p {
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(248, 112, 37, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.help-desk-content {
    padding: 2rem;
}

.help-desk-content h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.help-desk-content p {
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h6 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.emergency-contact {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--border-radius);
}

.emergency-contact h6 {
    color: #856404;
    margin-bottom: 0.5rem;
}

.emergency-contact p {
    color: #856404;
    margin-bottom: 0;
}

/* Appointment Section */
.appointment-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
}

.appointment-content h2 {
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

.appointment-content .lead {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.appointment-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    margin-bottom: 1rem;
}

.appointment-buttons .btn-primary {
    background-color: var(--white-color);
    color: var(--primary-color);
    border-color: var(--white-color);
}

.appointment-buttons .btn-primary:hover {
    background-color: transparent;
    color: var(--white-color);
    border-color: var(--white-color);
}

.appointment-buttons .btn-outline-primary {
    color: var(--white-color);
    border-color: var(--white-color);
}

.appointment-buttons .btn-outline-primary:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    border-color: var(--white-color);
}

/* Footer Section */
.footer-section {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 3rem 0 1rem;
}

.footer-widget h5 {
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

.footer-widget p {
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #bdc3c7;
}
@media (max-width:767px){
    .footer-contact p {
        font-size: 15px;
    }
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-divider {
    border-color: #34495e;
    margin: 2rem 0 1rem;
}

.footer-copyright {
    color: #95a5a6;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-heavy);
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-bottom: none;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 1rem;
}

.modal-footer {
    border-top: none;
    padding: 1rem 2rem 2rem;
}

/* Button Styles */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #e05722;
    border-color: #e05722;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.btn-secondary {
    background-color: var(--gray-color);
    border-color: var(--gray-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}
.service-content h2{
    font-size:30px;
}
.service-content h3{
    font-size:20px;
}
.service-content h4{
    font-size:17px;
}
/* Responsive Design */
@media (max-width: 991.98px) {
    .top-header {
        text-align: center;
        display: none;
    }
    
    .top-header .row > div {
        margin-bottom: 0.5rem;
    }
    
    .navbar-nav {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .btn-appointment {
        width: 100%;
        margin-top: 1rem;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .pain-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .appointment-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .service-card,
    .specialized-card,
    .contact-form {
        margin-bottom: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .help-desk-content {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .footer-section {
        /* text-align: center; */
    }
    
    .footer-widget {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section .carousel-item {
        height: 60vh;
        min-height: 500px;
    }
    
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .patient-type-card {
        padding: 1.5rem 1rem;
    }
    
    .patient-type-card i {
        font-size: 2rem;
    }
    
    .contact-item {
        /* flex-direction: column;
        text-align: center; */
    }
    
    .contact-icon {
        /* margin: 0 auto 1rem; */
    }
}

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

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out forwards;
}

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

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e05722;
}
  

#facility-section .facility-btn {
    background: linear-gradient(to right, #a7c8e5, #c3d4ec, #dae1f3, #eff0f9, #ffffff);
    border-radius: 10px;
    border: none;
    box-shadow: none;
}