 :root{
      --accent:#ff7f2a;
      --dark:#0f0f0f;
      --muted:#6c6c6c;
    }
    html,body { height:100%; font-family: 'Montserrat', sans-serif; }
    body { margin:0; color:#222; background:#fff; }

    /* ---------- Navbar ---------- */
    .navbar {
      transition: background-color .35s, padding .25s, box-shadow .25s;
      background: transparent;
      padding: 1.15rem 1rem;
    }
    .navbar .brand-logo img {
  background-color: white;
  padding: 5px 10px; /* optional: thoda spacing around logo */
  border-radius: 5px; /* optional: thoda rounded corners */
}
    .navbar.scrolled {
     
      padding: .5rem 1rem;
      box-shadow: 0 6px 18px rgba(0,0,0,.25);
    }
    .navbar .nav-link { color: var(--accent); margin-right:.25rem; }
    .navbar .brand-logo { font-weight:900; color:var(--accent); letter-spacing:1px; font-size:1.1rem; }

    /* ---------- Hero ---------- */
    .hero {
      position:relative;
      min-height:78vh;
      display:flex;
      align-items:center;
      color:#fff;
      overflow:hidden;
    }
    .hero::before{
      content:"";
      position:absolute;
      inset:0;
      background: linear-gradient(180deg, rgba(16,16,16,0.4) 0%, rgba(16,16,16,0.45) 40%, rgba(255,127,42,0.05) 100%);
      z-index:1;
    }
    .hero-bg {
      position:absolute;
      inset:0;
      background-image: url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?q=80&w=1800&auto=format&fit=crop&ixlib=rb-4.0.3&s=6baf3c9f0c6dd60df7b661d6da6d172b');
      background-size:cover;
      background-position:center;
      filter: saturate(.95) contrast(1.02);
      transform: scale(1.02);
      z-index:0;
    }
    .hero-content {
      position:relative; z-index:2;
      width:100%;
      padding: 3rem 1rem;
    }
    .hero h1 {
      font-weight:900;
      font-size: clamp(2.1rem, 6vw, 4.2rem);
      letter-spacing:2px;
      line-height:1;
      margin:0 0 .8rem 0;
      color:#fff;
      text-transform:uppercase;
      text-shadow: 0 8px 30px rgba(0,0,0,.45);
    }
    .hero p.lead { color: #ffe; opacity:.95; max-width:900px; font-size:1.05rem; }

    /* ---------- Sections ---------- */
    section { padding: 4rem 0; }
    .section-title { font-weight:800; font-size:1.6rem; margin-bottom:1.2rem; }

    /* ---------- About ---------- */
    .about-card {
      background: linear-gradient(180deg, rgba(255,127,42,0.06), rgba(0,0,0,0.02));
      border-radius:10px;
      padding:2rem;
      box-shadow:0 8px 30px rgba(0,0,0,0.06);
    }
    .text-justify {
  text-align: justify;

}
    #about p,
#hero p,
#showreel p {
  text-align: justify;
}

    .accent-dot { width:48px; height:4px; background:var(--accent); display:inline-block; margin-right:.75rem; vertical-align:middle; }

    /* ---------- Directors grid ---------- */
    .director-card {
      border-radius:12px;
      overflow:hidden;
      background:#fff;
      transition: transform .25s, box-shadow .25s;
      box-shadow: 0 6px 16px rgba(0,0,0,.06);
    }
    .director-card:hover { transform: translateY(-6px); box-shadow:0 12px 28px rgba(0,0,0,.12); }
    .director-photo { height:200px; object-fit:cover; width:100%; display:block; }

    /* ---------- Gallery (mosaic) ---------- */
    .mosaic .m-item {
      position:relative;
      overflow:hidden;
    }
    .mosaic .m-item img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .4s; }
    .mosaic .m-item:hover img { transform: scale(1.06); }
    .mosaic .m-item .tag {
      position:absolute; left:12px; bottom:12px; padding:.35rem .6rem; background:rgba(0,0,0,.6); color:#fff; border-radius:6px; font-size:.85rem;
    }

    /* ---------- News carousel style ---------- */
    .news-carousel .carousel-item { padding: 3rem 0; }
    .news-card { background: linear-gradient(180deg,#fff,#faf7f4); padding:1rem; border-radius:8px; text-align:center; }

    /* ---------- Contact form ---------- */
    .contact-bg {
      background: linear-gradient(180deg, rgba(255,127,42,0.06), rgba(0,0,0,0.02));
      border-radius:10px; padding:1.25rem;
    }

    /* ---------- Footer ---------- */
    footer { background:#0d0d0d; color:#ddd; padding:2rem 0; }
    footer a { color:#fff; text-decoration:none; }
    @media (max-width:768px){
      .director-photo { height:160px; }
      .hero { min-height:60vh; }
    }





  .navbar {
    transition: background 0.3s ease, box-shadow 0.3s ease;
    background: transparent !important; /* start transparent */
  }


  .hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  .video-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 1;
  }
  .video-foreground {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
  }
  .video-foreground iframe {
    width: 100vw;
    height: 56.25vw; /* 16:9 ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
  }
  .video-overlay {
    position: absolute;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.55);
    z-index: 2;
  }
  .hero .container {
    position: relative;
    z-index: 3;
  }

  
  /* Volume button style */
  .volume-control {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 4;
  }


   /* Video background styles */
  #hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .video-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden; z-index: 1;
  }
  .video-foreground {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
  }
  .video-foreground iframe {
    width: 100vw;
    height: 56.25vw; /* 16:9 ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
  }
  .video-overlay {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.55);
  }
  #hero .container {
    position: relative;
    z-index: 2;
  }


   :root {
    --primary-color: #ff4c29;
    --secondary-color: #1b1b1b;
    --hover-color: #0d6efd;
  }

  .director-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .director-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }

  .photo-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border: 5px solid var(--primary-color);
  border-radius: 50%;
  overflow: hidden;
  background: #fff; /* ✅ Add background to prevent white spots */
}
 .director-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* ✅ Center image to avoid top white spots */
  border-radius: 50%;
  transition: transform 0.4s ease;
}


  .director-card:hover .director-photo {
  transform: scale(1.1); /* ✅ Smooth zoom without exposing background */
}

  /* Overlay for social icons */
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 27, 27, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
  }

  .director-card:hover .overlay {
    opacity: 1;
  }
#directors p {
  text-align: justify;
  line-height: 1.7;
}
  .overlay a {
    color: #fff;
    font-size: 1.2rem;
    background: var(--primary-color);
    padding: 8px 10px;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
  }

  .overlay a:hover {
    background: var(--hover-color);
    transform: scale(1.2);
  }

  .section-title {
    font-size: 2rem;
    color: var(--secondary-color);
  }


   #services {
    position: relative;
  }

  .service-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
  }

  .service-card:hover {
    transform: translateY(-10px) scale(1.03) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 16px 32px rgba(0,0,0,0.15);
  }

  .service-card h5 {
    color: var(--accent, #6c63ff);
  }

  /* Smooth entrance animation */
  .service-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
  }

  .service-card:nth-child(1) { animation-delay: 0.1s; }
  .service-card:nth-child(2) { animation-delay: 0.2s; }
  .service-card:nth-child(3) { animation-delay: 0.3s; }
  .service-card:nth-child(4) { animation-delay: 0.4s; }
  .service-card:nth-child(5) { animation-delay: 0.5s; }
  .service-card:nth-child(6) { animation-delay: 0.6s; }

 /* Hover Effect */
  .service-card {
    transition: all 0.3s ease;
  }

  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
  }

  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
/* lients */

    #clients {
    background: #f8f9fa;
  }
  .client-logos img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-width: 100%;
    
  }
  .client-logos img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }

/* masonry-gallery */
 .masonry-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); /* was 250px */
  grid-auto-rows: 270px; /* was 250px */
  gap: 12px;
  grid-auto-flow: dense;
}

  
  .masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  .masonry-item:hover img {
    transform: scale(1.1);
  }
  .masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  }
  .masonry-item.tall {
    grid-row: span 2;
  }
  .masonry-item.wide {
    grid-column: span 2;
  }
  @media(max-width:992px){
    .masonry-item {
      grid-auto-rows: 180px;
    }
  }
  @media(max-width:768px){
    .masonry-item.wide {
      grid-column: span 1;
    }
    .masonry-item.tall {
      grid-row: span 1;
    }
  }


   .contact-section {
    background-color: #f8f9fa;
  }

  .section-title {
    font-weight: 700;
  }

  .contact-card {
    border: none;
  }

  .btn-custom {
    background: var(--accent);
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 16px;
    transition: 0.3s;
  }

  .btn-custom:hover {
    background: #0056b3;
  }

  .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    color: #fff;
    transition: 0.3s;
    text-decoration: none;
  }

  .social-icons a.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  }

  .social-icons a.facebook {
    background: #1877f2;
  }

  .social-icons a.youtube {
    background: #ff0000;
  }

  .social-icons a:hover {
    opacity: 0.8;
    transform: scale(1.1);
  }

    footer.footer {
    background: linear-gradient(135deg, #18171a, #040108);
    color: #eee;
  }

  .footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .footer-text {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
  }

  .copyright {
    color: #bbb;
  }

  /* Social Links */
  .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 6px;
    font-size: 18px;
    color: #fff;
    transition: all 0.3s ease;
  }

  .social-links a.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  }

  .social-links a.facebook {
    background: #1877f2;
  }

  .social-links a.youtube {
    background: #ff0000;
  }

  .social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

   /* Optional hover effect */
  .hover-light:hover {
    color: #ffffff !important;
  }

   .facebook-icon { color: #1877f2; }     /* Facebook Blue */
  .twitter-icon { color: #1da1f2; }      /* Twitter Blue */
  .instagram-icon { 
    color: #e1306c;                      /* Instagram Pink */
  }
  .linkedin-icon { color: #0a66c2; }     /* LinkedIn Blue */
  .youtube-icon { color: #ff0000; }      /* YouTube Red */

  /* Optional: Hover effect - slightly brighten */
  .facebook-icon:hover,
  .twitter-icon:hover,
  .instagram-icon:hover,
  .linkedin-icon:hover,
  .youtube-icon:hover {
    filter: brightness(1.2);
  }


  /* Bigger, but still responsive */
  .client-logo {
    max-width: 220px;   /* Adjust size */
    width: 100%;
    height: auto;
    border-radius: 8px;  /* optional for smooth edges */
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
  }

  /* Hover effect */
  .client-logo:hover {
    transform: scale(1.05);
  }

  /* On smaller screens, auto-resize */
  @media (max-width: 576px) {
    .client-logo {
      max-width: 160px;
    }
  }

  /* Responsive adjustments */
@media (max-width: 768px) {
  /* Icons move below heading on tablets/mobiles */
  #showreel .position-absolute {
    position: static !important;
    justify-content: center;
    margin-bottom: 1rem;
  }

  #showreel h2 {
    font-size: 2rem; /* shrink heading */
  }

  #showreel p {
    font-size: 0.95rem; /* shrink paragraph */
  }

  #showreel .btn-lg {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  /* Mobile-friendly icon spacing */
  #showreel .d-flex {
    gap: 0.75rem !important;
  }

  #showreel h2 {
    font-size: 1.6rem;
  }

  #showreel p {
    font-size: 0.9rem;
  }

  #showreel .btn-lg {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}


  /* === Gallery CSS === */
  /* ===== 🎬 Gallery CSS ===== */
:root {
  --slide-dist: 100%;
  --card-radius: 12px;
}
#behind-the-scenes {
  padding-top: 20px;   /* adjust top spacing */
  padding-bottom: 50px;
}

#behind-the-scenes p {
  margin-bottom: 20px; /* space below the "Behind the scenes" text */
}
.gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;              /* smaller gap (was 15px) */
  padding: 10px;
  justify-content: center;
}

.gallery-card {
  position: relative;
  width: 100%;
  padding-top: 100%;      /* square & bigger (was 80%) */
  cursor: pointer;
  z-index: 1;
  transition: transform 0.3s ease, z-index 0s;
}


.gallery-card:hover {
  z-index: 999;
}

.gallery-card img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--card-radius);
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  cursor: pointer;
}

/* z-index layering */
.gallery-card img:nth-child(1) { z-index: 3; }
.gallery-card img:nth-child(2) { z-index: 2; }
.gallery-card img:nth-child(3) { z-index: 1; }

/* Middle cards */
.gallery-card.middle.hover img:nth-child(1) {
  transform: translate(calc(-50% - var(--slide-dist)), -50%) scale(0.9);
}
.gallery-card.middle.hover img:nth-child(2) {
  transform: translate(-50%, -50%) scale(1.05);
  z-index: 5;
}
.gallery-card.middle.hover img:nth-child(3) {
  transform: translate(calc(-50% + var(--slide-dist)), -50%) scale(0.9);
}

/* Side cards */
.gallery-card.side img:nth-child(3) {
  display: none;
}

/* Left side */
.gallery-card.side.left.hover img:nth-child(1) {
  transform: translate(calc(-50% + var(--slide-dist)), -50%) scale(0.9);
}
.gallery-card.side.left.hover img:nth-child(2) {
  transform: translate(-50%, -50%) scale(1.05);
  z-index: 5;
}

/* Right side */
.gallery-card.side.right.hover img:nth-child(1) {
  transform: translate(calc(-50% - var(--slide-dist)), -50%) scale(0.9);
}
.gallery-card.side.right.hover img:nth-child(2) {
  transform: translate(-50%, -50%) scale(1.05);
  z-index: 5;
}
/* Modal overlay */
/* Modal overlay */
#galleryModal {
  display: none;                /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);  /* semi-transparent black */
  z-index: 9999;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

/* Modal content */
#galleryModal .modal-content {
  position: relative;
  display: flex;               
  justify-content: center;
  align-items: center;
  max-width: 95vw;
  max-height: 90vh;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
}

/* Show modal content */
#galleryModal.show {
  display: flex;                /* show overlay */
}
#galleryModal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

/* Modal image */
#galleryModal img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  display: block;
  margin: auto;
}

/* Close button */
#galleryModal .close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  font-weight: bold;
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 2px 8px;
  line-height: 1;
}

/* Prevent body scroll only when modal is open */
body.modal-open {
  overflow: hidden;
}



/* Responsive */
@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .gallery-container {
    grid-template-columns: 1fr;
  }
}
.nav-link i {
  font-size: 1.5rem; /* Adjust size */
  transition: color 0.3s;
}

.nav-link.linkedin i { color: #0A66C2; }   /* LinkedIn blue */
.nav-link.facebook i { color: #1877F2; }  /* Facebook blue */
.nav-link.instagram i { color: #E4405F; } /* Instagram pink */
.nav-link.youtube i { color: #FF0000; }   /* YouTube red */

.nav-link:hover i {
  opacity: 0.8;
}
