@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Default Theme: Cosmic */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --dark-bg: #0f172a;
    --darker-bg: #0a0e1a;
    --accent-purple: #667eea;
    --accent-pink: #f5576c;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --glass-bg: rgba(15, 23, 42, 0.75);
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --btn-text-color: #ffffff;
}

/* Luxury Theme (Onyx & Gold) */
[data-theme="luxury"] {
    --primary-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 50%, #B38728 100%);
    /* Metallic Gold */
    --secondary-gradient: linear-gradient(135deg, #FBF5B7 0%, #BF953F 100%);
    --dark-bg: #080808;
    /* Onyx */
    --darker-bg: #000000;
    --accent-purple: #D4AF37;
    --accent-pink: #FBF5B7;
    --text-primary: #D4AF37;
    --text-secondary: rgba(212, 175, 55, 0.8);
    --glass-bg: rgba(8, 8, 8, 0.9);
    --card-bg: rgba(212, 175, 55, 0.08);
    --border-color: rgba(212, 175, 55, 0.3);
    --btn-text-color: #000000;
}

/* Minimal Theme (Swiss Style) */
[data-theme="minimal"] {
    --primary-gradient: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --secondary-gradient: linear-gradient(135deg, #333333 0%, #666666 100%);
    --dark-bg: #FFFFFF;
    --darker-bg: #F5F5F5;
    --accent-purple: #000000;
    --accent-pink: #333333;
    --text-primary: #000000;
    --text-secondary: rgba(0, 0, 0, 0.75);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --card-bg: rgba(0, 0, 0, 0.03);
    --border-color: rgba(0, 0, 0, 0.15);
    --btn-text-color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    background-color: var(--darker-bg);
    overflow-x: hidden;
}

/* ==================== LOADING SCREEN ==================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(102, 126, 234, 0.1);
    border-top: 4px solid var(--accent-purple);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

.loader-text {
    margin-top: 20px;
    font-size: 1.2rem;
    letter-spacing: 3px;
    animation: pulse 2s infinite;
}

.loader-count {
    margin-top: 15px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-purple);
    font-family: 'Outfit', sans-serif;
}



@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ==================== SCROLL PROGRESS ==================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary-gradient);
    z-index: 9999;
    transition: width 0.2s ease;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* ==================== SCROLL CONTAINER ==================== */
.slider-container {
    position: relative;
    /* Added for correct offsetTop calculation */
    height: 100vh;
    overflow-y: scroll;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-padding-top: 0;
}

.slider-container::-webkit-scrollbar {
    width: 10px;
}

.slider-container::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

.slider-container::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 10px;
}

.slider-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.slide {
    min-height: 100vh;
    min-height: 100dvh;
    /* Better for mobile browsers */
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ==================== HERO CONTENT & CLOSE BUTTON ==================== */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.close-hero {
    position: absolute;
    top: -60px;
    /* Moved up slightly */
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    /* Added background for better visibility */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    /* Ensure it's on top */
    backdrop-filter: blur(5px);
}

.close-hero:hover {
    background: rgba(245, 87, 108, 0.8);
    border-color: transparent;
    transform: rotate(90deg);
}

/* ==================== NAVIGATION BAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 15px 60px;
    background: rgba(15, 23, 42, 0.95);
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.logo:hover {
    transform: translateX(5px);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 45px;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 0;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.nav-links li a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-links li a:hover::before {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==================== VIDEO LANDING SECTION ==================== */
.video-slide {
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.close-hero {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    line-height: 1;
}

.close-hero:hover {
    color: #fff;
    transform: scale(1.1);
}

.hero-title {

    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-gradient);
    color: var(--btn-text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    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.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

/* ==================== CAROUSEL SECTION ==================== */
.carousel-slide {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    padding: 100px 20px 60px;
    overflow: hidden;
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.carousel-wrapper {
    position: relative;
    height: 500px;
    perspective: 1500px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.carousel-item {
    position: absolute;
    width: 500px;
    height: 400px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.carousel-item:hover .item-info {
    transform: translateY(0);
}

.item-info h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.item-info p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Carousel Positions */
.carousel-item.active {
    z-index: 10;
    transform: translate(-50%, -50%) scale(1) rotateY(0deg);
    opacity: 1;
}

.carousel-item.prev-1 {
    z-index: 9;
    transform: translate(-120%, -50%) scale(0.8) rotateY(45deg);
    opacity: 0.7;
}

.carousel-item.prev-2 {
    z-index: 8;
    transform: translate(-180%, -50%) scale(0.6) rotateY(60deg);
    opacity: 0.4;
}

.carousel-item.next-1 {
    z-index: 9;
    transform: translate(20%, -50%) scale(0.8) rotateY(-45deg);
    opacity: 0.7;
}

.carousel-item.next-2 {
    z-index: 8;
    transform: translate(80%, -50%) scale(0.6) rotateY(-60deg);
    opacity: 0.4;
}

.carousel-item.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.5);
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
}

.carousel-nav:hover {
    background: var(--primary-gradient);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.5);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

/* ==================== ABOUT SECTION ==================== */
.about-slide {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    padding: 100px 40px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== SERVICES SECTION (Handled inline or legacy removed) ==================== */

/* ==================== TALENT HUNT SECTION ==================== */
.talent-slide {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    padding: 100px 40px;
}

.talent-container {
    max-width: 1200px;
    margin: 0 auto;
}

.talent-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.talent-text {
    text-align: left;
}

.talent-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.talent-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.talent-list {
    list-style: none;
    margin-bottom: 40px;
}

.talent-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.talent-btn {
    background: var(--secondary-gradient);
    color: var(--btn-text-color);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
}

.talent-btn:hover {
    box-shadow: 0 15px 40px rgba(245, 87, 108, 0.6);
}

.talent-image {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: rotate(3deg);
    transition: all 0.5s ease;
}

.talent-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.talent-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a72 0%, #009ffd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.talent-placeholder span {
    font-size: 5rem;
    animation: pulse 2s infinite;
}

/* ==================== CONTACT SECTION ==================== */
.contact-slide {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    padding: 100px 40px;
}


.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(10px);
}

.info-icon {
    font-size: 2rem;
    filter: grayscale(0.3);
}

.info-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.info-item p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-purple);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    padding: 18px 40px;
    background: var(--primary-gradient);
    color: var(--btn-text-color);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--darker-bg);
    padding: 60px 40px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-purple);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.8rem;
    transition: all 0.3s ease;
    filter: grayscale(0.5);
}

.social-links a:hover {
    filter: grayscale(0);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 30px;
    }

    .video-wrap video {
        object-fit: contain;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li a {
        font-size: 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .carousel-wrapper {
        height: 350px;
    }

    .carousel-item {
        width: 300px;
        height: 240px;
    }

    .carousel-item.prev-2,
    .carousel-item.next-2 {
        display: none;
    }

    .carousel-nav {
        width: 45px;
        height: 45px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .talent-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .talent-image {
        height: 300px;
        order: -1;
        /* Show image first on mobile */
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel-item {
        width: 250px;
        height: 200px;
    }

}

/* ==================== THEME SWITCHER ==================== */
.theme-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 15px;
}

#themeToggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

#themeToggle:hover {
    transform: scale(1.1) rotate(15deg);
}

.theme-menu {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.theme-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-menu button {
    background: none;
    border: none;
    padding: 10px 20px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
    border-radius: 8px;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.theme-menu button:hover {
    background: var(--card-bg);
}

.theme-menu button.active {
    background: var(--primary-gradient);
    color: #fff;
}

/* ==================== VIDEO CONTROLS ==================== */
.video-controls-container {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 50px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.video-controls-container:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.mute-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    transition: transform 0.2s ease;
}

.mute-btn:active {
    transform: scale(0.9);
}

.volume-slider {
    -webkit-appearance: none;
    width: 0;
    /* Hidden by default for cleaner look, expands on hover */
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
    cursor: pointer;
}

/* Show slider on container hover or when it has value */
.video-controls-container:hover .volume-slider,
.video-controls-container.active .volume-slider {
    width: 100px;
    opacity: 1;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .video-controls-container {
        bottom: 90px;
        left: 20px;
        padding: 10px 15px;
    }

    .volume-slider {
        display: none;
    }

    .video-controls-container:hover .volume-slider {
        width: 0;
        opacity: 0;
    }
}


/* WATCH BUTTON (Portfolio) */
.watch-btn {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    margin-top: 10px;
}

.watch-btn:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ==================== TALENT GRID (Dynamic) ==================== */
.talent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 200px);
    /* Total 400px height + gap */
    gap: 15px;
    width: 100%;
    height: 415px;
}

.talent-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    transition: all 0.3s ease;
}

.talent-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.talent-item img,
.talent-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Layout Logic for 1, 2, or 3 items */

/* 1. First Item is always tall (Left Side) unless it's the only one */
.talent-item:nth-child(1) {
    grid-row: span 2;
}

/* If only 1 item exists, make it full width */
.talent-item:only-child {
    grid-column: span 2;
    grid-row: span 2;
}

/* If 2 items exist: First is Left (Tall), Second is Right (Tall) */
.talent-item:nth-last-child(2):first-child~.talent-item {
    grid-row: span 2;
}

/* Text Card Styling */
.talent-card-text {
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
}

.talent-card-text p {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-primary);
}

/* Text Styles */
.talent-item.style-default .talent-card-text {
    color: #fff;
}

.talent-item.style-accent .talent-card-text {
    background: var(--primary-gradient);
    color: #fff;
}

.talent-item.style-dark .talent-card-text {
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}