:root {
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 20, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-1: #6366f1; /* Indigo */
    --accent-2: #a855f7; /* Purple */
    --gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Theme Variables for switching */
    --light-02: rgba(255, 255, 255, 0.02);
    --light-05: rgba(255, 255, 255, 0.05);
    --light-10: rgba(255, 255, 255, 0.1);
    --light-20: rgba(255, 255, 255, 0.2);
    
    --shadow-color: rgba(0, 0, 0, 0.4);
    --shadow-strong: rgba(0, 0, 0, 0.6);
    --bg-black-solid: #0a0a0f;
    --bg-navbar: rgba(10, 10, 12, 0.5);
    --bg-navbar-scrolled: rgba(5, 5, 5, 0.85);
    --border-invert: rgba(255, 255, 255, 0.1);
    --bg-card-active: rgba(20, 20, 20, 0.8);
    --hero-overlay: radial-gradient(circle at center, rgba(5, 5, 5, 0.4) 0%, var(--bg-dark) 100%);
}

[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.85);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    
    --light-02: rgba(0, 0, 0, 0.02);
    --light-05: rgba(0, 0, 0, 0.05);
    --light-10: rgba(0, 0, 0, 0.1);
    --light-20: rgba(0, 0, 0, 0.2);
    
    --shadow-color: rgba(0, 0, 0, 0.06);
    --shadow-strong: rgba(0, 0, 0, 0.12);
    --bg-black-solid: #ffffff;
    --bg-navbar: rgba(255, 255, 255, 0.85);
    --bg-navbar-scrolled: rgba(255, 255, 255, 0.85);
    --border-invert: rgba(0, 0, 0, 0.1);
    --bg-card-active: rgba(255, 255, 255, 0.95);
    --hero-overlay: radial-gradient(circle at center, rgba(255, 255, 255, 0.45) 0%, var(--bg-dark) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 800;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--bg-navbar-scrolled);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--light-05);
    padding: 1rem 5%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent-1);
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
    filter: invert(1) contrast(1.1) brightness(1.05);
}

.logo-img.large {
    height: 44px;
    width: auto;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

[data-theme="light"] .logo-img {
    filter: contrast(1.15) brightness(0.9);
}

[data-theme="light"] .logo:hover .logo-img {
    filter: contrast(1.25) brightness(0.7);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-1);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links a:hover {
    color: var(--accent-1);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-primary-sm {
    background: var(--gradient);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
}

.btn-primary-sm:hover {
    color: white !important;
    opacity: 0.9;
    transform: scale(1.05);
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}
.line { 
    width: 25px; 
    height: 3px; 
    background: var(--text-primary); 
    margin: 5px; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}

/* Hamburger to X Animation */
.hamburger.active .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active .line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--text-primary);
    box-shadow: 0 10px 20px -10px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -10px rgba(99, 102, 241, 0.7);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--light-20);
}

.btn-secondary:hover {
    background: var(--light-05);
    border-color: var(--text-primary);
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-slider-section::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.04;
    pointer-events: none;
    z-index: 5;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    filter: blur(20px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), filter 1.5s ease-out, visibility 1.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    filter: blur(0);
}

.slide-bg {
    position: absolute;
    top: -5%; left: -5%; width: 110%; height: 110%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1);
    transition: transform 10s linear; /* Ken Burns effect */
}

.slide.active .slide-bg {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--hero-overlay);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.slide-category {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-1);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.slide-title {
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 1;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -2px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--text-primary);
}

.slide .btn-primary {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
}

.slide.active .slide-category,
.slide.active .slide-title,
.slide.active .btn-primary {
    opacity: 1;
    transform: translateY(0);
}

/* Sidebars */
.slider-sidebar-left {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    z-index: 10;
    transform-origin: left center;
}

.slider-sidebar-left span {
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--text-secondary);
    white-space: nowrap;
    text-transform: uppercase;
}

.slider-sidebar-right {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.pagination {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dot {
    width: 4px;
    height: 12px;
    border-radius: 4px;
    background: var(--text-secondary);
    opacity: 0.4;
    cursor: pointer;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                background 0.4s ease, 
                opacity 0.4s ease,
                box-shadow 0.4s ease;
    position: relative;
}

/* Click target expansion for accessibility */
.dot::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 24px; height: 24px;
    background: transparent;
}

.dot:hover {
    height: 18px;
    opacity: 0.8;
    background: var(--text-primary);
}

.dot.active {
    height: 32px;
    opacity: 1;
    background: var(--gradient);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

/* Bottom Controls */
.slider-bottom {
    position: absolute;
    bottom: 40px;
    left: 5%;
    right: 5%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slide-counter {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.current-slide { color: var(--text-primary); }
.separator, .total-slides { color: var(--text-secondary); }

.progress-container {
    width: 250px;
    height: 2px;
    background: var(--light-10);
    position: relative;
}

.progress-bar {
    position: absolute;
    top: 0; left: 0; height: 100%; width: 0%;
    background: var(--gradient);
    transition: width 0.1s linear;
}

.scroll-down {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slider-nav {
    display: flex;
    gap: 10px;
}

.slider-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--light-20);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-nav button:hover {
    background: var(--accent-1);
    border-color: var(--accent-1);
}

@media (max-width: 768px) {
    .slider-sidebar-left, .slider-sidebar-right { display: none; }
    .progress-container { display: none; }
    .slide-title { font-size: 2.5rem; }
    .slider-bottom { flex-wrap: wrap; gap: 20px; justify-content: center; }
}

/* Sections */
.section {
    padding: 5rem 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

/* About Section */
.about-section {
    padding-top: 6rem;
    padding-bottom: 2rem;
}

.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pill-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: var(--accent-1);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 4rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-item.active {
    background: #f0ecfc;
    border-color: rgba(99, 102, 241, 0.2);
}

.faq-header {
    width: 100%;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #1a1a1a;
    transition: all 0.3s ease;
    font-weight: 500;
}

.faq-item.active .faq-header {
    color: var(--accent-1);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1rem;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.faq-item.active .faq-icon {
    color: var(--accent-1);
}

.faq-title {
    flex: 1;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-content p {
    padding: 0 1.5rem 1.2rem 3.5rem;
    color: #4a4a4a;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Studio Stats Section */
.studio-stats-section {
    padding: 6rem 5%;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.studio-stats-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.studio-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 5rem;
    font-weight: 400;
    color: var(--text-primary);
}

.studio-title strong {
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-grid-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.stats-row-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item-top {
    transition: transform 0.3s ease;
}

.stat-item-top:hover {
    transform: translateY(-5px);
}

.stat-item-top .stat-num {
    font-size: 4.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 10px 20px var(--shadow-color);
}

.stat-item-top .stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.stats-row-bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-02);
    border: 1px solid var(--light-05);
    border-radius: 20px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-item-bottom:hover {
    transform: translateY(-10px);
    background: var(--light-05);
    border-color: rgba(99, 102, 241, 0.3);
}

.stat-icon-svg {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    filter: drop-shadow(0 8px 16px rgba(168, 85, 247, 0.3));
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-icon-svg svg {
    width: 64px;
    height: 64px;
}

.stat-item-bottom:hover .stat-icon-svg {
    transform: scale(1.15) translateY(-5px);
}

.stat-item-bottom .stat-label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Work Section */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.work-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--light-05);
}

.img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-overlay .category {
    transform: translateY(15px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transition-delay: 0.1s;
}

.work-overlay h3 {
    transform: translateY(15px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transition-delay: 0.15s;
}

.work-item:hover .work-overlay .category,
.work-item:hover .work-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

.category {
    color: var(--accent-1);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.work-overlay .category {
    color: #a5b4fc; /* Bright/light indigo-300 for high visibility on the dark overlay */
}

.work-overlay h3 {
    font-size: 1.5rem;
    color: #ffffff; /* Always white for readability on the dark overlay */
}

/* Services Section */
.services-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-black-solid) 100%);
    position: relative;
    border-top: 1px solid var(--light-05);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--light-05);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 15px 30px -10px rgba(168, 85, 247, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--light-02);
    border: 1px solid var(--light-10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.5);
}

.service-icon {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
}

.service-list {
    list-style: none;
    text-align: left;
    width: 100%;
}

.service-list li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
}

.service-list li::before {
    content: '→';
    color: var(--accent-1);
    font-size: 0.8rem;
    margin-right: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.2s ease;
}

.service-card:hover .service-list li {
    color: var(--text-primary);
}

.service-card:hover .service-list li::before {
    opacity: 1;
    transform: translateX(0);
}

/* Tools Section */
.tools-section {
    background-color: var(--bg-navbar);
}

.tools-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--light-05);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 300px;
    max-width: 380px;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.2);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tool-header h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.tool-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
}

.icon-pr { background: #00005b; color: #9999ff; border: 1px solid #9999ff; }
.icon-ae { background: #00005b; color: #d8a1ff; border: 1px solid #d8a1ff; }
.icon-davinci { background: conic-gradient(from 180deg at 50% 50%, #FF0000, #FFFF00, #00FF00, #00FFFF, #0000FF, #FF00FF, #FF0000); border-radius: 50%; }
.icon-fcpx { background: var(--bg-black-solid); font-size: 1.5rem; }
.icon-blender { background: transparent; font-size: 1.8rem; }

.tool-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tools-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid var(--light-10);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.banner-content h2 {
    font-size: 2rem;
    max-width: 600px;
    color: var(--text-primary);
}

.circular-btn {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--light-05);
    border: 1px solid var(--light-20);
    transition: all 0.3s ease;
}

.circular-btn:hover {
    background: var(--light-10);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.circular-btn .inner-icon {
    font-size: 2rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Contact Section */
.contact-box {
    background: var(--bg-card);
    border: 1px solid var(--light-05);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-box p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    gap: 1.5rem;
}

input, textarea {
    width: 100%;
    max-width: 100%;
    padding: 1rem 1.5rem;
    background: var(--shadow-color);
    border: 1px solid var(--light-10);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

textarea {
    resize: vertical;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-1);
}

/* Footer */
footer {
    border-top: 1px solid var(--light-05);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-1);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-navbar-scrolled);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 2.5rem 0;
        border-bottom: 1px solid var(--light-05);
        box-shadow: 0 10px 30px var(--shadow-color);
        z-index: 999;
        gap: 2rem;
        align-items: center;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: block;
    }
    .hero-cta {
        flex-direction: column;
    }
    .input-group {
        flex-direction: column;
    }
    .contact-box {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-brand .address a,
    .footer-brand .address div {
        justify-content: center;
        text-align: left;
    }
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-1);
    pointer-events: none;
    z-index: 9999;
    /* initial transform is handled by JS translate3d */
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Removed mix-blend-mode for performance */
}

.custom-cursor.hover-view {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
}

.custom-cursor .cursor-text {
    opacity: 0;
    color: var(--bg-dark);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.custom-cursor.hover-view .cursor-text {
    opacity: 1;
}



/* Process Section */
.process-section {
    background-color: var(--bg-dark);
    position: relative;
    padding: 6rem 5%;
}

.process-title {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
    font-family: var(--font-body);
}

.process-subtitle {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    color: var(--text-primary);
    margin-bottom: 5rem;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    align-items: center;
}

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 1.5rem;
    }
    
    .step-circle {
        max-width: 110px;
    }
    
    .step-text {
        font-size: 0.75rem;
    }
    
    .step-icon {
        width: 24px;
        height: 24px;
    }
}

.process-step {
    display: flex;
    justify-content: center;
}

.step-circle {
    width: 100%;
    max-width: 150px;
    aspect-ratio: 1/1;
    height: auto;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 8px solid var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-circle::before, .step-circle::after {
    content: '';
    position: absolute;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border-radius: 50%;
    border: 2px solid var(--light-05);
    z-index: -1;
    pointer-events: none;
}

.step-circle::after {
    width: calc(100% + 15px);
    height: calc(100% + 15px);
    border-color: rgba(99, 102, 241, 0.3);
    border-top-color: transparent;
    border-bottom-color: transparent;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.process-step:hover .step-circle {
    transform: translateY(-10px);
    border-color: var(--light-10);
}

.process-step:hover .step-circle::after {
    transform: rotate(180deg) scale(1.05);
    border-left-color: var(--accent-1);
    border-right-color: var(--accent-2);
}

.step-icon {
    width: 30px;
    height: 30px;
    color: var(--accent-1);
    transition: transform 0.3s ease, color 0.3s ease;
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    color: var(--accent-2);
}

.step-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

/* Magnetic Buttons */
.btn-primary, .btn-primary-sm, .circular-btn {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease, background 0.3s ease;
}

/* --- Global Background Blurs --- */
.section::after,
.studio-stats-section::after,
.team-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(15px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

/* Ensure the sections are relative and containers sit above the blur */
.section, .studio-stats-section, .team-section {
    position: relative;
    overflow: hidden;
}

.container,
.stats-grid-wrapper {
    position: relative;
    z-index: 1;
}

#about::after { background-image: url('assets/portfolio_commercial.png'); }
#stats::after { background-image: url('assets/portfolio_reels.png'); }
#work::after { background-image: url('assets/portfolio_wedding.png'); }
#services::after { background-image: url('assets/portfolio_music.png'); }
#tools::after { background-image: url('assets/portfolio_color_grading.png'); }
#process::after { background-image: url('assets/portfolio_vfx.png'); }
#team::after { background-image: url('assets/portfolio_social_events.png'); }
#reviews::after { background-image: url('assets/portfolio_documentary.png'); }
#contact::after { background-image: url('assets/hero_bg.png'); }

/* Footer Map Creativity */
.footer-map-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--light-05);
}

.footer-map-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(20px);
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

.footer-map-img {
    width: 100%;
    height: auto;
    opacity: 0.95;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
    object-fit: contain;
    clip-path: inset(0 0 15% 0);
    margin-bottom: -15%;
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease, opacity 0.4s ease;
}

.footer-map-img:hover {
    transform: scale(1.04) translateY(-5px);
    filter: drop-shadow(0 0 25px rgba(168, 85, 247, 0.75));
    opacity: 1;
}

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

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
}

/* --- Editorial Horizontal Team Layout (Side-by-side) --- */
.team-layout-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.team-card-horizontal {
    flex: 1;
    min-width: 450px;
    display: flex;
    align-items: center;
    background: var(--light-02);
    border: 1px solid var(--light-05);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    gap: 3rem;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.team-card-horizontal:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 15px 35px var(--shadow-color);
}

.team-card-horizontal.reverse {
    flex-direction: row-reverse;
}

.team-img-wrapper-horizontal {
    flex: 0 0 35%;
    aspect-ratio: 4/5;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid var(--light-05);
}

.team-img-wrapper-horizontal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.team-card-horizontal:hover .team-img-wrapper-horizontal img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.team-info-horizontal {
    flex: 1;
    text-align: left;
}

.team-info-horizontal h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.team-info-horizontal .team-role {
    display: inline-block;
    color: var(--accent-1);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    line-height: 1.2;
}

.team-meta-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
    margin-top: 0.6rem;
}

.team-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.team-phone-link:hover {
    color: var(--accent-1);
    transform: translateX(2px);
}

.team-phone-link svg {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.team-phone-link:hover svg {
    color: var(--accent-1);
}

.team-info-horizontal .team-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.team-card-horizontal .team-social {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .team-layout-grid {
        flex-direction: column;
    }

    .team-card-horizontal, .team-card-horizontal.reverse {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
        text-align: center;
        min-width: 0; /* prevent horizontal overflow */
        width: 100%;
    }
    
    .team-info-horizontal {
        text-align: center;
    }

    .team-meta-container {
        align-items: center;
    }

    .team-card-horizontal .team-social,
    .team-card-horizontal.reverse .team-social {
        justify-content: center;
    }
    
    .team-img-wrapper-horizontal {
        flex: auto;
        width: 100%;
        max-width: 300px;
    }
}

/* --- Reviews Section --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.review-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--light-05);
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 15px 35px var(--shadow-color);
}

.review-stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    flex-grow: 1;
}

.review-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border-top: 1px solid var(--light-05);
    padding-top: 1.5rem;
    width: 100%;
}

.author-info h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.author-info span {
    color: var(--accent-1);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Glass Accordion Theme for Why Us Page */
.glass-accordion {
    position: relative;
    z-index: 2;
}

.glass-accordion .faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--light-05);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.glass-accordion .faq-item.active {
    background: var(--bg-card-active);
    border-color: rgba(99, 102, 241, 0.3);
}

.glass-accordion .faq-header,
.glass-accordion .faq-icon {
    color: var(--text-primary);
}

.glass-accordion .faq-item.active .faq-header,
.glass-accordion .faq-item.active .faq-icon {
    color: var(--accent-1);
}

.glass-accordion .faq-content p {
    color: var(--text-secondary);
}


/* Theme Toggle Button */
.theme-toggle-btn {
    background: var(--light-02);
    border: 1px solid var(--border-invert);
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px var(--shadow-color);
}
.theme-toggle-btn:hover {
    background: var(--light-05);
    border-color: var(--accent-1);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.25);
}
.theme-toggle-btn svg {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-toggle-btn:hover svg {
    transform: rotate(15deg);
}

/* Why Us Page Backgrounds */
.why-us-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    z-index: 1;
    filter: blur(15px) brightness(0.3) saturate(0.8) hue-rotate(200deg);
    transition: filter 0.5s ease;
}

[data-theme="light"] .why-us-bg {
    filter: blur(15px) brightness(0.95) saturate(0.7) opacity(0.25);
}

.why-us-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.1) 100%);
    z-index: 1;
}

