/* CSS Variables */
:root {
    --primary-color: #6366f1;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --gray-50: #f8fafc;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-2xl: 1.5rem;
    --border-radius-full: 9999px;
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-1: linear-gradient(135deg, var(--primary-color), #8b5cf6);
}

/* Basic Reset and Font Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: #333;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}


/* ==================== HEADER STYLING ==================== */
.site-header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    /* Existing text logo styles removed/modified */
    text-decoration: none;
    display: flex; /* Ensures logo image can be centered/aligned */
    align-items: center;
}

/* NEW: Style for the image logo to match the size of the old text logo */
.img-logo {
    /* Adjusted height to show the full logo text clearly */
    height: auto; 
    max-height: 60px; 
    width: auto;
    transition: transform 0.3s ease;
}

.img-logo:hover {
    transform: scale(1.05);
}

/* Removing the old logo specific styling */
.logo.text-logo { /* Renamed original .logo to .text-logo temporarily for reference, but now unused */
    font-size: 1.5rem;
    font-weight: 900;
    color: #007BFF;
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007BFF;
}

.cta-button {
    text-decoration: none;
    color: white;
    background: linear-gradient(90deg, #00C9FF, #92FE9D);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.4s;
}

/* ==================== HERO SLIDESHOW SECTION ==================== */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    animation: kenburns 20s infinite;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.active {
    display: block;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

@keyframes kenburns {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.2) translate(-5%, 5%); }
    100% { transform: scale(1) translate(0, 0); }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 2;
}

.slide-overlay h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.slide-overlay p {
    font-size: 1.5rem;
    font-weight: 400;
    max-width: 600px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
    z-index: 3;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* ==================== MAIN CONTENT ==================== */
main {
    position: relative;
}

/* ==================== AIRLINE PARTNERS SECTION ==================== */
.partners-section {
    background-color: #f8f9fa;
    padding: 30px 20px;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.partners-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    flex-shrink: 0;
    margin-right: 20px;
}

.partners-logos {
    display: flex;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
    justify-content: center;
}

.partners-logos img {
    max-height: 25px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partners-logos img:hover {
    opacity: 1;
}


/* ==================== STATS COUNTER SECTION ==================== */
.stats-section {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    padding: 70px 20px;
    gap: 20px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00C9FF, #92FE9D);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    color: white;
}

.stat-number, .stat-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: #222;
}

.stat-label {
    font-size: 1rem;
    color: #777;
    margin-top: 5px;
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== DESTINATIONS SECTION ==================== */
.destinations-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.destination-card {
    position: relative;
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.destination-card.large {
    grid-row: span 2;
}

.card-image {
    width: 100%;
    height: 100%;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-info p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.price {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.explore-btn {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: var(--border-radius-full);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

/* ==================== PACKAGES SECTION ==================== */
.packages-section {
    padding: 5rem 0;
    background: white;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.package-card {
    background: white;
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--gray-200);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.package-card.featured {
    border: 2px solid var(--primary-color);
}

.package-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

.package-image {
    height: 250px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.package-card:hover .package-image img {
    transform: scale(1.05);
}

.package-content {
    padding: 2rem;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.package-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--warning-color);
    font-weight: 600;
}

.package-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.package-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.package-features span {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.package-features i {
    color: var(--primary-color);
}

.package-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.original-price {
    text-decoration: line-through;
    color: var(--gray-400);
    font-size: 1rem;
}

.current-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
}

.discount {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-md);
    font-size: 0.75rem;
    font-weight: 600;
}

.book-btn {
    width: 100%;
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.book-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==================== WHY CHOOSE US SECTION ==================== */
.why-choose-us-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #4c51bf, #6b46c1);
}

.section-title-light {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    color: white;
}

.features-grid {
    display: grid;
    /* Change the 4 to a 3 to match your number of items */
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem;
}

.feature-card {
    background: white;
    color: var(--gray-700);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-2xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f87171, #fb923c);
    color: white;
    font-size: 1.75rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ==================== TESTIMONIALS SECTION ==================== */


.testimonials-section {
    padding: 5rem 0;
    background-color: var(--gray-50);
}



.testimonial-slider-component {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-slider-container {
    overflow: hidden; /* This now only clips the slides, not the buttons */
}

.testimonial-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    width: 100%;
    flex-shrink: 0;
    padding: 0 10px; /* To prevent cards from touching the edge */
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    grid-template-rows: auto auto; /* Two rows */
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    font-style: italic;
    color: var(--gray-600);
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    margin: 0 0 1rem 0;
    flex-grow: 1;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details p {
    margin: 0;
    line-height: 1.4;
}

.author-name {
    font-weight: 700;
    color: var(--gray-900);
}

.author-location {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background-color: #4f46e5;
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--shadow-2xl);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* ==================== FOOTER ==================== */
footer {
    background-color: #111827;
    color: white;
}
.newsletter-section {
    padding: 4rem 0;
    background: linear-gradient(45deg, #2bdece, #ff5e9a);
    text-align: center;
}
.newsletter-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.newsletter-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}
.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}
.newsletter-form input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
    outline: none;
}
.newsletter-form button {
    padding: 0.9rem 2rem;
    border: none;
    background-color: #ffc107;
    color: #333;
    font-weight: bold;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.newsletter-form button:hover {
    background-color: #ffda73;
}
.footer-bottom {
    padding: 3rem 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}
.footer-column p {
    color: var(--gray-400);
    line-height: 1.7;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 0.8rem;
}
.footer-column ul li a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-column ul li a:hover {
    color: white;
}
.footer-column ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}
.social-icons {
    margin-top: 1rem;
}
.social-icons a {
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: var(--primary-color);
}

/* Fixing the contact item style, this was already correct but kept for reference */
.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.contact-item i {
  margin-right: 10px;
  color: #8A2BE2; /* Example color for the icon */
}

.contact-item span {
  color: #FFFFFF; /* Example color for the text */
}

/* Adjust Slide Overlay to better position the search widget */
.slide-overlay {
    justify-content: flex-start;
    padding-top: 8vh;
}

/* ==================== FLIGHT SEARCH WIDGET ==================== */
.flight-search-widget {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-2xl);
    width: 100%;
    max-width: 1100px;
    margin: 2.5rem auto 0;
    color: var(--gray-900);
    z-index: 5;
}

.widget-tabs {
    display: flex;
    background-color: #f0f2f5;
    padding: 0.25rem 1.5rem 0;
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
}

.widget-tabs .tab-link {
    background: none;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-tabs .tab-link:hover {
    color: var(--primary-color);
}

.widget-tabs .tab-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: white;
    border-top-left-radius: var(--border-radius-md);
    border-top-right-radius: var(--border-radius-md);
}

.widget-content {
    padding: 1.5rem;
}

.flight-options {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.option-select select {
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: none;
    padding: 0.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
}

.search-form-container {
    position: relative;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 40px 1fr 180px 180px auto;
    gap: 1rem;
    align-items: center;
}

.input-group {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-md);
    padding: 0.75rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.input-group i {
    color: var(--gray-400);
    margin-right: 0.75rem;
}

.input-group input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    background: transparent;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}


.swap-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background-color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all 0.3s ease;
}

.swap-btn:hover {
    background-color: var(--gray-100);
    color: var(--primary-color);
    transform: rotate(180deg);
}

.search-btn {
    background-color: #f97316; /* Orange color from image */
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    padding: 0.85rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    height: 100%;
}

.search-btn:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
}

.direct-flights {
    position: absolute;
    bottom: -35px;
    right: 0;
    display: flex;
    align-items: center;
}

.direct-flights label {
    margin-left: 0.5rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Responsive adjustments for the search widget */
@media (max-width: 1150px) {
    .search-form {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
        gap: 0.75rem;
    }
    .input-group:nth-of-type(1) { grid-column: 1 / 2; }
    .swap-btn { grid-column: 2 / 3; grid-row: 1 / 2; }
    .input-group:nth-of-type(2) { grid-column: 3 / 4; }
    .input-group.date-group:nth-of-type(3) { grid-column: 1 / 2; grid-row: 2/3; }
    .input-group.date-group:nth-of-type(4) { grid-column: 2 / 4; grid-row: 2/3;}
    .search-btn { grid-column: 1 / 4; grid-row: 3/3; }
    
    .direct-flights {
       position: static;
       margin-top: 0.75rem;
       justify-content: flex-end;
       color: var(--gray-700);
    }
     .direct-flights label {
        color: var(--gray-700);
        text-shadow: none;
    }
}

@media (max-width: 768px) {
    .slide-overlay { padding-top: 5vh; }
    .flight-search-widget { margin-top: 1.5rem; }
    .widget-tabs { padding: 0.25rem 0.5rem 0; }
    .widget-tabs .tab-link { padding: 0.75rem; font-size: 0.8rem; }
    
    .search-form {
        display: flex;
        flex-direction: column;
    }
    .swap-btn { display: none; }
     .flight-options { flex-wrap: wrap; gap: 0.75rem 1.5rem;}
}


/* ==================== LEGAL & POLICY FOOTER ==================== */
.footer-legal {
    padding: 2rem 0;
    background-color: #0c121e; /* A slightly darker shade */
    border-top: 1px solid var(--gray-700);
}

.footer-legal h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--gray-100);
    font-weight: 600;
}

.legal-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem; /* Vertical and horizontal gap */
    padding: 0;
    margin: 0;
}

.legal-links li a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.legal-links li a:hover {
    color: white;
    text-decoration: underline;
}

.footer-copyright {
    background-color: #0c121e;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}


/* ==================== PRIVACY POLICY PAGE ==================== */
.privacy-policy-container {
    max-width: 800px;
    margin: 120px auto 50px; /* Add top margin to clear the fixed header */
    padding: 2rem;
    background-color: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--gray-700);
    line-height: 1.8;
}

.privacy-policy-container h1 {
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.privacy-policy-container h2 {
    font-size: 1.75rem;
    color: var(--gray-800);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.5rem;
}

.privacy-policy-container p {
    margin-bottom: 1rem;
}

.privacy-policy-container ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 1rem;
}

.privacy-policy-container ul li {
    margin-bottom: 0.5rem;
}

.privacy-policy-container a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.privacy-policy-container a:hover {
    text-decoration: underline;
}

.privacy-policy-container strong {
    font-weight: 700;
    color: var(--gray-800);
}


/* ==================== PRIVACY POLICY & OTHER LEGAL PAGES ==================== */
.privacy-policy-container {
    max-width: 800px;
    margin: 120px auto 50px; /* Add top margin to clear the fixed header */
    padding: 2rem;
    background-color: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--gray-700);
    line-height: 1.8;
}

.privacy-policy-container h1 {
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-align: center;
}

.privacy-policy-container h2 {
    font-size: 1.75rem;
    color: var(--gray-800);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.5rem;
}

.privacy-policy-container p {
    margin-bottom: 1rem;
}

.privacy-policy-container ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 1rem;
}

.privacy-policy-container ul li {
    margin-bottom: 0.5rem;
}

.privacy-policy-container a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.privacy-policy-container a:hover {
    text-decoration: underline;
}

.privacy-policy-container strong {
    font-weight: 700;
    color: var(--gray-800);
}

/* Table Styles for Policy Pages */
.privacy-policy-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.privacy-policy-container th,
.privacy-policy-container td {
    border: 1px solid var(--gray-200);
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: top;
}

.privacy-policy-container th {
    background-color: var(--gray-100);
    font-weight: 600;
    color: var(--gray-800);
}

.privacy-policy-container td ul {
    margin-top: 0.5rem;
    margin-bottom: 0;
}




/* ==================== POLICY PAGES & TABLES ==================== */
.privacy-policy-container {
    max-width: 800px;
    margin: 120px auto 50px;
    padding: 2rem;
    background-color: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--gray-700);
    line-height: 1.8;
}

.privacy-policy-container h1, .privacy-policy-container h2 {
    color: var(--gray-900);
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.privacy-policy-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.privacy-policy-container th,
.privacy-policy-container td {
    border: 1px solid var(--gray-200);
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: top;
}

.privacy-policy-container th {
    background-color: var(--gray-100);
    font-weight: 600;
}


/* ==================== POPUP MODAL STYLES (MODIFIED) ==================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    z-index: 9999;
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Initially hidden */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* Removed absolute/fixed positioning to rely on flex centering from parent */
    /* Added transformation for a nice pop-in effect */
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.show .popup-modal {
    transform: scale(1); /* Pops back to normal size when shown */
}

.close-popup-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-400);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-popup-btn:hover {
    color: var(--gray-700);
}

.popup-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), #8b5cf6);
    color: white;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: var(--shadow-md);
}

.popup-modal h2 {
    font-size: 1.8rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.popup-modal p {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.popup-features-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 1.5rem;
    display: inline-block; /* Centers the list */
}

.popup-features-list li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-weight: 500;
}

.popup-features-list i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

.popup-call-btn {
    display: block;
    text-decoration: none;
    background: #ffc107; /* Bright yellow/orange color */
    color: var(--gray-900);
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.popup-call-btn:hover {
    background: #ffda73;
    transform: translateY(-2px);
}

/* Added Media Query for Mobile Responsiveness */
@media (max-width: 600px) {
    .popup-modal {
        padding: 20px;
    }
    .popup-modal h2 {
        font-size: 1.5rem;
    }
    .popup-call-btn {
        font-size: 1.1rem;
        padding: 12px 15px;
    }
}
