:root {
  --primary-color: #000;
  --secondary-color: #ff6b35;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
}

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

body { 
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  padding-top: 0;
}

@media (max-width: 991.98px) {
  body {
    padding-top: 0;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  background: #fff !important;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1050;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

/* .media-image{
  max-height: 550px !important;
  object-fit: cover;
} */

/* Desktop Layout: Left Logo | Center Nav | Right Logo */
@media (min-width: 992px) {
  .navbar .container {
    justify-content: space-between;
  }
  
  .navbar-brand-left {
    order: 1;
    flex: 0 0 auto;
  }
  
  .navbar-collapse {
    order: 2;
    flex: 1 1 auto;
    display: flex !important;
    justify-content: center;
  }
  
  .navbar-brand-right {
    order: 3;
    flex: 0 0 auto;
    margin-left: auto;
  }
}

/* Mobile/Tablet Layout: Left Logo | Center Menu Button | Right Logo */
@media (max-width: 991.98px) {
  .navbar .container {
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    flex-wrap: wrap;
  }
  
  .navbar-brand-left {
    order: 1;
    flex: 0 0 auto;
    z-index: 1;
  }
  
  .navbar-toggler {
    order: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex: 0 0 auto;
    z-index: 1;
    margin-top: 1rem;
  }
  
  .navbar-brand-center {
    order: 3;
    flex: 0 0 auto;
    margin-left: auto;
    z-index: 1;
  }
  
  .navbar-collapse {
    order: 4;
    width: 100%;
    flex-basis: 100%;
    flex: 1 1 100%;
    background: #fff;
    margin-top: 15px;
    padding: 15px 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, margin-top 0.3s ease;
  }
  
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    max-height: 500px;
    padding: 15px 0;
    margin-top: 15px;
  }
  
  .navbar-nav {
    width: 100%;
    text-align: left;
    margin: 0;
    padding: 0;
  }
  
  .nav-item {
    width: 100%;
    margin: 0;
  }
  
  .nav-link {
    padding: 12px 15px !important;
    display: block;
    width: 100%;
    margin: 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}

.navbar-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}
.navbar-logo-2 {
  height: 90px;
  width: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.navbar-toggler {
  border-color: rgba(0,0,0,0.1);
  padding: 0.25rem 0.5rem;
}

@media (max-width: 992px) {
  .navbar-logo {
    height: 50px;
    max-width: 120px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 0;
  }
  
  .navbar .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .navbar-logo {
    height: 60px;
    max-width: 100px;
  }
  
  .navbar-toggler {
    padding: 0.2rem 0.4rem;
      margin-top: 1rem;
  }
}

.nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
  color: #000 !important;
}

.nav-link:hover {
  color: var(--secondary-color) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../image/We_&_Us.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 0;
  padding: 50px 0 50px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-top: 6rem;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

    /* Section Styling */
    .section-padding { 
      padding: 80px 0; 
    }

.section-title {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.divider {
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin-bottom: 25px;
  border-radius: 2px;
}

.dark-section { 
  background: var(--bg-light); 
}

/* Image Styling */
.section-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0;
}

/* Scheme section specific styling */
#scheme .section-image {
  margin: 0;
}

#scheme .content-text {
  margin-bottom: 0;
  padding-left: 20px;
}

#scheme .row.g-4 > div {
  margin-bottom: 30px;
}

#scheme .col-md-12 {
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Execution section spacing */
.section-padding .row .col-lg-6 .content-text + .content-text {
  margin-top: 15px;
}

.section-padding .row .col-lg-6 .content-text + .service-list {
  margin-top: 20px;
}

/* Media Planning section */
#media-planning .row.align-items-center .col-lg-6 .content-text {
  margin-bottom: 25px;
}

#media-planning .row.align-items-center .col-lg-6 .section-image + .section-image {
  margin-top: 25px;
}

/* Strategy and Creativity sections */
.section-padding .content-text.text-center {
  margin-bottom: 30px;
  /* max-width: 900px; */
  margin-left: auto;
  margin-right: auto;
}

.section-padding .content-text.text-center + .image-grid {
  margin-top: 40px;
}

/* We & Us section image */
#we-us .section-image {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0;
}

#we-us .content-text {
  margin-bottom: 0;
  padding-right: 20px;
}

#we-us .row.align-items-center {
  align-items: flex-start;
}

/* Scheme section image */
.scheme-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0 0;
}

.scheme-image {
  max-width: 90%;
  width: 100%;
  max-height: 500px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
}

.scheme-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.2);
}

@media (max-width: 992px) {
  .scheme-image {
    max-width: 95%;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .scheme-image {
    max-width: 100%;
    max-height: 350px;
  }
}

.section-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.image-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.05);
}

/* Feature Box */
.feature-box {
  padding: 40px 30px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-box h3 {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

/* Video Slider/Carousel */
.video-slider-container {
  position: relative;
  margin-top: 50px;
  padding: 40px 80px;
  background: linear-gradient(180deg, var(--bg-light) 0%, rgba(248, 249, 250, 0.5) 100%);
  overflow: hidden;
}

.video-slider {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 25px;
  padding: 10px 0;
}

.video-slider::-webkit-scrollbar {
  display: none;
}

.video-slide {
  flex: 0 0 calc(50% - 13px);
  min-width: calc(50% - 13px);
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #000;
  cursor: pointer;
  border: 2px solid transparent;
}

.video-slide:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  border-color: var(--secondary-color);
}

.video-slide video {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.video-slide:hover video {
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.video-slide:hover .video-overlay {
  opacity: 1;
}

.play-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.video-slide:hover .play-icon {
  transform: scale(1.1);
  background: #fff;
}

.video-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
  color: #fff;
  padding: 25px 20px 20px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* Slider Controls */
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-control:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
  color: var(--secondary-color);
}

.slider-control.prev {
  left: 20px;
}

.slider-control.next {
  right: 20px;
}

.slider-control i {
  font-size: 22px;
  font-weight: 600;
}

/* Modal Video */
.modal-content {
  background: #000;
  border: none;
  border-radius: 0;
}

.modal-body {
  padding: 0;
}

.modal-body video {
  width: 100%;
  max-height: 80vh;
}

.modal-header {
  border: none;
  background: #000;
  color: #fff;
}

.btn-close {
  filter: invert(1);
}

/* Content Styling */
.content-text {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 25px;
}

.content-text + p {
  margin-top: -5px;
}

.content-text + .image-grid,
.content-text + .section-image {
  margin-top: 30px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin-top: 25px;
  margin-bottom: 0;
}

.service-lists {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.service-list li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  font-size: 1.05rem;
  color: var(--text-light);
}

.service-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

/* Footer */
footer { 
  background: #000; 
  color: #fff;
  padding: 40px 0;
}

footer p {
  margin: 0;
  font-size: 0.95rem;
}

footer a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Responsive Design */

/* Tablet and below (992px) */
@media (max-width: 992px) {
  .hero {
    min-height: 35vh;
    padding: 30px 0 25px;
  }

  .hero h1 {
    font-size: 3rem;
    margin-top: 4.75rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-padding {
    padding: 70px 0;
  }

  .video-slider-container {
    padding: 35px 70px;
  }

  .video-slide {
    flex: 0 0 calc(50% - 13px);
    min-width: calc(50% - 13px);
  }

  .video-slide video {
    height: 240px;
  }

  .image-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  #we-us .content-text {
    padding-right: 0;
  }

  #scheme .content-text {
    padding-left: 0;
  }

  .service-lists {
    flex-direction: column;
    gap: 20px !important;
  }
}

/* Mobile and below (768px) */
@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    padding: 0.75rem 0;
  }

  .navbar .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .navbar-logo {
    height: 60px;
    max-width: 100px;
  }
  .navbar-logo-2 {
    height: 50px;
    max-width: 100px;
  }

  .nav-link {
    margin: 0.25rem 0;
    padding: 0.5rem 0;
  }

  /* Hero Section */
  .hero {
    min-height: 35vh;
    background-attachment: scroll;
    padding: 20px 0 15px;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-top: 4.5rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 15px;
  }

  /* Typography */
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .divider {
    width: 60px;
    height: 3px;
    margin-bottom: 20px;
  }

  .section-padding {
    padding: 50px 0;
  }

  .content-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* We & Us Section */
  #we-us .row {
    flex-direction: column;
  }

  #we-us .col-lg-6:first-child {
    margin-bottom: 25px;
  }

  #we-us .content-text {
    padding-right: 0;
    margin-bottom: 20px;
  }

  #we-us .section-image {
    margin-top: 20px;
  }

  /* Scheme Section */
  #scheme .row.g-4 > div {
    margin-bottom: 25px;
  }

  #scheme .col-lg-6 {
    margin-bottom: 25px;
  }

  #scheme .content-text {
    padding-left: 0;
    margin-bottom: 20px;
  }

  #scheme .col-md-12 {
    margin-top: 30px;
    margin-bottom: 15px;
  }

  #scheme .section-title {
    font-size: 1.6rem;
  }

  /* Feature Boxes */
  .feature-box {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  .feature-box i {
    font-size: 2rem !important;
  }

  .feature-box h3 {
    font-size: 1.2rem;
  }

  /* Strategy & Creativity Sections */
  .content-text.text-center {
    padding: 0 15px;
    margin-bottom: 25px;
  }

  .content-text.text-center + .image-grid {
    margin-top: 30px;
  }

  .image-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
  }

  /* Execution Section */
  .section-padding .row .col-lg-6 {
    margin-bottom: 25px;
  }

  .section-padding .row .col-lg-6 .content-text + .content-text {
    margin-top: 15px;
  }

  .section-padding .row .col-lg-6 .content-text + .service-list {
    margin-top: 20px;
  }

  .service-lists {
    flex-direction: column;
    gap: 15px !important;
    align-items: flex-start !important;
  }

  .service-list {
    margin-top: 0;
  }

  /* Media Planning Section */
  #media-planning .row.align-items-center {
    flex-direction: column;
  }

  #media-planning .media-planning-right {
    align-items: flex-start;
  }

  #media-planning .row.align-items-center .col-lg-6:first-child {
    margin-bottom: 25px;
  }

  #media-planning .row.align-items-center .col-lg-6 .content-text {
    margin-bottom: 20px;
  }

  #media-planning .row.align-items-center .col-lg-6 .section-image + .section-image {
    margin-top: 20px;
  }

  /* Video Slider */
  .video-slider-container {
    padding: 25px 50px;
    margin-top: 30px;
  }

  .video-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .video-slide video {
    height: 220px;
  }

  .slider-control {
    width: 40px;
    height: 40px;
  }

  .slider-control.prev {
    left: 5px;
  }

  .slider-control.next {
    right: 5px;
  }

  .slider-control i {
    font-size: 18px;
  }

  /* Images */
  .section-image {
    margin: 15px 0;
  }

  /* Footer */
  footer {
    padding: 30px 0;
  }

  footer p {
    font-size: 0.85rem;
    padding: 0 15px;
  }

  footer a {
    font-size: 0.8rem;
  }
}

/* Small Mobile (576px and below) */
@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-padding {
    padding: 40px 0;
  }

  .content-text {
    font-size: 0.95rem;
  }

  .video-slider-container {
    padding: 20px 40px;
  }

  .video-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .video-slide video {
    height: 180px;
  }

  .slider-control {
    width: 35px;
    height: 35px;
  }

  .slider-control.prev {
    left: 0;
  }

  .slider-control.next {
    right: 0;
  }

  .feature-box {
    padding: 25px 15px;
  }

  .navbar-logo {
    height: 60px;
    max-width: 80px;
  }

  .image-grid {
    gap: 15px;
  }

  .service-lists {
    gap: 10px !important;
  }
}

/* Scroll Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

