/* Dark Mode Theme */
:root {
    --primary-color: #6a00ff;
    --secondary-color: #00ffcc;
    --accent-color: #ff301e;
    --background-color: #0a0a0a;
    --dark-bg: #070113;
    --card-bg: #120d1f;
    --text-color: #ffffff;
    --transition-speed: 0.3s;
    --section-spacing: 4rem;
    --border-radius: 8px;
    --navbar-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: transform var(--transition-speed) ease-out;
}

html {
    scroll-behavior: smooth;
}

html, body {
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    will-change: transform;
    width: 100%;
    max-width: 100%;
}

section {
    scroll-margin-top: var(--navbar-height);
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Reviews Section */
.reviews-section {
    padding: 6rem 0;
    background: var(--color-background);
    position: relative;
    overflow: hidden;
}

.reviews-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-description {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.logo-marquee {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: max-content;
    animation: logoScroll 35s linear infinite;
    will-change: transform;
}

.client-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(0, 255, 204, 0.4);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
    transition: transform 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.2);
}

@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .logo-marquee {
        padding: 1.5rem 0;
    }

    .logo-track {
        gap: 1rem;
        animation-duration: 28s;
    }

    .client-logo {
        width: 65px;
        height: 65px;
    }
}

/* Performance optimizations for smooth scrolling */
.video-container1,
.video-container2,
.video-container3,
.video-container4,
.video-container5 {
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 1;
    position: relative;
    isolation: isolate;
    contain: paint;
}

/* Add a wrapper for each video container */
.video-container1::before,
.video-container2::before,
.video-container3::before,
.video-container4::before,
.video-container5::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
}


/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(7, 1, 19, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: var(--navbar-height);
    transform: translateY(0);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar.scrolled {
    background: rgba(7, 1, 19, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Main navbar brand (left corner logo) */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-block;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--accent-color), var(--secondary-color));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient 4s ease infinite;
}

/* Remove center title since it's not needed */

/* Mobile navigation styles */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1.5rem;
    }

    .navbar-brand {
        flex: 1;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
        position: absolute;
        right: 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: var(--navbar-height);
        right: -100%;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem;
        height: calc(100vh - var(--navbar-height));
    }

    .nav-links.active {
        right: 0;
        display: flex;
    }
}

.nav-links {
    display: flex;
    gap: 0.8rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, var(--dark-bg), var(--background-color));
    position: relative;
    overflow: hidden;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
}
/* _________________________________________________________________________________-- */
/* Fix for dynamic viewport height issues */
.hero {
    min-height: 100dvh; /* Dynamic Viewport Height for modern browsers */
    min-height: 100svh; /* Small Viewport Height (better for mobile) */
    min-height: 100vh;  /* Fallback for older browsers */
}

/* ---------------------------------------------------------------------------------------------- */

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(106, 0, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, calc(5vw + 1rem), 3.5rem);
    margin-bottom: 1rem;
    color: var(--secondary-color);
    text-shadow: 0 0 50px rgba(114, 214, 253, 0.336);
}

.mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .mobile-break {
        display: block;
        margin-bottom: 0.2em;
    }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    opacity: 0.9;
}
    
h4{
    
 font-size: 1.4rem;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--accent-color), var(--secondary-color));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    /* font-size: 3.5rem; */
    /* margin-bottom: 3rem; */
    animation: gradient 4s ease infinite;

}

.hero-names {
    font-size: 1.1rem;
    font-style: italic;
    color: #f5deb3;
    background: none;
    background-clip: border-box;
    -webkit-background-clip: border-box;
    animation: none;
    text-shadow: none;
}
/* ----------------------------------------- */

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid  rgb(103, 212, 255);
    margin: 2rem 0;
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.3);
}
/* ------------------------------------------------------ */


/* Social Icons */
.social-logos {
    position: fixed;
    left: 2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
    transition: transform 0.3s ease-in-out;
}

.social-logos.hidden {
    transform: translateX(-100px);
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(18, 13, 31, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 2px solid var(--secondary-color);
}

.social-icon img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--secondary-color);
    background: rgba(106, 0, 255, 0.2);
    border-color: var(--secondary-color);
}

.social-icon:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .social-logos {
        left: 1rem;
        bottom: 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon img {
        width: 22px;
        height: 22px;
    }
}
/* ---------------------------------------------- */


.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-icons a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}
/* ---------------------------------------------------------------------------------------------------------- */
/* Section Spacing */

.projects {
    padding: 2rem 0;
    background-color: var(--dark-bg);
    width: 100%;
    max-width: 100%;
    position: relative;
    isolation: isolate;
    contain: paint;
}

main {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.projects > *:not(.full-width-hr) {
    padding-left: 2rem;
    padding-right: 2rem;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Regular hr lines */
hr {
    border: none;
    height: 0.5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--accent-color), var(--secondary-color));
    max-width: 100%;
    margin: 1rem auto;
}

/* Full width line */
.full-width-line {
    width: 100%;
    height: 3px;
    margin: 0.25rem auto;
    padding: 0;
    background: linear-gradient(90deg, 
        var(--secondary-color) 0%,
        var(--primary-color) 33%,
        var(--accent-color) 66%,
        var(--secondary-color) 100%
    );
    background-size: 300% 100%;
    animation: gradient 4s linear infinite;
}

.projects-content {
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem 0;
}

.projects h2 {
    color: var(--secondary-color);
    text-align: center;
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
}
h3 {
    color: rgb(103, 212, 255);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

/* Special styling for Thumbnails heading */
.thumbnails-heading {
    text-align: left;
    margin-left: 2rem;
}

@media (max-width: 768px) {
    .thumbnails-heading {
        text-align: center;
        margin-left: 0;
    }
}
/* -------------------------------------------------------------------------------------------------------- */
/* Video Container Styles */
/* 16:9 containers */
.video-container1,
.video-container2,
.video-container3,
.video-container4 {
    width: 40vw;
    height: calc(40vw * 9 / 16);
    max-height: 70vh;
    margin: 20px auto;
    position: relative;
    perspective: 1000px;
    overflow: visible;
    cursor: grab;
    touch-action: pan-y pinch-zoom;
    border-radius: 25px;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    container-type: inline-size;
    container-name: video-container;
}


/* 9:16 container for reels */
.video-container5 {
    width: calc(85vh * 9 / 16);  /* Large base size for desktop */
    height: 85vh;                /* Larger height */
    max-width: 30vw;            /* 30% of screen width */
    margin: 20px auto;
    position: relative;
    perspective: 1000px;
    overflow: visible;
    cursor: grab;
    touch-action: manipulation;
    border-radius: 25px;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    isolation: isolate;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Tablet size */
@media (max-width: 1024px) {
    .video-container5 {
        width: calc(40vh * 9 / 16);
        height: 40vh;
        max-width: 40vw;
    }
}

.video-container1:active,
.video-container2:active,
.video-container3:active,
.video-container4:active,
.video-container5:active {
    cursor: grabbing;
}

/* Video Styles */
.hero-video1,
.hero-video2,
.hero-video3,
.hero-video4,
.hero-video5 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(4px) brightness(0.6);
    transform: scale(0.85) translate3d(0, 0, -150px);
    transform-origin: center center;
    will-change: transform, filter;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Border Animation */
@keyframes rotate {
    0% {
        --angle: 0deg;
    }
    100% {
        --angle: 360deg;
    }
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.hero-video1.active,
.hero-video2.active,
.hero-video3.active,
.hero-video4.active,
.hero-video5.active {
    filter: blur(0) brightness(1);
    transform: scale(1) translate3d(0, 0, 0);
    z-index: 2;
    position: relative;
    border: 2px solid transparent;
    border-radius: 25px;
    background-image: 
        linear-gradient(#000, #000),
        conic-gradient(
            from var(--angle),
            var(--secondary-color),
            var(--primary-color),
            var(--accent-color),
            var(--secondary-color)
        );
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: 
        rotate 4s linear infinite,
        glowPulse 4s infinite;
}

.hero-video1.prev,
.hero-video2.prev,
.hero-video3.prev,
.hero-video4.prev {
    transform: scale(0.85) translate3d(-80%, 0, -150px);
    z-index: 1;
}

.hero-video1.next,
.hero-video2.next,
.hero-video3.next,
.hero-video4.next {
    transform: scale(0.85) translate3d(80%, 0, -150px);
    z-index: 1;
}

/* Special adjustments for vertical reels */
.hero-video5.prev {
    transform: scale(0.85) translate3d(-100%, 0, -150px);
    z-index: 1;
}

.hero-video5.next {
    transform: scale(0.85) translate3d(100%, 0, -150px);
    z-index: 1;
}

.video-overlay {
    position: absolute;
    inset: 0;
}

.video-controls {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.control-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
    pointer-events: auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.control-btn i {
    pointer-events: none;
    display: inline-block;
    color: #fff;
}

.control-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,1);
}


/* Mobile Responsive */
@media (max-width: 768px) {
    /* 16:9 containers */
    .video-container1,
    .video-container2,
    .video-container3,
    .video-container4 {
        width: 85vw;
        height: calc(85vw * 9 / 16);
        margin: 20px auto;
        transform-origin: center;
    }

    /* 9:16 container for reels */
    .video-container5 {
        width: calc(70vh * 9 / 16);
        height: 70vh;
        max-width: 70vw;
        margin: 20px auto;
    }

    /* Adjust translations for mobile */
    .hero-video1.prev,
    .hero-video2.prev,
    .hero-video3.prev,
    .hero-video4.prev,
    .hero-video5.prev {
        transform: scale(0.85) translate3d(-60%, 0, -150px);
    }

    .hero-video1.next,
    .hero-video2.next,
    .hero-video3.next,
    .hero-video4.next,
    .hero-video5.next {
        transform: scale(0.85) translate3d(60%, 0, -150px);
    }

    h3 {
        font-size: 1.5rem;
        text-align: center;
    }
}

/* Basic Styles */
body {
    font-family: Arial, sans-serif;
    background: #000212;
    color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/*  ================================================================================================================================*/
/* Carousel Styles */
#Carousel-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
  height: auto;
  min-height: 400px;
  display: flex;
  align-items: center;
  background: rgb(0, 1, 16);
  margin-bottom: 1.5rem;
}

#Carousel-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.Carousel-slider {
  display: flex;
  padding: 0 2rem;
  position: relative;
  gap: 2rem;
  width: fit-content;
  margin: 0 auto;
  align-items: center;
  height: auto;
  animation: autoSlide 40s linear infinite;
}

.slider-item {
  flex: 0 0 300px;
  height: auto;
  position: relative;
  margin: 0;
  transition: transform 0.3s ease;
}

.slider-item:hover {
  transform: scale(1.05);
}

.slider-item img {
  width: 300px;
  height: 169px; /* 16:9 aspect ratio */
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(69, 82, 255, 0.3);
  transition: box-shadow 0.3s ease;
}

.slider-item:hover img {
  box-shadow: 0 8px 25px rgba(0, 255, 204, 0.5);
}

/* .slider-item img {
  width: 40vw;
  height: calc(40vw * 9 / 16);
  max-height: 70vh;
  margin: 20px auto;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 255, 204, 0.3);
} */

.slider-item.active img {
  box-shadow: 0 8px 30px rgba(0, 255, 204, 0.5);
}

/* Slide transitions */
.slider-item {
  transform: none;
}

@keyframes autoSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 2rem));
  }
}

.Carousel-slider {
  animation: autoSlide 30s linear infinite;
  padding: 2rem;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #Carousel-slider {
    min-height: 300px;
    padding: 1rem 0;
  }

  .Carousel-slider {
    gap: 1rem;
    padding: 0 1rem;
  }

  .slider-item {
    flex: 0 0 250px;
  }

  .slider-item img {
    width: 250px;
    height: 141px;
  }
}
/* ---------------------------------------------------------------- */

 /* ------------------------------------------ */

/* Client Reviews Section */
.clients {
    padding: 4rem 2rem;
    text-align: center;
}

.clients h2 {
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.reviews-carousel {
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 2rem;
    animation: reviewsScroll 30s linear infinite;
}

@keyframes reviewsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card {
    width: 400px;
    background: var(--card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    flex-shrink: 0;
}

.review-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.review-card:hover img {
    transform: scale(1.1);
}

.review-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.review-card p {
    color: var(--text-color);
    font-style: italic;
    opacity: 0.9;
}

/* Social Icons */
.social-logos {
    position: fixed;
    left: 2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
    transition: transform 0.3s ease-in-out;
}

.social-logos.hidden {
    transform: translateX(-100px);
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(18, 13, 31, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 2px solid var(--secondary-color);
}

.social-icon img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--secondary-color);
    background: rgba(106, 0, 255, 0.2);
    border-color: var(--secondary-color);
}

.social-icon:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .social-logos {
        left: 1rem;
        bottom: 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon img {
        width: 22px;
        height: 22px;
    }
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--text-color);
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-icons a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
    }
    100% {
        box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
    }
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 10px;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: 0.3s;
}

.hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex: 1;
        justify-content: flex-end;
    }

    .navbar {
        padding: 0.8rem 1.5rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
        flex: 1;
    }


    .nav-links {
        position: fixed;
        top: var(--navbar-height);
        right: -100%;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem;
        height: calc(100vh - var(--navbar-height));
    }

    .nav-links.active {
        right: 0;
        display: flex;
    }

    .social-logos {
        display: none;
    }
}


/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes borderAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
/* ------------------- */

@media (max-width: 768px) {
    .videos {
        grid-template-columns: 1fr; 
    }

    .project-category {
        margin-bottom: 2rem; 
    }

    .hero h1 {
        font-size: 2rem; 
    }

    .hero p {
        font-size: 1rem; 
    }

    .profile-photo {
        width: 120px; 
        height: 120px;
    }

    .reviews {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .review {
        padding: 1rem;
    }

    .review p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .review h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .review img {
        width: 60px;
        height: 60px;
    }

    .reel-covers {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Further adjustment for smaller mobile screens */
@media (max-width: 480px) {
    .center-title .top-line {
        font-size: 0.9rem;
    }

    .center-title .bottom-line {
        font-size: 0.85rem;
        margin-top: 1px;
    }

    .review h4 {
        font-size: 0.85rem;
    }
}

  #ABC {
    color: white;
    text-align: center;
    font-size: 20px;
    margin: 20px;
    padding: 10px;
    font-style: italic;
  }

/* Social Icons in Hero Section */
.hero .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* आइकन्स के बीच की दूरी */
    margin-top: 2rem; /* हीरो कंटेंट से दूरी */
    position: relative; /* स्थिर रखने के लिए */
    z-index: 1; /* हीरो सेक्शन के ऊपर दिखाने के लिए */
}

.hero .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(18, 13, 31, 0.9); /* डार्क बैकग्राउंड */
    backdrop-filter: blur(5px);
    border: 2px solid var(--secondary-color); /* बॉर्डर कलर */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero .social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--secondary-color);
    background: rgba(106, 0, 255, 0.2); /* हॉवर पर बैकग्राउंड कलर */
    border-color: var(--secondary-color);
}

.hero .social-icons img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero .social-icons a:hover img {
    transform: scale(1.1); /* हॉवर पर आइकन को थोड़ा बड़ा करें */
}
