@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ==========================================================================
   DESIGN TOKENS & SYSTEM VARIABLES
   ========================================================================== */
:root {
    /* Color Palette - Updated to Light Premium Theme matching screenshot */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #14161a; /* Used for dark sections like contact */
    --bg-glass: rgba(255, 255, 255, 0.9);
    
    --accent: #f5cf17;       /* Simple Studio yellow */
    --accent-rgb: 245, 207, 23;
    --accent-hover: #ebd234;
    
    --text-primary: #000000;
    --text-secondary: #545860;
    --text-muted: #8e94a0;
    
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(245, 207, 23, 0.6);
    
    /* Layout & Spacing */
    --max-width: 1200px;
    --header-height: 80px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-accent: 0 4px 20px rgba(245, 207, 23, 0.15);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Section Containers */
section {
    padding: 100px 20px;
    position: relative;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Utilities */
.text-accent {
    color: var(--accent);
}

.bg-light {
    background-color: var(--bg-secondary);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--accent);
    color: #000000;
    border: 1.5px solid #000000;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary {
    border: 1.5px solid #000000;
    color: #000000;
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: #000000;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    height: 70px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

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

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

header.scrolled .logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #000000;
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

.nav-link:hover, .nav-link.active {
    color: #000000;
}

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

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

/* Language Selector - Redesigned to circle flag + code below like screenshot */
.lang-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.lang-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    border: none;
    background: transparent;
    padding: 0;
}

.lang-btn img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.1);
}

.lang-btn span {
    font-size: 0.7rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: -10px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    width: 110px;
    padding: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    width: 100%;
    text-align: left;
    color: #333;
}

.lang-option img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.lang-option:hover {
    background-color: var(--bg-secondary);
    color: #000000;
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 26px;
}

.burger span {
    width: 100%;
    height: 3px;
    background-color: #000000;
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION - Split Layout matching screenshot
   ========================================================================== */
.hero {
    min-height: calc(100vh - var(--header-height));
    display: grid;
    grid-template-columns: 58% 42%;
    padding: 0;
    margin-top: var(--header-height);
    background-color: #ffffff;
    align-items: stretch;
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000000;
}

.hero-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 80px;
    background-color: #ffffff;
    text-align: center;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-content {
    max-width: 480px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: 700;
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #000000;
    line-height: 1.25;
    margin-bottom: 15px;
    background: none;
    -webkit-text-fill-color: initial;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 100%;
}

.hero-btns {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero .btn-primary {
    padding: 14px 28px;
    font-size: 0.85rem;
    box-shadow: none;
}


/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
#services {
    position: relative;
    overflow-x: clip;
}

.services-floating-icon {
    position: absolute;
    top: 180px;
    right: 3%;
    width: 150px;
    height: auto;
    z-index: 5;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.1s ease-out, opacity 0.3s ease-out;
}

.services-floating-icon img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.1));
}

@media (max-width: 992px) {
    .services-floating-icon {
        width: 110px;
        right: 1%;
        top: 140px;
    }
}

@media (max-width: 768px) {
    .services-floating-icon {
        width: 85px;
        right: 10px;
        top: 250px;
        z-index: 10;
        opacity: 0.95;
    }
}

.services-intro-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.services-intro-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.services-intro-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.services-intro-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   ABOUT US & TEAM SECTION
   ========================================================================== */
.about-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-top-image img {
    border-radius: var(--radius-md);
    width: 100%;
    box-shadow: var(--shadow);
}

.about-top-text h3 {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.about-top-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.about-top-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.team-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
}

.team-img-wrapper {
    position: relative;
    aspect-ratio: 4/5;
    background-color: var(--bg-tertiary);
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(10, 11, 13, 0.95) 0%, rgba(10, 11, 13, 0.5) 50%, rgba(10, 11, 13, 0) 100%);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}

.team-info {
    flex: 1;
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

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

/* Animated Click Pointer Button on Team Card */
.team-pointer-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: rgba(18, 20, 26, 0.88);
    border: 1.5px solid rgba(255, 230, 0, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 12px rgba(255, 230, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: pointerFloat 3s ease-in-out infinite;
}

.team-pointer-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 230, 0, 0.7);
    opacity: 0;
    animation: pointerRipple 3s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
    pointer-events: none;
}

.team-card:hover .team-pointer-btn {
    transform: scale(1.15);
    background: rgba(28, 30, 38, 0.95);
    border-color: rgba(255, 230, 0, 0.95);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 22px rgba(255, 230, 0, 0.55);
}

.team-pointer-btn svg {
    display: block;
    transform-origin: 11px 6px;
    animation: pointerTap 3s ease-in-out infinite;
}

.team-pointer-btn .spark-ray {
    animation: sparkGlow 3s ease-in-out infinite;
}

@keyframes pointerFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes pointerTap {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    40% {
        transform: rotate(0deg) scale(1);
    }
    48% {
        transform: rotate(-8deg) scale(0.88) translate(-1px, -1px);
    }
    56% {
        transform: rotate(3deg) scale(1.06);
    }
    64% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes sparkGlow {
    0%, 40%, 70%, 100% {
        opacity: 0.35;
        stroke: rgba(255, 230, 0, 0.5);
    }
    48%, 56% {
        opacity: 1;
        stroke: #FFE600;
        filter: drop-shadow(0 0 4px rgba(255, 230, 0, 0.9));
    }
}

@keyframes pointerRipple {
    0%, 40% {
        transform: scale(0.85);
        opacity: 0;
    }
    48% {
        opacity: 0.85;
    }
    75% {
        transform: scale(1.45);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* Team Modal Box */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 11, 13, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    max-width: 780px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transform: scale(0.92);
    transition: var(--transition);
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.modal-close:hover {
    background: var(--accent);
    color: #000000;
}

.modal-img {
    background-color: #14161a;
    height: 100%;
    min-height: 360px;
    overflow: hidden;
    position: relative;
}

.modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.modal-info {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h3 {
    font-size: 2rem;
    margin-bottom: 4px;
    line-height: 1.2;
}

.modal-info .role {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 700;
}

.modal-info .bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 25px;
}

/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.02);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-bottom: 60px;
}

.portfolio-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.portfolio-img-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #14161a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-img-wrapper img {
    transform: scale(1.04);
}

.portfolio-details {
    padding: 25px 30px;
}

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

.portfolio-details h3 {
    font-size: 1.4rem;
}

/* Media embeds - Behance, Video */
.media-showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.video-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.video-container video {
    width: 100%;
    border-radius: 8px;
    outline: none;
    background: #000;
}

.behance-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: var(--shadow);
}

.behance-container iframe {
    width: 100%;
    border-radius: 8px;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.testimonial-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-md);
    position: relative;
}

.testimonial-card::after {
    content: '“';
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.03);
    font-family: 'Outfit', sans-serif;
    line-height: 0.8;
}

.testimonial-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-text p, .contact-text a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.02);
}

.social-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    background-color: rgba(244, 208, 26, 0.03);
}

.map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 250px;
    margin-top: 10px;
    box-shadow: var(--shadow);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Form */
.contact-form-panel {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 50px 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.contact-form-panel h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

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

.form-input {
    width: 100%;
    padding: 16px 20px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244, 208, 26, 0.1);
    outline: none;
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

.form-status {
    margin-top: 20px;
    font-size: 0.9rem;
    display: none;
    padding: 12px;
    border-radius: var(--radius-sm);
}

.form-status.success {
    display: block;
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.form-status.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: #050608;
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-logo img {
    height: 49px;
}

.footer-info {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: var(--text-muted);
}

.footer-socials a:hover {
    color: var(--accent);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    section {
        padding: 80px 20px;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        height: 80px;
    }

    header.scrolled {
        height: 70px;
    }

    .logo img {
        height: 60px;
    }

    header.scrolled .logo img {
        height: 50px;
    }
    
    .burger {
        display: flex;
        z-index: 1001;
    }
    
    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: 0.4s ease-in-out;
        border-left: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero-video-wrapper {
        height: 320px;
    }
    
    .hero-content-wrapper {
        padding: 40px 20px;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.05rem;
    }
    
    .services-intro-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 35px 25px;
    }
    
    .about-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .media-showcase-row {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .modal {
        padding: 15px 12px;
    }

    .modal-content {
        grid-template-columns: 1fr;
        max-width: 400px;
        max-height: 88vh;
        overflow-y: auto;
        border-radius: 12px;
    }
    
    .modal-img {
        height: 230px;
        min-height: 230px;
        background-color: #14161a;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .modal-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
    }

    .modal-info {
        padding: 22px 18px 25px 18px;
    }

    .modal-info h3 {
        font-size: 1.45rem;
        margin-bottom: 2px;
    }

    .modal-info .role {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .modal-info .bio {
        font-size: 0.88rem;
        line-height: 1.55;
        margin-bottom: 18px;
    }

    .modal-info .btn {
        width: 100%;
        justify-content: center;
        padding: 11px 18px;
        font-size: 0.8rem;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-logo img {
        height: 53px;
    }
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #18191c;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(245, 207, 23, 0.25);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent);
    color: #121316;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 18px rgba(245, 207, 23, 0.6);
}

.back-to-top:active {
    transform: translateY(-1px) scale(0.96);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 22px;
        right: 20px;
        width: 53px;
        height: 53px;
        font-size: 1.25rem;
        border-width: 2.5px;
    }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.reveal-left {
    transform: translateX(-35px);
}

.reveal.reveal-right {
    transform: translateX(35px);
}

.reveal.reveal-scale {
    transform: scale(0.95);
}

.reveal.revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Staggered Delays for Grid Items */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.26s; }
.reveal-delay-4 { transition-delay: 0.34s; }
.reveal-delay-5 { transition-delay: 0.42s; }
.reveal-delay-6 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
