/* Global Styles */
:root {
    --primary-color: #0056b3;
    /* Medium Blue for text/borders */
    --light-blue: #AED9E0;
    /* Light Blue */
    --white: #ffffff;
    --primary-gradient: linear-gradient(135deg, #AED9E0 0%, #ffffff 100%);
    /* Primary Gradient */
    --secondary-color: #0056b3;
    /* Reusing Medium Blue as secondary for consistency in existing classes */
    --accent-color: #5e92c9;
    /* Lighter blue for accents */
    --text-color: #333;
    --light-bg: #f0f8ff;
    /* AliceBlue for light sections */
    --dark-overlay: rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--primary-gradient);
    /* Gradient Background */
    color: var(--primary-color);
    /* Text dark for contrast on light gradient */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.nav-links {
    display: flex;
    flex: 1;
    justify-content: space-evenly;
    gap: 10px;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    font-weight: 600;
    transition: color 0.3s;
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links i {
    margin-right: 5px;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 5px;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: var(--primary-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: normal;
}

.dropdown-content a:hover {
    background-color: var(--light-bg);
    color: var(--accent-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: var(--accent-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
/* Hero Section */
.hero {
    height: 90vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/Satellite_view.jpg') center/cover no-repeat;
    z-index: -2;
    animation: heroZoom 20s infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(var(--dark-overlay), var(--dark-overlay));
    z-index: -1;
}

/* Ensure content stays on top */
.hero-content {
    position: relative;
    z-index: 10;
}

/* Scroll Animations */
.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* Particle Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    /* Behind everything */
    background: linear-gradient(to bottom right, #f0f8ff, #ffc15e);
    /* Subtle background */
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
    font-size: 1rem;
}

.primary-btn {
    background: var(--primary-gradient);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.primary-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.secondary-btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.sm-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    background-color: var(--primary-color);
    color: var(--white);
}

.sm-btn:hover {
    background-color: #002270;
}

/* Sections Global */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Registration Section Modernized */
.registration-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.registration-tabs-side {
    width: 100%;
}

.tabs-vertical {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.tabs-vertical .tab-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 30px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex: 1;
    max-width: 250px;
    justify-content: center;
}

.tabs-vertical .tab-btn i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.tabs-vertical .tab-btn span {
    font-weight: 600;
    font-size: 1.1rem;
    color: #444;
}

.tabs-vertical .tab-btn:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tabs-vertical .tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.tabs-vertical .tab-btn.active i,
.tabs-vertical .tab-btn.active span {
    color: white;
}

.registration-promo {
    margin-top: 40px;
    display: grid;
    gap: 20px;
}

.promo-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fbff;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.promo-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.promo-item p {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    margin: 0;
}

.registration-forms-side {
    flex: 1.5;
}

.form-container-modern {
    display: none;
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInSlideRight 0.5s ease forwards;
}

.form-container-modern.active {
    display: block;
}

@keyframes fadeInSlideRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-header i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.form-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.modern-form .form-group {
    margin-bottom: 20px;
}

.modern-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #666;
}

.modern-form label i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.modern-form input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
}

.modern-form input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 51, 153, 0.1);
}

@media (max-width: 992px) {
    .registration-layout {
        flex-direction: column;
        gap: 20px;
    }

    .registration-tabs-side {
        width: 100%;
    }

    .tabs-vertical {
        flex-direction: row;
        overflow-x: auto;
        padding: 15px 5px 25px;
        gap: 15px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        display: flex;
    }

    .tabs-vertical .tab-btn {
        flex: 0 0 160px;
        min-width: 160px;
        padding: 20px 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        scroll-snap-align: center;
        border-radius: 16px;
        transform: none !important;
        margin: 0;
    }

    .tabs-vertical .tab-btn:hover {
        transform: translateY(-5px) !important;
    }

    .tabs-vertical .tab-btn i {
        font-size: 1.8rem;
    }

    .tabs-vertical .tab-btn span {
        font-size: 1rem;
        white-space: nowrap;
    }
}

/* Registration Section */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 10px 20px;
    background: #ddd;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.form-container {
    display: none;
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-container.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-container h3 {
    text-align: center;
    margin-bottom: 20px;
}

.form-container input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-container button {
    width: 100%;
}

/* Bus Tickets */
.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.route-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.route-card h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.route-card .price {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.bus-ranks {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bus-ranks h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.bus-ranks ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.bus-ranks li i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Eswatini Map Styles */
.map-wrapper {
    margin: 40px auto;
    max-width: 450px;
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

#eswatini-map-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    /* Square aspect ratio for the 1024x1024 SVG */
    height: 0;
}

.eswatini-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--primary-color);
    filter: drop-shadow(0 5px 15px rgba(0, 51, 153, 0.2));
    transition: all 0.5s ease;
}

.eswatini-svg path {
    fill: #f5fafd;
    stroke: var(--primary-color);
    stroke-width: 25;
    transition: fill 0.3s ease;
}

.eswatini-svg:hover path {
    fill: #e3f2fd;
}

.map-pin {
    position: absolute;
    transform: translate(-50%, -100%);
    cursor: pointer;
    z-index: 10;
    display: flex;
    /* Show all pins by default */
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.7;
    filter: grayscale(0.3);
}

.map-pin.active {
    opacity: 1;
    filter: grayscale(0);
    z-index: 15;
    animation: pinDrop 0.5s ease-out forwards;
}

@keyframes pinDrop {
    0% {
        opacity: 0;
        transform: translate(-50%, -150%) scale(0.5);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -100%) scale(1);
    }
}

.map-pin i {
    font-size: 1.5rem;
    color: #ff3d00;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    margin-bottom: -5px;
    animation: pinPulse 2s infinite;
}

.map-pin::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 3px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    filter: blur(1px);
}

.pin-label {
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.map-pin:hover .pin-label {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pinPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .map-wrapper {
        margin: 20px auto;
        padding: 10px;
    }

    .map-pin i {
        font-size: 1.8rem;
    }

    .pin-label {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}

/* Airline Modern Redesign */
.airline-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
        url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
}

.section-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.white-text {
    color: white !important;
}

.white-text::after {
    background-color: white !important;
}

.airline-card {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    /* Blur removed as requested */
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
}

.airline-promo {
    flex: 1;
    padding: 50px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.airline-promo h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.airline-promo p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.promo-features {
    list-style: none;
}

.promo-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.promo-features li i {
    font-size: 1.2rem;
    color: #4fc3f7;
}

.airline-form-side {
    flex: 1.2;
    padding: 50px;
    background: rgba(255, 255, 255, 0.05);
}

.flight-search-modern .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.flight-search-modern .form-group {
    flex: 1;
}

.flight-search-modern label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.flight-search-modern label i {
    margin-right: 8px;
    color: #4fc3f7;
}

.flight-search-modern select,
.flight-search-modern input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.flight-search-modern select:focus,
.flight-search-modern input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #4fc3f7;
    outline: none;
    box-shadow: 0 0 15px rgba(79, 195, 247, 0.3);
}

.flight-search-modern option {
    background: #0d47a1;
    color: white;
}

.w-100 {
    width: 100%;
}

.mt-3 {
    margin-top: 1.5rem;
}

/* Flight Result Modern */
.flight-result-modern {
    margin-top: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    border-left: 5px solid #4fc3f7;
    animation: slideUpFade 0.5s ease forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #4fc3f7;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 20px 0;
}

.price-display .currency {
    font-size: 1.5rem;
    font-weight: 400;
}

.price-display .amount {
    font-size: 3rem;
    font-weight: 800;
}

@media (max-width: 992px) {
    .airline-card {
        flex-direction: column;
    }

    .airline-promo {
        padding: 30px;
    }

    .airline-form-side {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .flight-search-modern .form-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* Cross Border */
.cross-border-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cb-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.cb-card:hover {
    transform: translateY(-5px);
}

.cb-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.cb-info {
    padding: 20px;
}

.cb-info h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cb-info p {
    margin-bottom: 15px;
    color: #666;
}

/* Footer */
footer {
    background-color: #222;
    color: #ccc;
    padding-top: 60px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h2,
.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 5px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-section i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    background-color: #111;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .burger div {
        background-color: #000;
        /* Black Hamburger Icon */
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--primary-color);
        /* Solid Blue Background for Menu */
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1001;
        /* Ensure menu is on top */
    }

    .nav-links li {
        opacity: 0;
        margin: 30px 0;
    }

    .nav-links a {
        color: var(--white);
        /* White text for mobile menu */
        font-size: 1.2rem;
    }

    .nav-links a:hover {
        color: var(--light-blue);
    }

    /* Mobile Dropdown */
    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-content {
        position: relative;
        display: none;
        /* JS or Hover will toggle this, or we force it visible/collapsible */
        width: 100%;
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        top: 0;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        color: var(--white);
        padding: 15px;
        font-size: 1rem;
    }

    .burger {
        display: block;
    }

    /* Mobile Logo Adjustments */
    .logo-img {
        height: 35px;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .airline-content {
        flex-direction: column;
    }

    /* General Mobile Adjustments */
    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-grid,
    .committee-grid {
        grid-template-columns: 1fr;
    }

    .calculator-container {
        padding: 20px;
    }

    /* Organogram Mobile Responsiveness */
    .organogram-container {
        padding: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .organogram-section h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .node-card {
        padding: 8px 12px;
        font-size: 11px;
        white-space: nowrap;
    }

    .node-card.level-1 {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .node-card.level-2 {
        font-size: 0.75rem;
        padding: 8px 12px;
    }

    .node-card.level-6-group {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
    }

    .sub-node {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .tree li {
        padding: 15px 3px 0 3px;
    }

    /* Disable 3D transforms on mobile for better performance */
    .node-card {
        transform: none;
        animation: none;
        opacity: 1;
    }

    .node-card:hover {
        transform: scale(1.05);
    }
}

.nav-links.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* Fare Calculator Styles */
.calculator-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.calculator-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.calculator-container .form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Smart Fare Calculator Redesign */
.fare-calc-modern {
    background: radial-gradient(circle at top right, #f8fbff, #ffffff);
    position: relative;
    overflow: hidden;
}

.fare-calc-modern .calculator-layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-top: 50px;
    perspective: 1000px;
}

.calc-card {
    flex: 1.2;
    background: rgba(255, 255, 255, 0.9);
    padding: 50px;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 51, 153, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease;
}

.calc-card:hover {
    transform: translateY(-5px);
}

.calc-header {
    margin-bottom: 40px;
    text-align: center;
}

.calc-header i {
    font-size: 3rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.1);
}

.calc-header p {
    color: #555;
    font-weight: 500;
    max-width: 400px;
    margin: 0 auto;
}

.modern-form .form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.modern-form .form-group {
    flex: 1;
}

.modern-form label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 12px;
}

.modern-form select {
    width: 100%;
    padding: 18px 22px;
    background: #f8fbff;
    border: 2px solid #edf2f7;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230056b3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 18px;
}

.modern-form select:focus {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 5px rgba(0, 86, 179, 0.1);
    outline: none;
}

.fare-result-modern {
    flex: 1;
    background: linear-gradient(145deg, #0056b3, #002270);
    color: white;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 40px 80px rgba(0, 34, 112, 0.25);
    display: flex;
    flex-direction: column;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fare-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #4fc3f7, #64ffda);
}

.result-wrapper {
    padding: 60px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}

.result-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.fare-amount-display {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.fare-amount-display .currency {
    font-size: 2.5rem;
    font-weight: 300;
    color: #4fc3f7;
}

.fare-amount-display .amount {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 0.9;
    background: linear-gradient(to bottom, #ffffff, #e3f2fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fare-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 500;
}

.fare-features {
    display: grid;
    gap: 15px;
}

.fare-features span {
    background: rgba(255, 255, 255, 0.08);
    padding: 15px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.fare-features span:hover {
    background: rgba(255, 255, 255, 0.12);
}

.fare-features i {
    color: #64ffda;
    font-size: 1.2rem;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px) rotateX(-10deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

@media (max-width: 992px) {
    .fare-calc-modern .calculator-layout {
        flex-direction: column;
    }

    .modern-form .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .calc-card {
        padding: 30px;
    }

    .result-wrapper {
        padding: 40px 30px;
    }

    .fare-amount-display .amount {
        font-size: 4rem;
    }
}

/* Courier Section Styles */
.courier-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
        url('images/courier.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
}

.courier-container {
    max-width: 1000px;
    margin: 40px auto;
}

.courier-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.courier-tabs {
    display: flex;
    background: #f0f4f8;
    padding: 8px;
    border-radius: 20px;
    gap: 10px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.courier-tab-btn {
    padding: 15px 30px;
    border: none;
    background: transparent;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.courier-tab-btn i {
    font-size: 1.2rem;
}

.courier-tab-btn.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.courier-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.courier-panel.active {
    display: block;
}

.courier-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.courier-card label {
    color: #003366;
    font-weight: 600;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header h3 {
    color: white;
}

.card-header i {
    font-size: 1.8rem;
    color: #4fc3f7;
}

.courier-result-card {
    margin-top: 30px;
    padding: 30px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    animation: slideUpFade 0.5s ease-out;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.result-header.success i {
    color: #00c853;
}

.result-header.info i {
    color: #2979ff;
}

.result-header h4 {
    font-size: 1.2rem;
    margin: 0;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.result-item.full-width,
.price-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blue-label {
    color: #003366;
    font-weight: 600;
    font-size: 0.9rem;
}

.result-item strong,
.price-box strong {
    font-size: 1.2rem;
    color: #4fc3f7;
    letter-spacing: 1px;
}

.price-box span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.result-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-style: italic;
}

.package-data-display {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.data-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-row:last-child {
    border: none;
}

.data-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.data-value {
    font-weight: 600;
    color: white;
}

@media (max-width: 768px) {
    .courier-tabs {
        flex-direction: column;
        width: 100%;
    }

    .courier-tab-btn {
        justify-content: center;
    }

    .courier-card {
        padding: 25px;
    }
}

.calculator-container label {
    font-weight: 600;
    margin-bottom: 5px;
}

.calculator-container select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.fare-result {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    text-align: center;
}

.fare-result.hidden {
    display: none;
}

.fare-result h3 {
    color: var(--primary-color);
}

.fare-result .price {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin: 10px 0;
}

.fare-breakdown {
    text-align: left;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.fare-breakdown p {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

/* About Us Styles */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.about-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-bottom: 4px solid var(--secondary-color);
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-card i {
    margin-right: 10px;
}

.committee-section,
.organogram-section {
    margin-bottom: 10px;
    text-align: center;
}

.committee-section h3,
.organogram-section h3 {
    color: var(--primary-color);
}

/* Private Taxi Section */
.taxi-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.taxi-text {
    flex: 1;
    min-width: 300px;
}

.taxi-image {
    flex: 1;
    min-width: 300px;
}

.taxi-image img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.taxi-features {
    margin: 20px 0;
}

.taxi-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.taxi-features li i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Schedule Table */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.9rem;
}

.schedule-table th,
.schedule-table td {
    border-bottom: 1px solid #eee;
    padding: 8px;
    text-align: left;
    color: var(--text-color);
    /* Explicitly set dark color */
}

.schedule-table th {
    font-weight: 600;
    color: var(--primary-color);
}

.mt-2 {
    margin-top: 20px;
}

/* Enhanced Shadows */
.section-title {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.card-shadow,
.route-card,
.about-card,
.cb-card,
.form-container,
.calculator-container,
.airline-image img,
.taxi-image img {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    /* Softer, deeper shadow */
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-shadow:hover,
.route-card:hover,
.about-card:hover,
.cb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.committee-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.member-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.member-icon {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.member-card h4 {
    margin-bottom: 5px;
}

.member-card p {
    color: #666;
}




/* Cross Border Section Customization */
#cross-border {
    background-color: #00897b;
    /* Blue-green */
    color: var(--white);
}

#cross-border .section-title {
    color: var(--white);
}

#cross-border .section-title::after {
    background-color: var(--light-blue);
}

#cross-border .cb-info h4 {
    color: #00897b;
}



/* CSR Section Styles */
#csr {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    position: relative;
    overflow: hidden;
}

#csr::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.csr-intro {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #1565c0;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.csr-subsection {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.csr-subsection h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.csr-subsection h3 i {
    margin-right: 10px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-color);
    position: relative;
    z-index: 1;
    animation: bounce 2s ease-in-out infinite;
}

.project-card:nth-child(1) {
    animation-delay: 0s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    animation: none;
}

.project-card.active-project {
    border-top-color: #00897b;
    background: linear-gradient(135deg, #ffffff 0%, #f0fff0 100%);
}

.project-icon {
    width: 70px;
    height: 70px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
}

.active-project .project-icon {
    background: #e0f7f4;
    color: #00897b;
}

.project-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-align: center;
}

.project-year {
    text-align: center;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.project-card p {
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00897b, #4db6ac);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    font-weight: 600;
    color: #00897b;
    margin-top: 5px;
}

/* Flight Booking Result */
.flight-result {
    margin-top: 30px;
    padding: 20px;
    background: #f0fff0;
    border-radius: 10px;
    border: 2px solid #00897b;
    text-align: center;
}

.flight-result.hidden {
    display: none;
}

.flight-result h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.flight-result .price {
    font-size: 2.5rem;
    color: #00897b;
    font-weight: 700;
    margin: 15px 0;
}

.flight-result #flight-route {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
}

/* Mobile Responsiveness for CSR */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .csr-subsection h3 {
        font-size: 1.5rem;
    }

    .project-card {
        padding: 20px;
    }
}

/* Modal Styles */
/* Modern Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(255, 255, 255, 0.9);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
        url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?auto=format&fit=crop&q=60&w=800');
    background-size: cover;
    background-position: center;
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    /* Prevent cutoff on small screens */
    overflow-y: auto;
    /* Allow scrolling if content is too long */
    margin: 20px;
    /* Ensure space around the modal */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #444;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    z-index: 2010;
    /* Ensure it's above other modal content */
}

.close-modal:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.modal-content .form-group {
    margin-bottom: 24px;
}

.modal-content .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
    font-size: 0.95rem;
}

.modal-content .form-group input,
.modal-content .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
    font-family: inherit;
}

.modal-content .form-group input:focus,
.modal-content .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

/* Custom Notification System */
.notification-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.notification {
    min-width: 320px;
    max-width: 450px;
    background: white;
    padding: 18px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    pointer-events: auto;
    animation: notificationSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    border-left: 6px solid #ccc;
    position: relative;
    overflow: hidden;
}

@keyframes notificationSlideIn {
    from {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.notification.fade-out {
    animation: notificationFadeOut 0.4s ease forwards;
}

@keyframes notificationFadeOut {
    to {
        transform: scale(0.8);
        opacity: 0;
    }
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    width: 100%;
    transform-origin: left;
}

.notification.success {
    border-color: #00c853;
    background: #edffed;
}

.notification.error {
    border-color: #ff3d00;
    background: #fff1f0;
}

.notification.info {
    border-color: #2979ff;
    background: #eef4ff;
}

.notification.success i {
    color: #00c853;
}

.notification.error i {
    color: #ff3d00;
}

.notification.info i {
    color: #2979ff;
}

.notification-content h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    color: #333;
}

.notification-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Bookings Display */
.bookings-display {
    margin-top: 25px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.bookings-display h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-item {
    background: var(--white);
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #00897b;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.booking-item p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #666;
}

.booking-item strong {
    color: var(--primary-color);
}

.bookings-display:empty::after {
    content: "No bookings yet.";
    color: #999;
    font-style: italic;
    display: block;
    text-align: center;
}

/* Price Tag Styling */
.price-tag {
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(0, 86, 179, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
}

.booking-item .price {
    color: #00897b;
    font-weight: 700;
    background: #e0f2f1;
    padding: 2px 6px;
    border-radius: 3px;
}

.booking-price {
    border-top: 1px solid #eee;
    padding-top: 8px;
    margin-top: 5px !important;
}

/* Mobile Responsiveness for Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }
}

/* Form Validation Styles */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.modern-form .error-input {
    border-color: #ff5252 !important;
    background-color: rgba(255, 82, 82, 0.05) !important;
}

.error-message {
    color: #ff5252;
    font-size: 0.75rem;
    margin-top: 4px;
    display: none;
    font-weight: 500;
    position: absolute;
    bottom: -18px;
    left: 0;
}

.error-input+.error-message {
    display: block;
}

/* Regional Bus Ranks Tabs */
.bus-ranks {
    margin-top: 50px;
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ranks-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.rank-tab-btn {
    padding: 12px 25px;
    background: var(--primary-color);
    border: 2px solid transparent;
    color: var(--white);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.rank-tab-btn:hover {
    background: #1e88e5;
    transform: translateY(-2px);
}

.rank-tab-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(41, 121, 255, 0.2);
}

.ranks-content {
    position: relative;
    min-height: 200px;
}

.rank-panel {
    display: none;
    animation: fadeInSlide 0.4s ease-out;
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rank-panel.active {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rank-panel h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.rank-panel ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.rank-panel ul li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.rank-panel ul li:hover {
    border-color: rgba(41, 121, 255, 0.3);
    background: rgba(41, 121, 255, 0.05);
}

.rank-panel ul li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}