/* ============================================
   CINEMATIC MASTERCLASS - Custom CSS
   Teal & Orange cinematic palette
   ============================================ */

body {
    background-color: #ffffff;
    color: #111827;
    overflow-x: hidden;
    font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif !important;
}

.font-sans, h1, h2, h3, h4, h5, h6, p, span, a, button, input, textarea {
    font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif !important;
}

/* ---- Reveal Animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

/* ---- Input Styles ---- */
input[type="tel"] { direction: ltr; text-align: right; }
input[type="tel"]:focus {
    outline: none;
    border-color: #1dbf73;
    box-shadow: 0 0 0 4px rgba(29, 191, 115, 0.15);
}
input[type="tel"]::placeholder { text-align: right; }

/* ---- Video Modal ---- */
#video-modal {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(12px);
}
#video-modal.show { opacity: 1; pointer-events: auto; }
.modal-content {
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#video-modal.show .modal-content { transform: scale(1) translateY(0); }

/* ---- Unified Premium Panels ---- */
.unified-panel {
    background: #ffffff;
    border-radius: 2rem;
    border: 1px solid rgba(229, 231, 235, 0.6);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.unified-panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px -10px rgba(29,191,115,0.12);
    border-color: rgba(29,191,115,0.2);
}

/* ---- Portfolio Card ---- */
.portfolio-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(13, 148, 136, 0.25),
                0 0 0 1px rgba(29, 191, 115, 0.3);
}
/* Portfolio hover video */
.portfolio-card .hover-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.portfolio-card:hover .hover-video { opacity: 1; }
.portfolio-card:hover .cover-img { opacity: 0; }
.cover-img { transition: opacity 0.4s ease; }

/* ---- Blob Animations ---- */
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-4000 { animation-delay: 4s; }
.form-message.show { display: block !important; }

/* ---- CINEMATIC GLOW EFFECTS ---- */
/* Teal glow */
.glow-teal {
    box-shadow: 0 0 60px rgba(13, 148, 136, 0.3),
                0 0 120px rgba(13, 148, 136, 0.15);
}
/* Orange glow */
.glow-orange {
    box-shadow: 0 0 60px rgba(249, 115, 22, 0.25),
                0 0 120px rgba(249, 115, 22, 0.1);
}
/* Hero cinematic blobs */
.blob-teal {
    background: radial-gradient(circle, rgba(13,148,136,0.25) 0%, transparent 70%);
}
.blob-orange {
    background: radial-gradient(circle, rgba(249,115,22,0.2) 0%, transparent 70%);
}

/* ---- PARALLAX SECTIONS ---- */
.parallax-section {
    position: relative;
    min-height: 450px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.72) 0%,
        rgba(13,148,136,0.18) 50%,
        rgba(0,0,0,0.72) 100%
    );
}
.parallax-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 24px;
}
@media (max-width: 768px) {
    .parallax-section { background-attachment: scroll; min-height: 320px; }
}

/* ---- PROOF GALLERY (Testimonials) ---- */
.proof-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    cursor: pointer;
}
.proof-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12),
                0 0 0 2px rgba(29,191,115,0.3);
    border-color: rgba(29,191,115,0.4);
}
.proof-card img {
    width: 100%;
    height: auto;
    display: block;
}
.proof-card .proof-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(29,191,115,0.95);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.proof-card .proof-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 10px 14px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}
.proof-card .star-icon { color: #fbbf24; font-size: 16px; }
.proof-card .proof-name {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    margin-right: 8px;
}
/* Proof Gallery placeholder */
.proof-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 14px;
    gap: 10px;
}

/* ---- ABOUT SECTION bold statement ---- */
.bold-statement {
    background: linear-gradient(135deg, rgba(13,148,136,0.08) 0%, rgba(29,191,115,0.08) 100%);
    border-right: 4px solid #1dbf73;
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin-bottom: 20px;
    font-weight: 900;
    font-size: 17px;
    color: #111827;
    line-height: 1.7;
}

/* ---- HEADER subtitle ---- */
.header-subtitle {
    font-size: 11px;
    font-weight: 300;
    color: #9ca3af;
    letter-spacing: 0.02em;
    display: block;
    margin-top: 1px;
}

/* ---- H1 HIGHLIGHT ---- */
.highlight-teal {
    color: #0d9488;
    position: relative;
}
.highlight-green {
    color: var(--brand-dynamic, #1dbf73);
    position: relative;
}

/* ---- TOP RATED BADGE ---- */
.badge-top-rated {
    position: absolute;
    bottom: -36px;
    left: -36px;
    background: white;
    padding: 18px 22px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15),
                0 0 0 1px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #f3f4f6;
    animation: float 4s ease-in-out infinite;
    z-index: 20;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

