/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Security Styles */
body {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Allow text selection only for input fields */
input, textarea, [contenteditable] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Disable image dragging */
img {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
    pointer-events: none !important;
}

/* Disable text selection on all elements */
*::selection {
    background: transparent !important;
}

*::-moz-selection {
    background: transparent !important;
}

:root {
    --primary-color: #0b241e;
    --secondary-color: #164038;
    --accent-color: #31675d;
    --text-light: #ffffff;
    --text-dark: #333333;
    --gradient-primary: linear-gradient(135deg, #0b241e 0%, #164038 50%, #31675d 100%);
    --gradient-secondary: linear-gradient(45deg, #164038 0%, #31675d 100%);
    --shadow-light: 0 4px 15px rgba(11, 36, 30, 0.1);
    --shadow-medium: 0 8px 30px rgba(11, 36, 30, 0.2);
    --shadow-heavy: 0 15px 50px rgba(11, 36, 30, 0.3);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 36, 30, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo h2 {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

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

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

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1002;
}

.language-btn {
    background: var(--gradient-secondary);
    color: var(--text-light);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    position: relative;
    z-index: 1003;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Social Media Floating Buttons */
.social-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.facebook-btn {
    background: #1877F2;
    color: white;
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.1);
}

.facebook-btn:hover {
    box-shadow: 0 20px 40px rgba(24, 119, 242, 0.4);
}

.instagram-btn:hover {
    box-shadow: 0 20px 40px rgba(225, 48, 108, 0.4);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Section Styles */
.section {
    padding: 6rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #4dd0e1;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
    filter: brightness(1.3);
}

/* Home Section */
.home-section {
    background: var(--gradient-primary);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

/* Medical Background Icons */
.medical-icons-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.medical-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.08);
    font-size: 2.5rem;
    animation: float 8s ease-in-out infinite;
    transition: all 0.3s ease;
}

.medical-icon:hover {
    color: rgba(77, 208, 225, 0.15);
    transform: scale(1.1);
}

/* Individual Icon Positioning */
.icon-1 { top: 10%; left: 5%; animation-delay: 0s; }
.icon-2 { top: 15%; right: 8%; animation-delay: 1s; }
.icon-3 { top: 25%; left: 12%; animation-delay: 2s; }
.icon-4 { top: 35%; right: 15%; animation-delay: 3s; }
.icon-5 { top: 45%; left: 8%; animation-delay: 4s; }
.icon-6 { top: 55%; right: 12%; animation-delay: 5s; }
.icon-7 { top: 65%; left: 15%; animation-delay: 6s; }
.icon-8 { top: 75%; right: 8%; animation-delay: 7s; }
.icon-9 { top: 20%; left: 50%; animation-delay: 1.5s; }
.icon-10 { top: 40%; right: 25%; animation-delay: 3.5s; }
.icon-11 { top: 60%; left: 25%; animation-delay: 5.5s; }
.icon-12 { top: 80%; left: 50%; animation-delay: 7.5s; }
.icon-13 { top: 30%; right: 35%; animation-delay: 2.5s; }
.icon-14 { top: 50%; left: 35%; animation-delay: 4.5s; }
.icon-15 { top: 70%; right: 35%; animation-delay: 6.5s; }

/* Responsive Icon Sizing */
@media (max-width: 768px) {
    .medical-icon {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .medical-icon {
        font-size: 1.5rem;
    }
    
    .icon-1, .icon-2, .icon-3, .icon-4, .icon-13, .icon-14, .icon-15 { display: none; }
}

.home-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.doctor-image {
    text-align: center;
}

.doctor-photo {
    width: 100%;
    max-width: 300px;
    height: 375px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

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

.doctor-photo:hover {
    transform: scale(0.8);
}

.doctor-info {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.doctor-name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-light);
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

.doctor-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4dd0e1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    filter: brightness(1.2);
}

.doctor-specialty {
    font-size: 1.2rem;
    opacity: 1;
    line-height: 1.6;
    color: var(--text-light);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #1a4a3a 0%, #2d5a4a 100%);
    color: var(--text-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-light);
    opacity: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.credentials h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #4dd0e1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    filter: brightness(1.2);
    text-align: center;
}

/* Credentials Grid */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Credential Cards */
.credential-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.credential-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4dd0e1, #26c6da, #00acc1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.credential-card:hover::before {
    transform: scaleX(1);
}

.credential-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: #4dd0e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Credential Card Types */
.credential-card.primary {
    border-left: 4px solid #4dd0e1;
}

.credential-card.education {
    border-left: 4px solid #26c6da;
}

.credential-card.insurance {
    border-left: 4px solid #00acc1;
}

.credential-card.fellowship {
    border-left: 4px solid #0097a7;
}

.credential-card.association {
    border-left: 4px solid #00838f;
}

/* Credential Icon */
.credential-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #4dd0e1, #26c6da);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    box-shadow: 0 3px 10px rgba(77, 208, 225, 0.3);
    transition: all 0.3s ease;
}

.credential-card:hover .credential-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(77, 208, 225, 0.4);
}

.credential-icon i {
    font-size: 0.9rem;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Credential Content */
.credential-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.4rem;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.credential-content p {
    font-size: 0.75rem;
    color: #4dd0e1;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .credential-card {
        padding: 0.8rem;
    }
    
    .credential-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 0.6rem;
    }
    
    .credential-icon i {
        font-size: 0.8rem;
    }
    
    .credential-content h4 {
        font-size: 0.85rem;
    }
    
    .credential-content p {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .credentials h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    .credentials-grid {
        gap: 0.6rem;
    }
    
    .credential-card {
        padding: 0.7rem;
    }
    
    .credential-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 0.5rem;
    }
    
    .credential-icon i {
        font-size: 0.75rem;
    }
    
    .credential-content h4 {
        font-size: 0.8rem;
    }
    
    .credential-content p {
        font-size: 0.65rem;
    }
}

.about-image {
    animation: slideInRight 1s ease-out;
}

.about-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.about-photo:hover {
    transform: scale(1.02);
}

/* Education Section */
.education-section {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.education-content {
    max-width: 1000px;
    margin: 0 auto;
}

.education-intro {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out;
}

.education-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 1;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.loading-state {
    text-align: center;
    padding: 3rem;
    animation: fadeIn 0.5s ease-out;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

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

.pdfs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.pdf-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.pdf-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.pdf-card:hover::before {
    left: 100%;
}

.pdf-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.pdf-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.pdf-card:hover i {
    transform: scale(1.1);
    color: var(--text-light);
}

.pdf-card h4 {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.pdf-card:hover h4 {
    color: var(--accent-color);
}

.pdf-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.pdf-card:hover p {
    opacity: 1;
}

.download-btn {
    background: var(--accent-color);
    color: var(--text-light);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(49, 103, 93, 0.3);
}

/* Empty and Error States */
.empty-state, .error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease-out;
}

.empty-state i, .error-state i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.empty-state i {
    color: var(--accent-color);
}

.error-state i {
    color: #dc3545;
}

.empty-state h3, .error-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.empty-state p, .error-state p {
    font-size: 1.1rem;
    opacity: 1;
    line-height: 1.6;
    color: var(--text-light);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

/* Videos Section */
.videos-section {
    background: linear-gradient(135deg, #1a4a3a 0%, #2d5a4a 100%);
    color: var(--text-light);
}

.videos-intro {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out;
}

.videos-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    opacity: 1;
    padding: 0 1rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.video-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 100%;
    min-height: 300px;
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(49, 103, 93, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.video-card:hover::before {
    opacity: 1;
}

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.2);
}

.video-embed-container {
    width: 100%;
    height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.video-embed {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: relative;
    z-index: 10;
}

/* Show YouTube open icon only on hover */
.video-card {
    position: relative;
}

/* Video title under the video */
.video-title-under {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.video-title-under .video-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Title as external link styling */
.video-title a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.video-title a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Removed hover scale effect on video embed to prevent interference with video controls */

.video-info {
    padding: 1rem 1.25rem 1.25rem;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Ensure the video title is clearly visible */
.video-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.video-title a {
    color: inherit;
    text-decoration: none;
}

.video-title a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.video-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
    transition: var(--transition);
}

.video-card:hover .video-title {
    color: var(--accent-color);
}

.video-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    transition: var(--transition);
}

.video-card:hover .video-description {
    color: var(--text-light);
}

/* Video Thumbnail Styles */
.video-thumbnail-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-thumbnail-container:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-thumbnail-container:hover .play-button {
    background: rgba(49, 103, 93, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
    border-color: var(--accent-color);
}

.play-button i {
    margin-left: 3px; /* Slight offset to center the play icon */
}

.video-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.video-actions button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.video-actions button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.video-actions button:hover::before {
    left: 100%;
}

.video-actions button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(49, 103, 93, 0.3);
}

.video-actions button.delete {
    background: #dc3545;
}

.video-actions button.delete:hover {
    background: #c82333;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

/* Clinics Section */
.clinics-section {
    background: var(--gradient-secondary);
    color: var(--text-light);
}

.clinics-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.clinics-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.clinic-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.clinic-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.clinic-card.active {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--accent-color);
}

.clinic-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #4dd0e1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    filter: brightness(1.2);
    line-height: 1.3;
}

.clinic-address {
    margin-bottom: 1rem;
    opacity: 1;
    color: var(--text-light);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.clinic-address::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #4dd0e1;
    margin-top: 0.2rem;
    flex-shrink: 0;
    font-size: 1rem;
}

.clinic-phone {
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-light);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
}

.clinic-phone::before {
    content: '\f095';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #4dd0e1;
    flex-shrink: 0;
    font-size: 1rem;
}

.clinic-schedule {
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: #4dd0e1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.clinic-schedule::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #4dd0e1;
    margin-top: 0.2rem;
    flex-shrink: 0;
    font-size: 1rem;
}

.view-map-btn {
    background: var(--accent-color);
    color: var(--text-light);
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    margin-top: auto;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 10px rgba(77, 208, 225, 0.3);
}

.view-map-btn::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
}

.view-map-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.view-map-btn:active {
    transform: translateY(0);
    background: var(--primary-color);
}

.map-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 0;
    min-height: 500px;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    backdrop-filter: blur(10px);
    position: relative;
    flex: 1;
    overflow: hidden;
    width: 100%;
}

.map-info {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px 8px 0 0;
    padding: 1rem;
    margin: 0;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px 8px 0 0;
}

.map-info h3 {
    color: #4dd0e1;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    filter: brightness(1.2);
}

.map-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.map-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
}

.map-actions button {
    background: var(--accent-color);
    color: var(--text-light);
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.map-actions button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Google Maps iframe styling */
.map-container iframe {
    width: 100% !important;
    height: 400px !important;
    min-height: 400px !important;
    max-width: 100%;
    border-radius: 0 0 8px 8px;
    margin: 0;
    border: 0;
    overflow: hidden;
    display: block;
    flex: 1;
    background: #f0f0f0;
}

/* Map iframe container */
.map-iframe-container {
    width: 100%;
    height: 400px;
    min-height: 400px;
    flex: 1;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: 0 0 8px 8px;
}

/* Loading state for iframe */
.map-container iframe[src=""] {
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Ensure map content doesn't overflow */
#google-map {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    display: block;
    contain: layout;
}

/* Additional containment for map container */
.map-container {
    contain: layout style;
    box-sizing: border-box;
}

/* Ensure iframe is properly contained */
.map-container iframe {
    box-sizing: border-box;
    display: block;
    contain: layout;
}

.map-placeholder {
    text-align: center;
    opacity: 0.7;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

/* Reviews Section */
.reviews-section {
    background: linear-gradient(135deg, #1a4a3a 0%, #2d5a4a 100%);
    color: var(--text-light);
}

.reviews-stats {
    text-align: center;
    margin-bottom: 3rem;
}

.rating-overview {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
    width: 100%;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.review-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex: 0 0 300px;
    scroll-snap-align: start;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.2);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 1rem;
}

.review-name {
    font-weight: 600;
    color: var(--text-light);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.review-rating {
    color: #ffc107;
    margin-left: auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.review-text {
    line-height: 1.6;
    color: var(--text-light);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

/* Contact Section */
.contact-section {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
    width: 100%;
}

/* Mobile responsive contact */
@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    flex: 0 0 250px;
    scroll-snap-align: start;
}

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

.contact-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.contact-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.contact-item a:hover {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
}

.footer-credits {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-credits a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-credits a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

/* RTL Support */
.rtl {
    direction: rtl;
}

.rtl .nav-menu {
    text-align: right;
}

.rtl .home-content {
    direction: rtl;
}

.rtl .about-content {
    direction: rtl;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
        padding: 0 15px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s ease-in-out;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
        gap: 0;
        z-index: 1000;
        height: calc(100vh - 70px);
        overflow-y: auto;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1004;
        cursor: pointer;
        pointer-events: auto;
    }
    
    /* Ensure nav links work properly on mobile */
    .nav-link {
        padding: 1rem 2rem;
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Fix header layout on mobile */
    .header {
        padding: 0;
    }
    
    .navbar {
        padding: 1rem 0;
    }

    .home-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .doctor-name {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .clinics-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .clinic-card {
        padding: 1.5rem;
    }
    
    .map-info {
        padding: 1rem;
        margin-bottom: 0;
    }
    
    .map-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .map-actions button {
        width: 100%;
        text-align: center;
    }
    
    /* Mobile-specific view map button styles */
    .view-map-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 700;
        background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.1);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .view-map-btn:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .clinic-card.active .view-map-btn {
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        animation: pulse 2s infinite;
    }
    
    .clinic-card {
        min-height: 300px;
        padding: 1.5rem;
    }
    
    #google-map {
        max-width: 100%;
        overflow: hidden;
    }

    /* Videos section responsive */
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-card {
        margin-bottom: 1rem;
    }

    .video-title {
        font-size: 1.1rem;
    }

    .video-description {
        font-size: 0.9rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .social-float {
        bottom: 20px;
        right: 20px;
        gap: 0.8rem;
    }

    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Fix mobile navigation spacing */
    .nav-controls {
        gap: 0.5rem;
    }
    
    .language-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .language-btn span {
        font-size: 0.8rem;
    }
}

/* Tablet responsive styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 4rem 0;
    }

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

    .doctor-name {
        font-size: 1.8rem;
    }

    .doctor-title {
        font-size: 1.2rem;
    }

    .doctor-specialty {
        font-size: 1rem;
    }
    
    /* Videos section for small screens */
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .video-card {
        padding: 1rem;
    }

    .video-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .video-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .video-embed {
        height: 200px;
    }
    
    /* Mobile navigation improvements */
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
    }
    
    .nav-controls {
        gap: 0.3rem;
    }
    
    .language-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .hamburger {
        gap: 3px;
    }
    
    .bar {
        width: 20px;
        height: 2px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(50px);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(77, 208, 225, 0.4);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

/* Interactive Elements */
.interactive {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive:hover {
    transform: translateY(-2px);
}

.interactive:active {
    transform: translateY(0);
}

/* Loading Animations */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Staggered Animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

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

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Facebook Video Support */
.facebook-video-preview {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.facebook-video-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
}

.facebook-video-content {
    text-align: center;
    color: white;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.facebook-video-preview:hover .facebook-video-content {
    background: rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.facebook-video-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.facebook-video-content h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.facebook-video-content p {
    margin: 0 0 15px 0;
    font-size: 14px;
    opacity: 0.9;
}

.facebook-watch-btn {
    background: #1877f2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.facebook-watch-btn:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Platform Badge Styling for Videos */
.video-platform-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.video-platform-badge.youtube {
    background: #ff0000;
    color: white;
}

.video-platform-badge.facebook {
    background: #1877f2;
    color: white;
}

.video-platform-badge.other {
    background: #6c757d;
    color: white;
}

/* Facebook Video Loading State */
.video-embed[src*="facebook.com"]:not([src=""]) {
    background: #f0f0f0;
    border: 1px solid #ddd;
}

/* Ensure Facebook videos are responsive */
@media (max-width: 768px) {
    .video-embed[src*="facebook.com"] {
        height: 200px;
    }
}
