/* ===================================
   Salma Hassan - Voice Over Portfolio
   Color Theme: Teal & Orange
   =================================== */

:root {
    --teal-dark: #0A8B78;
    --teal-mid: #1CA585;
    --teal-light: #2DB79A;
    --orange-dark: #D46F1D;
    --orange-mid: #F29C1F;
    --orange-light: #FBD16A;
    --bg-cream: #FCF5E3;
    --bg-mint: #EDF6E5;
    --bg-sand: #FDF2D8;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --footer-dark: #065c50;
    --teal-darker: #076b5e;

    --gradient-teal: linear-gradient(135deg, #0A8B78 0%, #1CA585 50%, #2DB79A 100%);
    --gradient-orange: linear-gradient(135deg, #D46F1D 0%, #F29C1F 100%);
    --gradient-page: linear-gradient(120deg, #FCF5E3, #FDF2D8, #EDF6E5);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;

    --section-padding: 100px 0;
    --container-width: 1200px;
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 15px 50px rgba(0,0,0,0.12);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}
section[id] { scroll-margin-top: 90px; }
[id] { scroll-margin-top: 90px; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--teal-mid);
    background: var(--bg-cream);
    overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--orange-mid);
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(30px, 5vw, 46px);
    margin-bottom: 20px;
    color: var(--teal-dark);
}

.section-title-underline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.section-title-underline .line {
    width: 50px;
    height: 3px;
    background: var(--teal-dark);
    border-radius: 2px;
}

.section-title-underline .dot {
    width: 8px;
    height: 8px;
    background: var(--orange-mid);
    border-radius: 50%;
}

.section-description {
    font-size: 17px;
    color: var(--teal-mid);
    max-width: 620px;
    margin: 0 auto;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--teal-dark);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(10,139,120,0.3);
}

.btn-primary:hover {
    background: var(--teal-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(10,139,120,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--orange-mid);
    border: 2px solid var(--orange-mid);
}

.btn-secondary:hover {
    background: var(--orange-mid);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-orange {
    background: var(--orange-mid);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(242,156,31,0.3);
}

.btn-orange:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(242,156,31,0.4);
}

/* ===================================
   Top Contact Bar
   =================================== */
.top-bar {
    background: linear-gradient(135deg, var(--teal-dark), var(--teal-darker));
    padding: 8px 0;
    position: relative;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.top-bar.hidden { transform: translateY(-100%); }

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--white);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-left a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
}

.top-bar-left a:hover { color: var(--white); }
.top-bar-left i { color: var(--orange-mid); font-size: 12px; }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: rgba(255,255,255,0.8);
    border-radius: 50%;
    font-size: 12px;
    transition: var(--transition);
}

.top-bar-social:hover { color: var(--orange-mid); }

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(252,245,227,0.85);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(252,245,227,0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.nav-logo-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--teal-dark);
    white-space: nowrap;
}

.navbar.scrolled .nav-logo img { height: 38px; }
.navbar.scrolled .nav-logo-name { font-size: 17px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-contact-mobile {
    display: none;
}

.nav-link {
    color: var(--teal-dark);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

.nav-link:hover,
.nav-link.active { color: var(--teal-dark); }

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-toggle {
    display: flex;
    background: rgba(10,139,120,0.08);
    padding: 3px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.lang-toggle a {
    padding: 5px 12px;
    border-radius: 17px;
    color: var(--teal-dark);
    transition: var(--transition);
}

.lang-toggle a.active {
    background: var(--teal-dark);
    color: var(--white);
}

.nav-cta {
    padding: 10px 24px;
    background: var(--orange-mid);
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
    font-size: 14px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--orange-dark);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(242,156,31,0.3);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--teal-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    background: var(--gradient-page);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

.hero-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(10,139,120,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(242,156,31,0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--orange-mid);
    margin-bottom: 15px;
}

.hero-title {
    font-size: clamp(38px, 5.5vw, 64px);
    color: var(--teal-dark);
    margin-bottom: 10px;
    line-height: 1.15;
}

.hero-tagline {
    font-family: 'Amiri', serif;
    font-size: clamp(24px, 3.5vw, 34px);
    color: var(--orange-mid);
    font-style: italic;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-description {
    font-size: 17px;
    color: var(--teal-mid);
    margin-bottom: 35px;
    max-width: 500px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 500px;
}

.hero-photo-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--teal-light);
    border-radius: 20px;
    opacity: 0.4;
}

.hero-photo-frame::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 40px;
    height: 40px;
    background: var(--orange-mid);
    clip-path: polygon(0 0, 100% 100%, 100% 0);
    border-radius: 0 5px 0 0;
    opacity: 0.7;
}

.hero-photo-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.hero-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    background: transparent;
}

.wave-bars {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
}

.wave-bar {
    width: 5px;
    border-radius: 3px;
    animation: wave 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(odd) { background: var(--teal-light); }
.wave-bar:nth-child(even) { background: var(--orange-mid); }
.wave-bar:nth-child(1) { height: 30px; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 50px; animation-delay: 0.2s; }
.wave-bar:nth-child(3) { height: 70px; animation-delay: 0.4s; }
.wave-bar:nth-child(4) { height: 50px; animation-delay: 0.6s; }
.wave-bar:nth-child(5) { height: 30px; animation-delay: 0.8s; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--teal-light);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
}

.mouse {
    width: 22px;
    height: 36px;
    border: 2px solid var(--teal-light);
    border-radius: 11px;
    position: relative;
}

.mouse-wheel {
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 7px;
    background: var(--orange-mid);
    border-radius: 2px;
    animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ===================================
   Demos Section
   =================================== */
.demos {
    padding: var(--section-padding);
    background: var(--bg-mint);
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 25px;
}

.demos-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.demos-photo {
    display: flex;
    justify-content: center;
}

.demos-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.demos-frame {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--teal-light);
    border-radius: 20px;
    opacity: 0.3;
}

.demos-frame::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 30px;
    height: 30px;
    background: var(--orange-mid);
    clip-path: polygon(0 0, 100% 100%, 100% 0);
    border-radius: 0 5px 0 0;
    opacity: 0.6;
}

.demos-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.demos-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.demos-stack .demo-card .audio-player + .audio-player {
    margin-top: 6px;
}

.demo-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: var(--teal-dark);
    margin: 4px 0 3px;
    letter-spacing: 0.2px;
}

.demo-card {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 14px 18px;
    border-left: 3px solid var(--teal-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.demo-card:hover {
    transform: translateY(-4px);
    border-left-color: var(--orange-mid);
    box-shadow: 0 12px 35px rgba(242,156,31,0.12);
}

.demo-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.demo-icon {
    width: 32px;
    height: 32px;
    background: rgba(242,156,31,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demo-icon i { font-size: 14px; color: var(--orange-mid); }

.demo-card-header h3 {
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--teal-dark);
    flex: 1;
}

.demo-tag {
    display: inline-block;
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--teal-light);
    color: var(--white);
    border-radius: 20px;
    margin-bottom: 15px;
}

/* Audio Player */
.audio-player {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(237,246,229,0.6);
    border-radius: 30px;
}

.play-btn {
    width: 32px;
    height: 32px;
    background: var(--teal-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.play-btn:hover { transform: scale(1.1); }
.play-btn i { font-size: 11px; color: var(--white); margin-left: 2px; }
.play-btn.playing { background: var(--orange-mid); }
.play-btn.playing i { margin-left: 0; }

.progress-container {
    flex: 1;
    height: 5px;
    background: rgba(10,139,120,0.15);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-orange);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.duration {
    font-size: 12px;
    color: var(--teal-mid);
    font-weight: 500;
    min-width: 35px;
    font-variant-numeric: tabular-nums;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--section-padding);
    background: var(--bg-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    max-width: 400px;
}

.about-frame {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--teal-light);
    border-radius: 20px;
    opacity: 0.3;
}

.about-frame::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 30px;
    height: 30px;
    background: var(--orange-mid);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    border-radius: 5px 0 0 0;
    opacity: 0.6;
}

.about-photo {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    position: relative;
    z-index: 1;
}

.experience-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 110px;
    height: 110px;
    background: var(--orange-mid);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(242,156,31,0.35);
    z-index: 2;
}

.experience-badge .years {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
}

.experience-badge .text {
    font-size: 11px;
    color: rgba(255,255,255,0.9);
    text-align: center;
    font-weight: 600;
}

.about-content .section-tag { display: block; text-align: left; }
.about-content .section-title { text-align: left; }

.about-text {
    font-size: 16px;
    color: var(--teal-mid);
    margin-bottom: 18px;
    line-height: 1.8;
}

.about-more-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease, opacity 0.4s ease, margin 0.4s ease;
    margin-top: 0;
}

.about-more-content.show {
    max-height: 600px;
    opacity: 1;
    margin-top: 15px;
}

.about-more-content .about-text {
    padding-left: 15px;
    border-left: 3px solid var(--orange-mid);
}

.btn-know-more {
    margin-top: 20px;
}

.btn-know-more i {
    transition: transform 0.3s ease;
}

.btn-know-more.expanded i {
    transform: rotate(180deg);
}

/* ===================================
   Studio Section (Dark)
   =================================== */
.studio {
    padding: var(--section-padding);
    background: var(--teal-dark);
    position: relative;
}

.studio .section-tag { color: var(--orange-mid); }
.studio .section-title { color: var(--white); }
.studio .section-description { color: rgba(255,255,255,0.7); }

.studio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

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

.studio-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-5px);
    border-color: rgba(45,183,154,0.3);
}

.studio-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    background: rgba(242,156,31,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.studio-card-icon i { font-size: 24px; color: var(--orange-mid); }

.studio-card h4 {
    font-size: 15px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.studio-card p {
    font-size: 13px;
    color: var(--orange-light);
    font-weight: 500;
}

/* SVG Wave Divider */
.wave-divider {
    display: block;
    width: 100%;
    height: auto;
    margin-top: -1px;
}

.wave-divider-bottom {
    margin-bottom: -1px;
    margin-top: 0;
}

/* ===================================
   Partners Section
   =================================== */
.partners {
    padding: 80px 0;
    background: var(--bg-sand);
    overflow: hidden;
}

.partners-track-wrapper {
    overflow: hidden;
    margin-top: 50px;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: scrollLogos 40s linear infinite;
}

.partners-track:hover { animation-play-state: paused; }

.partner-logo {
    width: 200px;
    height: 100px;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: var(--transition);
    flex-shrink: 0;
}

/* Feature a couple of key partners slightly larger */
.partner-logo[src*="qatar%20airway.png"],
.partner-logo[src*="qatar airway.png"],
.partner-logo[src*="saudi%20germany%20hospital.png"],
.partner-logo[src*="saudi germany hospital.png"] {
    width: 230px;
    height: 115px;
}

.partner-logo:hover {
    transform: scale(1.08);
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partners-track-reverse {
    animation: scrollLogos 45s linear infinite reverse;
    animation-delay: -20s;
}

/* ===================================
   Videos Section
   =================================== */
.videos {
    padding: var(--section-padding);
    background: var(--bg-mint);
}

.video-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.video-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.video-slide {
    min-width: 50%;
    padding: 0 12px;
    flex-shrink: 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--text-dark);
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

.video-wrapper.tiktok-video iframe {
    background: #000;
    top: 50%;
    transform: translateY(-50%);
}

.video-title {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--teal-dark);
    margin-top: 12px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--teal-dark);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.carousel-arrow:hover {
    background: var(--orange-mid);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

.video-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.video-nav .carousel-arrow {
    position: static;
    transform: none;
}

.video-nav .carousel-arrow:hover {
    background: var(--orange-mid);
    transform: scale(1.1);
}

.video-nav .carousel-dots {
    margin: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--teal-light);
    opacity: 0.4;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    opacity: 1;
    background: var(--orange-mid);
    transform: scale(1.2);
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: var(--section-padding);
    background: var(--bg-cream);
}

.testimonial-carousel {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 10px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 35px 30px;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--orange-mid);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 70px;
    font-family: var(--font-heading);
    color: var(--orange-light);
    opacity: 0.25;
    line-height: 1;
    pointer-events: none;
}

.testimonial-text {
    font-size: 16px;
    color: var(--teal-mid);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-divider {
    width: 50px;
    height: 2px;
    background: var(--teal-light);
    margin-bottom: 18px;
}

.testimonial-author {
    font-size: 16px;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: 4px;
}

.testimonial-role {
    font-size: 13px;
    color: var(--orange-mid);
    font-weight: 500;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-arrow {
    width: 42px;
    height: 42px;
    background: var(--white);
    color: var(--teal-dark);
    border: 2px solid var(--teal-light);
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.testimonial-arrow:hover {
    background: var(--teal-dark);
    color: var(--white);
    border-color: var(--teal-dark);
}

/* ===================================
   Contact Section (Dark)
   =================================== */
.contact {
    padding: var(--section-padding);
    background: var(--teal-dark);
    position: relative;
}

.contact .section-tag { color: var(--orange-mid); }
.contact .section-title { color: var(--white); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-intro {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 35px;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(242,156,31,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i { font-size: 18px; color: var(--orange-mid); }

.contact-item-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-item a,
.contact-item p {
    font-size: 15px;
    color: var(--white);
    font-weight: 500;
}

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

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.contact-social-link {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.contact-social-link:hover {
    background: var(--orange-mid);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-container {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 35px;
}

.contact-form h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--white);
    text-align: center;
}

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

.form-group {
    position: relative;
    margin-bottom: 18px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--white);
    background: rgba(255,255,255,0.08);
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.15);
    border-radius: 8px 8px 0 0;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-group select { cursor: pointer; appearance: none; }
.form-group select option { color: var(--text-dark); background: var(--white); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-bottom-color: var(--orange-mid);
    background: rgba(255,255,255,0.12);
}

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

.contact-form .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 16px;
    margin-top: 8px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--footer-dark);
    padding: 70px 0 25px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand img {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    max-width: 300px;
    line-height: 1.7;
}

.ai-policy {
    margin-top: 8px;
    max-width: 440px;
}

.ai-policy h5 {
    color: var(--orange-light);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    margin: 12px 0 4px;
    letter-spacing: 0.3px;
}

.ai-policy p {
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255,255,255,0.7);
    max-width: 440px;
    margin: 0;
}

.footer h4 {
    color: var(--orange-light);
    font-size: 16px;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    padding: 5px 0;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--orange-mid); padding-left: 5px; }

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

.footer-credit {
    margin-top: 8px;
}

.footer-credit a {
    color: var(--orange-light);
    font-weight: 600;
    transition: var(--transition);
}

.footer-credit a:hover {
    color: var(--orange-mid);
}

/* ===================================
   Scroll Animations
   =================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    will-change: transform, opacity;
}

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

/* Hero entrance */
.hero-subtitle {
    animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-title {
    animation: fadeInUp 0.6s ease 0.4s both;
}
.hero-tagline {
    animation: fadeInUp 0.6s ease 0.6s both;
}
.hero-description {
    animation: fadeInUp 0.6s ease 0.8s both;
}
.hero-cta {
    animation: fadeInUp 0.6s ease 1s both;
}
.hero-photo-wrapper {
    animation: scaleIn 0.8s ease 0.5s both;
}

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

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

/* Logo pulse on load */
.nav-logo img {
    animation: logoPulse 0.6s ease 0.3s both;
}

@keyframes logoPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); opacity: 1; }
}

/* Play icon pulse on demo card hover */
.demo-card:hover .play-btn {
    animation: playPulse 1.5s ease infinite;
}

@keyframes playPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* ===================================
   Notification
   =================================== */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 15px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    animation: slideIn 0.3s ease;
    max-width: 400px;
}

.notification-success { border-left: 4px solid var(--teal-light); }
.notification-success i:first-child { color: var(--teal-light); }
.notification-error { border-left: 4px solid #ef4444; }
.notification-error i:first-child { color: #ef4444; }

.notification-close {
    background: none; border: none; cursor: pointer;
    color: #9ca3af; padding: 5px; margin-left: auto;
}

.notification-close:hover { color: var(--text-dark); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* ===================================
   RESPONSIVE
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-description { margin: 0 auto 35px; }
    .hero-cta { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-image-container { width: 400px; margin: 0 auto; }
    .wave-bars { right: -20px; }

    .demos-layout { grid-template-columns: 1fr; gap: 30px; }
    .demos-photo { max-width: 350px; margin: 0 auto; }
    .demos-image-wrapper { height: auto; }
    .demos-photo-img { height: auto; object-fit: contain; }

    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .about-image-wrapper { max-width: 320px; margin: 0 auto; }
    .about-content .section-tag, .about-content .section-title { text-align: center; }
    .about-content { text-align: center; }
    .about-more-content .about-text { text-align: left; }

    .footer-content { grid-template-columns: 1fr 1fr; }

    .video-slide { min-width: 100%; }
}

/* Mobile */
@media (max-width: 768px) {
    html { scroll-padding-top: 80px; }
    section[id], [id] { scroll-margin-top: 80px; }

    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: flex; padding: 10px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
    .mobile-menu-btn span { width: 26px; height: 2.5px; }
    .nav-logo-name { font-size: 17px; }
    .nav-logo img { height: 48px; }
    .navbar.scrolled .nav-logo img { height: 42px; }
    .lang-toggle { font-size: 14px; }
    .lang-toggle a { padding: 7px 14px; }

    .navbar { position: sticky; padding: 18px 0; }
    .navbar.scrolled { padding: 14px 0; }
    .nav-container { position: relative; }

    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: linear-gradient(135deg, var(--teal-dark), var(--teal-darker));
        padding: 15px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        z-index: 5;
        gap: 0;
    }

    .nav-links.active .nav-link {
        color: var(--white);
        font-size: 17px;
        padding: 18px 24px;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        min-height: 50px;
        display: flex;
        align-items: center;
    }

    .nav-links.active .nav-link:last-child { border-bottom: none; }

    .nav-links.active .nav-link::after { display: none; }

    .nav-links.active .nav-contact-mobile { display: block; }

    .top-bar-right { display: none; }
    .top-bar-left { gap: 15px; font-size: 12px; }

    .hero { min-height: auto; padding: 60px 0 40px; }
    .hero-image-container { width: 320px; }
    .hero-title { font-size: clamp(30px, 8vw, 44px); }

    .demos, .about, .videos, .testimonials, .partners { padding: 60px 0; }
    .studio, .contact { padding: 60px 0; }

    .demos-photo { max-width: 280px; }
    .demo-card { padding: 18px 20px; }

    .section-header { margin-bottom: 40px; }

    .studio-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .studio-card { padding: 22px 15px; }

    .video-slide { min-width: 100%; padding: 0 5px; }
    .carousel-arrow { width: 40px; height: 40px; font-size: 16px; }

    .contact-form-container { padding: 25px 18px; }
    .form-row { grid-template-columns: 1fr; }

    .footer { padding: 40px 0 20px; }
    .footer-content { grid-template-columns: 1fr 1fr; text-align: center; gap: 20px; margin-bottom: 25px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand p { margin: 10px auto 0; font-size: 13px; }
    .footer-brand img { height: 40px; margin: 0 auto 10px; }
    .footer h4 { font-size: 14px; margin-bottom: 12px; }
    .footer-links a { font-size: 13px; padding: 3px 0; }
    .footer-bottom { padding-top: 15px; }
    .footer-bottom p { font-size: 12px; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .hero { padding: 40px 0 30px; }
    .hero-image-container { width: 280px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; justify-content: center; }

    .studio-grid { grid-template-columns: 1fr; }
    .studio-card { padding: 20px; }

    .testimonial-card { padding: 30px 20px 25px; }
    .testimonial-text { font-size: 14px; }

    .scroll-indicator { display: none; }

    .top-bar-left { flex-direction: row; gap: 10px; align-items: center; font-size: 11px; }
    .top-bar { padding: 6px 0; }
}

/* Wave dividers responsive */
@media (max-width: 768px) {
    .wave-divider { height: 30px; }
    .partner-logo { width: 150px; height: 60px; }
    .partner-logo[src*="qatar%20airway.png"],
    .partner-logo[src*="qatar airway.png"],
    .partner-logo[src*="saudi%20germany%20hospital.png"],
    .partner-logo[src*="saudi germany hospital.png"] { width: 175px; height: 70px; }
    .partners-track { gap: 28px; }
    .partners { padding: 60px 0; }
    .testimonial-nav { gap: 12px; }
}

@media (max-width: 480px) {
    .wave-divider { height: 20px; }
    .partner-logo { width: 130px; height: 50px; }
    .partner-logo[src*="qatar%20airway.png"],
    .partner-logo[src*="qatar airway.png"],
    .partner-logo[src*="saudi%20germany%20hospital.png"],
    .partner-logo[src*="saudi germany hospital.png"] { width: 155px; height: 60px; }
    .partners-track { gap: 22px; }
}

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .play-btn { width: 44px; height: 44px; min-width: 44px; }
    .progress-container { height: 8px; }
    .carousel-arrow { width: 44px; height: 44px; }
    .demo-card:hover, .studio-card:hover { transform: none; }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: auto; padding: 40px 0; }
    .hero-content { grid-template-columns: 1fr 1fr; text-align: left; }
    .hero-visual { order: 0; }
    .hero-image-container { width: 250px; }
}
