:root {
    --primary: #1a5f7a;
    --secondary: #57c5b6;
    --accent: #ff9e45;
    --light: #f9f9f9;
    --dark: #333;
    --white: #ffffff;
    --phone-color: #003a70; /* Change to desired phone color */

    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  }
 
  .phone-link {
    color: var(--accent); /* Changes text color */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .phone-link:hover {
    opacity: 0.8; /* Optional hover effect */
  }
  

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

header {
  background: var(--gradient);
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo svg {
  margin-right: 10px;
  height: 28px;
  width: 28px;
}

.contact-header {
  display: flex;
  align-items: center;
  color: white;
  font-weight: 600;
  text-decoration: none;
}

.contact-header svg {
  margin-right: 8px;
  height: 20px;
  width: 20px;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5rem 2rem;
  color: white;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/resources/images/airplane.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-features {
  list-style: none;
  margin-bottom: 2rem;
}

.hero-features li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.hero-features svg {
  margin-right: 10px;
  color: var(--accent);
  height: 24px;
  width: 24px;
}

.special-offer {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.special-offer p {
  color: var(--dark);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.special-offer a {
  background-color: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.special-offer a:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.special-offer a svg {
  margin-right: 10px;
  height: 24px;
  width: 24px;
}

/* About and Features Section */
.about-features {
  padding: 5rem 2rem;
  background-color: white;
}

.about-features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about {
  padding: 1rem;
}

.about-header h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

hr {
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border: none;
  margin: 0 0 1.5rem 0;
}

.about p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark);
}

.features {
  padding: 1rem;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.feature-item:hover {
  background-color: var(--light);
}

.feature-item img {
  height: 60px;
  width: 60px;
}

.feature-text h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.feature-text p {
  font-size: 0.95rem;
  color: var(--dark);
}

/* Airlines Section */
.airlines {
  padding: 5rem 2rem;
  background-color: var(--light);
}

.airlines-container {
  max-width: 1200px;
  margin: 0 auto;
}

.airlines-header {
  text-align: left;
  margin-bottom: 3rem;
}

.airlines-header h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.airlines-header hr {
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border: none;
  margin: 0 0 1.5rem 0;
}

.airlines-header p {
  font-size: 1.1rem;
  color: var(--dark);
}

.airlines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.airline-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
  text-align: left;
}

.airline-number {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.airline-item h3 {
  font-size: 1.2rem;
  color: var(--dark);
}

@media (max-width: 480px) {
  .airlines-grid {
    grid-template-columns: 1fr;
  }
}

/* Support Section */
.support {
  padding: 5rem 2rem;
  background-color: white;
}

.support-container {
  max-width: 1200px;
  margin: 0 auto;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.support-item {
  padding: 1rem;
}

.support-item h2 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.support-item p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark);
}

/* Disclaimer Section */
.disclaimer {
  padding: 3rem 2rem;
  background-color: #f1f1f1;
}

.disclaimer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.disclaimer p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.disclaimer a {
  color: var(--primary);
  text-decoration: underline;
}

/* Footer Links */
.footer-links {
  padding: 3rem 2rem;
  background-color: var(--primary);
  color: white;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.links {
  margin-bottom: 1.5rem;
}

.links a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.links a:hover {
  color: var(--accent);
}

.links span {
  color: rgba(255, 255, 255, 0.5);
}

/* Floating CTA */
.cta-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--accent);
  color: var(--dark);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 11100;
}

.cta-floating h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.cta-floating p {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0; /* Remove default margin */
}

.cta-floating a {
  display: flex;
  align-items: center;
  gap: 10px; /* Space between image and text */
  color: var(--light);
  text-decoration: none;
}

.cta-floating a img {
  height: 30px;
  width: 30px; /* Ensure consistent sizing */
}

.cta-floating .phone-number {
  font-size: 1.2rem; /* Adjust font size if needed */
}

/* Center CTA on mobile screens */
@media (max-width: 768px) {
  .cta-floating {
    left: 50%; /* Center horizontally */
    right: auto; /* Remove right positioning */
    transform: translateX(-50%); /* Adjust for exact centering */
    width: 90%; /* Make it wider for better visibility */
    max-width: 300px; /* Limit maximum width */
    padding: 1rem; /* Adjust padding for smaller screens */
  }

  .cta-floating h3 {
    font-size: 1rem; /* Smaller font size for mobile */
  }

  .cta-floating p {
    font-size: 1.2rem; /* Smaller font size for mobile */
  }

  .cta-floating a img {
    height: 25px; /* Smaller image for mobile */
    width: 25px;
  }

  .cta-floating .phone-number {
    font-size: 1rem; /* Smaller font size for mobile */
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  .cta-floating{
    position: sticky;
    
  }

  .special-offer {
    margin-top: 2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .about-features-container {
    grid-template-columns: 1fr;
  }

  .airlines-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}

/* Popup CSS */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  animation: overlayFadeIn 0.5s forwards;
}

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

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 2000;
  overflow: hidden;
  animation: popupIn 0.5s forwards;
}

@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: var(--accent);
  z-index: 2100;
}

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

.popup-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.popup-phone-number {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
  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: #333;
}

.popup-call-circle {
  margin: 1rem auto;
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.popup-call-circle:hover {
  transform: scale(1.1);
}

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

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