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

body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #000;
}

/* About Us Banner */
.about-banner {
  position: relative;
  width: 100%;
  height: 500px;
  background-image: url('../Assets/AboutUs/Banner.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.about-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
}

.banner-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: #fff;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  letter-spacing: 1px;
  animation: fadeInUp 1s ease-out forwards;
}

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

/* About Content Section */
.about-content {
  padding: 5rem 1rem;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

.about-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  position: relative;
  padding: 0 1rem;
}

.about-text {
  flex: 1;
  padding-right: 2rem;
  position: relative;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
  width: 100%;
}

.about-text .content-wrapper {
  margin-top: 0;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 60px;
  height: 2px;
  background: #ffcc70;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
  margin-bottom: 1.5rem;
}

.about-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  transform: perspective(1000px) rotateY(0deg);
  transform-style: preserve-3d;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  max-width: 380px;
  height: auto;
  margin-top: 0;
}

.about-image:hover {
  transform: perspective(1000px) rotateY(-5deg) translateZ(20px);
  box-shadow: 15px 25px 50px -12px rgba(245, 245, 245, 0.8);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Cinema effect */
.about-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 204, 112, 0) 0%,
    rgba(255, 204, 112, 0.1) 50%,
    rgba(255, 204, 112, 0) 100%
  );
  animation: lightBeam 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes lightBeam {
  0% {
    left: -150%;
  }
  50% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

/* Statistics Section */
.stats-section {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.stats-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.stats-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #ffcc70;
}

.stats-container {
  background-color: rgba(17, 17, 17, 0.95);
  border-radius: 8px;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 204, 112, 0.1);
  padding: 2rem;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  padding: 0 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1rem;
  height: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 204, 112, 0.2), transparent);
  transform: translateY(-50%);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  position: relative;
  color: #ffcc70; /* Fallback color */
  background: linear-gradient(45deg, #ffcc70, #ffd700);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: #ddd;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .about-container {
    padding: 0 2rem;
  }
  
  .banner-content h1 {
    font-size: 3rem;
  }
}

@media screen and (max-width: 992px) {
  .about-container {
    flex-direction: column;
    gap: 3rem;
    padding: 0;
  }
  
  .about-text {
    padding-right: 0;
  }
  
  .about-text h2 {
    position: relative;
    margin-bottom: 1.5rem;
    font-size: 2rem;
  }
  
  .about-text .content-wrapper {
    margin-top: 0;
  }
  
  .about-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    transform: none !important;
  }
  
  .banner-content h1 {
    font-size: 2.5rem;
  }

  .stats-section {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }

  .stats-container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .stats-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
  }

  .stat-number {
    font-size: 2.3rem;
  }
}

@media screen and (max-width: 768px) {
  .about-banner {
    height: 300px;
    background-attachment: scroll;
  }
  
  .about-content {
    padding: 3rem 1rem;
  }
  
  .banner-content h1 {
    font-size: 2rem;
    padding: 0 1rem;
  }
  
  .about-text h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .about-text p {
    font-size: 1rem;
    padding: 0 0.5rem;
    text-align: left;
  }

  .why-adi-section {
    padding: 2rem 1rem;
  }

  .why-adi-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .why-adi-item {
    padding: 1.5rem;
  }

  
  .nav-links {
    width: 100%;
    padding: 1rem;
  }

  .stats-heading {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }

  .stats-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-item {
    padding: 0.5rem;
  }

  .stat-item::after {
    display: none;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}

@media screen and (max-width: 576px) {
  .about-banner {
    height: 250px;
  }
  
  .banner-content h1 {
    font-size: 1.8rem;
  }
  
  .about-content {
    padding: 2rem 1rem;
  }
  
  .about-container {
    padding: 0 1rem;
  }
  
  .about-text h2 {
    font-size: 1.6rem;
  }

  .stats-section {
    margin-top: 1.5rem;
  }

  .stats-heading {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .stats-container {
    padding: 1rem 0.5rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .why-adi-title h2 {
    font-size: 1.8rem;
  }

  .why-adi-item {
    padding: 1.2rem;
  }

  .why-adi-item h3 {
    font-size: 1.4rem;
  }

  .feature-list li {
    font-size: 0.9rem;
  }

  .timeline-content {
    padding: 1rem;
  }

 
}


/* Contact Button Styles */
.contact-btn-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  background-color: #000;
}

.contact-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #ffcc70;
  background-color: transparent;
  border: 2px solid #ffcc70;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 1px;
}

.contact-btn:hover {
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 204, 112, 0.2);
}

.expertise-contact {
  margin-top: -1rem;
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .contact-btn-container {
    padding: 1.5rem 0;
  }

  .contact-btn {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 576px) {
  .contact-btn-container {
    padding: 1rem 0;
  }

  .contact-btn {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
  }
}

/* Why ADI Section */
.why-adi-section {
    padding: 2rem 0 4rem;
    background: #000;
    position: relative;
    overflow: hidden;
}

.why-adi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.why-adi-title {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.why-adi-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.why-adi-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #ffcc70;
}

.why-adi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    position: relative;
}

.why-adi-item {
    background-color: rgba(17, 17, 17, 0.95);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 204, 112, 0.1);
    z-index: 1;
}

.why-adi-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.why-adi-item:hover::before {
    opacity: 0.25;
}

.why-adi-item:nth-child(1)::before {
    background-image: url('../Assets/AboutUs/whyadi1.png');
}

.why-adi-item:nth-child(2)::before {
    background-image: url('../Assets/AboutUs/whyadi2.png');
}

.why-adi-item:nth-child(3)::before {
    background-image: url('../Assets/AboutUs/whyadi3.png');
}

.why-adi-item:nth-child(4)::before {
    background-image: url('../Assets/AboutUs/whyadi4.png');
}

.why-adi-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 204, 112, 0.1);
}

.why-adi-item:nth-child(1) { animation: fadeInUp 0.8s ease forwards 0.2s; }
.why-adi-item:nth-child(2) { animation: fadeInUp 0.8s ease forwards 0.4s; }
.why-adi-item:nth-child(3) { animation: fadeInUp 0.8s ease forwards 0.6s; }
.why-adi-item:nth-child(4) { animation: fadeInUp 0.8s ease forwards 0.8s; }

.item-number {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    color: rgba(255, 204, 112, 0.08);
    position: absolute;
    top: -15px;
    right: 15px;
    z-index: 0;
    transition: color 0.3s ease;
}

.why-adi-item:hover .item-number {
    color: rgba(255, 204, 112, 0.12);
}

.why-adi-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #ffcc70;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.why-adi-content {
    position: relative;
    z-index: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    color: #fff;
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '→';
    color: #ffcc70;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9rem;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .why-adi-grid {
        gap: 2rem;
    }
    
    .why-adi-item h3 {
        font-size: 1.5rem;
    }
    
    .item-number {
        font-size: 4rem;
    }
}

@media screen and (max-width: 992px) {
    .why-adi-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-adi-title h2 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .why-adi-section {
        padding: 1.5rem 0 3rem;
    }
    
    .why-adi-title h2 {
        font-size: 2.2rem;
    }
    
    .why-adi-item {
        padding: 1.5rem;
    }
    
    .item-number {
        font-size: 3.5rem;
        top: -12px;
    }
    
    .why-adi-item h3 {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 576px) {
    .why-adi-title h2 {
        font-size: 2rem;
    }
    
    .why-adi-item {
        padding: 1.2rem;
    }
    
    .item-number {
        font-size: 3rem;
    }
    
    .why-adi-item h3 {
        font-size: 1.3rem;
    }
    
    .feature-list li {
        font-size: 0.9rem;
    }
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.2rem;
  font-weight: bold;
}

.logo img {
  height: 80px;  /* Set a specific height */
  width: auto;   /* Maintain aspect ratio */
  display: block;
  transition: transform 0.3s ease;
}

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

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: #fff;
  margin: 0 0.75rem;
  font-weight: 400;
}

.nav-links a:hover {
  color: #ffcc70;
}

/* Dropdown Menu */
.nav-item {
  position: relative;
  display: inline-block;
  margin: 0 0.75rem;
}

.nav-item > a {
  color: #fff;
  font-weight: 400;
  display: flex;
  align-items: center;
}

.nav-item > a:hover {
  color: #ffcc70;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #111;
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
  z-index: 1001;
  border-radius: 4px;
  overflow: hidden;
}

.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.dropdown-content a:hover {
  background-color: #222;
  color: #ffcc70;
}

.nav-item:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}

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

.dropdown-indicator {
  margin-left: 5px;
  font-size: 10px;
  transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-indicator {
  transform: rotate(180deg);
}

.menu-icon {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
  .navbar {
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .nav-links {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 70%;
    height: calc(100vh - 60px);
    background: #111;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: right 0.3s ease;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    margin: 1rem 0;
    display: block;
    width: 100%;
    text-align: center;
  }
  
  .menu-icon {
    display: block;
  }
  
  /* Mobile dropdown styles */
  .nav-item {
    display: block;
    width: 100%;
    margin: 0;
    text-align: center;
  }
  
  .nav-item > a {
    justify-content: center;
    padding: 1rem 0;
    width: 100%;
    letter-spacing: 0.5px;
    color: #fff;
    position: relative;
    z-index: 2;
  }
  
  .nav-item.active > a {
    color: #ffcc70;
  }
  
  .dropdown-content {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    background-color: rgba(34, 34, 34, 0.9);
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    transform: translateY(-10px);
  }
  
  .nav-item.active .dropdown-content {
    display: block;
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    border-left: 2px solid #ffcc70;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .dropdown-content a {
    padding: 12px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: block;
    transform: translateY(0);
    transition: all 0.3s ease;
  }
  
  .dropdown-content a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 1px;
    background: #ffcc70;
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }
  
  .dropdown-content a:active::after {
    width: 30%;
  }
  
  .nav-item.active .dropdown-content a {
    animation: fadeInUp 0.4s ease-out forwards;
    animation-delay: calc(0.1s * var(--index));
  }
  
  .dropdown-indicator {
    transition: transform 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    display: inline-block;
    margin-left: 5px;
    font-size: 8px;
  }
  
  .nav-item.active .dropdown-indicator {
    transform: rotate(180deg);
    color: #ffcc70;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes shimmer {
    0% {
      opacity: 0;
      transform: translateX(-100%);
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      transform: translateX(100%);
    }
  }
  
  .logo img {
    height: 50px;  /* Slightly smaller on mobile */
  }
}

@media screen and (max-width: 576px) {
  .logo img {
    height: 45px;  /* Even smaller on very small screens */
  }
}
