:root {
    --color-emerald: #2E8B57;
    /* Lightened from #0F4C3A to SeaGreen/Persian Green style */
    --color-emerald-dark: #1E5945;
    /* Adjusted dark variant */
    --color-gold: #FFC107;
    /* Changed to a vivid "Religious Yellow" (Amber/Gold) */
    --color-gold-light: #FFD54F;
    /* Lighter yellow for gradients */
    --color-white: #FFFFFF;
    --color-bg: #F5F7F5;
    /* Slightly tinted background */
    --color-text: #1A2332;
    --font-heading: 'Vazirmatn', sans-serif;
    --font-body: 'Vazirmatn', sans-serif;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-heavy: 0 20px 40px -10px rgba(46, 139, 87, 0.2);
    /* New variables from Karbala1 */
    --light-gold: #f4e4b6;
    --dark-bg: #0c1a14;
    --gold-gradient: linear-gradient(135deg, #d4af37, #f4e4b6);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography & Utils */
h1,
h2,
h3 {
    font-weight: 800;
    margin-bottom: 1rem;
}

.text-gold {
    color: var(--color-gold);
}

.section-padding {
    padding: 4rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 85px;
    /* Increased size to make text legible */
    width: auto;
    object-fit: contain;
    /* Make white background transparent creatively */
    mix-blend-mode: multiply;
    filter: contrast(1.1);
    /* Slightly boost text sharpness */
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

.icon-crescent {
    color: var(--color-gold);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-emerald);
}

/* Sexy Phone Button Styles */
.nav-phone-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.4);
    padding: 6px 6px 6px 20px;
    /* Left padding for text, right padding small for icon circle */
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    direction: ltr;
    /* Force LTR for phone number */
}

.nav-phone-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--color-gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
}

.phone-number {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--color-emerald-dark);
    letter-spacing: 1px;
}

.phone-icon-box {
    width: 45px;
    height: 45px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-emerald-dark);
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    animation: phonePulse 2s infinite;
}

@keyframes phonePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.nav-phone-btn:hover .phone-icon-box {
    animation: none;
    /* Stop pulse on hover */
    transform: rotate(15deg) scale(1.1);
}

.btn-primary {
    background: var(--color-emerald);
    color: var(--color-white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 700 !important;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--color-gold);
}

/* Hero Section */
.hero-container {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
    /* No margin, overlaps with next section via negative margin */
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    /* Gradient simulating a spiritual twilight scene */
    background: radial-gradient(circle at center, #1a4d3a 0%, #031f17 100%);
    transform: scale(1);
    transition: transform 0.1s linear;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(15, 76, 58, 0.7));
}

.hero-content {
    text-align: center;
    color: var(--color-white);
    z-index: 2;
    padding: 3rem;
    max-width: 850px;
    margin: 0 auto;

    /* Glassmorphism Premium */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.4);

    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.arabic-text {
    font-family: 'Scheherazade New', serif;
    font-size: 3.2rem;
    color: var(--color-gold);
    letter-spacing: 0;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    opacity: 0.95;
}

.arabic-text::after {
    content: '◈';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--color-gold);
    opacity: 0.6;
}

.persian-text {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-white);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-button {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: var(--color-emerald-dark);
    border: none;
    padding: 1.2rem 3.5rem;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow:
        0 15px 30px -5px rgba(212, 175, 55, 0.4),
        0 0 0 4px rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 25px 40px -10px rgba(212, 175, 55, 0.6),
        0 0 0 8px rgba(212, 175, 55, 0.2);
}

.cta-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.cta-button:hover i.fa-arrow-left {
    transform: translateX(-5px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3rem;
    border-radius: 32px;
    box-shadow: var(--shadow-heavy);
    max-width: 700px;
    margin: 0 auto;
}

.glass-card h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.glass-card p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    color: var(--color-emerald-dark);
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    animation: fadeBounce 2s infinite;
}

@keyframes fadeBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.7;
    }

    50% {
        transform: translateY(5px);
        opacity: 1;
    }
}

/* Plans Section */
.plans-section {
    position: relative;
    z-index: 2;
    background: var(--color-bg);
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    margin-top: -60px;
    /* Overlap hero */
    padding-top: 6rem;
}

.cards-carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
    /* Prevent stretching and gaps */
    justify-content: center;
    padding: 2rem 1rem;
}

.plan-card {
    flex: 0 1 340px;
    display: flex;
    flex-direction: column;
    height: fit-content;
    background: var(--color-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.card-image {
    flex: 0 0 auto;
    height: auto;
    background-color: #eee;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 2;
}

.plan-card:hover .card-body {
    opacity: 1;
    transform: translateY(0);
}

.card-body h3 {
    font-size: 1.3rem;
    line-height: 1.35;
    margin-bottom: .8rem;
    color: var(--color-gold);
    /* Gold title for better contrast on dark */
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.details {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin: 0.5rem 0 1.2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 0.6rem;
    border-radius: 12px;
}

.details i {
    color: var(--color-gold);
}

/* Push CTA to bottom of card-body */
.card-body a.btn-outline {
    margin-top: auto;
    align-self: stretch;
    justify-content: center;
    background: var(--color-gold);
    color: var(--color-emerald-dark);
    border: none;
    font-weight: 800;
}

.card-body a.btn-outline:hover {
    background: #fff;
    transform: scale(1.02);
}

@media (max-width:720px) {
    .card-body {
        position: relative;
        opacity: 1;
        transform: none;
        background: var(--color-white);
        padding: 1.25rem;
    }

    .card-body h3 {
        color: var(--color-emerald-dark);
    }

    .card-body .details {
        color: #555;
        background: #f9f9f9;
        backdrop-filter: none;
    }

    .card-body a.btn-outline {
        background: linear-gradient(135deg, rgba(46, 139, 87, 0.06), rgba(212, 175, 55, 0.04));
        color: var(--color-emerald-dark);
    }

    .card-body h3 {
        min-height: auto;
    }
}


.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.25rem;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.06), rgba(212, 175, 55, 0.04));
    color: var(--color-emerald-dark);
    font-weight: 700;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 0 6px 18px rgba(16, 40, 30, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(2px);
    margin-top: auto;
    text-decoration: none;
}

.btn-outline:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(46, 139, 87, 0.12);
    background: linear-gradient(90deg, var(--color-emerald), #43a047);
    color: #fff;
}

/* About Section */
.about-section {
    background: var(--color-white);
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.about-content {
    flex: 1 1 500px;
}

.about-image {
    flex: 1 1 270px;
    height: 268px;
    background: var(--color-bg);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px dashed var(--color-gold);
    border-radius: 24px;
}

/* Contact Section */
/* Contact Section Redesign */
.contact-section {
    background: radial-gradient(circle at top right, #1a5c45 0%, #051a13 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

/* Decorative background circle */
.contact-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 5rem;
    margin-top: 4rem;
    align-items: center;
}

/* Info Side */
.contact-info {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info h3 {
    color: var(--color-gold);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
    font-size: 1.15rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1rem;
    border-radius: 16px;
    transition: background 0.3s;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.contact-item span {
    font-size: 1.5rem;
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Form Side */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Golden top border line */
.contact-form::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--color-gold);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.4);
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background: #051a13;
    color: #888;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glass-card h1 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .contact-grid {
        gap: 2rem;
    }

    /* Hero Mobile Updates */
    .hero-content {
        width: 90%;
        padding: 2rem 1.5rem;
    }

    .persian-text {
        font-size: 2.8rem;
    }

    .arabic-text {
        font-size: 1.3rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Footer Styles from Karbala1 */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-section h4 {
    font-family: 'Scheherazade New', serif;
    font-size: 1.5rem;
    color: var(--light-gold);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--gold-gradient);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    font-size: 2.5rem;
    color: var(--color-gold);
}

.footer-logo h3 {
    font-size: 1.8rem;
    color: white;
}

.footer-quote {
    font-family: 'Amiri', 'Scheherazade New', serif;
    font-size: 1.3rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    text-align: justify;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--color-gold);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--color-gold);
    transform: translateX(-5px);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info i {
    color: var(--color-gold);
}

.newsletter {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.newsletter input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Video Teaser Section */
/* Video Teaser Section */
.teaser-section {
    position: relative;
    background: url('../images/4.png') no-repeat center center / cover;
    background-attachment: fixed;
    padding: 10rem 1rem;
    overflow: hidden;
}


.teaser-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 26, 20, 0.75);
    /* Slight opacity reduction as well */
    /* Dark overlay for contrast */
    backdrop-filter: blur(0.5px);
    /* Reduced blur significantly */
    z-index: 0;
}

.teaser-section .container {
    position: relative;
    z-index: 1;
}

.video-teaser-wrapper {
    position: relative;
    max-width: 1100px;
    /* Increased width */
    margin: 0 auto;
    padding: 1rem;
}

.video-frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.5);
    transform: translateY(60px) scale(0.95);
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: #000;
    aspect-ratio: 16/9;
}

/* Glassmorphism Frame Effect around the video */
.video-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 2;
}

.video-frame.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease;
    cursor: pointer;
    z-index: 3;
}

.video-overlay-play:hover {
    background: rgba(0, 0, 0, 0.2);
}

.video-frame.playing .video-overlay-play {
    opacity: 0;
    pointer-events: none;
}

.play-btn-pulse {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    font-size: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-btn-pulse::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    opacity: 0.6;
    animation: rotate 10s linear infinite;
}

.video-frame:hover .play-btn-pulse {
    transform: scale(1.1);
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-emerald-dark);
}

.decorative-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    z-index: -1;
    filter: blur(60px);
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Mobile Adjustments for Video */
@media (max-width: 768px) {
    .teaser-section {
        background-attachment: scroll;
        /* Disable parallax on mobile */
        padding: 4rem 1rem;
    }

    .video-teaser-wrapper {
        padding: 0;
    }

    .video-frame {
        border-radius: 20px;
    }

    .play-btn-pulse {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.subscribe-btn {
    background: var(--gold-gradient);
    color: var(--color-emerald-dark);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.subscribe-btn:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom i {
    color: var(--color-gold);
    margin: 0 5px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(to bottom, #f9f9f9, #fff);
    position: relative;
    overflow: hidden;
}

/* Background Pattern */
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#2E8B57 0.5px, transparent 0.5px), radial-gradient(#2E8B57 0.5px, #f9f9f9 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.05;
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.1);
}

.testimonial-card.featured-testimonial {
    background: #0f3d32;
    /* Very dark green base */
    background: linear-gradient(145deg, #0f3d32, #08221b);
    color: white;
    transform: scale(1.05);
    border: 1px solid rgba(255, 193, 7, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.testimonial-card.featured-testimonial:hover {
    transform: scale(1.08);
    /* Slightly more zoom on hover for featured */
}

.testimonial-card.featured-testimonial .review-text {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-card.featured-testimonial .client-info h4 {
    color: white;
}

.testimonial-card.featured-testimonial .quote-icon i {
    color: rgba(255, 193, 7, 0.2);
    /* Gold quote for dark card */
}

.quote-icon {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 3rem;
    opacity: 0.1;
    color: var(--color-emerald);
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.review-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

.testimonial-card.featured-testimonial .review-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-gold);
    padding: 2px;
}

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0px;
    font-weight: 800;
    color: var(--color-emerald-dark);
}

.testimonial-card.featured-testimonial .client-info h4 {
    color: var(--color-gold);
}

@media (max-width: 900px) {
    .testimonial-card.featured-testimonial {
        transform: scale(1);
    }

    .testimonial-card.featured-testimonial:hover {
        transform: translateY(-10px);
    }
}

/* Ceremonies Section (Videos) */
.ceremonies-section {
    background: #fff;
    position: relative;
}

.ceremonies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: flex-start;
    /* Prevent stretching and gaps below short images */
}

.ceremony-card {
    flex: 0 1 340px;
    display: flex;
    flex-direction: column;
    height: fit-content;
    background: transparent;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.ceremony-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.ceremony-thumb {
    position: relative;
    height: auto;
    overflow: hidden;
    flex-shrink: 0;
    background: #eee;
}

/* ... existing thumb styles ... */

.ceremony-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 5;
    backdrop-filter: blur(10px);
}

.ceremony-card:hover .ceremony-content {
    opacity: 1;
    transform: translateY(0);
}

.ceremony-content h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.ceremony-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ceremony-meta i {
    color: var(--color-gold);
}

/* ... existing meta styles ... */

.btn-watch-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: var(--color-gold) !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s;
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-watch-link:hover {
    background: var(--color-gold);
    color: var(--color-emerald-dark) !important;
    transform: scale(1.05);
}

.ceremony-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ceremony-card:hover .ceremony-thumb img {
    transform: scale(1.1);
}

.ceremony-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.ceremony-card:hover .ceremony-overlay {
    opacity: 1;
}

.play-ripple {
    width: 70px;
    height: 70px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-emerald-dark);
    font-size: 1.8rem;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.ceremony-card:hover .play-ripple {
    transform: scale(1);
}

/* Pulse Animation for Play Button */
.play-ripple::before,
.play-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    opacity: 0;
    z-index: -1;
}

.ceremony-card:hover .play-ripple::before {
    animation: ripple 1.5s infinite;
}

.ceremony-card:hover .play-ripple::after {
    animation: ripple 1.5s infinite 0.3s;
}

@keyframes ripple {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.8;
        border-width: 2px;
    }

    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
        border-width: 0px;
    }
}

/* Page Header for Inner Pages */
.page-header {
    background: linear-gradient(rgba(12, 26, 20, 0.8), rgba(12, 26, 20, 0.8)), url('../images/1.png') no-repeat center center/cover;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    margin-top: -120px;
    /* Pull up behind nav */
    padding-top: 120px;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, var(--color-bg), transparent);
}

.page-title {
    color: var(--color-white);
    font-size: 3rem;
    font-family: 'Scheherazade New', serif;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .about-story {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .story-image-group {
        height: 350px !important;
        margin-bottom: 2rem;
    }

    .stats-row {
        gap: 1rem;
    }

    .stats-row span:first-child {
        font-size: 1.8rem !important;
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 75px;
    height: 75px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: floatWhatsApp 3s ease-in-out infinite;
    text-decoration: none;
}

.floating-whatsapp:hover {
    background-color: #1ebc57;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

@keyframes floatWhatsApp {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    /* Hidden on Desktop */
}

@media (max-width: 768px) {

    /* Hide Desktop Nav */
    .glass-nav {
        display: none !important;
    }

    /* Floating Bottom Nav Container */
    .mobile-bottom-nav {
              display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
           max-width: 540px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 0.8rem 1.5rem;
        border-radius: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        z-index: 9999;
        border: 1px solid rgba(255, 255, 255, 0.5);
    
    }

    /* Nav Items */
    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #888;
        gap: 4px;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
    }

    .mobile-nav-item i {
        font-size: 1.3rem;
        transition: transform 0.3s;
    }

    .mobile-nav-item span {
        font-size: 0.7rem;
        font-weight: 600;
    }

    /* Active State */
    .mobile-nav-item.active {
        color: var(--color-emerald);
    }

    .mobile-nav-item.active i {
        transform: translateY(-5px);
        color: var(--color-emerald-dark);
    }

    .mobile-nav-item.active::after {
        content: '';
        position: absolute;
        bottom: -5px;
        width: 5px;
        height: 5px;
        background: var(--color-gold);
        border-radius: 50%;
    }

    /* Hide Floating Button on Mobile (Moved to Nav) */
    .floating-contact-btn {
        display: none !important;
    }
}

/* Hero Section Refinements */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    padding-top: 2rem;
}

.hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 768px) {
    .hero-logo {
        width: 130px;
        margin-bottom: 1rem;
        /* margin-top removed to prevent clipping */
        animation: floatLogoMobile 4s ease-in-out infinite;
    }

    .hero-content {
        padding-top: 1rem !important;
        padding-bottom: 2rem !important;
        width: 90% !important;
        margin-top: -85px;
    }
}

@keyframes floatLogoMobile {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }

    /* Float DOWN instead of UP on mobile */
}

/* Floating Contact Button */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, var(--color-gold), #FFA000);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    animation: pulseBtn 2s infinite;
}

.floating-contact-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.6);
}

@keyframes pulseBtn {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 193, 7, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

/* Contact Modal */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-box {
    background: white;
    width: 90%;
    max-width: 380px;
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.contact-modal-overlay.active .contact-box {
    transform: translateY(0);
}

.contact-box h3 {
    color: var(--color-emerald-dark);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.contact-box p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 16px;
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid transparent;
    transition: all 0.2s;
}

.contact-list-item:hover {
    border-color: var(--color-gold);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-list-item .icon-box {
    width: 40px;
    height: 40px;
    background: rgba(46, 139, 87, 0.1);
    color: var(--color-emerald);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-left: 1rem;
}

.contact-list-item .info {
    text-align: right;
    flex-grow: 1;
}

.contact-list-item .label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 2px;
}

.contact-list-item .number {
    display: block;
    font-weight: 700;
    font-family: 'Vazirmatn';
    direction: ltr;
    /* Ensure numbers display correctly */
}

.close-modal {
    background: #eee;
    color: #555;
    border: none;
    width: 100%;
    padding: 1rem;
    border-radius: 16px;
    margin-top: 1.5rem;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.close-modal:hover {
    background: #ddd;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* استایل برای دسکتاپ */
@media (min-width: 992px) {
    .footer-section {
        flex: 1;
        min-width: 200px;
     
    }
    
    .footer-section:last-child {
        flex-basis: 100%;
        text-align: center;
        margin-top: 1rem;
        padding-top: 1.5rem;
     
    }
    
    .footer-bottom {
        color: rgba(255, 255, 255, 0.5);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* استایل برای موبایل */
@media (max-width: 991px) {
    .footer-section {
        flex-basis: 100%;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .footer-section:last-child {
        margin-top: 1rem;
        padding-top: 1.5rem;
 
    }
}

.contact-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.contact-row li {
    flex: 1;
    margin: 0 5px;
}

.contact-row .full-width {
    flex: 0 0 100%;
    margin: 0;
}

/* برای موبایل */
@media (max-width: 767px) {
    .contact-row {
        flex-direction: column;
    }
    
    .contact-row li {
        margin: 0 0 10px 0;
    }
}




.teaser-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.video-teaser-wrapper {
    position: relative;
    max-width: 360px; /* اندازه مشابه ریلز اینستاگرام */
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%; /* نسبت ابعاد 9:16 برای عمودی - اگر افقی است از 56.25% استفاده کنید */
}

/* اگر ویدیو افقی است (مانند landscape) */
.video-container.landscape {
    padding-bottom: 56.25%; /* نسبت 16:9 */
}

#promoVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* برای پر کردن کامل کانتینر */
    border-radius: 20px;
}

/* افکت‌های زیبا */
.decorative-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

/* کنترل‌های ویدیو (اختیاری) */
.video-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-teaser-wrapper:hover .video-controls {
    opacity: 1;
}

.video-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.video-btn:hover {
    background: rgba(192, 132, 252, 0.8);
    transform: scale(1.1);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .video-teaser-wrapper {
        max-width: 300px;
        border-radius: 20px;
    }
    
    .video-container {
        padding-bottom: 177.78%; /* یا 56.25% برای افقی */
    }
}

@media (max-width: 480px) {
    .video-teaser-wrapper {
        max-width: 280px;
        border-radius: 16px;
    }
    
    .video-controls {
        bottom: 15px;
    }
    
    .video-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}





.teaser-section {
     position: relative;
    background: url(../images/4.png) no-repeat center center / cover;
    background-attachment: fixed;
    padding: 10rem 1rem;
    overflow: hidden;
}


.video-teaser-wrapper {
    position: relative;
    max-width: 360px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    background: #000; /* بک‌گراند برای ویدیو */
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%; /* نسبت 9:16 برای عمودی */
}

#promoVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* مخفی کردن کنترل‌های پیش‌فرض مرورگر */
#promoVideo::-webkit-media-controls {
    display: none !important;
}

#promoVideo::-webkit-media-controls-enclosure {
    display: none !important;
}

/* کنترل‌های سفارشی */
.custom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px 15px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    border-radius: 0 0 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .custom-controls {
    opacity: 1;
}

.play-btn {
    background: rgba(192, 132, 252, 0.9);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: rgba(192, 132, 252, 1);
    transform: scale(1.1);
}

.play-btn.paused i {
    transform: translateX(1px);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.volume-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.volume-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.volume-btn.muted i {
    color: #ff6b6b;
}

#volumeSlider {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #c084fc;
    cursor: pointer;
}

#volumeSlider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #c084fc;
    cursor: pointer;
    border: none;
}

.time-display {
    color: white;
    font-family: monospace;
    font-size: 14px;
    min-width: 90px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 12px;
}

.decorative-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .video-teaser-wrapper {
        max-width: 320px;
        border-radius: 20px;
    }
    
    .video-container {
        padding-bottom: 177.78%;
    }
    
    .custom-controls {
        padding: 15px 10px 10px;
        gap: 10px;
    }
    
    .play-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .volume-btn {
        width: 32px;
        height: 32px;
    }
    
    .time-display {
        font-size: 12px;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .video-teaser-wrapper {
        max-width: 280px;
        border-radius: 16px;
    }
    
    .custom-controls {
        opacity: 1; /* همیشه نمایش در موبایل */
    }
}



