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

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header */
header {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 1rem 0;
  /* position: fixed;
  top: 0; */
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #007bff;
    color: #fff !important;
}

.bg-header{
    background-color: #2a5298 !important;
    border-radius: 5px;
    box-shadow: 0 6px 14px #0000001a;
}

.dropdown-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fff;
  transition: transform 0.3s ease;
}

.dropdown-item:focus {
    color: #16181b;
    text-decoration: none;
    background-color: inherit;
}

@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .navbar .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

@media (max-width:992px) {
    .navbar .dropdown .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    .navbar .show .dropdown-toggle::after {
        transform: rotate(0deg);
    }
}

.logo {
  font-weight: bold;
  justify-content: center !important;
  font-size: 1.25rem;
  color: inherit;
  text-decoration: none;
  background-color: transparent;
  flex-wrap: wrap;
}

.logo img{
    width: 12% !important;
}

.logo h2{
    font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

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

a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  /* margin-top: 70px; */
  height: 80vh;
  overflow: hidden;
  text-align: center;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Background video styling */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay to improve text visibility */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Content sits above video and overlay */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s;
  color: white;
}

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

.cta-button {
  background: #ffd700;
  color: #1e3c72;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 1.4s;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* About Section */
.about {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 2rem;
}

.about h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #1e3c72;
  margin-bottom: 1rem;
}

.about-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: #2a5298;
  margin-bottom: 2rem;
}

.about p {
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

/* Services Section */
.services {
  background: #f8f9fa;
  padding: 80px 2rem;
}

.services h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #1e3c72;
  margin-bottom: 3rem;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
  color: #1e3c72;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* Why RT Aviation */
.why-us {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 2rem;
  text-align: center;
}

.why-us h2 {
  font-size: 2.5rem;
  color: #1e3c72;
  margin-bottom: 2rem;
}

.why-us p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  max-width: 900px;
  margin: 0 auto;
}

.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 3rem;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 1.2rem;
  color: #1e3c72;
  margin-top: 0.5rem;
}

/* Countdown */
.countdown-section {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 60px 2rem;
  text-align: center;
}

.countdown-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
  border-radius: 10px;
  min-width: 100px;
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: bold;
}

.countdown-label {
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Companies */
.companies {
  padding: 80px 2rem;
  background: #f8f9fa;
}

.companies h2 {
  text-align: center;
  font-size: 2rem;
  color: #1e3c72;
  margin-bottom: 3rem;
}

.companies-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
}

.company-logo {
  background: white;
  padding: 1.2rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  font-weight: bold;
  color: #1e3c72;
  transition: transform 0.3s;
}

.company-logo img{
  width: 100%;
  height: 100%;
}

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

/* Contact */
.contact {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 2rem;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #1e3c72;
  margin-bottom: 3rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
}

.contact-info h3 {
  color: #1e3c72;
  margin-bottom: 1rem;
}

.contact-item {
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item strong {
  color: #1e3c72;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
}

.contact-form button {
  background: #1e3c72;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #2a5298;
}

/* Footer */
footer {
  background: #1e3c72;
  color: white;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: #ffd700;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin: 0.5rem 0;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #ffd700;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Responsive */
@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1e3c72;
    flex-direction: column;
    padding: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
  }

  .countdown {
    gap: 1rem;
  }
}


/* Gallery Section */
.gallery-section {
    max-width: 1400px;
    margin: 10px auto 60px auto;
    padding: 0 2rem;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1.2s;
}

.filter-btn {
    background: white;
    color: #1e3c72;
    border: 2px solid #1e3c72;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: #2a5298;
    color: white;
    border-color: #2a5298;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(30,60,114,0.3);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    animation: fadeIn 1s;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    height: 300px;
}

.gallery-item.hide {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: #ddd;
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    animation: fadeIn 0.3s;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    color: #1e3c72;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: #ffd700;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    color: #1e3c72;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: #ffd700;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-info {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
}

.lightbox-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.lightbox-counter {
    position: absolute;
    top: -40px;
    left: 0;
    background: white;
    color: #1e3c72;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo img{
        width: 25% !important;
    }
    nav{
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
        margin: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1e3c72;
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .gallery-item {
        height: 250px;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .lightbox-info {
        bottom: 10px;
        padding: 1rem;
    }

    .lightbox-counter {
        top: 10px;
    }
}

@media (min-width: 768px) {
    .w-md-50{
        width: 50% !important;
    }
}
@media (max-width: 768px) {
    .justify-content-md-center-x {
        justify-content: center !important;
    }
}
@media (max-width: 768px) {
    .col-md-4-x{
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }
}
.navbar-light .navbar-toggler{
    color: rgba(0, 0, 0, 1);
    border: 2px solid rgb(127 127 127);
}
@media only screen and (max-width: 767px) {
    .h-m-auto {
        height: auto !important;
    }
}
#testimonial .owl-item{
    background-color: #fff !important;
}

/* Popup Section */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Popup box */
.popup {
    background: #fff;
    width: 300px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    animation: fadeIn 0.5s ease;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    background: #ff5f5f;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

/* Simple fade animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* loader */
.loader {
  position: fixed;
  inset: 0;
  background: #000000b0; /* background color */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* ensures it stays on top */
}

.spinner {
   width: 72px;
   height: 72px;
   display: grid;
   border: 5.8px solid #0000;
   border-radius: 50%;
   border-color: #dbdcef #0000;
   animation: spinner-e04l1k 1.2s infinite linear;
}

.spinner::before,
.spinner::after {
   content: "";
   grid-area: 1/1;
   margin: 2.9px;
   border: inherit;
   border-radius: 50%;
}

.spinner::before {
   border-color: #1e3c72 #0000;
   animation: inherit;
   animation-duration: 0.6s;
   animation-direction: reverse;
}

.spinner::after {
   margin: 11.6px;
}

@keyframes spinner-e04l1k {
   100% {
      transform: rotate(1turn);
   }
}