/* Global Design Tokens */
:root {
    /* Colors (New Palette) */
    --primary: #a2c523;
    /* Olive/Lime Base */
    --primary-hover: #6F8402;
    /* Darker Lime */
    --secondary: #B6D20A;
    /* Neon Lime Accent */
    --text-main: #1F2937;
    /* Dark Slate */
    --text-light: #4B5563;
    /* Gray 600 */
    --bg-body: #F5F6F7;
    /* Light Gray Background */
    --bg-surface: #FFFFFF;
    /* White */
    --border: #E5E7EB;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1300px;
    --radius-md: 12px;
    --radius-pill: 9999px;

    /* Shadows & Transitions */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #637583 !important;
    /* Fail-safe fallback color */
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main.site-main {
    flex: 1 0 auto;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-primary {
    color: var(--primary);
}

.text-center {
    text-align: center;
}

.text-lg {
    font-size: 1.125rem;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

/* Backgrounds & Textures */
.bg-scanlines {
    background-color: var(--bg-body);
    /* background-image removed as per request */
    position: relative;
    overflow: hidden;
    /* Ensure watermark doesn't overflow */
}

.overlay-light::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

.relative {
    position: relative;
    z-index: 1;
}

/* Marquee / Infinite Scroll */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 2rem 0;
    /* Space for shadows */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 30s linear infinite;
    padding-left: 2rem;
    /* Initial offset */
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-card {
    min-width: 320px;
    max-width: 320px;
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    user-select: none;
    flex-shrink: 0;
}

.marquee-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1rem));
    }

    /* Moves half way assuming duplicated content */
}

/* Article View Styles */
.article-view {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-hero {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.article-title {
    font-size: 3rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.article-body {
    background: white;
    padding: 3rem;
    margin-top: -50px;
    /* Overlap hero */
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    min-height: 60vh;
    max-width: 1000px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
    padding: 10px 20px;
    background: #fdf6e3;
    border-radius: 30px;
    transition: all 0.3s;
}

.back-link:hover {
    background: var(--primary);
    color: white;
}

.article-body h3 {
    color: var(--primary);
    margin-top: 2rem;
    font-size: 1.5rem;
}

.article-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.article-body li {
    margin-bottom: 0.8rem;
    color: #475569;
}

.blog-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

/* Ensure mobile responsiveness for articles */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-hero {
        height: 50vh;
    }

    .article-body {
        padding: 1.5rem;
        margin-top: -30px;
    }
}

/* Home Card Hover Effect */
.marquee-card {
    position: relative;
    overflow: hidden;
    /* To contain the absolute button if needed, or just standard flow */
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
}

.marquee-card .hover-btn {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    align-self: flex-start;
}

.marquee-card:hover .hover-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Grid 3 */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Section Spacing Update */
.section {
    padding: 3rem 0;
    /* Reduced from 4rem */
    position: relative;
    overflow: hidden !important;
    /* Contain overflowing elements like watermarks */
}

.watermark-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    /* Increased */
    max-width: 1000px;
    /* Increased */
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
    filter: grayscale(100%);
    max-height: 100%;
    /* Prevent vertical overflow */
    object-fit: contain;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.logo img {
    height: 90px;
    /* Increased size */
    width: auto;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-left: 0.5rem;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 6px rgba(139, 166, 3, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(139, 166, 3, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Hero Section */
.hero {
    padding: 50px 0;
    /* Increased from 80px */
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-image img {
    border-radius: var(--radius-md) 100px var(--radius-md) var(--radius-md);
    /* Unique shape */
    box-shadow: var(--shadow-card);
    max-height: 400px;
    /* Reduced size */
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Cards */
.card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #F0F5D5;
    /* Very light lime */
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--primary);
    color: white;
}

/* Process Section */
.step-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.step-item::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 0;
    bottom: -3rem;
    width: 2px;
    background: var(--border);
}

.step-item:last-child::before {
    display: none;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
    padding: 2px;
    /* Inner ring effect */
    box-shadow: 0 0 0 4px white;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

/* ===================================
   FOOTER SECTION
   =================================== */
.site-footer {
    background: #3e485b;
    color: #E5E7EB;
    padding: 20px 0 0;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.6rem;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Brand Column */
.footer-brand {
    max-width: 350px;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    background: transparent !important;
    border: none;
    padding: 0;
    border-radius: 0;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #CBD5E0;
    margin-bottom: 1rem;
}

/* Social Media Icons */
.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CBD5E0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Footer Columns */
.footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: #CBD5E0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.footer-contact i {
    font-size: 1rem;
    color: var(--primary);
    width: 18px;
}

.footer-contact a {
    color: #CBD5E0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary);
}

/* Footer Bottom */
.footer-bottom {
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #9CA3AF;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-links a {
    color: #9CA3AF;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

.footer-bottom-links span {
    color: #4A5568;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .d-flex.part-mobile-col {
        flex-direction: column;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        /* Logic in JS to toggle */
    }
}

/* Custom Image Shape */
.img-curved {
    border-radius: 2rem 8rem 2rem 2rem;
    box-shadow: var(--shadow-card);
}

/* Compensation Map Section Styles */
/* Compensation Map Section Styles */
.map-wrapper {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    background: #f8fafc;
    /* Fallback light bg */
    border-radius: 20px;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.05);
}

.map-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/world-map-bg.jpg');
    background-size: 130%;
    /* Zoom in as requested */
    background-position: center 30%;
    opacity: 0.2;
    /* Low opacity as requested */
    mix-blend-mode: multiply;
    z-index: 0;
}

/* SVG Overlay */
.map-route-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Route Animation */
.route-line {
    fill: none;
    stroke: #a2c523;
    stroke-width: 3;
    stroke-dasharray: 12 12;
    stroke-linecap: round;
    animation: dash 3s linear infinite;
    opacity: 0.8;
}

@keyframes dash {
    to {
        stroke-dashoffset: -24;
    }
}

/* Branded Plane Animation */
.plane-group {
    offset-path: path("M 750,250 Q 600,100 480,180 T 200,220");
    /* Matches HTML SVG Path */
    offset-rotate: auto 180deg;
    /* Adjust rotation alignment */
    animation: flyMap 8s linear infinite;
    transform-origin: center;
}

@keyframes flyMap {
    0% {
        offset-distance: 0%;
    }

    100% {
        offset-distance: 100%;
    }
}

/* Plane Shape Styling */
.branded-plane-path {
    fill: white;
    stroke: #a2c523;
    stroke-width: 2;
}

.comp-point {
    position: absolute;
    z-index: 5;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.comp-point:hover {
    transform: translate(-50%, -50%) scale(1.15);
    z-index: 10;
}

.point-dot {
    width: 20px;
    height: 20px;
    background: #a2c523;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 4px rgba(139, 166, 3, 0.2);
    animation: pulseDot 2s infinite;
}

.point-info {
    position: absolute;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    text-align: center;
    border: 1px solid #E2E8F0;
    opacity: 0.9;
    transition: all 0.3s;
}

.comp-point:hover .point-info {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 166, 3, 0.25);
    border-color: #a2c523;
}

.point-info .price {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #a2c523;
    line-height: 1;
    margin-bottom: 2px;
}

.point-info .distance {
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 500;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 166, 3, 0.4);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(139, 166, 3, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(139, 166, 3, 0);
    }
}

@media (max-width: 768px) {
    .map-bg {
        width: 100%;
        opacity: 0.05;
    }

    .comp-point {
        position: relative;
        top: auto !important;
        left: auto !important;
        transform: none;
        margin-bottom: 2rem;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .comp-point:hover {
        transform: scale(1.02);
    }

    .map-route-svg {
        display: none;
    }

    /* Hide complex SVG on mobile */
    .point-info {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        text-align: left;
    }

    .point-dot {
        margin: 0;
    }

    .map-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
    }
}

/* Floating WhatsApp Button Styles */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.my-float {
    margin-top: 0;
    /* Center icon properly with flexbox */
}

/* WhatsApp Tooltip */
.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    /* Right of the button */
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    color: #333;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    /* Prevent tooltip from interfering with clicks if it overlaps awkwardly */
    font-family: var(--font-body);
    width: max-content;
    max-width: 250px;
    /* Prevent overly wide tooltips on small screens if wrap needed */
    white-space: normal;
    /* Allow wrapping */
}

/* Arrow for tooltip */
.whatsapp-tooltip::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    /* Left side of the tooltip */
    margin-top: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 25px;
    }

    .whatsapp-tooltip {
        display: none;
        /* Hide tooltip on mobile to avoid clutter */
    }

    .blog-card {
        padding: 1.5rem;
    }
}

/* Blog Grid Styles */
.blog-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(162, 197, 35, 0.2);
    border-color: #a2c523;
}

.card-icon-box {
    width: 60px;
    height: 60px;
    background: #fdf6e3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: #a2c523;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.blog-card:hover .card-icon-box {
    background: #a2c523;
    color: #fff;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: #a2c523;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-card:hover .read-more {
    text-decoration: underline;
}

/* Modal Styles */
.blog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.blog-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 800px;
    height: 90%;
    border-radius: 20px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: modalUp 0.4s ease;
}

@keyframes modalUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    line-height: 0.8;
}

.close-modal:hover {
    color: #a2c523;
}

.blog-hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.modal-body {
    padding: 3rem;
}

.modal-body h1 {
    font-family: 'Playfair Display', serif;
    color: #1e293b;
    margin-bottom: 1rem;
}

.modal-body .intro {
    font-size: 1.2rem;
    color: #64748B;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-body h3 {
    color: #a2c523;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.modal-body ul,
.modal-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #475569;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .modal-body {
        padding: 1.5rem;
    }

    .blog-hero-img {
        height: 200px;
    }
}

/* Modal Width Update */
.modal-content {
    max-width: 1100px !important;
    width: 95% !important;
}

@media (min-width: 1200px) {
    .modal-content {
        max-width: 1200px !important;
    }
}

/* Fix for Autocomplete Dropdown Clipping */
.form-card {
    overflow: visible !important;
}

.premium-input-group {
    overflow: visible !important;
    position: relative;
    z-index: 100;
}

/* Ensure Dropdown is on top */
.dropdown-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 99999 !important;
    max-height: 250px;
    overflow-y: auto !important;
    padding: 10px;
    display: none;
}

/* Scrollbar Styling */
.dropdown-results::-webkit-scrollbar {
    width: 6px;
}

.dropdown-results::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.dropdown-results::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* =========================================
   Unified Premium Dropdown Styles (Index & Form)
   ========================================= */
.dropdown-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white !important;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    max-height: 250px;
    overflow-y: auto !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 99999 !important;
    list-style: none;
    margin-top: 5px;
    padding: 5px;
    display: none;
    animation: slideDown 0.2s ease-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-results li {
    padding: 12px 15px;
    cursor: pointer;
    border-radius: 8px;
    color: #334155;
    transition: all 0.2s;
    font-weight: 500;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f8fafc;
}

.dropdown-results li::before {
    content: '\f072';
    /* Plane icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 12px;
    color: #CBD5E1;
    font-size: 0.9rem;
}

.dropdown-results li:hover {
    background: #F7FADC !important;
    color: #a2c523 !important;
}

/* =========================================
   Hero Search Bar Styles (Ported from index.html)
   ========================================= */
.hero-search-bar {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 850px;
    position: relative;
    z-index: 50;
    transition: transform 0.3s ease;
}

.search-input-group {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.search-input-group i {
    font-size: 1.2rem;
    color: #94A3B8;
    margin-right: 15px;
}

.search-input-group input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #334155;
    background: transparent;
    padding: 10px 0;
    font-weight: 500;
}

.search-input-group input::placeholder {
    color: #94A3B8;
}

.divider {
    width: 1px;
    height: 40px;
    background: #E2E8F0;
    margin: 0 10px;
}

/* Specific Adjustment for Form Wizard context */
.form-card .hero-search-bar {
    box-shadow: none;
    border: 1px solid #E2E8F0;
    margin-top: 15px;
}

/* Phased Reveal Styles */
.arrival-section {
    display: none !important;
}

.arrival-section.active {
    display: flex !important;
    /* For input group */
    animation: revealItem 0.5s ease forwards;
}

div.divider.arrival-section.active {
    display: block !important;
    /* For divider */
    width: 1px;
    height: 40px;
    background: #E2E8F0;
    margin: 0 10px;
}

@keyframes revealItem {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ensure Focus Glow works strongly */
.search-input-group {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.search-input-group:hover {
    background-color: #F8FAFC;
}

.search-input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(139, 166, 3, 0.2) !important;
    background-color: #FDFCE7 !important;
    /* Slight yellow/green tint */
}

.search-input-group:focus-within i {
    color: #a2c523 !important;
}

/* Airline Autocomplete - Open Upwards */
#airline-results {
    top: auto !important;
    bottom: 100% !important;
    margin-bottom: 10px;
    margin-top: 0;
    max-height: 250px;
    border-radius: 12px;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000 !important;
}

/* --- GLOBAL UTILITIES --- */
.active-group {
    position: relative !important;
    z-index: 11000 !important;
}

/* =========================================
   Cookie Consent Banner Styles
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(247, 250, 220, 0.45); /* Ekstra saydam açık yeşil */
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
    z-index: 999999;
    border-top: 4px solid #a2c523;
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text {
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    white-space: nowrap;
}

.cookie-btn-outline {
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

.cookie-btn-outline:hover {
    border-color: #a2c523 !important;
    color: #a2c523 !important;
    background: transparent !important;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}