/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.main-header .logo {
  position: relative;
  height:100%;
  max-height: 65px;
  pointer-events: auto;
  margin-right: 20px;
  cursor: pointer; /* Add pointer cursor */
  transition: transform 0.2s ease, opacity 0.2s ease; /* Add smooth hover effect */
}

.main-header .logo:hover {
  transform: scale(1.05); /* Slight scale on hover */
  opacity: 0.8; /* Slight opacity change on hover */
}

body, html {
  font-family: 'Segoe UI', sans-serif;
  background-color:rgb(239, 239, 239);
  color: #e3e3e3;
}

body.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

body {
  transition: opacity 0.5s ease-in-out;
}

body.fade-in {
  opacity: 0;
  animation: fadeInPage 0.8s ease-in forwards;
}

@keyframes fadeInPage {
  to {
    opacity: 1;
  }
}

/* Intro Screen Initial Style */
#intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 1s ease;
  opacity: 1;
}

#intro-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Logo fade-in */
.intro-logo {
  max-width: 175px;
  height: 190px;
  opacity: 0;
  animation: logoFadeIn 1.5s ease-in-out forwards;
}

/* Hide main content initially */
#main-content.hidden {
  opacity: 0;
}

/* Fade in animation for main content */
#main-content.fade-in {
  animation: fadeInMain 1.5s ease forwards;
}

/* Keyframes */
@keyframes logoFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInMain {
  to {
    opacity: 1;
  }
}

/* Landing Page */
.landing-container {
  display: flex;
  height: 100vh;
}

.brochure {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: white;
  text-shadow: 1px 1px 5px black;
  /* transition: transform 0.4s; */
  overflow: hidden;
  cursor: pointer;
  opacity: 0; /* Initially hidden */
  /* transform: translateY(50px) scale(0.8); Start from below and smaller */
  transition: all 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none; /* Disable hover during animation */
}

/* Animation for brochures when they become visible */
.brochure.animate-in {
  opacity: 0.85;
  transform: translateY(0) scale(1);
}

/* Enable hover only after animation is complete */
.brochure.animation-complete {
  pointer-events: auto; /* Re-enable hover */
}

/* Hover effect - now only works when animation-complete class is present */
.brochure.animation-complete:hover {
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
}

.brochure.animation-complete:hover .explore-btn {
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
  background-color: white;
  color: black;
}

#defence {
  background-image: url('assets/images/defence.png');
}

#industrial {
  background-image: url('assets/images/industrial.png');
}

#commercial {
  background-image: url('assets/images/commercial.png');
}

.brochure h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: 'Special Gothic Expanded One', sans-serif;
}

.explore-btn {
  padding: 10px 20px;
  background-color: rgba(0,0,0,0.6);
  border: 2px solid black;
  border-radius: 10px;
  color: rgb(250, 250, 250);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
}

.brochure:hover .explore-btn{
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
  background-color: white;
  color: black;
}

.page-body {
  transition: opacity 5s ease-in;
  opacity: 1;
}

/* Header */
.main-header {
  position: relative;
  background-color: rgb(0, 0, 0);
  color: rgb(0, 0, 0);
  padding: 15px;
  display: flex;
  align-items: center;
  text-align: center;
}

.main-header .logo {
  position: relative;
  height: 65px;
  margin-right: 20px;
}

.main-header h1 {
  margin: 0 auto;
  font-size: 2rem;
  padding: 0 20px;
  color: white;
  flex: 1;
  font-family: 'Special Gothic Expanded One', sans-serif;
  text-align: center;
}


body {
  font-family: 'Segoe UI', sans-serif;
  background-color: rgb(255, 255, 255);
  color: #333;
  /* Remove these lines: */
  /* background-image: url('assets/bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat; */
 
}

/* Create a new class for pages that need background */
body.with-background {
  background-image: url('assets/bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  background-repeat: repeat;
}

/* Also update the overlay */
body.with-background::before {
  content: '';
  position:absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 22, 22, 0);
  z-index: -1;
  pointer-events: none;
}

/* Project blocks with subtle background */
.project-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-left: 5rem;
  margin-right: 5rem;
  margin-top: 5rem;
  margin-bottom: 5rem;
  /* Add subtle background */
  background-color: rgba(255, 255, 255, 0);
  padding: 2rem;
  border-radius: 12px;
  /* backdrop-filter: blur(10px); */
  transition: all 0.3s ease;
}

.project-block:hover {
  background-color: rgba(255, 255, 255, 0);
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0);
}

/* Hero Section */
.hero-section img {
  width: 100%;
  height: auto;
  max-height: 625px;
  object-fit: cover;
}

.tagline {
  font-family: 'Aldrich', sans-serif;
  font-size: 1.5rem;
  color: rgb(96, 96, 96);
  text-align: center;
  margin-top: 3rem;
  opacity: 1;
  margin-bottom: 2rem;
}

.banner-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-wrapper video {
  width: 100%;
  height: 70%;
  display: block;
}

.banner-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}
.banner-wrapper img.blur {
    transition: filter 0.3s ease;
    filter: blur(var(--blur-amount, 0px));
  }

.banner-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.chevron-overlay {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

.chevron {
  font-size: 4rem; /* wider size */
  color: #444;
  opacity: 0.3;
  transform: rotate(-90deg);
  animation: glowChevron 1.0s infinite;
}

@keyframes glowChevron {
  0%, 100% {
    opacity: 0.3;
    color: #444;
  }
  50% {
    opacity: 1;
    color: #ffffff;
  }
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 30%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
.overlay-heading {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0); /* semi-transparent white */
  padding: 2rem 4rem;
  border-radius: 5px;
  font-size: 3.365rem;
  font-family: 'Tektur', sans-serif;
  color: #ffffff;
  z-index: 10;
  text-align: center;
  width: 100%;
  animation: slideInUp 1.2s ease-out forwards;
  opacity: 0;
  animation-delay: 0.5s;
}

.projects-section {
  padding: 40px 20px;
  background-color: #ffffff00;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.project-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-left: 5rem;
  margin-right: 5rem;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.project-block.reverse {
  flex-direction: row-reverse;
  margin-left: 5rem;
  margin-right: 5rem;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.project-image img {
  width: 100%;
  max-width: 550px;
  height: 100%;
  max-height: 400px;
  margin-bottom: 1rem;
}

.project-content {
  max-width: 600px;
}

.project-content h2 {
  font-size: 1.65rem;
  margin-bottom: 20px;
  font-family: 'Special Gothic Expanded One', sans-serif;
  color: #000000;
}

.project-content p {
  font-size: 1.35rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-family: 'Space Grotesk', sans-serif;
  color: #393939cc;
}

.project-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  text-decoration: none;
  border-radius: 8px;
  font-family: 'Tektur', sans-serif;
  transition: all 0.3s ease;
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.project-button:hover {
  background-color: rgb(255, 111, 0);
  color: rgb(0, 0, 0);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.tagline-section {
  text-align: center;
  margin-top: -2.25rem;
  margin-bottom: 2rem;
  font-family: 'Aldrich', sans-serif;
  background: linear-gradient(to top, rgb(0, 0, 70), rgb(255, 255, 255));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2rem;
}

/* Tiles Section */
/* Tiles Section - Updated for better arrow functionality and spacing */
.tiles-section {
  position: relative;
  padding: 20px 60px; /* Added horizontal padding to accommodate arrows */
  background-color: #ffffff00;
  overflow: hidden; /* Hide horizontal scrollbar */
  margin-top: 20px;
}

.tiles-wrapper {
  display: flex;
  gap: 20px;
  padding: 0 20px; /* Equal padding on both sides */
  scroll-behavior: smooth;
  overflow-x: auto;
  /* Hide scrollbar but keep functionality */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  align-items: center;
}

.tiles-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.tile {
  position: relative;
  flex: 0 0 300px;
  width:100%;
  max-width: 300px;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile:hover img {
  transition: transform 1s ease;
  transform: scale(1.05);
}

.tile-label {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 0;
  font-weight: bold;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tile:hover .tile-label {
  opacity: 1;
}

/* Arrows - Enhanced styling and positioning */
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0);
  color: black;
  font-size: 2rem;
  padding: 15px 12px;
  cursor: pointer;
  z-index: 20;
  /* border-radius: 50%; */
  transition: all 0.3s ease;
  /* border: 2px solid transparent; */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0);
}

.scroll-arrow:hover {
  background: rgba(0, 0, 0, 0);
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
}

.scroll-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.scroll-arrow.left {
  left: 15px;
}

.scroll-arrow.right {
  right: 15px;
}

/* Responsive adjustments for arrows */
@media (max-width: 768px) {
  .tiles-section {
    padding: 20px 50px;
  }
  
  .scroll-arrow {
    font-size: 1.5rem;
    padding: 12px 10px;
  }
  
  .scroll-arrow.left {
    left: 10px;
  }
  
  .scroll-arrow.right {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .tiles-section {
    padding: 20px 40px;
  }
  
  .tiles-wrapper {
    padding: 0 10px;
  }
  
  .scroll-arrow {
    font-size: 1.2rem;
    padding: 10px 8px;
  }
  
  .scroll-arrow.left {
    left: 5px;
  }
  
  .scroll-arrow.right {
    right: 5px;
  }
}

/* Footer */
.custom-footer {
  background-color: #000000;
  color: white;
  padding: 10px 10px 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content:space-evenly;
  width:100%;
  max-width: 1200px;
  margin: auto;
  gap: 550px;
}

.footer-logo img {
  width:100%;
  max-width: 120px;
  height: auto;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.25rem;
  margin-left: 10px;
  margin-right: 20px;
  white-space: nowrap;
}

.footer-links a:hover {
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 2px;
  font-size: 0.9rem;
  color: #888;
}

/* About Page */

.about-section {
  background-color: #fff;
  padding: 40px 50px;
}

.about-section p {
  margin-bottom: 20px;
  max-width: auto;
  margin-right: auto;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
}

/* Leaders Section - Updated for 4 tiles in a row, center-aligned */
.leaders-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.leaders-heading {
  text-align: center;
  font-size: 2.5rem;
  font-family: 'Special Gothic Expanded One', sans-serif;
  margin-bottom: 40px;
  color: #000000;
}

.leaders-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.leader-tile {
  background-color: #000;
  color: #fff;
  border: 2px solid #333;
  border-radius: 0;
  width:100%;
  max-width: 250px;
  height: 350px;
  text-align: left;
  padding: 0;
  box-shadow: none;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  font-family: 'Space Grotesk', sans-serif;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.leader-tile:hover {
  transform: scale(1.02);
}

.leader-tile img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  margin-bottom: 0;
}

.leader-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 150px;
  width: 100%;
}

.leader-tile h3 {
  font-size: 1.4rem;
  margin: 0;
  margin-top: 5px;
  margin-bottom: 0px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.leader-tile p {
  font-size: 1.1rem;
  color: #888;
  margin: 0;
  line-height: 1.5;
  text-align: center;
  margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .leaders-grid {
    gap: 1.5rem;
  }
  
  .leader-tile {
    width:100%;
    max-width: 250px;
    height: 320px;
  }
}

@media (max-width: 1024px) {
  .leaders-grid {
    justify-content: center;
    gap: 1.5rem;
  }
  
  .leader-tile {
    width:100%;
    max-width: 240px;
    height: 310px;
  }
}

@media (max-width: 768px) {
  .leaders-grid {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .leader-tile {
    width:100%;
    max-width: 300px;
    height: 380px;
  }
}

@media (max-width: 480px) {
  .leader-tile {
    width:100%;
    max-width: 280px;
    height: 360px;
  }
}
/* Contact */

.contact-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  width:100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-left {
  flex: 1;
  padding-right: 1rem;
}

.contact-left h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #333;
  margin-top: 8rem;
}

.contact-left p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #666;
}

/* Contact Page - Adjusted contact details layout when replacing form */
.contact-right .contact-details.moved {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.1rem;
  margin-top: 8rem;
  font-family: 'Space Grotesk', sans-serif;
  text-align: justify;
}



.contact-right .contact-details.moved p {
  margin: 0;
  color: #333;
}

.contact-right .contact-details.moved a {
  color: #333;
  text-decoration: none;
}

.contact-right .contact-details.moved a:hover {
  text-decoration: underline;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-row.two-column {
  flex-direction: row;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  font-size: 1rem;
  font-family: "Wallpoet", sans-serif;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  background-color: #f9f9f9;
  box-sizing: border-box;
}

.form-row.two-column input {
  flex: 1;
}

.contact-form button {
  background-color: #333;
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 2rem;
  font-weight: bold;
  cursor: pointer;
  width: fit-content;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #555;
}

.map-container {
  margin-top: 2rem;
  height: 100%;
  width: 100%;
  align-self: center;
}

.contact-details {
  display: flex;
  flex-direction: row;
  gap: 20rem;
  text-align: center;
  margin-left: 2rem;
  margin-right: 2rem;
  margin-top: 2rem;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.contact-details p {
  margin: 0.2rem 0;
  font-family: 'Space Grotesk', sans-serif;
}

.contact-details a {
  color: #333;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
  }

  .contact-left {
    padding-right: 0;
  }

  .contact-left h2 {
    font-size: 2rem;
  }

  .contact-form {
    max-width: 100%;
  }
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

#faq {
  background: #f8f9fa;
  padding: 80px 0;
}

#faq .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.faq-title {
  flex: 0 0 300px;
}

.faq-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  line-height: 1.2;
}

.faq-container {
  flex: 1;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  transition: background-color 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question span {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  flex: 1;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: black;
  transition: transform 0.3s ease;
  margin-left: 16px;
  transform: rotate(180deg);
}

.faq-item.active .faq-icon {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #f8f9fa;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 24px 24px;
}

.faq-answer p {
  margin: 0;
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  #faq {
    padding: 60px 0;
  }
  
  .faq-layout {
    flex-direction: column;
    gap: 30px;
  }
  
  .faq-title {
    flex: none;
    text-align: center;
  }
  
  .faq-title h2 {
    font-size: 2rem;
  }
  
  .faq-question {
    padding: 20px;
  }
  
  .faq-question span {
    font-size: 1rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
  }
}

/* Defense - pages */
body { 
  font-family: 'Space Grotesk', sans-serif; 
  padding: 0; 
  margin: 0; 
  line-height: 1.6; 
}
    
.def-container {
  margin-top: 2rem;
  margin-left: 8rem;
  margin-right: 5rem;
  padding: 2rem; 
  max-width: 1200px; 
}

.def-la-container {
  margin-top: 2rem;
  margin-left: 8rem;
  margin-right: 5rem;
  padding: 2rem; 
  max-width: 1200px; 
}

.def-container h2{
  font-size: 2.5rem;
  font-family: 'Aldrich', sans-serif;
  font-weight: bold;
}


.intro-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.intro-text-mat {
  margin-top: 4.5rem;
  font-family: "Aldrich", sans-serif;
  font-size: 1.2rem;
  flex: 1 1 55%;
  text-align: justify;
}

.intro-text-la {
  margin-top: 1.5rem;
  font-family: "Aldrich", sans-serif;
  font-size: 1.2rem;
  flex: 1 1 55%;
  text-align: justify;
}

.intro-text-gim {
  margin-top: 1.5rem;
  font-family: "Aldrich", sans-serif;
  font-size: 1.2rem;
  flex: 1 1 55%;
  text-align: justify;
}

.intro-text-tx {
  margin-top: 6rem;
  font-family: "Aldrich", sans-serif;
  font-size: 1.2rem;
  flex: 1 1 55%;
  text-align: justify;
}

.intro-text-gcs {
  margin-top: 4.5rem;
  font-family: "Aldrich", sans-serif;
  font-size: 1.2rem;
  flex: 1 1 55%;
  text-align: justify;
}

.intro-text-uav {
  margin-top: 1rem;
  font-family: "Aldrich", sans-serif;
  font-size: 1.2rem;
  flex: 1 1 55%;
  text-align: justify;
}

.intro-image {
  flex: 1 1 40%;
}

.intro-image img {
  margin-top: 1.5rem;
  margin-left: 5rem;;
  width: 100%;
  border-radius: 8px;
}

.intro-image-gcs {
  flex: 1 1 40%;
}

.intro-image-gcs img {
  margin-top: 1.5rem;
  margin-left: 5rem;;
  width: 100%;
  border-radius: 8px;
}

.intro-video-la {
  flex: 1 1 40%;
}

.intro-video-gim {
  flex: 1 1 40%;
}

.intro-video-la video {
  width: 100%;
  border-radius: 8px;
  margin-top: 1.5rem;
  margin-left: 5rem;
}

.intro-video-gim video {
  width: 100%;
  border-radius: 8px;
  margin-top: 5rem;
  margin-left: 5rem;
}


.intro-video-uav {
  flex: 1 1 40%;
}

.intro-video-uav video {
  width: 100%;
  border-radius: 8px;
  margin-top: 3.5rem;
  margin-left: 5rem;
}

.section-title {
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  margin-left: -2rem;
  font-family: "Michroma", sans-serif;
}

.section-title.h3{
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  margin-left: -2rem;
  font-family: "Michroma", sans-serif;
}

.key-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Update the existing .feature-box class */
.feature-box {
  flex: 1 1 45%;
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  /* Add initial state for animation */
  opacity: 0;
  transform: translateX(-100px);
}

/* Add classes for left and right animations */
.feature-box.animate-left {
  animation: slideInLeft 0.6s ease-out forwards;
}

.feature-box.animate-right {
  animation: slideInRight 0.6s ease-out forwards;
}

/* Add staggered animation delays */
.feature-box:nth-child(1) { animation-delay: 0.1s; }
.feature-box:nth-child(2) { animation-delay: 0.2s; }
.feature-box:nth-child(3) { animation-delay: 0.3s; }
.feature-box:nth-child(4) { animation-delay: 0.4s; }
.feature-box:nth-child(5) { animation-delay: 0.5s; }
.feature-box:nth-child(6) { animation-delay: 0.6s; }

.feature-icon {
  width:100%;
  max-width: 40px;
  height: 40px;
  object-fit: contain;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  object-position: center;
}

.specs-table th, .specs-table td {
  border: 1px solid #ccc;
  padding: 12px;
  vertical-align: middle;
  text-align: left;
  width: 50%;
  font-family: "Electrolize", sans-serif;
}

.specs-table tr:nth-child(even) {
  background-color: rgb(188, 188, 188);
}

.specs-table tr:nth-child(odd) {
  background-color: #e9e9e9;
}

@media (max-width: 768px) {
  .intro-section { 
    flex-direction: row; 
  }

  .key-features { 
    flex-direction: column; 
  }
}

/* Tracker Slideshow Styles */
.tracker-slideshow-section {
  background-color: #2f2f2f56;
  padding: 40px 20px;
  margin-top: 5rem;
  margin-bottom: 15rem;
}

.tracker-slideshow {
  position: relative;
  width:100%;
  max-width: 1000px;
  margin: 0 auto;
}

.slideshow-container-tracker {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
  border-radius: 8px;
}

.slideshow-container-tracker h3 {
  font-size: 3rem;
  font-family: 'Special Gothic Expanded One', sans-serif;
  text-align: center;
  color: #000000;
}

.tracker-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tracker-slide.active {
  opacity: 1;
}

.tracker-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* External arrows positioned outside the image */
.tracker-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0);
  color: rgb(0, 0, 0);
  border: none;
  font-size: 5rem;
  padding: 15px 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  width:100%;
  max-width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tracker-arrow:hover {
  background: rgba(0, 0, 0, 0);
  transform: translateY(-50%) scale(1.1);
}

.tracker-arrow.prev {
  left: -80px; /* Position outside the slideshow container */
}

.tracker-arrow.next {
  right: -80px; /* Position outside the slideshow container */
}

/* Indicators */
.tracker-indicators {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.tracker-indicator {
  width:100%;
  max-width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: background 0.3s ease;
}

.tracker-indicator.active {
  background: rgba(255, 255, 255, 0.8);
}

.tracker-indicator:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .tracker-arrow.prev {
    left: -60px;
  }
  
  .tracker-arrow.next {
    right: -60px;
  }
}

@media (max-width: 768px) {
  .slideshow-container-tracker {
    height: 300px;
  }
  
  .tracker-arrow {
    font-size: 1.5rem;
    padding: 12px 10px;
    width:100%;
    max-width: 40px;
    height: 40px;
  }
  
  .tracker-arrow.prev {
    left: -50px;
  }
  
  .tracker-arrow.next {
    right: -50px;
  }
}

@media (max-width: 600px) {
  .tracker-slideshow-section {
    padding: 40px 60px; /* More padding to accommodate arrows */
  }
  
  .tracker-arrow.prev {
    left: -40px;
  }
  
  .tracker-arrow.next {
    right: -40px;
  }
}

@media (max-width: 480px) {
  .tracker-slideshow-section {
    padding: 40px 70px;
  }
  
  .slideshow-container-tracker {
    height: 250px;
  }
  
  .tracker-arrow {
    font-size: 1.2rem;
    padding: 10px 8px;
    width:100%;
    max-width: 35px;
    height: 35px;
  }
  
  .tracker-arrow.prev {
    left: -35px;
  }
  
  .tracker-arrow.next {
    right: -35px;
  }
}

/* Commercial Pages */
.tiles-wrapper-commercial {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  justify-items: center;
}

.tile-commercial {
  position: relative;
  width:100%;
  max-width: 400px;
  height: 400px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.tile-commercial img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-commercial:hover img {
  transition: transform 1s ease;
  transform: scale(1.05);
}

.tile-label-commercial {
  position: absolute;
  bottom: -10px;
  width: 100%;
  text-align: center;
  color: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0);
  font-family: "Tektur", sans-serif;
  padding: 5px 0;
  font-weight: bold;
  font-size: 1.5rem;
  opacity: 1;
}


/* Updated overlay container for overlaid tiles */
.overlay-tile-container {
  margin-top: 5rem;
  margin-left: 2rem;
  margin-right: 2rem;
  margin-bottom: 5rem;
  background-color: #777777; /* light grey */
  border-radius: 12px;
  padding: 90px 30px;
  position: relative;
  z-index: 1;
  /* Set minimum height to accommodate the background image */
  min-height: 600px;
  /* Make this a flex container for better centering */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Background image positioned absolutely to cover the container */
.overlay-tile-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/commercial/options.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  z-index: 1;
  opacity: 1; /* Make background image semi-transparent */
}

/* Remove the separate overlay-tile-image since we're using ::before */
.overlay-tile-image {
  display: none;
}

.overlay-tile-container h2 {
  font-size: 3rem;
  font-family: 'Aldrich', sans-serif;
  text-align: center;
  margin-bottom: 40px;
  color: #000;
  position: relative;
  z-index: 3; /* Above background */
}

.overlay-tile-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  width:100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 3; /* Above background */
}

.overlay-options-heading {
  text-align: center;
  color: #000;
  font-family: 'Aldrich', sans-serif;
  font-size: 3rem;
  margin-bottom: 2rem;
  z-index: 3;
  position: relative;
}

.tile-overlay {
  position: relative;
  background: rgba(255, 255, 255, 0); /* Semi-transparent white background */
  border-radius: 12px;
  overflow: hidden;
  height: 300px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0); /* Enhanced shadow for better separation */
  transition: all 0.3s ease;
  margin-top: 0; /* Remove top margin since tiles are now overlaid */
  /* backdrop-filter: blur(5px); Add subtle blur effect */
}

.tile-overlay:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0);
  background: rgba(255, 255, 255, 0); /* Full opacity on hover */
}

.tile-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tile-overlay:hover img {
  transform: scale(1.05);
}

.tile-label-overlay {
  position: absolute;
  bottom: -15px;
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0);
  background: rgba(0, 0, 0, 0);
  padding: 8px 0;
  font-weight: bold;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-family: 'Aldrich', sans-serif;
}

.tile-overlay:hover .tile-label-overlay {
  opacity: 1;
  color: #000; /* Change text color on hover */
  background: rgba(255, 255, 255, 0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .overlay-tile-container {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 60px 20px;
    min-height: 500px;
  }
  
  .overlay-tile-container h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
  
  .overlay-tile-wrapper {
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .tile-overlay {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .overlay-tile-container {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    padding: 40px 15px;
    min-height: 400px;
  }
  
  .overlay-tile-container h2 {
    font-size: 1.2rem;
  }
  
  .overlay-tile-wrapper {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .tile-overlay {
    height: 180px;
  }
}

.tagline-commercial {
  text-align: left;
  margin-left: 4rem;
  margin-top: 50px;
  margin-bottom: 10px;;
  font-family: 'Aldrich', sans-serif;
  background: linear-gradient(to right, rgb(0, 0, 70), rgb(50, 50, 180));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2rem;
}

.commercial-banner img {
  width: 100%;
  height: auto;
  max-height: 30rem;
  object-fit: cover;
  margin-top: 50px;
  margin-bottom: 50px;
  object-position: right;
}

.bldc-banner img {
  width: 100%;
  height: auto;
  max-height: 30rem;
  object-fit: cover;
  margin-top: 50px;
  margin-bottom: 50px;
  object-position: right;
}

.veron-banner img {
  width: 100%;
  height: auto;
  max-height: 25rem;
  object-fit: cover;
  margin-top: 50px;
  margin-bottom: 40px;
  object-position: right;
}

.orbion-banner img {
  width: 100%;
  height: auto;
  max-height: 25rem;
  object-fit: cover;
  margin-top: 50px;
  margin-bottom: 40px;
  object-position: right;
}

/* Slideshow Styles */
.product-slideshow {
  position: relative;
  max-width: 80%;
  margin: 40px auto;
  background-color: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin-bottom: 10rem;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
  object-position: center;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #ffffff;
  padding: 40px 30px 20px;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.slide.active .slide-content {
  transform: translateY(0);
}

.slide-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
  font-family: 'Tektur', sans-serif;
}

.slide-description {
  font-size: 1.1rem;
  line-height: 1.4;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 40px;
}

.slideshow-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width:100%;
  max-width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.indicator.active {
  background: white;
}

.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0);
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 15px 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
}

.slideshow-arrow:hover {
  background: rgba(255, 255, 255, 0);
  transform: translateY(-50%) scale(1.1);
}

.slideshow-arrow.prev {
  left: 20px;
}

.slideshow-arrow.next {
  right: 20px;
}

@media (max-width: 768px) {
  .slideshow-container {
    height: 350px;
  }
  
  .slide-content {
    padding: 30px 20px 15px;
  }
  
  .slide-title {
    font-size: 1.4rem;
  }
  
  .slide-description {
    font-size: 1rem;
  }
  
  .slideshow-arrow {
    font-size: 1.2rem;
    padding: 12px 10px;
  }
}

/* Product */
/* Product Page Layout */
.product-hero {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  align-items: center;
}

.product-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
  background: #ffffff00;
  /* padding: 5px; */
  object-fit: cover;
}

.product-details {
  flex: 1;
}

.product-details h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-family: "Aldrich", sans-serif;
}

.price {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.stock {
  font-weight: bold;
  margin-bottom: 20px;
}

.in-stock {
  color: green;
}

.product-specs {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
  font-family: "Electrolize", sans-serif;
}

.product-specs li {
  margin-bottom: 10px;
  font-family: "Electrolize", sans-serif;
}

.product-specs .lead-time span {
  color: red;
}

/* Tabs Section */
.product-tabs {
  width:100%;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab-button {
  background-color: #ddd;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  font-family: "Michroma", sans-serif;
}

.tab-button.active {
  background-color: #333;
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.technical-drawing {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 20px auto;
}

.prod-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.prod-specs-table th,
.prod-specs-table td {
  text-align: left;
  padding: 12px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: "Electrolize", sans-serif;
  font-weight: bold;
}

.prod-specs-table th {
  background-color: #f0f0f0;
  max-width: 250px;
}

@media (max-width: 768px) {
  .product-container {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Industrial Videos Section */
.industrial-videos {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.video-container {
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0);
}

.video-container video {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  display: block;
  background-color: #00000000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .industrial-videos {
    gap: 30px;
    padding: 30px 15px;
  }
  
  .video-container video {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .industrial-videos {
    gap: 20px;
    padding: 20px 10px;
  }
  
  .video-container video {
    max-height: 300px;
  }
}

.industrial-imgs img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 5rem;;
  margin-bottom: 5rem;
}

/* Center tiles and remove scroll styling */
.tiles-section.center-tiles {
  padding: 40px 20px;
}

.tiles-wrapper.center-wrapper {
  justify-content: center;
  flex-wrap: wrap;
  overflow: visible;
  padding: 0;
}

.scroll-arrow {
  display: none !important;
}

.tiles-heading {
  text-align: center;
  font-size: 2.2rem;
  font-family: 'Aldrich', sans-serif;
  color: #000000;
  margin-bottom: 20px;
  margin-top: 40px;
}

/* Mobile Responsive Enhancements */

/* General fixes */
@media (max-width: 768px) {
  .landing-container {
    flex-direction: column;
    height: auto;
  }

  .brochure h1 {
    font-size: 2rem;
  }

  .explore-btn {
    font-size: 1rem;
    padding: 8px 16px;
  }

  .main-header h1 {
    font-size: 1.5rem;
    padding: 0 10px;
  }

  .project-block,
  .project-block.reverse {
    flex-direction: column;
    margin: 2rem 1rem;
    gap: 2rem;
  }

  .project-image img {
    max-width: 100%;
    height: auto;
  }

  .project-content h2 {
    font-size: 1.4rem;
  }

  .project-content p {
    font-size: 1.1rem;
  }

  .product-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-details h2 {
    font-size: 1.8rem;
  }

  .product-specs li {
    font-size: 1rem;
  }

  .contact-details {
    flex-direction: column;
    gap: 1.5rem;
    margin: 1rem;
    text-align: left;
  }

  .intro-image img,
  .intro-video-la video,
  .intro-video-gim video,
  .intro-video-uav video {
    margin-left: 0;
  }

  .intro-section {
    flex-direction: column;
  }

  .intro-text-mat,
  .intro-text-la,
  .intro-text-gim,
  .intro-text-tx,
  .intro-text-gcs,
  .intro-text-uav {
    font-size: 1rem;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .brochure h1 {
    font-size: 1.5rem;
  }

  .explore-btn {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  .main-header h1 {
    font-size: 1.2rem;
  }

  .project-content h2 {
    font-size: 1.2rem;
  }

  .project-content p {
    font-size: 1rem;
  }

  .tile, .tile-commercial, .tile-overlay {
    width: 90% !important;
    height: auto;
  }

  .tile-label, .tile-label-commercial, .tile-label-overlay {
    font-size: 0.9rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-links a {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .landing-container {
    flex-direction: column;
    height: auto;
  }

  .brochure {
    width: 100%;
    height: 100vh; /* Full screen height */
    flex: none;
    padding: 2rem 1rem;
    text-align: center;
  }

  .brochure h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .explore-btn {
    font-size: 1rem;
    padding: 8px 16px;
  }
}

/* --- Mobile Responsive Layout Fixes --- */
@media (max-width: 768px) {

  /* BROCHURE STACKING (Each takes 1/3 of the screen height) */
  .landing-container {
    flex-direction: column;
    height: 100vh;
  }

  .brochure {
    width: 100%;
    height: 33.33vh;
    flex: none;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
  }

  .brochure h1 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .explore-btn {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  /* PAGE LAYOUT FORMATTING */
  .def-container,
  .def-la-container {
    margin: 1rem;
    padding: 1rem;
  }

  .intro-section {
    flex-direction: column;
    gap: 1rem;
  }

  .intro-text-mat,
  .intro-text-la,
  .intro-text-gim,
  .intro-text-tx,
  .intro-text-gcs,
  .intro-text-uav {
    margin-top: 1rem;
    font-size: 1rem;
  }

  .intro-image img,
  .intro-image-gcs img,
  .intro-video-la video,
  .intro-video-gim video,
  .intro-video-uav video {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }

  /* CENTER ALIGN SPECS TABLE */
  .specs-table {
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    font-size: 0.9rem;
  }

  .specs-table th,
  .specs-table td {
    font-size: 0.9rem;
    padding: 8px;
  }

  /* ALIGN KEY FEATURES LIKE GRID */
  .key-features {
    flex-direction: column;
    gap: 0.5rem;
  }

  .feature-box {
    flex: 1 1 100%;
    text-align: center;
    justify-content: center;
  }

  /* Adjust text and spacing globally */
  h2, h3, h4 {
    font-size: 1.3rem;
    text-align: center;
  }

  p {
    font-size: 1rem;
    text-align: justify;
  }
}

/* --- Tracker Slideshow Responsive Fixes --- */
@media (max-width: 768px) {
  .tracker-slideshow-section {
    margin-top: 2rem;
    margin-bottom: 6rem;
    padding: 20px;
  }

  .slideshow-container-tracker {
    height: 300px; /* Smaller height for mobile */
  }

  .tracker-arrow {
    font-size: 1.2rem;
    padding: 8px;
    width: 35px;
    height: 35px;
  }

  .tracker-arrow.prev {
    left: -30px;
  }

  .tracker-arrow.next {
    right: -30px;
  }

  .tracker-indicators {
    bottom: -20px;
    gap: 8px;
  }

  .tracker-indicator {
    width: 10px;
    height: 10px;
  }

  .slideshow-container-tracker h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .tracker-slide img {
    max-height: 100%;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .slideshow-container-tracker {
    height: 250px;
  }

  .tracker-arrow {
    font-size: 1rem;
    padding: 6px;
    width: 30px;
    height: 30px;
  }

  .tracker-arrow.prev {
    left: -25px;
  }

  .tracker-arrow.next {
    right: -25px;
  }

  .slideshow-container-tracker h3 {
    font-size: 1.2rem;
  }
}

/* --- Footer Responsive Fixes --- */
@media (max-width: 768px) {
  .custom-footer {
    padding: 10px 0;
  }

  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .footer-logo img {
    width: 80px;
    height: auto;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-links a {
    font-size: 1rem;
    margin: 0;
  }

  .footer-bottom {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 1rem;
  }
}

/* --- Header Logo Mobile Fix --- */
@media (max-width: 768px) {
  .main-header .logo {
    height: 45px; /* Smaller logo height */
  }

  .main-header h1 {
    font-size: 1.2rem;
    padding: 0 10px;
  }
}

/* --- Banner Mobile Fix --- */
@media (max-width: 768px) {
  .banner-wrapper img,
  .banner-wrapper video {
    max-height: 250px; /* Limit banner height */
    object-fit: cover;
  }

  .overlay-heading {
    font-size: 1.5rem;
    padding: 1rem 2rem;
    top: 70%; /* Adjust overlay placement */
  }

  .chevron {
    font-size: 2rem; /* Reduce chevron size */
  }
}

@media (max-width: 480px) {
  .banner-wrapper img,
  .banner-wrapper video {
    max-height: 200px;
  }

  .overlay-heading {
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    top: 70%;
  }

  .chevron {
    font-size: 1.5rem;
  }
}

/* --- Overlay Tile Image + Tile Overlay Responsive Fix --- */
@media (max-width: 768px) {
  .overlay-tile-container {
    padding: 40px 20px;
    min-height: auto;
  }

  .overlay-tile-wrapper {
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .tile-overlay {
    height: 180px;
  }

  .tile-overlay img {
    height: 100%;
    object-fit: cover;
  }

  .tile-label-overlay {
    font-size: 1rem;
    bottom: -5px;
  }
}

@media (max-width: 480px) {
  .overlay-tile-container {
    padding: 20px 10px;
  }

  .tile-overlay {
    height: 150px;
  }

  .tile-label-overlay {
    font-size: 0.9rem;
  }
}
/* --- Overlay Tile Heading Responsive Fix --- */
@media (max-width: 768px) {
  .overlay-tile-container h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding: 0 10px;
    text-align: center;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .overlay-tile-container h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding: 0 5px;
  }
}

/* --- Responsive Project Section --- */
@media (max-width: 768px) {
  .project-block,
  .project-block.reverse {
    flex-direction: column !important;
    margin: 2rem 1rem;
    gap: 1.5rem;
  }

  .project-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
  }

  .project-content {
    max-width: 100%;
    text-align: left;
    padding: 0 10px;
  }

  .project-content h2 {
    font-size: 1.3rem;
    text-align: center;
  }

  .project-content p {
    font-size: 1rem;
    line-height: 1.5;
    text-align: justify;
  }

  .project-button {
    font-size: 0.9rem;
    text-align:center;
    padding: 8px 16px;
    display: block;
    margin: 0 auto;
  }
}
