/**
 * Theme Name: HealthCare Medical Center
 * Description: A modern and responsive medical center WordPress theme
 * Version: 1.0.0
 * Author: Your Name
 */

:root {
    --primary-color: #e74c3c;
    --secondary-color: #c0392b;
    --accent-color: #ff6b6b;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Top Header */
.top-header {
    background: var(--dark-color);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-header a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.top-header a:hover {
    color: var(--accent-color);
}

/* Main Header */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-img {
    height: 60px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.btn-book {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-book:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(231,76,60,0.3);
    color: white;
}

/* Banner */
.banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(231,76,60,0.6)), url('https://gov-web-sing.s3.ap-southeast-1.amazonaws.com/uploads/2023/1/Wordpress-featured-images-48-1672795987342.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s;
}

.banner-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    margin: 0 auto;
    border-radius: 10px;
}

/* About Section */
.about-section {
    background: url('https://www.curianmedical.co.uk/wp-content/uploads/2021/10/medical-bg-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.95);
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.about-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Services Dropdown */
.services-nav {
    background: var(--light-color);
    padding: 20px 0;
}

.service-dropdown .dropdown-toggle {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
}

.service-dropdown .dropdown-menu {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 15px;
}

.service-dropdown .dropdown-item {
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s;
    font-weight: 500;
}

.service-dropdown .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(231,76,60,0.1), rgba(255,107,107,0.1));
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Speciality Flip Boxes */
.flip-box {
    background-color: transparent;
    width: 100%;
    height: 300px;
    perspective: 1000px;
    margin-bottom: 30px;
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.flip-box-front {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.flip-box-back {
    background: white;
    color: var(--dark-color);
    transform: rotateY(180deg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.flip-box-front i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.flip-box-front h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

.flip-box-back p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Video Gallery */
.video-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s;
}

.video-card:hover {
    transform: translateY(-10px);
}

.video-card iframe {
    width: 100%;
    height: 250px;
    border: none;
}

.video-info {
    padding: 20px;
    background: white;
}

.video-info h5 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* Team Section */
.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    margin-bottom: 30px;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-img {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.team-info p {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.team-social a {
    color: var(--dark-color);
    margin: 0 8px;
    transition: color 0.3s;
}

.team-social a:hover {
    color: var(--primary-color);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    color: white;
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Booking Section */
.booking-section {
    background: var(--light-color);
}

.booking-container {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    max-width: 900px;
    margin: 0 auto;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #999;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.step.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(231,76,60,0.4);
}

.step.completed {
    background: #27ae60;
    color: white;
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-control, .form-select {
    border: 2px solid #e8e8e8;
    border-radius: 15px;
    padding: 15px 20px;
    transition: all 0.3s;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(231,76,60,0.15);
    transform: translateY(-2px);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-option {
    background: var(--light-color);
    border: 3px solid #e8e8e8;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.service-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-option.selected {
    background: linear-gradient(135deg, rgba(231,76,60,0.1), rgba(255,107,107,0.1));
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(231,76,60,0.2);
}

.service-option .service-icon-small {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s;
}

.service-option.selected .service-icon-small {
    transform: scale(1.1);
}

.service-option h6 {
    margin: 0;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.service-option .check-mark {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-option.selected .check-mark {
    display: flex;
}

.btn-next, .btn-prev, .btn-submit {
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.btn-next, .btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.btn-prev {
    background: #6c757d;
    color: white;
}

.btn-next:hover, .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231,76,60,0.3);
}

/* Contact Section */
.contact-section {
    background: url('https://www.curianmedical.co.uk/wp-content/uploads/2021/10/medical-bg-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(231,76,60,0.9);
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-section .section-title h2,
.contact-section .section-title p {
    color: white;
}

.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-section h5 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .booking-container {
        padding: 20px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .flip-box {
        height: 250px;
    }
}