/* assets/css/style.css */

:root {
  /* Corporate Palette */
  --primary-color: #0a2342; /* Royal Navy Blue */
  --secondary-color: #0e84c8; /* Bright Blue (Updated) */
  --accent-color: #f8f9fa; /* Light Gray */
  --text-dark: #1a1a1a; /* Charcoal */
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-off-white: #f4f7f6;

  /* Typography */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.display-1 {
  font-weight: 800;
  letter-spacing: -2px;
}
.display-4 {
  font-weight: 700;
}
.letter-spacing-2 {
  letter-spacing: 2px;
}

.text-gold {
  color: var(--secondary-color) !important;
} /* Kept class name for compatibility, but color is blue */
.text-navy {
  color: var(--primary-color) !important;
}

/* Navbar - Transparent to Solid */
.navbar {
  padding: 20px 0;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(14, 132, 200, 0.1); /* Blue shadow */
  padding: 0;
}
.navbar,
.navbar .navbar-brand {
  padding: 0;
}
.navbar-brand img {
     max-height: 110px;
    transition: all 0.3s ease;
    max-width: 100%;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Shadow for visibility on images */
}

.navbar.scrolled .nav-link {
  color: var(--primary-color); /* Dark text on white bg */
  text-shadow: none;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show,
.nav-link:focus,
.nav-link:hover {
  color: var(--secondary-color);
}

.navbar-toggler {
  background: var(--secondary-color);
}
header h1 {
  color: #fff;
}
/* Buttons */
.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(14, 132, 200, 0.4); /* Blue shadow */
  font-size: 0.9rem; /* Added to control size better */
}

.btn-primary:hover {
  background-color: #0b6ba1; /* Darker blue */
  border-color: #0b6ba1;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(14, 132, 200, 0.6);
}

.btn-outline-light {
  border-width: 2px;
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem; /* Added to control size better */
}

.btn-outline-light:hover {
  background-color: #fff;
  color: var(--primary-color);
}

/* Hero Section - Ken Burns Effect & Carousel */
.hero-section {
  position: relative;
  /* height: 100vh; Full screen height */
  overflow: hidden;
  color: #fff;
  z-index: 0; /* Create stacking context */
}

/* Force text color and add shadow for better visibility */
.hero-section h1,
.hero-section h5,
.hero-section p,
.hero-section .lead {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.carousel-item {
  /* height: 100vh; */
  min-height: 600px; /* Ensure minimum height */
  background-color: #000; /* Fallback */
  position: relative;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: kenBurns 20s infinite alternate;
  z-index: 1; /* Positive z-index */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 35, 66, 0.85) 0%,
    rgba(10, 35, 66, 0.5) 100%
  );
  z-index: 2; /* On top of bg */
}

.hero-section .container {
  position: relative;
  z-index: 3; /* On top of overlay */
}

/* Carousel Indicators */
.carousel-indicators {
  bottom: 30px;
}

.carousel-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
  margin: 0 6px !important;
  background-color: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.7) !important;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  opacity: 1;
  transform: scale(1.2);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0; /* Hide by default, show on hover */
  transition: opacity 0.3s ease;
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
  opacity: 0.8;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .carousel-control-prev,
  .carousel-control-next {
    opacity: 0.8; /* Always show on mobile */
    width: 10%; /* Larger touch area */
  }

  .carousel-item {
    height: auto;
    /* min-height: 100vh; */
  }
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

/* About Section - Asymmetrical */
.about-img-wrapper {
  position: relative;
  padding: 30px;
}

.about-img-main {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  
}
.abouthome{
animation: animName 6s linear infinite;
border: 0;
box-shadow: unset;

}
@keyframes animName {
 0%{
    transform: rotate(0deg);
   }
100%{
    transform: rotate(360deg);
   }
}

.about-img-floating {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 50%;
  border: 5px solid #fff;
  border-radius: 5px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transform: scale(0.7);
}

/* Services - Hover Cards */
.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  border-bottom: 3px solid transparent;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(14, 132, 200, 0.15);
  border-bottom-color: var(--secondary-color);
}

.service-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

/* Stats Section */
.stats-section {
  background-color: var(--primary-color);
  color: #fff;
  padding: 80px 0;
}

.stats-section h3 {
  font-size: 3.5rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

/* Footer */
footer {
  background-color: #051224; /* Darker Navy */
  color: #d1d5db; /* Lighter gray for better visibility */
  padding-top: 80px;
}

footer h5 {
  color: #fff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

footer a {
  color: #d1d5db; /* Lighter gray */
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--secondary-color);
  text-decoration: none;
  /* padding-left: 5px; Removed slide effect */
  opacity: 0.8;
}

footer ul li i {
  color: var(--secondary-color);
  font-size: 0.8rem;
  transition: margin-left 0.3s ease;
}

footer ul li a:hover i {
  margin-left: 5px; /* Subtle icon movement */
}

.footer-bottom {
  background-color: #030b16;
  padding: 20px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Utilities */
.section-padding {
  padding: 100px 0;
}
.bg-off-white {
  background-color: var(--bg-off-white);
}

/* Process Flow */
.process-step {
  position: relative;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-top: 4px solid var(--secondary-color);
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(14, 132, 200, 0.15);
}

.process-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--secondary-color);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.process-step:hover .process-icon {
  background: var(--secondary-color);
  color: #fff;
}

/* Glass Cards (Mission/Vision) */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 50px 30px;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(14, 132, 200, 0.2);
}

/* Page Header Overlay */
.page-header-overlay {
  background: linear-gradient(rgba(10, 35, 66, 0.85), rgba(10, 35, 66, 0.7));
}

/* --- New Refactoring Classes --- */

/* Page Headers */
.page-header-common {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

/* Who We Are Page */
.rotate-n1 {
  transform: rotate(-1deg);
}
.rotate-1 {
  transform: rotate(1deg);
}

.decorative-circle-top {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  transform: translate(30%, -30%);
  background-color: var(
    --secondary-color
  ); /* Gold class was mapped to secondary */
  border-radius: 50%;
  opacity: 0.1;
}

.decorative-circle-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px;
  height: 150px;
  transform: translate(-30%, 30%);
  background-color: var(--primary-color);
  border-radius: 50%;
  opacity: 0.1;
}

.bg-gradient-navy {
  background: linear-gradient(
    45deg,
    rgba(10, 35, 66, 0.95),
    rgba(14, 132, 200, 0.9)
  );
}

/* CTA Backgrounds */
.cta-bg-overlay {
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  filter: brightness(0.3);
  z-index: -1;
}

/* Contact Page */
.contact-cards-wrapper {
  margin-top: -100px;
  position: relative;
  z-index: 2;
}

.map-container {
  border-width: 5px !important;
}

/* Utilities */
.max-w-600 {
  max-width: 600px;
}
.max-w-700 {
  max-width: 700px;
}
.footer-logo {
  filter: brightness(0) invert(1);
  width: 100%;
}
.footer-hr {
  border-color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (min-width: 992px) and (max-width: 1200px) {
  .navbar-nav .nav-link {
    padding: 10px 8px; /* Reduce padding to prevent wrapping */
    font-size: 0.8rem; /* Slightly smaller font */
  }
}

@media (max-width: 768px) {
  .display-1 {
    font-size: 2.5rem;
  }
  .display-4 {
    font-size: 1.8rem;
  }
  .hero-section {
    height: auto;
    /* min-height: 100vh;  */
    padding-top: 120px;
    padding-bottom: 80px;
  }
  .navbar-brand img {
    height: 75px;
  }

  /* Adjust text sizes for better readability */
  .hero-section h5 {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
  .hero-section .lead {
    font-size: 1rem;
  }

  /* Ensure background covers properly */
  .hero-bg {
    background-attachment: scroll; /* Fix for mobile browsers */
  }
}
@media (max-width: 375px) {
  .navbar-brand img {
    height: 62px;
  }
}

/* Fix for mobile overflow and auto-zoom */
html,
body {
  width: 100%;
  position: relative;
}

/* Prevent iOS zoom on inputs */
@media screen and (max-width: 768px) {
  input,
  textarea,
  select {
    font-size: 16px !important;
  }
  .about-img-floating {
    right: -10px; /* Reduce negative margin on mobile */
    width: 40%;
  }
}

/* --- Final Inline CSS Cleanup Classes --- */

/* Page Header Backgrounds */
.bg-header-home {
  background-image: url("../../images/airplane-905532_1920.jpg");
}
.bg-header-about {
  background-image: url("../../images/about.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.bg-header-services {
  background-image: url("../../images/innerPageBaner.jpg");
}
.bg-header-contact {
  background-image: url("../../images/innerPageBaner2.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.bg-header-who-we-are {
  background-image: url("../../images/about.png");
}

/* Overlays & Backgrounds */
.overlay-z0 {
  z-index: 0;
}
.bg-cobham {
  background-image: url("../../images/cobham-4798728_1920.jpg");
}
.bg-primary-var {
  background-color: var(--primary-color);
}

/* Contact Page Specifics */
.pb-50 {
  padding-bottom: 50px;
}
.contact-message-box {
  height: 150px;
}
.map-border-container {
  border-width: 5px !important;
}
.map-iframe {
  border: 0;
}

/* General Utilities */
.z-n1 {
  z-index: -1;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  left: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: #fff;
  text-decoration: none;
}

.my-float {
  margin-top: 0px;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

footer .list-unstyled li {
  padding: 8px 0px;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  z-index: 999;
  cursor: pointer;
  display: none; /* Hidden by default */
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.scroll-to-top:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-5px);
}

.scroll-to-top i {
  transform: rotate(-45deg); /* Point airplane up */
  transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
  transform: rotate(-45deg) translateY(-3px);
}

/* Animation for appearance */
.scroll-to-top.show {
  display: block;
  animation: flyIn 0.5s ease forwards;
}

@keyframes flyIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Flying Airplane Animation */
#flying-airplane {
  position: fixed;
  z-index: 998;
  width: 150px;
  pointer-events: none;
  /* Initial position off-screen */
  top: -200px;
  left: -200px;
  filter: drop-shadow(5px 10px 10px rgba(0, 0, 0, 0.3));
  /* Transitions removed for JS control */
}
