:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #0ea5e9;
    --accent-light: #38bdf8;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: var(--primary);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
}

.logo svg {
    width: 32px;
    height: 32px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

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

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 30px;;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background: var(--accent-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature svg {
    color: var(--accent-light);
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    color: var(--white);
    text-align: center;
}

.offer-badge {
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-card h2 {
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
}

.hero-card p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Airlines Section */
.airlines {
    background: var(--white);
    padding: 5rem 0;
}

.airlines h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

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

.airline-card {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.airline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.airline-icon {
    background: var(--primary);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.airline-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.partner-number {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 5rem 0;
    color: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    opacity: 0.9;
}

/* New About Section */
.about {
    background: var(--white);
    padding: 5rem 0;
}

.about .container {
    text-align: center;
}

.about h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.about p {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Footer Adjustments */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 0 6rem; /* Increased bottom padding to accommodate sticky CTA */
    position: relative;
    z-index: 999; /* Ensure footer is above the sticky CTA */
}

.footer-bottom {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom p {
    color: var(--gray-400);
    margin: 0;
}

/* Sticky CTA Adjustments */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    color: var(--white);
    padding: 0.75rem;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.5s ease-out;
}

.sticky-cta a {
    color: var(--white);
    /* font-size: 3rem; */
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.sticky-cta a span{
    font-size: 3rem;
    white-space: nowrap; /* Prevent line breaks */
}

.sticky-cta a svg{
    width: 2rem;
    height: 2rem;
}

.sticky-cta a:hover {
    transform: scale(1.05);
}

/* Animation for Sticky CTA */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Pulse Animation for CTA Button */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(14, 165, 233, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
    }
}

.cta-button {
    animation: pulse 2s infinite;
}

/* Larger Phone Numbers */
.phone-large {
    font-size: 3rem;
    font-weight: bold;
}

/* Updated Hero Card Animation */
.hero-card {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Updated Airlines Section */
.airlines-grid {
    animation: fadeIn 1s ease-out;
}

/* Updated Features Section */
.features-grid {
    animation: fadeIn 1s ease-out;
}

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

/* Popup Container */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 2000; /* Higher than the overlay but lower than the sticky CTA */
    overflow: hidden;
    animation: popupIn 0.5s forwards;
  }
  
/* Popup Close Button */
.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--accent);/* Accent color */
    z-index: 2100;
  }

.popup-close:hover {
    color: var(--primary-light);
}

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

.popup-title {
    font-size: 1.8rem;
    /* font-weight: 700; */
    color: var(--primary);
}

.popup-phone-number {
    display: flex; /* Use flexbox to align items in a single line */
    align-items: center; /* Vertically center the icon and text */
    gap: 8px; /* Add space between the icon and text */
    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;
  }

.popup-text {
    font-size: 1rem;
    margin: 0.75rem 0;
    color: var(--gray-500);
}

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

.first-popup-action-text {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent);
}

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

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

.popup-call-circle svg {
    width: 50px;
    height: 50px;
}

.popup-action-text {
    font-size: 2.5rem;
    color: var(--accent);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .feature {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    footer {
        padding: 2rem 0 6rem; /* Adjust padding for smaller screens */
    }

    .sticky-cta {
        padding: 0.3rem;
        z-index: 2001; /* Higher than the popup's z-index */
    }

    .sticky-cta a {
        font-size: 1rem;
    }
}