/* Base Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}
/* Increase the base font size */
html {
  scroll-behavior: smooth;
  font-size: 18px;
}
body {
  background: #0a101c;
  color: #e0e0e0;
  overflow-x: hidden;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: #5e72e4;
  transition: color 0.3s;
}
a:hover {
  color: #8898ff;
}

/* Neon Glowing Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a101c;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s;
}
#preloader .loader {
  border: 5px solid transparent;
  border-top: 5px solid #5e72e4;
  border-right: 5px solid #5e72e4;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  filter: drop-shadow(0 0 10px #5e72e4);
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Animated Top Navigation */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  background: rgba(10, 16, 28, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  border-bottom: 2px solid #5e72e4;
}
header .brand {
  font-size: 2rem;
  font-weight: bold;
  color: #5e72e4;
  text-shadow: 0 0 10px #5e72e4;
}
header .toll-free{
  font-size: 1.7rem;
  font-weight: bold;
  color: #5e72e4;
}
nav {
  display: flex;
  gap: 25px;
}
nav a {
  position: relative;
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 5px 0;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #5e72e4;
  transition: width 0.3s;
}
nav a:hover::after {
  width: 100%;
}
.menu-toggle {
  display: none;
}

/* Hero Section with Animated Overlay */
.hero {
  position: relative;
  min-height: 100vh;
  background: url("./resources/images/free-photo-of-clouds-seen-from-an-airplane.jpeg")
    center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 16, 28, 0.8);
  mix-blend-mode: multiply;
  animation: purplePulse 3s ease-in-out infinite alternate;
}
@keyframes purplePulse {
  from {
    filter: brightness(0.8);
  }
  to {
    filter: brightness(1.2);
  }
}
.hero .content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 20px;
  animation: fadeIn 1s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #8898ff;
  text-shadow: 0 0 15px #8898ff;
}
.hero p {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fff;
}
.hero ul {
  list-style: none;
  margin-bottom: 20px;
}
.hero ul li {
  font-size: 1.3rem;
  margin-bottom: 10px;
  position: relative;
  padding-right: 30px;
}
.hero ul li::after {
  content: "✦";
  position: absolute;
  right: 0;
  color: #5e72e4;
  font-size: 1.3rem;
}
/* Modified Button Styles */
.hero .btn {
  position: relative;
  display: inline-block;
  background: #5e72e4;
  color: #fff;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  animation: purpleGlowing 1.5s ease-in-out infinite, float 3s ease-in-out infinite;
}
@keyframes purpleGlowing {
  0% {
    box-shadow: 0 0 5px #5e72e4, 0 0 10px #5e72e4;
  }
  50% {
    box-shadow: 0 0 20px #5e72e4, 0 0 30px #5e72e4;
  }
  100% {
    box-shadow: 0 0 5px #5e72e4, 0 0 10px #5e72e4;
  }
}
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}
.hero .btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px #5e72e4;
}
.hero .btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}
.hero .btn:active::before {
  width: 300%;
  height: 300%;
  transition: 0s;
}

/* Section Layouts with Futuristic Cards */
.section {
  padding: 60px 20px;
  margin: 80px auto;
  max-width: 1200px;
  background: rgba(14, 20, 36, 0.95);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  position: relative;
  margin-bottom: 60px;
  animation: slideIn 1s ease-out;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(94, 114, 228, 0.1));
  pointer-events: none;
}
.section h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #5e72e4;
  text-shadow: 0 0 10px #5e72e4;
}
.section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 20px;
  color: #ccc;
}

/* Services Cards */
.services .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.services .card {
  background: #1a2335;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
}
.services .card:hover {
  transform: translateY(-10px);
}
.services .card img {
  width: 50px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 8px #5e72e4);
}
.services .card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #8898ff;
}
.services .card p {
  font-size: 1rem;
  color: #aaa;
}

/* Airlines Carousel */
.airlines .header {
  margin-bottom: 30px;
}
.airlines .header h2 {
  font-size: 2.2rem;
  color: #8898ff;
}
.airlines .header p {
  font-size: 1rem;
  color: #aaa;
}
.airlines .carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
}
.airlines .carousel::-webkit-scrollbar {
  display: none;
}
.airlines .item {
  background: #1a2335;
  padding: 20px;
  border-radius: 8px;
  min-width: 180px;
  text-align: center;
  transition: transform 0.3s;
}
.airlines .item:hover {
  transform: translateY(-10px);
}
.airlines .item .number {
  background: #5e72e4;
  color: #fff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  margin: 0 auto 10px;
  font-size: 1.1rem;
  font-weight: bold;
}
.airlines .item h3 {
  font-size: 1.1rem;
  color: #ccc;
}

/* About Section */
.about {
  position: relative;
}
.about .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 16, 28, 0.8);
  z-index: 1;
}
.about .content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.about h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #5e72e4;
}
.about p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #bbb;
}
.about img {
  width: 100%;
  max-width: 1500px;
  border-radius: 8px;
  transition: transform 0.5s;
  filter: drop-shadow(0 0 10px #5e72e4);
}
.about img:hover {
  transform: scale(1.05);
}

/* Info Blocks */
.info .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: auto;
}
.info .block {
  background: #1a2335;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s;
  text-align: left;
}
.info .block:hover {
  transform: translateY(-5px);
}
.info .block h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #8898ff;
}
.info .block p {
  font-size: 1rem;
  color: #aaa;
}

/* Disclaimer */
.disclaimer {
  background: #1a2335;
  padding: 20px 30px;
  font-size: 1rem;
  color: #777;
  max-width: 800px;
  margin: 40px auto;
  border-left: 4px solid #5e72e4;
  text-align: left;
}
.disclaimer a {
  color: #5e72e4;
}

/* Enhanced Sticky CTA Section */
.cta {
  background: linear-gradient(135deg, #5e72e4, #8898ff);
  padding: 30px 40px;
  position: sticky;
  bottom: 0;
  width: 100%;
  text-align: center;
  z-index: 2001;
  border-top: 4px solid #0a101c;
}
@keyframes purpleBlink {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.3);
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.cta h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 0 20px #0a101c, 0 0 30px #5e72e4;
  animation: textPulse 3s infinite;
}
@keyframes textPulse {
  0%, 100% {
    text-shadow: 0 0 20px #0a101c, 0 0 30px #5e72e4;
  }
  50% {
    text-shadow: 0 0 30px #0a101c, 0 0 50px #5e72e4;
  }
}
.cta p {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
}
.cta p img {
  width: 40px;
  animation: iconPulse 3s infinite;
}
@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Footer */
footer {
  background: #0a101c;
  padding: 20px 30px;
  text-align: center;
  font-size: 1.1rem;
  color: #777;
  border-top: 2px solid #5e72e4;
}
footer .links a {
  margin: 0 10px;
  transition: color 0.3s;
}
footer .links a:hover {
  color: #8898ff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }
  header .brand {
    font-size: 2rem;
  }
  .menu-toggle {
    display: flex;
  }
  nav {
    flex-direction: column;
    width: 100%;
    display: none;
  }
  nav.active {
    display: flex;
  }
  nav a {
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }
  .hero {
    min-height: 70vh;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero p, .hero ul li {
    font-size: 1rem;
  }
  .hero .btn {
    padding: 10px 25px;
    font-size: 1.3rem;
  }
  .services .grid, .info .grid {
    grid-template-columns: 1fr;
  }
  .airlines .carousel {
    flex-direction: column;
    align-items: center;
  }
  .airlines .item {
    min-width: 100%;
    margin-bottom: 15px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 16px;
  }
  header .brand {
    font-size: 1.8rem;
  }
  nav a {
    font-size: 1rem;
    padding: 6px 8px;
  }
}

/* Popup Overlay */
@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Popup Container */
@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #5e72e4; /* Primary color from the Index page */
  z-index: 2100;
}

.popup-content {
  padding: 2rem;
  margin: 50px 0px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center; 
}

.popup-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #8898ff; /* Secondary color from the Index page */
}

.popup-phone-number {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  font-weight: 600;
  color: #5e72e4; /* Primary color */
  border: 1px solid #5e72e4;
  border-radius: 12px;
  margin: 0.5rem 0 1rem;
  padding: 0.5rem 1rem;
  animation: pulsePhone 2s infinite;
}

@keyframes pulsePhone {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.popup-text,
.popup-action-text {
  margin: 0.75rem 0;
  color: #e0e0e0; /* Light text color from Index page */
}

.popup-call-circle {
  margin: 1rem auto;
  width: 100px;
  height: 100px;
  background: #5e72e4; /* Primary color */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  /* box-shadow: 0 0 20px #5e72e4; Add glow effect to match the Index style */
}

.popup-call-circle:hover {
  transform: scale(1.1);
  /* box-shadow: 0 0 30px #5e72e4; Enhanced glow effect on hover */
}

.popup-click-to-call {
  font-size: 2rem;
  font-weight: 600;
  color: white;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 16, 28, 0.8); /* Darker background to match the Index page */
  z-index: 1999;
  animation: overlayFadeIn 0.5s forwards;
}

/* Popup Container */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a2335; /* Card background color from Index page */
  z-index: 2000;
  overflow: hidden;
  animation: popupIn 0.5s forwards;
}

/* Hide popup on larger screens */
@media (min-width: 769px) {
  .popup,
  .popup-overlay {
    display: none;
  }
}
