/* ===================== GLOBAL ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/*--------Header anchor--------*/

html{
  scroll-behavior: smooth;
}

#about-section {
  scroll-margin-top: 95px; 
}

#what-we-do {
  scroll-margin-top: 95px; 
}

#video-gallery {
  scroll-margin-top: 95px; 
}

#gallery-section{
  scroll-margin-top: 95px; 
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

/* ===================== TOP BAR ===================== */
.top-bar {
  background: #222;
  color: #fff;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 8px 20px;
  font-size: 14px;
}

.top-bar .social-icons i {
  margin: 0 10px;
  cursor: pointer;
  transition: color 0.3s ease;
  color: white;
}

.top-bar .social-icons i:hover {
  color: #ffcc00;
}

.top-bar .contact {
  border-left: 1px solid #fff;
  padding-left: 12px;
  margin-left: 10px;
  color: #fff;
  text-decoration: none;
  pointer-events: auto !important;
  z-index: 9999;
  position: relative;
  display: inline-block;
}


.top-bar .contact:hover {
  color: #ffcc00;
}

/* ===================== HEADER ===================== */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 40px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  transition: all 0.4s ease;
  z-index: 1000;
}



.main-header.scrolled {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 20px 40px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo img {
  max-height: 80px;
  transition: max-height 0.4s ease;
}

.main-header.scrolled .logo img {
  max-height: 50px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-header.scrolled .nav-menu a {
  color: #000;
}

.right-actions {
  display: flex;
  align-items: center;
}

.btn-filled {
  background: #ffcc00;
  color: #fff;
  padding: 10px 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-filled:hover {
  background: #d99a00;
  transform: translateY(-2px);
}

/* ===================== DROPDOWN MENU ===================== */
.dropdown {
  position: relative;
  cursor: pointer;
}

.dropdown span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 500;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  color: #000;
  text-decoration: none;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background: #ffcc00;
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ===================== SLIDER ===================== */
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-container img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider-container img.active {
  opacity: 1;
  position: relative;
}

/* Overlay for text contrast */
.slider-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  z-index: 1;
}

/* Slider content wrapper (fixed position for all slides) */
.slider-content {
  position: absolute;
  bottom: 12%; /* thoda upar */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  width: 100%;
  max-width: 90%;
  padding: 0 15px;
}

/* Each slide's text in same fixed position */
.slide-text {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 100%;
  max-width: 700px;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  margin-bottom: 40px; /* thoda kam niche */
}

.slide-text.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.slide-text h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: white;
  font-weight: 700;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.slide-text p {
  font-size: 1.2rem;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

/* Slider button */
.slide-text .btn-filled {
  background: #f4b400;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.slide-text .btn-filled:hover {
  background: #d99a00;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

/* Slider controls */
.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 3;
}

.slider-controls button {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.3s ease;
}

.slider-controls button:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* ===================== ABOUT SECTION ===================== */
.about-section {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 50px 20px;
  flex-wrap: wrap;
}

.about-content {
  flex: 1 1 50%;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  position: relative;
}

.about-content h2::after {
  content: "";
  width: 40px;
  height: 2px;
  background: red;
  display: block;
  margin-top: 8px;
}

.about-content p {
  margin-bottom: 15px;
}

.about-content h3 {
  font-size: 1.2rem;
  margin-top: 15px;
}

.btn-red {
  background: red;
  color: #fff;
  padding: 10px 20px;
  display: inline-block;
  border-radius: 3px;
  font-weight: bold;
  text-decoration: none;
}

.about-images {
  flex: 1 1 50%;
  display: flex;
  height: 300px;
  overflow: hidden;
}

.img-box {
  flex: 1;
  transition: flex 0.5s ease;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.img-box:hover {
  flex: 3;
}

.img-box:hover img {
  transform: scale(1.05);
}

/* ===================== WHAT WE DO ===================== */
.what-we-do {
  text-align: center;
  background: linear-gradient(#ffcc00, #f3c81f, #ffffff);
  padding: 60px 20px;
}

.what-we-do h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.work-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  max-width: 1100px;
  margin: auto;
}

.card {
  background: #fff;
  border-radius: 10px;
  height: 400px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.card-front,
.card-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: all 0.3s ease;
}

.card-front img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.card-front h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.underline {
  width: 25px;
  height: 2px;
  background: #ffb400;
}

.card-hover {
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  opacity: 0;
  transform: translateY(100%);
  text-align: center;
}

.card-hover p {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.card-hover a {
  background: #ffb400;
  color: #000;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.card:hover {
  transform: translateY(-5px);
}

.card:hover .card-front {
  opacity: 0;
}

.card:hover .card-hover {
  opacity: 1;
  transform: translateY(0);
}

.card.pink { border-bottom: 5px solid #ff4081; }
.card.blue { border-bottom: 5px solid #00bcd4; }
.card.purple { border-bottom: 5px solid #9c27b0; }
.card.orange { border-bottom: 5px solid #ff9800; }

/* ===================== FOOTER ===================== */
footer {
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: #fff;
  padding: 50px 20px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-logo h2 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #ffcc00;
}

.footer-logo p {
  color: #ccc;
}

.footer-links h3 {
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 6px 20px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ffcc00;
  padding-left: 5px;
}

.footer-social a {
  margin-right: 10px;
  font-size: 18px;
  color: #ccc;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #ffcc00;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact p {
  color: #ccc;
  margin: 8px 0;
}

.footer-contact i {
  color: #ffcc00;
  margin-right: 8px;
}

/*===========Legar documnt============*/

/* Base font */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

/* Main Section */
.legal-section {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #ffffff, #f5f7fa);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #222;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  max-width: 700px;
  margin: 20px auto;
}

.legal-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* Left Image */
.legal-left img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

/* Right Content */
.legal-right h3 {
  font-size: 20px;
  margin: 0 0 4px 0;
  font-weight: 600;
  color: #333;
}

.legal-right p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* ✅ Mobile Optimization */
@media (max-width: 600px) {
  .legal-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0px;
    padding: 16px;
    margin-top: 50px;
  }

  .legal-left img {
    width: 100px;
    height: 100px;
  }

  .legal-right h3 {
    font-size: 18px;
  }

  .legal-right p {
    font-size: 13px;
  }
}

/* ===================== RESPONSIVE ===================== */
.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    flex-direction: column;
    width: 250px;
    display: none;
    padding: 15px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  .nav-menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color: #fff;
  }

  .main-header.scrolled .menu-toggle {
    color: #000;
  }

  .slider-container img {
    height: 45vh;
  }

  .slide-text h1 {
    font-size: 1.2rem;
  }

  .slide-text p {
    font-size: 0.95rem;
  }

  .work-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .work-cards {
    grid-template-columns: 1fr;
  }

  .card {
    height: 280px;
  }

  .card-front img {
    width: 50px;
    height: 50px;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

/* ========== SLIDER TEXT ANIMATION ========== */
.slide-text.active h1 {
  animation: fadeInUp 0.8s ease forwards;
}

.slide-text.active p {
  animation: fadeInUp 1s ease forwards;
}

.slide-text.active .btn-filled {
  animation: zoomIn 1.2s ease forwards;
}

/* ========== CARD HOVER SMOOTH ========== */

.card {
  background: #fff;
  border-radius: 10px;
  height: 400px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.card-hover {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ========== FOOTER LINK UNDERLINE ANIMATION ========== */
.footer-links a {
  position: relative;
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -3px;
  background: #ffcc00;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #ffcc00;
}

.footer-links a:hover::after {
  width: 100%;
}

/* ========== MOBILE MENU SLIDE-IN ========== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -250px; /* initially hidden */
    height: 100vh;
    width: 250px;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.15);
    transition: right 0.4s ease;
    z-index: 999;
  }

  .nav-menu.show {
    right: 0; /* slide in */
  }

  .nav-menu a {
    color: #000;
    padding: 10px 0;
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    z-index: 1001;
  }
}

/*********Photo Gallary********/

.gallery-section {
  background: #f4f4f4;
  padding: 60px 20px;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #222;
}

/* ====== MASONRY SLIDER BOX ====== */

.masonry-slider {
  width: 100%;
  max-width: 1000px;
  height: 460px;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Slider Track Auto Scroll */

.slider-track {
  display: flex;
  animation: scrollMasonry 15s linear infinite;
  align-items: center;
}

/* ====== EACH SLIDE BLOCK ====== */

.slide-block {
  width: 800px;
  flex-shrink: 0;
  padding: 10px;
  box-sizing: border-box;
}

/* Campaign Title */
.campaign-title {
  font-size: 1.4rem;
  color: #444;
  margin-bottom: 10px;
  text-align: center;
}

/* ====== Masonry Grid ====== */

.slide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 10px;
  justify-items: center;
}

.slide-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.slide-grid img:hover {
  transform: scale(1.05);
}

.slider-track {
  display: flex;
  width: calc(800px * 4); /* 4 slides (2 originals + 2 clones) */
  animation: loopScroll 30s linear infinite;
}

/* Slide Block Size */
.slide-block {
  width: 800px;
  flex-shrink: 0;
  padding: 10px;
  box-sizing: border-box;
}

/* Keyframes for infinite loop scroll */
@keyframes loopScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1600px); /* 800px x 2 real slides */
  }
}

/*********Video Gallary********/

.video-gallery {
  background: #f4f4f4;
  padding: 60px 20px;
  text-align: center;
}

.video-gallery h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #222;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

.video-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-card iframe {
  width: 100%;
  height: 200px;
  border: none;
}

.video-card h3 {
  padding: 15px;
  font-size: 1.1rem;
  color: #444;
}
  