/*
 * Legacy of Healing: A Tribute to Dr. Bakri & Dr. Grover
 * Custom CSS Styles
 */

/* Global Styles */
:root {
    --color-cream: #f8f5e6;
    --color-gold: #d4af37;
    --color-gold-light: #e9d18b;
    --color-white: #ffffff;
    --color-rose: #f8d7da;
    --color-text: #333333;
    --font-cairo: 'Cairo', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
    --font-hind: 'Hind', sans-serif;
}

body {
    font-family: var(--font-poppins);
    color: var(--color-text);
    overflow-x: hidden;
    padding-top: 76px; /* Account for fixed navbar */
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.2;
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

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

.nav-link.active {
    color: var(--color-gold);
}

.nav-link.active::after {
    width: 80%;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.arabic {
    font-family: var(--font-cairo);
}

.section-title {
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-gold);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
                url('https://images.unsplash.com/photo-1618015359994-a69c9c26a5eb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="%23d4af37" fill-opacity="0.1" d="M50 0 L100 50 L50 100 L0 50 Z"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.animated-headline {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* 3D White Title Effect */
.white-3d-title {
    font-weight: 900;
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(500px) rotateX(5deg);
    padding: 1.5rem 2rem;
    line-height: 1.5;
    display: inline-block;
    border-radius: 15px;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 0, 0, 0.1);
    max-width: 90%;
    margin: 0 auto;
}

.white-3d-title .title-line {
    display: block;
    margin-bottom: 0.8rem;
    color: #000;
    text-shadow:
        -1px -1px 0 #555,
        1px -1px 0 #555,
        -1px 1px 0 #555,
        1px 1px 0 #555,
        0 2px 0 #777,
        0 3px 0 #888,
        0 4px 0 #999,
        0 5px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    font-size: 1.1em;
}

.white-3d-title .title-line:last-child {
    margin-bottom: 0;
}

@keyframes golden-glow {
    0% {
        text-shadow:
            0 0 5px rgba(255, 215, 0, 0.7),
            0 0 10px rgba(255, 215, 0, 0.5),
            0 0 15px rgba(255, 215, 0, 0.3),
            0 0 20px rgba(255, 215, 0, 0.2),
            0 0 30px rgba(255, 215, 0, 0.1),
            2px 2px 2px rgba(0, 0, 0, 0.5);
    }
    100% {
        text-shadow:
            0 0 10px rgba(255, 215, 0, 0.9),
            0 0 20px rgba(255, 215, 0, 0.7),
            0 0 30px rgba(255, 215, 0, 0.5),
            0 0 40px rgba(255, 215, 0, 0.3),
            0 0 50px rgba(255, 215, 0, 0.2),
            2px 2px 2px rgba(0, 0, 0, 0.5);
    }
}

.btn-tribute {
    background-color: var(--color-gold);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-tribute:hover {
    background-color: var(--color-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-gallery {
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

.btn-gallery:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Multimedia Section */
.multimedia-section {
    background-color: var(--color-cream);
    padding: 80px 0;
}

.tribute-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: var(--color-white);
}

.tribute-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-title {
    color: var(--color-text);
    font-weight: 600;
}

.card-subtitle {
    color: var(--color-gold);
    font-weight: 500;
}

.video-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.video-placeholder {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-overlay:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.overlay-content {
    background-color: var(--color-gold);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.overlay-content i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.video-overlay:hover .overlay-content {
    opacity: 1;
    transform: translateY(0);
}

/* About Surgeons Section */
.about-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.surgeon-profile {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.profile-header {
    text-align: center;
    margin-bottom: 20px;
}

.profile-image-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--color-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--color-gold);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.traits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.trait-badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--color-cream);
    color: var(--color-text);
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0 5px 10px;
    border: 1px solid var(--color-gold-light);
}

.profile-quote {
    font-style: italic;
    border-left: 4px solid var(--color-gold);
    padding-left: 15px;
    margin: 20px 0;
}

.arabic-quote {
    direction: rtl;
    text-align: right;
    border-right: 4px solid var(--color-gold);
    border-left: none;
    padding-right: 15px;
    padding-left: 0;
}

.profile-description {
    line-height: 1.7;
}

.profile-video {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-gold-light);
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-gold);
    text-align: center;
}

.video-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 5px;
    padding-left: 5px;
    border-left: 3px solid var(--color-gold);
}

.profile-video-strip {
    padding: 10px;
    background-color: var(--color-cream);
    border-radius: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.video-thumbnail.active {
    border-color: var(--color-gold);
}

.video-thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.video-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.video-thumbnail::before {
    content: '\f04b';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    z-index: 2;
    opacity: 0;
    transition: all 0.3s ease;
}

.video-thumbnail:hover::after {
    opacity: 1;
}

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

/* Testimonials Section */
.testimonials-section {
    background-color: var(--color-cream);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23d4af37" fill-opacity="0.1" d="M30,10 Q50,20 70,10 L70,50 Q50,60 30,50 Z"/></svg>');
    background-size: 100px 100px;
    opacity: 0.2;
    z-index: 0;
}

.testimonial-card {
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-gold-light);
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.quote-icon {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    display: block;
}

.testimonial-author p {
    color: #777;
    font-size: 0.9rem;
    font-weight: 600;
    font-style: italic;
    position: relative;
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--color-cream);
    border-radius: 20px;
    margin-top: 10px;
    border: 1px solid var(--color-gold-light);
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--color-gold);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

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

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

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    position: relative;
    margin-top: 30px;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-gold-light);
    opacity: 0.5;
    border: none;
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: var(--color-gold);
    opacity: 1;
}

.testimonial-counter {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-gold);
    background-color: var(--color-cream);
    display: inline-block;
    padding: 5px 20px;
    border-radius: 30px;
    border: 1px solid var(--color-gold-light);
}

/* Arabic Testimonials */
.arabic-testimonial {
    direction: rtl;
    text-align: right;
}

.arabic-testimonial .quote-icon {
    float: right;
    margin-left: 15px;
    margin-right: 0;
}

.arabic-testimonial .testimonial-author {
    text-align: left;
}

/* Hindi Testimonials */
.hindi-testimonial p.hindi {
    font-family: var(--font-hind);
    line-height: 1.8;
}

/* Add language indicator badges */
.arabic-testimonial::before,
.hindi-testimonial::before {
    content: attr(data-language);
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 1;
    color: white;
}

.arabic-testimonial::before {
    background-color: #2c8c3c; /* Green for Arabic */
    font-family: var(--font-cairo);
}

.hindi-testimonial::before {
    background-color: #ff9933; /* Orange for Hindi (from Indian flag) */
}

/* Thank You Section */
.thank-you-section {
    padding: 80px 0;
    background-color: var(--color-white);
    position: relative;
}

.animation-container {
    margin-bottom: 30px;
}

.animation-icon {
    font-size: 4rem;
    color: var(--color-gold);
    animation: float 3s ease-in-out infinite;
}

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

.thank-you-message {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.thank-you-message.arabic {
    font-family: var(--font-cairo);
}

.thank-you-description {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--color-cream);
    padding: 80px 0;
}

.gallery-description {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.memory-frame {
    position: relative;
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 8px solid var(--color-gold);
    overflow: hidden;
    transition: all 0.5s ease;
    max-width: 600px;
    margin: 0 auto;
}

.ribbon-wrapper {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    top: -10px;
    left: -10px;
    z-index: 10;
}

.ribbon {
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    text-align: center;
    transform: rotate(-45deg);
    position: relative;
    padding: 7px 0;
    left: -40px;
    top: 30px;
    width: 220px;
    background-color: var(--color-gold);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* TV Screen effect */
.memory-frame::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 15px;
    background-color: var(--color-gold);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.memory-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0) 50%, rgba(212, 175, 55, 0.1) 100%);
    z-index: 0;
}

.frame-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.frame-flowers {
    position: absolute;
    font-size: 1.5rem;
    color: var(--color-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.frame-flowers i {
    margin: 5px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: pulse 3s infinite alternate;
}

.frame-flowers i:nth-child(2) {
    animation-delay: 0.5s;
}

.top-left {
    top: 10px;
    left: 10px;
}

.top-right {
    top: 10px;
    right: 10px;
}

.bottom-left {
    bottom: 10px;
    left: 10px;
}

.bottom-right {
    bottom: 10px;
    right: 10px;
}

.tv-buttons {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tv-button {
    width: 15px;
    height: 15px;
    background-color: var(--color-gold);
    border-radius: 50%;
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tv-antenna {
    position: absolute;
    top: -20px;
    width: 5px;
    height: 25px;
    background-color: var(--color-gold);
    z-index: 3;
}

.tv-antenna.left {
    left: 35%;
    transform: rotate(-15deg);
}

.tv-antenna.right {
    right: 35%;
    transform: rotate(15deg);
}

.tv-antenna::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: var(--color-gold);
    border-radius: 50%;
    transform: translateX(-2.5px);
}

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

.memory-image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    width: 100%;
    max-width: 450px;
    z-index: 2;
    border: 5px solid var(--color-gold-light);
    height: 300px;
}

.memory-image {
    width: 100%;
    height: 100%;
    display: block;
    transition: all 0.5s ease;
    object-fit: cover;
    object-position: center;
}

.memory-caption {
    text-align: center;
    margin-top: 25px;
    position: relative;
    z-index: 2;
}

.memory-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 5px;
}

.memory-subtitle {
    font-size: 1.1rem;
    color: var(--color-gold);
    font-style: italic;
}

.memory-frame:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.memory-frame:hover .memory-image {
    transform: scale(1.05);
}

/* Podcast Section */
.podcast-section {
    padding: 80px 0;
    background-color: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.podcast-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><path fill="%23d4af37" fill-opacity="0.05" d="M15,0 C6.716,0 0,6.716 0,15 C0,23.284 6.716,30 15,30 C23.284,30 30,23.284 30,15 C30,6.716 23.284,0 15,0 Z M15,5 C19.971,5 24,9.029 24,14 C24,18.971 19.971,23 15,23 C10.029,23 6,18.971 6,14 C6,9.029 10.029,5 15,5 Z"/></svg>');
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 0;
}

.podcast-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.podcast-card {
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--color-gold-light);
    z-index: 1;
}

.podcast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.podcast-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.podcast-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.podcast-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text);
}

.podcast-language {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.language-badge, .type-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.language-badge {
    background-color: var(--color-gold-light);
    color: var(--color-text);
}

.type-badge {
    background-color: #f0f0f0;
    color: var(--color-text);
}

.podcast-platforms {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.platform-link i {
    margin-right: 8px;
}

.platform-link.spotify {
    background-color: #1DB954;
}

.platform-link.youtube {
    background-color: #FF0000;
}

.platform-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: white;
}

.podcast-embed {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.video-embed {
    margin-top: 20px;
}

.podcast-decoration {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: -1;
}

.podcast-decoration::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-gold);
    opacity: 0.2;
    border-radius: 50%;
}

.podcast-decoration::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    background-color: var(--color-gold);
    opacity: 0.3;
    border-radius: 50%;
}

.top-left {
    top: 15px;
    left: 15px;
}

.top-right {
    top: 15px;
    right: 15px;
}

.bottom-left {
    bottom: 15px;
    left: 15px;
}

.bottom-right {
    bottom: 15px;
    right: 15px;
}

.arabic-podcast .podcast-title {
    font-family: var(--font-cairo);
    direction: rtl;
}

/* Farewell Message Section */
.farewell-message-section {
    padding: 80px 0;
    background-color: var(--color-white);
    position: relative;
}

.farewell-message-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%23d4af37" fill-opacity="0.05" d="M10,0 L20,10 L10,20 L0,10 Z"/></svg>');
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 0;
}

.farewell-message-card {
    position: relative;
    z-index: 1;
    background-color: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--color-gold-light);
    transition: all 0.3s ease;
}

.farewell-message-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.message-header {
    background-color: var(--color-gold);
    padding: 20px;
    text-align: center;
}

.message-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.8rem;
    color: var(--color-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.message-body {
    padding: 30px;
}

.message-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text);
    text-align: center;
}

.message-content {
    line-height: 1.8;
    color: var(--color-text);
}

.message-content p {
    margin-bottom: 0.5rem;
}

.message-signature {
    font-style: italic;
    font-weight: 600;
    margin-top: 10px;
}

/* Arabic Message Styles */
.arabic-message {
    direction: rtl;
}

.arabic-message .message-title,
.arabic-message .message-content {
    text-align: right;
    font-family: var(--font-cairo);
}

.arabic-message .message-signature {
    text-align: left;
}

/* Footer Section */
.footer-section {
    background-color: var(--color-cream);
    padding: 40px 0;
    border-top: 5px solid var(--color-gold);
}

.footer-quote {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.social-heading {
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-icons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--color-gold);
    color: white;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    background-color: var(--color-gold-light);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.social-sharing {
    margin: 30px 0;
}

/* Designer info styles */
.designer-info {
    margin: 2rem 0;
}

.designer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background-color: #f0f8ff;
    border-radius: 50px;
    max-width: 350px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.designer-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.designer-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-gold);
}

.designer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.designer-text {
    text-align: left;
}

.designer-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.designer-text h5 {
    margin-bottom: 0;
    color: var(--color-gold);
    font-weight: 600;
}

.back-to-top {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color-gold);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.back-to-top:hover {
    background-color: var(--color-gold-light);
    transform: translateY(-3px);
    color: white;
}

/* Video Playlists */
.video-playlist {
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
}

.playlist-items {
    padding: 15px;
    background-color: var(--color-cream);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.playlist-section-title {
    margin-bottom: 10px;
    color: var(--color-text);
    font-weight: 600;
}

.playlist-item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.playlist-item.active {
    border-color: var(--color-gold);
}

.playlist-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.playlist-item img {
    width: 100%;
    height: auto;
    border-radius: 3px;
}

/* Combined Songs Section */
.combined-songs-section {
    background-color: var(--color-white);
    padding: 80px 0;
}

.combined-video-container {
    background-color: var(--color-cream);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.combined-playlist {
    margin-top: 20px;
}

.combined-playlist-item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.combined-playlist-item.active {
    border-color: var(--color-gold);
}

.combined-playlist-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.playlist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.playlist-overlay i {
    color: white;
    font-size: 1.5rem;
}

.combined-playlist-item:hover .playlist-overlay {
    opacity: 1;
}

/* Video Modals */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.modal-header {
    background-color: var(--color-gold);
    color: white;
    border-bottom: none;
}

.btn-close {
    color: white;
    opacity: 1;
}

.modal-body {
    padding: 0;
}

.modal-dialog {
    max-width: 800px;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 100px 0;
    }

    .animated-headline {
        font-size: 2.5rem;
    }

    .white-3d-title {
        padding: 1rem 1.5rem;
    }

    .white-3d-title .title-line {
        letter-spacing: 1.5px;
        font-size: 1em;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-tribute {
        margin-bottom: 15px;
    }

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

    .navbar-brand {
        font-size: 0.85rem;
        max-width: 200px;
    }
}

@media (max-width: 767.98px) {
    .animated-headline {
        font-size: 2rem;
    }

    .white-3d-title {
        padding: 0.8rem 1.2rem;
        line-height: 1.4;
    }

    .white-3d-title .title-line {
        letter-spacing: 1px;
        font-size: 0.9em;
    }

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

    .profile-image-container {
        width: 120px;
        height: 120px;
    }

    .thank-you-message {
        font-size: 1.5rem;
    }

    .podcast-card {
        padding: 20px;
    }

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

    .podcast-platforms {
        flex-direction: column;
        align-items: center;
    }

    .platform-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .animated-headline {
        font-size: 1.6rem;
    }

    .white-3d-title {
        padding: 0.6rem 1rem;
        line-height: 1.3;
    }

    .white-3d-title .title-line {
        letter-spacing: 0.5px;
        font-size: 0.8em;
        margin-bottom: 0.3rem;
    }

    .gallery-item {
        width: 50%;
    }

    .navbar-brand {
        font-size: 0.75rem;
        max-width: 180px;
    }
}
