:root {
    --primary-color: #08203d; /* Matching image background */
    --secondary-color: #12375f; /* Matching image light swoosh */
    --gold-color: #e4ce77; /* Yellow-gold from the 'e' */
    --gold-light: #f3e39d;
    --gold-gradient: #e4ce77;
    --text-color: #ffffff;
    --text-muted: #94a9bf;
    --glass-bg: rgba(18, 55, 95, 0.25);
    --glass-border: rgba(228, 206, 119, 0.15);
    --glass-highlight: rgba(255, 255, 255, 0.05);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    font-weight: 400;
}

/* Cinematic Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    pointer-events: none;
    z-index: 9998;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.75" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.04;
}

/* Ambient Deep Glows */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: -1;
}
.glow-1 { top: -20%; right: -10%; width: 50vw; height: 50vw; background: rgba(212, 175, 55, 0.08); }
.glow-2 { bottom: -20%; left: -10%; width: 60vw; height: 60vw; background: rgba(18, 55, 95, 0.8); }

/* Typography Weights */
h1, h2, h3, h4, .nav-links a, .nav-btn, .section-title {
    font-weight: 700;
}
p, span, li, .hero-tagline {
    font-weight: 400;
}

/* Star Overlays */
.star-overlay {
    position: absolute;
    pointer-events: none;
    z-index: 10;
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}
.star-1 { top: 15%; right: 10%; width: 120px; }
.star-2 { bottom: 25%; left: 5%; width: 80px; animation-delay: 2s; }
.star-3 { top: 45%; left: 15%; width: 60px; animation-delay: 1s; opacity: 0.2; }
.star-4 { bottom: 10%; right: 20%; width: 100px; animation-delay: 3s; opacity: 0.3; }
.star-5 { top: 75%; right: 5%; width: 50px; animation-delay: 4.5s; }
.star-7 { bottom: 40%; right: 40%; width: 110px; animation-delay: 3.5s; opacity: 0.6; }

/* Top & Bottom Overlays */
.star-hero-1 { top: 5%; right: 30%; width: 80px; animation-delay: 0.5s; opacity: 0.8; z-index: 0; pointer-events: none; }
.star-hero-glow { top: 15%; left: 5%; width: 120px; animation-delay: 2.1s; opacity: 0.4; z-index: 0; pointer-events: none; }
.star-hero-4 { top: 18%; right: 10%; width: 60px; animation-delay: 0.8s; opacity: 0.5; z-index: 0; pointer-events: none; }

.star-foot-1 { bottom: 2%; right: 10%; width: 70px; animation-delay: 0.3s; opacity: 0.7; z-index: 0; pointer-events: none; }
.star-foot-4 { bottom: 5%; left: 40%; width: 60px; animation-delay: 2.5s; opacity: 0.8; z-index: 0; pointer-events: none; }
.star-team-bg { top: 30%; left: 0%; width: 120px; animation-delay: 1.8s; opacity: 0.3; z-index: 0; pointer-events: none; }


@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Deep Glassmorphism (Premium Cards) */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 var(--glass-highlight);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.03), transparent);
    transform: skewX(-20deg);
    transition: 0.7s;
}

.glass-card:hover::before {
    left: 150%;
}

.testimonial-card::before {
    display: none !important;
}

/* Custom Cinematic Cursor */
.cursor {
    width: 8px; height: 8px;
    background: var(--gold-color);
    box-shadow: 0 0 12px var(--gold-color);
    border-radius: 50%;
    position: fixed; pointer-events: none; z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}
.cursor-follower {
    width: 45px; height: 45px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    position: fixed; pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s, background 0.4s;
}

/* Typography Upgrades */
.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -1px;
}
.section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 60px;
    font-size: 1.15rem;
}
.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gold-color);
    font-weight: inherit; /* Matches parent title weight exactly */
}

/* Premium Buttons */
.btn {
    display: inline-block;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.primary-btn {
    background: var(--gold-gradient);
    color: #000;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.25);
    border: none;
}
.primary-btn:hover {
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
    transform: translateY(-4px) scale(1.02);
}
.secondary-btn {
    background: transparent;
    color: var(--gold-light);
    border: 1px solid var(--gold-color);
}
.secondary-btn::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; width: 100%; height: 0%;
    background: var(--gold-gradient);
    transition: var(--transition);
    z-index: -1;
}
.secondary-btn:hover {
    color: #000; border-color: transparent;
    transform: translateY(-4px) scale(1.02);
}
.secondary-btn:hover::after {
    height: 100%;
}

/* Navbar */
#navbar {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.nav-scrolled {
    background: rgba(8, 32, 61, 0.95) !important;
    backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.nav-container {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%; margin: 0 auto;
}
.logo {
    display: flex; align-items: center; gap: 15px;
    font-weight: 900; font-size: 1.8rem; color: var(--gold-color);
}
.logo #main-logo { height: 45px; filter: drop-shadow(0 0 15px rgba(212,175,55,0.3)); }
.logo #wordmark-logo { height: 35px; filter: drop-shadow(0 0 10px rgba(212,175,55,0.2)); }
.nav-links { display: flex; gap: 40px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255, 255, 255, 0.9); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.5px; position: relative; transition: all 0.3s ease; display: inline-block; text-decoration: none; border: none; }
.nav-links a:hover { color: var(--gold-light); text-shadow: 0 0 10px rgba(212, 175, 55, 0.4); transform: translateY(-2px) scale(1.05); text-decoration: none; outline: none; }
.nav-btn {
    background: var(--glass-bg); padding: 12px 35px;
    border-radius: 50px; border: 1px solid var(--glass-border);
    transition: var(--transition); font-weight: 700;
}
.nav-btn:hover {
    background: var(--gold-gradient); color: #000 !important; border-color: transparent;
}
.menu-toggle { display: none; font-size: 1.5rem; color: var(--gold-color); cursor: pointer; }

/* Hero Section */
#hero {
    height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center;
    background-image: url('https://images.unsplash.com/photo-1492691523567-6170c24dac09?q=80&w=1920&auto=format&fit=crop');
    background-size: cover; background-position: center; background-attachment: fixed;
    position: relative;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Deep cinematic fade from top and bottom */
    background: linear-gradient(to bottom, 
        rgba(4, 16, 29, 0.9) 0%, 
        rgba(8, 32, 61, 0.3) 25%, 
        rgba(8, 32, 61, 0.3) 75%, 
        rgba(8, 32, 61, 1) 100%);
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 2; padding: 0 20px;
}
.hero-wordmark {
    max-width: 100%; height: auto; max-height: 150px;
    margin-bottom: 30px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
    animation: fadeInDown 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-tagline {
    font-size: 1.8rem; color: var(--text-color); margin-bottom: 50px; font-weight: 300; opacity: 0.9;
}
.scroll-down {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--gold-light); font-size: 0.9rem; opacity: 0.7; z-index: 2;
}
.scroll-down i { animation: bounce 2s infinite cubic-bezier(0.16, 1, 0.3, 1); font-size: 1.2rem; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-15px); } 60% { transform: translateY(-7px); } }

/* Section Padding */
section { padding: 80px 0; }

/* Locations */
.location-filters { display: flex; justify-content: center; gap: 20px; margin-bottom: 60px; flex-wrap: wrap; }
.filter-btn {
    background: transparent; border: 1px solid var(--glass-border); color: var(--text-color);
    padding: 12px 35px; border-radius: 50px; cursor: pointer; font-family: inherit; font-size: 1.1rem;
    transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover { background: var(--gold-gradient); color: #000; border-color: transparent; font-weight: 700; box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2); }
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 40px; }
.location-card {
    height: 480px; padding: 0; cursor: pointer;
}
.loc-img { height: 100%; border-radius: inherit; overflow: hidden;}
.loc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1); filter: brightness(0.7) sepia(0.2) hue-rotate(-10deg); }
.location-card:hover .loc-img img { transform: scale(1.1); filter: brightness(1) sepia(0); }
.loc-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 50px 40px 40px;
    background: linear-gradient(to top, rgba(8, 32, 61, 1) 0%, rgba(8, 32, 61, 0.8) 50%, transparent 100%);
    transition: var(--transition); transform: translateY(15px);
}
.location-card:hover .loc-overlay { transform: translateY(0); }
.loc-overlay h3 { font-size: 1.9rem; color: var(--gold-light); margin-bottom: 10px; font-weight: 700; }
.loc-overlay p { color: var(--text-muted); font-size: 1.15rem; opacity: 0; transition: var(--transition); transition-delay: 0.1s;}
.location-card:hover .loc-overlay p { opacity: 1; transform: translateY(-5px); }

/* Services Grid Premium */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}
.service-card-new {
    background: rgba(8, 32, 61, 0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    text-align: center;
    backdrop-filter: blur(10px);
}
.service-card-new:hover {
    background: rgba(8, 32, 61, 0.8);
    transform: translateY(-10px);
    border-color: var(--gold-color);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}
.service-icon {
    font-size: 3rem;
    color: var(--gold-color);
    margin-bottom: 20px;
}
.service-card-new h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}
.service-card-new p {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 35px; }
.port-item {
    aspect-ratio: 1/1; border-radius: 24px; overflow: hidden; position: relative;
    border: 1px solid var(--glass-border); background: #000;
    transition: var(--transition);
}

/* Cinematic Video Placeholder Styles */
.has-video {
    cursor: pointer;
    background-color: #051221 !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.has-video::after {
    content: '\f04b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    width: 70px;
    height: 70px;
    background: rgba(8, 32, 61, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--gold-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-color);
    font-size: 1.5rem;
    padding-left: 5px;
    transition: var(--transition);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.has-video::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.port-item.has-video:hover {
    transform: translateY(-10px);
    border-color: var(--gold-color);
}


.port-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(8, 32, 61, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
    opacity: 0;
    transition: var(--transition);
    z-index: 4;
}

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

.port-category {
    color: var(--gold-color);
    font-size: 1.4rem;
    font-weight: 700;
    transform: translateY(20px);
    transition: var(--transition);
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
    background: rgba(8, 32, 61, 0.6);
    padding: 8px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.port-item:hover .port-category {
    transform: translateY(0);
}

/* Enhancing play button on hover */
.has-video:hover::after {
    transform: translateY(-15px) scale(1.1);
    background: var(--gold-color);
    color: #08203d;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.4);
}


.folder-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gold-color);
    color: #000;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Video Testimonials Scroll Container */
.testi-scroll-container {
    overflow-x: auto;
    padding: 40px 0;
    width: 100%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    position: relative;
}

.testi-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testi-scroll-track {
    display: flex;
    gap: 40px;
    padding: 0 40px;
    width: max-content;
    will-change: transform, scroll-position;
}

.testi-video {
    background: rgba(8, 32, 61, 0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    aspect-ratio: 16/9;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
}

.testi-video.has-video:hover {
    transform: translateY(-5px);
    border-color: var(--gold-color);
}
.video-placeholder {
    color: var(--gold-color);
    text-align: center;
    opacity: 0.8;
}
.huge-play {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite ease-in-out;
}

/* New Testimonial Cards */
.testimonial-card {
    padding: 50px 20px 25px; /* Adjust padding for smaller card */
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    width: 300px; /* Similar to team card size */
    margin: 50px 0 20px;
    flex-shrink: 0;
    border-top: none;
    background: linear-gradient(135deg, rgba(8, 32, 61, 0.6), rgba(18, 55, 95, 0.4));
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    overflow: visible !important; /* Crucial: show floating image */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.testi-user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.testi-user-img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 3px solid var(--gold-color);
    padding: 3px;
    background: var(--primary-color);
    position: absolute;
    top: -85px; /* Adjusted floating position */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10;
}

.testi-user-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testi-user-details {
    margin-top: 10px;
}

.testi-user-details h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.testi-user-details p {
    color: var(--gold-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testi-video {
    width: 100%;
    margin-top: 5px;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(228, 206, 119, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-color);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.testimonial-card:hover .testi-user-img {
    transform: translateX(-50%) scale(1.1);
    border-color: var(--gold-light);
}
.video-card { padding: 0; background: var(--glass-bg); border-radius: 24px; overflow: hidden; }
.video-wrapper { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; cursor: pointer; }
.video-wrapper video { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: var(--transition); }
.video-wrapper:hover video { opacity: 1; }
.play-btn-overlay {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 70px; height: 70px; border-radius: 50%; background: var(--glass-bg);
    border: 1px solid var(--gold-color); display: flex; justify-content: center; align-items: center;
    color: var(--gold-color); font-size: 1.5rem; backdrop-filter: blur(10px);
    transition: var(--transition); padding-left: 5px; box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}
.video-wrapper:hover .play-btn-overlay { background: var(--gold-color); color: #000; transform: translate(-50%, -50%) scale(1.1); }
.testi-meta { padding: 30px; border-top: 1px solid var(--glass-border); text-align: center; }
.testi-meta h4 { color: var(--gold-color); font-size: 1.4rem; font-weight: 700; margin-bottom: 5px; }
.testi-meta span { color: var(--text-muted); font-size: 1rem; }

/* Footer */
footer { padding: 80px 0 30px; background: rgba(5, 18, 35, 0.98); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 60px; flex-wrap: wrap; gap: 30px;}
.footer-logo { 
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}
.footer-icon { height: 75px; filter: drop-shadow(0 0 15px rgba(212,175,55,0.4)); }
.social-links { 
    display: flex; 
    gap: 25px; 
    margin-top: 40px; 
}
.social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 55px; height: 55px; border-radius: 50%;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    font-size: 1.6rem; color: var(--text-color); transition: var(--transition);
}
.social-links a:hover {
    background: var(--gold-gradient) !important; 
    color: #04101d !important; /* Force Blue icon as requested */
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}
.copyright { 
    text-align: center; 
    color: var(--text-color); /* Visible color */
    border-top: 1px solid var(--glass-border); 
    padding-top: 35px; 
    font-size: 1rem;
    font-weight: 700;
    opacity: 1; /* Full visibility */
}

/* About & Features Styles */
.about-grid, .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}
.about-box, .feature-box {
    padding: 40px;
}
.about-box h3, .feature-box h3 {
    color: var(--gold-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.about-box p {
    font-size: 1.15rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* Lists */
.styled-list {
    list-style: none;
}
.styled-list li {
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 15px;
}
.styled-list li:last-child {
    border-bottom: none;
}
.styled-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gold-light);
}

.workflow-list li {
    align-items: flex-start;
}
.workflow-list li::before {
    content: none;
}
.workflow-list span {
    background: var(--gold-color);
    color: #000;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 900;
    margin-top: -2px;
}

/* Clients Tags */
.clients-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}
.glass-tag {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1.2rem;
    transition: var(--transition);
    cursor: default;
}
.glass-tag:hover {
    background: var(--gold-gradient);
    color: #000;
    transform: translateY(-5px);
}

/* Team Premium Cards */
.team-scroll-container {
    overflow-x: auto;
    padding: 40px 0;
    width: 100%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}
.team-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.team-scroll-track {
    display: flex;
    gap: 30px;
    padding: 0 40px;
    width: max-content;
    will-change: transform, scroll-position;
}
.pro-team-card {
    min-width: 250px;
    flex-shrink: 0;
    background: rgba(8, 32, 61, 0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s ease;
    scroll-snap-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.pro-team-card:hover {
    background: rgba(8, 32, 61, 0.8);
    transform: translateY(-10px);
    border-color: var(--gold-color);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}
.pro-team-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin-bottom: 25px;
    padding: 4px;
    background: linear-gradient(135deg, var(--gold-color), transparent);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    transition: all 0.4s ease;
}
.pro-team-card:hover .pro-team-img {
    transform: scale(1.05);
}
.pro-team-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-color);
}
.pro-team-info {
    text-align: center;
}
.pro-team-info h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}
.pro-team-info p {
    color: var(--gold-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Partners Section */
.partners-scroll-container {
    overflow-x: auto;
    padding: 40px 0 60px;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    position: relative;
}
.partners-scroll-container::-webkit-scrollbar {
    display: none;
}
.partners-scroll-track {
    display: flex;
    gap: 40px;
    padding: 0 40px;
    width: max-content;
    will-change: transform, scroll-position;
}
.partner-card {
    width: 130px !important;
    height: 130px !important;
    flex: 0 0 130px !important; /* Force size on Safari */
    -webkit-flex: 0 0 130px !important;
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    background: #fff;
    border: 2px solid transparent;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    scroll-snap-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden !important; /* Force clipping */
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari clipping fix */
    isolation: isolate; /* Improve rendering isolation */
    cursor: pointer;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Creative Touch: Cinematic Shine Effect */
.partner-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.8s;
    pointer-events: none;
    z-index: 2;
}

.partner-card:hover::after {
    left: 150%;
}

.partner-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    transition: all 0.5s ease;
    filter: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.partner-card:hover {
    transform: scale(1.18) translateY(-12px) rotate(3deg); /* Slight Tilt */
    border-color: var(--gold-light);
    box-shadow: 0 0 30px rgba(228, 206, 119, 1), 
                0 0 60px rgba(228, 206, 119, 0.6),
                0 0 100px rgba(212, 175, 55, 0.4),
                0 25px 50px rgba(0, 0, 0, 0.7);
    z-index: 10;
}

.partner-card:active {
    transform: scale(0.92) translateY(5px);
    box-shadow: 0 0 40px #e4ce77, 0 0 80px rgba(228, 206, 119, 0.8);
    transition: 0.1s;
}

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

/* Contact Box */
.contact-box {
    text-align: center;
    padding: 50px;
    margin-top: -60px; /* Further reduced gap from partners section */
    margin-bottom: -100px; /* Overlap footer */
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, rgba(18, 55, 95, 0.4), rgba(8, 32, 61, 0.9));
}
.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}
.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.6rem;
    font-weight: 700;
}
.contact-item i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900 !important;
    color: var(--gold-color) !important;
    font-size: 1.8rem;
    display: inline-block;
    min-width: 30px;
}
.contact-item a {
    color: var(--text-color);
    direction: ltr;
}
.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}
.contact-info a:hover {
    color: var(--gold-color);
}

.cta-star {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.6;
    animation: float 5s ease-in-out infinite;
    pointer-events: none;
}

.star-top-right {
    top: 20px;
    right: 20px;
}

.star-bottom-left {
    bottom: 20px;
    left: 20px;
    animation-delay: 2s;
}

/* Footer Branding & Credits */
footer {
    padding: 60px 0 30px;
    background: #04101d;
    position: relative;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.social-links {
    display: flex;
    gap: 25px;
    margin-top: 50px;
}
.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: var(--transition);
}
.social-links a:hover {
    color: var(--gold-color);
    transform: translateY(-3px);
}
.copyright, .developer-credit {
    margin-top: 15px;
    font-size: 1rem;
    opacity: 0.8;
    text-align: center;
}
.developer-credit a {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}
.developer-credit a:hover {
    text-decoration: underline;
    filter: brightness(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 5.5rem; }
    .about-grid, .features-grid { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav-container { padding: 15px 25px; } /* Push hamburger away from screen edge */
    .logo #main-logo { height: 35px; } /* Resize main Icon */
    .hero-content h1 { font-size: 2.8rem; }
    .hero-wordmark { max-height: 60px; }
    .hero-tagline { font-size: 1rem; margin-bottom: 30px; }
    .section-title { font-size: 1.8rem; }
    .section-desc { font-size: 0.9rem; margin-bottom: 30px; }

    .testimonial-card {
        padding: 50px 20px 30px;
        width: 280px; /* Fixed width for better mobile scrolling */
    }
    
    .testi-user-img {
        width: 70px;
        height: 70px;
        top: -85px;
    }

    .nav-links { 
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(8, 32, 61, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        clip-path: circle(0px at 90% 10%);
        transition: clip-path 0.6s cubic-bezier(0.86, 0, 0.07, 1);
        display: flex;
        z-index: 100;
        border: none;
    }
    .nav-links.active {
        clip-path: circle(150vh at 90% 10%);
    }
    .nav-links a {
        font-size: 1.1rem;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }
    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active a:nth-child(5) { transition-delay: 0.5s; }
    .nav-links.active a:nth-child(6) { transition-delay: 0.6s; }
    .menu-toggle { display: block; z-index: 101; font-size: 1.4rem; }
    .cursor, .cursor-follower, .ambient-glow { display: none; }
    section { padding: 50px 0; }
    
    .team-scroll-container { gap: 15px; padding: 10px; }
    .pro-team-card { min-width: 170px; padding: 20px 10px; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border: 1px solid rgba(255,255,255,0.05); }
    .pro-team-img { width: 100px; height: 100px; }
    .pro-team-info h3 { font-size: 1.1rem; }
    .pro-team-info p { font-size: 0.85rem; }

    .partners-scroll-container { gap: 15px; padding: 30px 0 50px; }
    .partners-scroll-track { gap: 20px; padding: 0 20px; }
    .partner-card { 
        width: 90px !important; 
        height: 90px !important; 
        flex: 0 0 90px !important;
        -webkit-flex: 0 0 90px !important;
        border-radius: 50% !important;
        -webkit-border-radius: 50% !important;
        padding: 4px; 
    }

    /* Adjusting grids for mobile */
    .about-grid, .features-grid { grid-template-columns: 1fr; gap: 15px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
    .services-grid-new { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
    
    .testi-scroll-container { gap: 15px; padding: 10px; }
    .testi-user-details h4 { font-size: 1rem; }
    .testi-user-details p { font-size: 0.7rem; }

    
    .port-item { aspect-ratio: 1/1; border-radius: 12px; }
    
    .service-card-new { padding: 12px 8px; }
    .service-card-new h3 { font-size: 0.85rem; margin-bottom: 5px; }
    .service-card-new p { font-size: 0.75rem; line-height: 1.35; }
    .service-icon { font-size: 1.3rem; margin-bottom: 5px; }

    .about-box, .feature-box { padding: 12px 12px; }
    .about-box h3, .feature-box h3 { font-size: 1rem; margin-bottom: 6px; }
    .about-box p, .styled-list li { font-size: 0.8rem; line-height: 1.4; padding: 6px 0; }
    
    .contact-box { padding: 20px 15px; margin-bottom: -50px; }
    .contact-box h2 { font-size: 1.2rem; margin-bottom: 15px; }
    .contact-info { flex-direction: column; gap: 10px; }
    .contact-item { font-size: 0.9rem; justify-content: center; }
    .contact-item i { font-size: 1rem; }
    
    .studio-banner { padding: 15px 15px !important; }
    .studio-banner h3 { font-size: 1.1rem !important; }
    .studio-banner p { font-size: 0.9rem !important; line-height: 1.5 !important; }
    
    /* Resize Clients */
    .clients-tags { gap: 8px; }
    .glass-tag { padding: 8px 15px; font-size: 0.85rem; border-radius: 30px; }
    
    .footer-logo { width: auto; height: auto; }
    .footer-icon { height: 50px; }
    
    /* Adjust Stars to be below text */
    .star-hero-1, .star-hero-4 { 
        top: auto !important; 
        bottom: 5% !important; 
    }
    .star-hero-4 { bottom: 15% !important; right: 5% !important; }
    .star-overlay { opacity: 0.15 !important; } /* Reduce distraction */
}

/* Video Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}
.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    max-height: 56vw;
    background: #000;
    border-radius: 20px;
    border: 1px solid var(--gold-color);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}
@media (max-width: 768px) {
    .modal-content {
        height: auto;
        aspect-ratio: 16/9;
        max-height: none;
        width: 95%;
    }
}
.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--text-color);
    font-size: 3.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10001;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}
.close-modal:hover {
    color: var(--gold-color);
    transform: scale(1.1);
}
