/* ============================================
   OSIS Clinical Research - Main Stylesheet
   Color Scheme: Teal/Blue Gradient (from logo)
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors - Teal/Blue Gradient */
    --primary-teal: #0a9396;
    --primary-blue: #006D80;
    --primary-light: #94d2bd;
    --primary-dark: #006D80;
    
    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #0a9396 0%, #006D80 100%);
    --gradient-light: linear-gradient(135deg, #94d2bd 0%, #0a9396 100%);
    --gradient-hero: linear-gradient(135deg, #006D80 0%, #0a9396 50%, #a8e6cf 100%);
    
    /* Secondary Colors */
    --secondary: #ee9b00;
    --secondary-light: #ffb703;
    
    /* Neutrals */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #212529;
    
    /* Status Colors */
    --success: #2ecc71;
    --warning: #f39c12;
    --danger: #e74c3c;
    --info: #3498db;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ============================================
   Preloader
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Container & Section Styles
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--off-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-light);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(10, 147, 150, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 147, 150, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-teal);
}

.btn-secondary:hover {
    background: var(--primary-teal);
    color: var(--white);
}

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

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

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

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

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

.btn-nav {
    background: var(--white);
    color: var(--primary-blue);
    padding: 10px 24px;
    font-weight: 600;
    border-radius: var(--radius-md);
}

.navbar.scrolled .btn-nav {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.navbar.scrolled .nav-toggle span {
    background: var(--primary-dark);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/hero-bg.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 109, 128, 0.85) 0%, rgba(10, 147, 150, 0.75) 50%, rgba(168, 230, 207, 0.65) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 80px;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo img {
    height: 120px;
    width: auto;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    filter: brightness(1.15);
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
    margin-top: 4px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    animation: bounce 2s infinite;
}

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

/* ============================================
   About Section
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-teal);
    font-size: 1.2rem;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 280px;
}

.about-card i {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 12px;
}

.about-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--light-gray);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-teal);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-list {
    border-top: 1px solid var(--light-gray);
    padding-top: 16px;
}

.service-list li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li::before {
    content: '✓';
    color: var(--primary-teal);
    font-weight: bold;
}

/* ============================================
   Therapeutic Areas Section
   ============================================ */
.therapeutic {
    background: var(--gradient-hero);
    color: var(--white);
}

.therapeutic .section-badge {
    background: rgba(255, 255, 255, 0.2);
}

.therapeutic .section-header h2 {
    color: var(--white);
}

.therapeutic .section-header h2 .gradient-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.therapeutic .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.therapeutic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.therapeutic-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
}

.therapeutic-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.therapeutic-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.therapeutic-icon i {
    font-size: 1.5rem;
    color: var(--primary-teal);
}

.therapeutic-card h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.therapeutic-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Sponsors Section
   ============================================ */
.sponsors-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.sponsors-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.sponsors-info h3 {
    font-size: 1.75rem;
    margin-bottom: 30px;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.benefit-content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.benefit-content p {
    color: var(--gray);
    font-size: 0.95rem;
}

.sponsor-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.trusted-section {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--light-gray);
}

.trusted-section h3 {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--gray);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.trust-badge i {
    font-size: 2.5rem;
    color: var(--primary-teal);
}

.trust-badge span {
    font-weight: 600;
    color: var(--dark-gray);
}

/* ============================================
   Patients Section
   ============================================ */
.patients-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.patient-benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: var(--transition-normal);
}

.patient-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

.benefit-icon-large i {
    font-size: 2rem;
    color: var(--white);
}

.patient-benefit-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.patient-benefit-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Current Studies */
.current-studies {
    margin-bottom: 60px;
}

.current-studies h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.current-studies h3 i {
    color: var(--primary-teal);
}

.studies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.study-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    position: relative;
    transition: var(--transition-normal);
}

.study-card:hover {
    box-shadow: var(--shadow-md);
}

.study-status {
    position: absolute;
    top: -10px;
    right: 16px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.study-status.recruiting {
    background: var(--success);
    color: var(--white);
}

.study-status.coming-soon {
    background: var(--secondary);
    color: var(--white);
}

.study-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    padding-top: 8px;
}

.study-card > p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.study-details {
    border-top: 1px solid var(--light-gray);
    padding-top: 12px;
    margin-bottom: 16px;
}

.study-details li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    padding: 4px 0;
    color: var(--dark-gray);
}

.study-details li i {
    color: var(--primary-teal);
    width: 16px;
}

/* FAQ Section */
.patient-faq h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.patient-faq h3 i {
    color: var(--primary-teal);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--light-gray);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: var(--off-white);
}

.faq-question i {
    color: var(--primary-teal);
    transition: var(--transition-normal);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============================================
   Booking Section
   ============================================ */
.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.booking-form-section {
    padding: 40px;
    border-right: 1px solid var(--light-gray);
}

.booking-details-section {
    padding: 40px;
}

/* Appointment Type Selector */
.appointment-type-selector {
    margin-bottom: 30px;
}

.appointment-type-selector h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.appointment-type-selector h4 i {
    color: var(--primary-teal);
}

.type-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.type-option {
    cursor: pointer;
}

.type-option input {
    display: none;
}

.type-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.type-option input:checked + .type-content {
    border-color: var(--primary-teal);
    background: rgba(10, 147, 150, 0.05);
}

.type-content i {
    font-size: 1.25rem;
    color: var(--primary-teal);
    width: 24px;
    text-align: center;
}

.type-content span {
    font-weight: 600;
}

.type-content small {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: normal;
    margin-top: 2px;
}

/* Calendar Styles */
.calendar-wrapper {
    margin-bottom: 30px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-header h4 {
    font-size: 1.1rem;
}

.calendar-nav {
    width: 40px;
    height: 40px;
    border: 1px solid var(--light-gray);
    background: var(--white);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.calendar-nav:hover {
    background: var(--primary-teal);
    color: var(--white);
    border-color: var(--primary-teal);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 10px;
}

.calendar-weekdays span {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray);
    padding: 8px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.calendar-day:hover:not(.disabled):not(.other-month) {
    background: var(--primary-light);
    color: var(--white);
}

.calendar-day.selected {
    background: var(--gradient-primary);
    color: var(--white);
}

.calendar-day.today {
    border: 2px solid var(--primary-teal);
}

.calendar-day.disabled {
    color: var(--light-gray);
    cursor: not-allowed;
}

.calendar-day.other-month {
    color: var(--light-gray);
}

/* Time Slots */
.time-slots h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-slots h4 i {
    color: var(--primary-teal);
}

.select-date-prompt {
    color: var(--gray);
    font-style: italic;
    padding: 20px;
    text-align: center;
    background: var(--off-white);
    border-radius: var(--radius-md);
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.time-slot {
    padding: 12px;
    text-align: center;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-fast);
}

.time-slot:hover {
    border-color: var(--primary-teal);
    background: rgba(10, 147, 150, 0.05);
}

.time-slot.selected {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-teal);
}

.time-slot.unavailable {
    color: var(--light-gray);
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Booking Summary */
.booking-summary {
    background: var(--off-white);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
}

.booking-summary h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-summary h4 i {
    color: var(--primary-teal);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item .label {
    color: var(--gray);
}

.summary-item .value {
    font-weight: 600;
}

/* Booking Form */
.booking-form h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-form h4 i {
    color: var(--primary-teal);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(10, 147, 150, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   Testimonials Section - Carousel
   ============================================ */
.testimonials-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    min-width: calc(33.333% - 20px);
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 24px;
}

.quote-icon {
    color: var(--primary-light);
    font-size: 2rem;
    margin-bottom: 16px;
}

.testimonial-content p {
    color: var(--dark-gray);
    font-style: italic;
    line-height: 1.7;
    min-height: 90px;
}

.rating {
    margin-top: 16px;
}

.rating i {
    color: #ffc107;
    font-size: 1rem;
    margin-right: 2px;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.author-info h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-teal);
    background: var(--white);
    color: var(--primary-teal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--primary-teal);
    color: var(--white);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background: var(--primary-teal);
    transform: scale(1.2);
}

.carousel-dot:hover:not(.active) {
    background: var(--primary-light);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.info-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

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

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-form .form-row {
    margin-bottom: 0;
}

/* ============================================
   Map Section
   ============================================ */
.map-section {
    width: 100%;
    filter: grayscale(30%);
}

.map-section iframe {
    display: block;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.gallery-zoom {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-teal);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    opacity: 0;
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
}

.gallery-zoom:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-caption {
    text-align: center;
    color: var(--white);
    padding: 15px;
    font-size: 1.1rem;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10001;
}

.lightbox-close:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.lightbox-nav:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin: 20px 0;
    font-size: 0.95rem;
}

.footer-logo {
    height: 75px;
    width: auto;
    max-width: 300px;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-teal);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact ul li i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ============================================
   Modal
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 450px;
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.modal-icon.success {
    background: rgba(46, 204, 113, 0.1);
}

.modal-icon.success i {
    font-size: 2.5rem;
    color: var(--success);
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--gray);
    margin-bottom: 24px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .therapeutic-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        gap: 20px;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--primary-dark) !important;
        font-size: 1.1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .btn-nav {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .about-grid,
    .sponsors-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-card {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 20px;
        max-width: 100%;
    }
    
    .booking-container {
        grid-template-columns: 1fr;
    }
    
    .booking-form-section {
        border-right: none;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .patients-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card {
        min-width: calc(50% - 15px);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .therapeutic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .patients-benefits,
    .studies-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        min-width: calc(100% - 0px);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .therapeutic-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsor-cta {
        flex-direction: column;
    }
    
    .booking-form-section,
    .booking-details-section {
        padding: 24px;
    }
    
    .slots-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 24px;
    }
    
    .modal-content {
        padding: 30px 20px;
        margin: 0 20px;
    }
}
