/* Variables & Reset */
:root {
    --primary-color: #004e92;
    --primary-dark: #003366;
    --secondary-color: #f5a623;
    --dark-color: #1a1a1a;
    --light-color: #f4f7fa;
    --white: #ffffff;
    --gray: #777777;
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 78, 146, 0.1);
}

/* Variables & Reset */
:root {
    --primary-color: #004e92;
    --primary-dark: #003366;
    --secondary-color: #f5a623;
    --dark-color: #1a1a1a;
    --light-color: #f4f7fa;
    --white: #ffffff;
    --gray: #777777;
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 78, 146, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: #003366;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 78, 146, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 12px 30px;
    border: 2px solid var(--white);
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    inset-inline-start: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 78, 146, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.logo-img {
    height: 60px;
    /* تقليل حجم اللوجو */
    width: auto;
    object-fit: contain;
}



/* Language Switcher */
.lang-switcher {
    border: 2px solid rgba(0, 78, 146, 0.1);
    border-radius: 30px;
    padding: 6px 18px;
    margin-inline-start: 15px;
    font-weight: 700;
    color: var(--primary-color);
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    font-size: 0.9rem;
}

.lang-switcher:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 78, 146, 0.2);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    inset-inline-end: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    /* زيادة الارتفاع */
    padding-top: 80px;
    /* مساحة للـ navbar */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 42, 82, 0.85) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: start;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Text Animations */
.animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-3 {
    animation-delay: 0.9s;
}

/* Hero Search and Filter */
.hero-search-filter {
    width: 100%;
    max-width: 800px;
    margin: 40px auto 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.hero-search-filter .search-wrapper {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.hero-search-filter .search-input {
    width: 100%;
    padding: 22px 60px 22px 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 60px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.15rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.hero-search-filter .search-input:focus {
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    outline: none;
    transform: translateY(-3px);
}

.hero-search-filter .search-input::placeholder {
    color: #888;
}

.hero-search-filter .search-icon {
    position: absolute;
    inset-inline-end: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.5rem;
    pointer-events: none;
}

.hero-search-filter .filter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-search-filter .filter-btn {
    display: inline-block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 28px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-search-filter .filter-btn:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-search-filter .filter-btn.active {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

/* Trust Bar */
.trust-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 2;
}

.trust-bar .container.bg-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-around;
    padding: 25px 20px;
    color: var(--white);
    border-radius: 30px 30px 0 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item i {
    font-size: 2.2rem;
    color: var(--secondary-color);
    filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.3));
}

.trust-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.trust-item p {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Section Common */
.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.line {
    width: 60px;
    height: 5px;
    background: var(--secondary-color);
    margin: 20px auto 0;
    border-radius: 10px;
}

/* Services Grid */
.services-grid,
.programs-grid,
.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Service Card Redesign - Premium Look */
.service-card {
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04), 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(0, 78, 146, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 70px rgba(0, 78, 146, 0.12), 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 78, 146, 0.12);
}

.card-img {
    height: 230px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .card-img img {
    transform: scale(1.15);
}

/* Subtle overlay on hover */
.card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 78, 146, 0.15));
    opacity: 0;
    transition: opacity 0.6s ease;
}

.service-card:hover .card-img::after {
    opacity: 1;
}

.icon-box {
    position: absolute;
    bottom: -15px;
    inset-inline-end: 25px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #007bff 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 1.6rem;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.25);
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px solid var(--white);
}

.service-card:hover .icon-box {
    transform: scale(1.1) rotate(12deg);
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f39c12 100%);
    box-shadow: 0 12px 30px rgba(245, 166, 35, 0.4);
}

.card-body {
    padding: 40px 25px 30px;
    text-align: right;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 800;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.service-card:hover .card-body h3 {
    color: var(--primary-dark);
}

.card-body p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.98rem;
    line-height: 1.75;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    margin-top: auto;
    width: fit-content;
}

.read-more::after {
    display: none;
    /* Remove old underline effect */
}

.read-more i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.read-more:hover {
    color: var(--secondary-color);
    gap: 12px;
}

.read-more:hover i {
    transform: translateX(-5px);
}


/* About Peek */
/* About Peek Redesign */
.about-peek {
    background: #fdfdfd;
    padding: 100px 0;
}

.about-peek .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-peek .subtitle {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
}

.about-peek .line-blue {
    width: 80px;
    height: 4px;
    background: #007bff;
    margin: 15px auto;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    inset-inline-start: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(0, 123, 255, 0.1);
    border-radius: 60px 180px 60px 180px;
    z-index: -1;
}

.about-image img {
    width: 100%;
    border-radius: 60px 180px 60px 180px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    display: block;
    height: 80vh;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    background: #fff;
    padding: 18px 25px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid #f2f2f2;
}

.feature-item:hover {
    transform: translateX(-10px);
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 15px 35px rgba(245, 166, 35, 0.2) !important;
}


.feature-item:hover .feature-text h3 {
    color: var(--white) !important;
}

.feature-item:hover .feature-icon {
    background: var(--white) !important;
    color: var(--secondary-color) !important;
}

.feature-item:hover .feature-text p {
    color: rgba(255, 255, 255, 0.95) !important;
}

.feature-text {
    flex: 1;
    text-align: right;
}

.feature-text h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 4px;
    font-weight: 700;
}

.feature-text p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: rgba(0, 123, 255, 0.06);
    color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.4rem;
    margin-inline-start: 20px;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: #ffc107;
    color: #fff;
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img,
    .about-image::before {
        border-radius: 40px 100px 40px 100px;
    }

    .feature-item:hover {
        transform: translateY(-5px);
    }
}


/* Footer */
.footer {
    background-image: url('../images/hero_bg_2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 60px 0 20px;
    /* Reduced padding for smaller height */
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--secondary-color);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* More transparent overlay to show the image better */
    background: linear-gradient(135deg, rgba(0, 42, 82, 0.88) 0%, rgba(0, 26, 51, 0.92) 100%);
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    /* Adjusted for more compact look */
    gap: 40px;
    /* Reduced gap */
    margin-bottom: 30px;
    /* Reduced margin */
    position: relative;
    z-index: 1;
}

.footer-info .logo-img {
    filter: brightness(0) invert(1);
    transition: var(--transition);
    max-width: 160px;
    /* Smaller logo */
    margin-bottom: 15px !important;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 15px;
    line-height: 1.7;
    font-size: 1rem;
    /* Slightly smaller text */
    max-width: 350px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 25px;
    /* Reduced margin */
    font-size: 1.3rem;
    /* Slightly smaller header */
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 35px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-links ul li {
    margin-bottom: 12px;
    /* Tighter spacing */
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-links a::before {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
    /* Tighter spacing */
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-contact p i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    /* Reduced padding */
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    letter-spacing: 1px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset-inline-start: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    inset-inline-end: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    outline: none;
    font-family: inherit;
    background-color: #fcfcfc;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 78, 146, 0.1);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 78, 146, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 78, 146, 0.3);
}

/* Responsive */
/* Responsive Improvements */
@media (max-width: 1025px) {

    .navbar .container {
        flex-wrap: wrap;
        width: 100%;
    }
}

/* Global Responsive Adjustments */
@media (max-width: 991px) {

    /* Navbar Tweaks */
    .logo-link {
        order: 1;
    }

    .mobile-menu-btn {
        display: block;
        order: 2;
        /* Logic handled in previous step, kept for consistency */
    }

    /* Directional margin for menu button */
    html[dir="rtl"] .mobile-menu-btn {
        margin-inline-end: auto;
        margin-inline-start: 0;
    }

    html[dir="ltr"] .mobile-menu-btn {
        margin-inline-start: auto;
        margin-inline-end: 0;
    }

    .nav-search {
        display: none !important;
    }

    .nav-links,
    .nav-actions {
        display: none;
        width: 100%;
    }

    ul {
        list-style: none;
        margin: 0 !important;

    }

    /* Active Navbar State */
    .navbar.active .nav-links {
        display: flex;
        flex-direction: column;
        order: 3;
        text-align: center;
        padding: 20px 0;
        border-top: 1px solid #eee;
        gap: 15px;
        /* Add breathing room */
    }

    .navbar.active .nav-actions {
        display: flex;
        justify-content: center;
        order: 4;
        padding-bottom: 20px;
        gap: 15px;
    }

    /* Hero Text Scaling */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* About Section */
    .about-peek .row {
        flex-direction: column;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    /* General Layout */
    .section-padding {
        padding: 40px 0;
    }

    /* Reduce whitesapce */

    /* Typography */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Grids to Single Column on Mobile */
    .services-grid,
    .stats-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        /* Force single column */
        gap: 20px;
    }

    /* Trust Bar Stack */
    .trust-bar .container.bg-glass {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 15px;
    }

    .trust-item {
        width: 100%;
        justify-content: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 10px;
    }

    .trust-item:last-child {
        border-bottom: none;
    }

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

    .footer-info p,
    .footer-contact p {
        justify-content: center;
    }

    .footer-links ul {
        padding: 0;
    }

    /* Contact Form */
    .contact-grid {
        gap: 30px;
    }

    /* Hero Buttons */
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns button {
        width: 100%;
        justify-content: center;
    }

    /* Hero Search and Filter Responsive */
    .hero-search-filter {
        margin: 30px auto 20px;
        gap: 15px;
    }

    .hero-search-filter .search-input {
        padding: 15px 45px 15px 15px;
        font-size: 1rem;
    }

    .hero-search-filter .search-icon {
        inset-inline-end: 15px;
        font-size: 1.1rem;
    }

    .hero-search-filter .filter-buttons {
        gap: 8px;
    }

    .hero-search-filter .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {

    /* Very Small Screens */
    .container {
        padding: 0 15px;
    }

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

    /* Ensure cards don't overflow */
    .service-card .card-img {
        height: 180px;
    }

    /* Modal adjustment */
    .modal-content {
        width: 95%;
        padding: 20px;
    }

    /* Hero Search and Filter for Very Small Screens */
    .hero-search-filter .search-input {
        padding: 14px 40px 14px 12px;
        font-size: 0.9rem;
    }

    .hero-search-filter .filter-btn {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
}

/* Removed redundant stacking rules */

/* Ensure icons on top for info items on mobile */
@media (max-width: 768px) {
    .info-item {
        flex-direction: row;
        align-items: center;
    }
}

/* Contact Section */
.contact-section {
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* gap: 40px; */
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-image: url('../images/hero_bg_1.png');
    background-size: cover;
    background-position: center;
    padding: 40px;
    border-radius: 35px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 78, 146, 0.15);
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 42, 82, 0.92) 0%, rgba(0, 78, 146, 0.85) 100%);
    z-index: 1;
}

.contact-info>* {
    position: relative;
    z-index: 2;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.info-item:hover {
    transform: translateX(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}



.info-item i {
    font-size: 1.5rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item:hover i {
    background: var(--white);
    color: var(--primary-color);
}

.info-item h4 {
    margin-bottom: 4px;
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
}

.info-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
}


.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    padding: 18px;
    border-radius: 15px;
    text-align: center;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
    font-size: 1.05rem;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 1.6rem;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 10px;
    border: 1px solid #f0f0f0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.2) contrast(1.1);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid #f5f5f5;
    align-self: flex-start;
    /* Prevents stretching and removes empty space below */
}

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

/* Internal Pages Header */
.page-header {
    height: 80vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);

    /* Navbar height compensation */
}

.page-header .content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Program Card Redesign */
.program-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 78, 146, 0.1);
    border-color: rgba(0, 78, 146, 0.1);
}

.program-card .card-img {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.program-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.program-card:hover .card-img img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 20px;
    inset-inline-end: 20px;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.badge-secondary {
    background: var(--primary-color);
    color: var(--white);
}

.program-card .card-body {
    padding: 30px 25px;
    text-align: right;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1.3;
}

.program-card p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}


.btn-primary-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Large Modal for Details */
.large-modal {
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-body-content ul {
    list-style: none;
    margin-top: 10px;
}

.modal-body-content ul li {
    margin-bottom: 10px;
    padding-inline-end: 25px;
    position: relative;
}

/* wv International Job Opportunities */
.job-category {
    margin-bottom: 50px;
}

.job-category h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    color: var(--dark-color);
}

/* Modern Search and Filters */
.filter-container {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft premium shadow */
    margin: 0 auto 50px;
    /* Center and add value */
    max-width: 900px;
    /* Limit width for cleaner look */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    border: 1px solid #f0f0f0;
    position: relative;
    top: -30px;
    /* Overlap with header slightly for depth */
}

.search-wrapper {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #eee;
    border-radius: 50px;
    /* Full rounded pill */
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #fdfdfd;
}

.search-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 5px rgba(255, 193, 7, 0.1);
    outline: none;
    background: #fff;
}

.search-icon {
    position: absolute;
    inset-inline-end: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 1.2rem;
    pointer-events: none;
}

.filter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.filter-btn:hover {
    transform: translateY(-2px);
    border-color: var(--secondary-color);
    color: var(--dark-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.filter-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    /* or dark depending on contrast, usually black on yellow */
    color: var(--dark-color);
    /* ensuring readability on yellow */
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {

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

/* شاشات صغيرة (موبايل) */
@media (max-width: 640px) {

    .programs-grid,
    .services-grid,
    .vision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .filter-container {
        padding: 20px;
        margin-bottom: 30px;
        top: 0;
        /* Reset overlap on mobile */
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        flex: 1 1 auto;
        /* Grow to fill space */
        text-align: center;
    }
}

/* Job Card Redesign */
.job-card {
    background: var(--white);
    padding: 25px 35px;
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
}

.job-card:hover {
    transform: translateX(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 78, 146, 0.08);
    background: #fdfdfd;
}

.job-info h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.3rem;
    font-weight: 800;
}

.job-info p {
    color: #666;
    max-width: 650px;
    font-size: 1rem;
    line-height: 1.6;
}


/* File Upload Style */
.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 50px;
    border: 2px dashed #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    background: #f9f9f9;
}

.file-upload-wrapper:hover {
    border-color: var(--primary-color);
    background: #fff;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    inset-inline-start: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-text {
    color: var(--gray);
    pointer-events: none;
}

.file-upload-text i {
    margin-inline-start: 5px;
}

/* Services Catalog */
/* Catalog Card Redesign */
.catalog-card {
    background: var(--white);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.catalog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 78, 146, 0.08);
    border-color: rgba(0, 78, 146, 0.1);
}

.catalog-img {
    height: 200px;
    overflow: hidden;
}

.catalog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.catalog-card:hover .catalog-img img {
    transform: scale(1.15);
}

.catalog-body {
    padding: 25px;
}

.catalog-body h4 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.2rem;
}

.tech-specs {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    background: rgba(0, 78, 146, 0.05);
    padding: 6px 15px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 700;
}


/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.8;
}


/* Vision Card Redesign */
.vision-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.03);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vision-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(245, 166, 35, 0.1);
    border-color: var(--secondary-color);
}


.vision-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.vision-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.stat-item p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Certificates */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.cert-item img {
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.cert-item img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Trip Details Page */
.trip-header {
    background-size: cover;
    background-position: top center;
    color: var(--white);
    padding: 150px 0 80px;
    position: relative;
    /* Behind transparent navbar */
    height: 80vh;
    min-height: 400px;

    color: var(--white);
}

.trip-header::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.trip-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.trip-title h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.trip-rating {
    color: #ffc107;
    font-size: 1.2rem;
}

.trip-price-tag {
    text-align: start;
}

.create-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.per-person {
    font-size: 1rem;
    opacity: 0.8;
}

/* Trip Layout */
.trip-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 50px 0;
}

/* Gallery */
.gallery-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    cursor: pointer;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
}

.gallery-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.gallery-thumbs img.active,
.gallery-thumbs img:hover {
    opacity: 1;
    border: 2px solid var(--secondary-color);
}

/* Content Sections */
.trip-section {
    margin-bottom: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.trip-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.trip-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.trip-features ul li i {
    color: #25D366;
    margin-inline-start: 10px;
}

.trip-features.excludes ul li i {
    color: #dc3545;
}

/* Booking Widget Sidebar */
.booking-widget {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    position: sticky;
    top: 100px;
    overflow: hidden;
}

.booking-header {
    background: var(--dark-color);
    color: var(--white);
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.booking-body {
    padding: 20px;
}

/* Booking Widget Sidebar */
.booking-widget {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    position: sticky;
    top: 100px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.booking-widget:hover {
    transform: translateY(-5px);
}

.booking-header {
    background: #2c3e50;
    /* Professional Dark Blue/Grey */
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.booking-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.booking-body {
    padding: 25px;
}

.booking-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.booking-row.date-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.booking-row label {
    font-weight: bold;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Tajawal', sans-serif;
}

.booking-label h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

.price-hint {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 0.9rem;
}

.qty-control {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2px;
    border: 1px solid #eee;
}

.qty-btn {
    width: 35px;
    height: 35px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
}

.total-section {
    background: #fdfdfd;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border: 2px dashed #eee;
}

.total-label {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
}

.total-amount {
    font-size: 1.6rem;
    color: #0d6efd;
    font-weight: 800;
}

.btn-book-now {
    width: 100%;
    background: linear-gradient(45deg, #0d6efd, #0b5ed7);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.secure-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

@media (max-width: 992px) {
    .trip-layout {
        grid-template-columns: 1fr;
    }

    .booking-widget {
        position: static;
    }
}

/* Professional Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Fixed on Scroll */
.navbar.scrolled {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    animation: slideDown 0.3s ease;
    z-index: 1000;
}

.navbar.scrolled .logo {
    color: var(--primary-color);
}

.navbar.scrolled .nav-links li a {
    color: var(--dark-color);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Video Section / Factory Tour */
.factory-tour {
    position: relative;
    padding: 80px 0;
    background: #000;
    color: #fff;
    overflow: hidden;
    text-align: center;
}

.factory-tour .video-bg {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.factory-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.factory-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.factory-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-play-video {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto;
    cursor: pointer;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.btn-play-video:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(255, 193, 7, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

/* Footer Fix */
/* Removed conflicting footer styles */

/* Recruitment CTA Section Redesign */
.recruitment-cta {
    background: transparent;
    padding: 60px 0;
    overflow: hidden;
}

.recruitment-cta .overlay-bg {
    display: none;
    /* Hide the old overlay */
}

.recruitment-cta .cta-content {
    background-image: url('../images/hero_bg_1.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    /* Rounded corners as requested */
    padding: 80px 40px;
    /* Moderate height */
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--white);
    box-shadow: 0 25px 60px rgba(0, 78, 146, 0.2);
}

.recruitment-cta .cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 42, 82, 0.9) 0%, rgba(0, 26, 51, 0.8) 100%);
    z-index: 1;
}

.recruitment-cta .cta-content>* {
    position: relative;
    z-index: 2;
}

.recruitment-cta h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--white);
}

.recruitment-cta p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    max-width: 650px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.recruitment-cta .btn-primary {
    background: var(--primary-color);
    padding: 14px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 78, 146, 0.3);
}

.recruitment-cta .btn-primary:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .recruitment-cta .cta-content {
        padding: 60px 30px;
        border-radius: 30px;
    }

    .recruitment-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .recruitment-cta {
        padding: 40px 0;
    }

    .recruitment-cta .cta-content {
        padding: 50px 20px;
        border-radius: 25px;
    }

    .recruitment-cta h2 {
        font-size: 1.8rem;
    }

    .recruitment-cta p {
        font-size: 1rem;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cta-btns .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* Study Abroad Redesign Section */
.study-redesign {
    background: #fff;
    padding: 80px 0;
}

.study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.study-title-wrapper {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: var(--primary-color);
}

.study-line {
    width: 60px;
    height: 1px;
    background: #cddff1;
}

.planes-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.planes-icon.left-plane {
    transform: scaleX(-1);
}

.study-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 10px;
    color: var(--primary-dark);
}

.btn-see-more {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--primary-color);
    border: 1px solid #cddff1;
    border-radius: 6px;
    padding: 8px 20px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-see-more:hover {
    background: var(--primary-color);
    color: #fff;
}

.study-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.study-box {
    background: #f4f8fc;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

/* Features List */
.study-features-list {
    justify-content: center;
    gap: 25px;
}

.sf-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: right;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.sf-text {
    flex-grow: 1;
}

.sf-icon {
    flex-shrink: 0;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.sf-text h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.sf-text p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

/* Image Box */
.study-image-box {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

.study-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA Box */
.study-cta-box {
    justify-content: center;
    text-align: center;
}

.study-cta-box h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

.study-cta-box p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.study-cta-box .btn-primary {
    justify-content: center;
    width: 100%;
    border-radius: 8px;
    padding: 12px;
}

/* Responsive */
@media (max-width: 992px) {
    .study-layout {
        grid-template-columns: 1fr 1fr;
    }

    .study-image-box {
        grid-column: 1 / -1;
        height: 300px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .study-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .study-layout {
        grid-template-columns: 1fr;
    }

    .study-line {
        display: none;
    }
}

/* Redesigned Sections Styling */

/* Common Section Header with Plane */
.section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.header-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
}

.header-title-wrapper .plane-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.header-title-wrapper .plane-divider::before,
.header-title-wrapper .plane-divider::after {
    content: '';
    height: 1px;
    background: linear-gradient(to right, transparent, #ccc, transparent);
    flex-grow: 1;
    max-width: 100px;
}

.header-title-wrapper .plane-divider i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.header-title-wrapper h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin: 0;
    font-weight: 800;
}

.header-title-wrapper p {
    color: #666;
    font-size: 1.1rem;
    margin-top: 5px;
}

.btn-see-more {
    padding: 10px 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #444;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: bold;
    transition: var(--transition);
    background: white;
}

.btn-see-more:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 78, 146, 0.2);
}

/* Services Section Redesign */
.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-card-modern {
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.service-card-modern .icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card-modern:hover .icon-wrapper {
    transform: scale(1.1);
}

.service-card-modern .icon-wrapper i {
    font-size: 4rem;
}

.service-card-modern h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card-modern p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card-modern .learn-more {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    transition: var(--transition);
}

.service-card-modern:hover .learn-more {
    color: var(--secondary-color);
}

/* Destinations Section Redesign */
.destinations-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.destination-card-modern {
    position: relative;
    height: 450px;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
}

.destination-card-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.destination-card-modern:hover img {
    transform: scale(1.15);
}

.destination-card-modern .overlay-modern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 20px;
    color: white;
    text-align: center;
    transition: var(--transition);
}

.destination-card-modern:hover .overlay-modern {
    height: 70%;
}

.destination-card-modern .city-name {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0;
}

.destination-card-modern .country-name {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.destination-card-modern .price-tag {
    font-size: 0.9rem;
}

.destination-card-modern .price-tag .from {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.destination-card-modern .price-tag .price {
    font-size: 2rem;
    font-weight: 900;
    color: white;
}

/* Study Abroad Redesign - Horizontal Layout */
.study-modern-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

.study-list-modern {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.study-item-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: right;
}

.study-item-modern .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    color: var(--primary-color);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.study-item-modern .text h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.study-item-modern .text p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.study-image-modern {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.study-image-modern img {
    width: 100%;
    height: auto;
    display: block;
}

.study-info-modern {
    padding: 20px;
}

.study-info-modern h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 800;
}

.study-info-modern p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-consultation {
    background: var(--primary-color);
    color: white;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: bold;
    display: inline-block;
    transition: var(--transition);
}

.btn-consultation:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 78, 146, 0.2);
}

/* Stats Bar */
.stats-bar-modern {
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.stat-item-modern:not(:last-child) {
    border-inline-end: 1px solid #eee;
}

.stat-item-modern i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-item-modern .info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.stat-item-modern .info p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

@media (max-width: 1200px) {
    .destinations-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .study-modern-content {
        grid-template-columns: 1fr;
    }

    .study-image-modern {
        max-width: 500px;
        margin: 0 auto;
    }

    .study-info-modern {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .destinations-grid-modern {
        grid-template-columns: 1fr;
    }

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

    .stat-item-modern:nth-child(2n) {
        border-inline-end: none;
    }
}

/* Tourism Destinations Grid Redesign */
.tourism-redesign {
    background: var(--white);
    padding: 80px 0;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dest-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    border: none;
    height: 380px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    background: #000;
}

.dest-card .dest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0.9;
}

.dest-card:hover .dest-img {
    transform: scale(1.1);
    opacity: 1;
}

.dest-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 15, 30, 0.9) 0%, rgba(0, 15, 30, 0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px;
    color: white;
}

.dest-info {
    text-align: right;
}

.dest-info h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: #fff;
    line-height: 1.2;
}

.dest-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.dest-price {
    text-align: right;
}

.dest-price span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 2px;
}

.dest-price h4 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
    line-height: 1.1;
}

@media (max-width: 1200px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .dest-card {
        height: 350px;
    }
}


/* Custom modifications */
.video-trigger {
    position: relative;
    cursor: pointer;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    transition: background 0.3s ease;
}

.video-trigger:hover .play-icon-overlay {
    background: rgba(0, 0, 0, 0.8);
}

.video-modal-content {
    max-width: 800px;
    padding: 20px;
    background: transparent;
    box-shadow: none;
}

.video-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.close-video-popup {
    color: white;
    top: -10px;
    right: 0px;
    font-size: 2rem;
}

/* Make Study Abroad Image Taller */
.study-image-box img {
    min-height: 500px;
    object-fit: cover;
}


/* Center Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.video-modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    max-width: 800px;
    width: 90%;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
}

.close-video-popup {
    position: absolute;
    z-index: 10;
    top: -30px;
    right: 0px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}

/* Pulse Animation for Play Icon */
@keyframes pulsePlay {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.play-icon-overlay {
    animation: pulsePlay 2s infinite;
}

/* Floating Video */
.about-image {
    transition: all 0.4s ease-in-out;
}

.floating-video {
    position: fixed !important;
    top: 20px;
    left: 20px;
    width: 150px;
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.floating-video::before {
    display: none;
}

.floating-video img {
    border-radius: 20px !important;
    min-height: auto;
    max-height: 35vh;
}

.floating-video .play-icon-overlay {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .floating-video {
        width: 100px;
        top: 10px;
        left: 10px;
    }

    .floating-video .play-icon-overlay {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}


/* Enhanced Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 92% !important;
    max-width: 1400px;
    top: 15px !important;
    left: 50% !important;
    transform: translateX(-50%);
    border-radius: 50px;
    z-index: 1000;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.nav-links {
    gap: 0px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links a {
    padding: 8px 15px;
    border-radius: 20px;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(0, 78, 146, 0.05);
    color: var(--primary-color);
}

.nav-links a::after {
    display: none;
    /* Removed old underline */
}

@media (max-width: 768px) {
    .navbar {
        width: 96% !important;
        border-radius: 20px;
        padding: 15px 0;
        top: 10px !important;
    }

    .navbar.active {
        border-radius: 20px;
    }
}


/* Fix RTL Navbar Centering */
.navbar {
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    transform: none !important;
}

/* Modern Footer Enhancements */
.modern-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.footer-newsletter h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
}

.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 15px;
    color: #fff;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: #fff;
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .modern-footer {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .modern-footer {
        grid-template-columns: 1fr;
    }
}


/* Modern Certificate Cards */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.cert-item {
    background: #fff;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cert-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.cert-item i {
    font-size: 4.5rem;
    color: var(--primary-color) !important;
    margin-bottom: 20px;
    transition: var(--transition);
}

.cert-item:hover i {
    transform: scale(1.1);
    color: var(--secondary-color) !important;
}

.cert-item h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.cert-item p {
    color: #666;
    font-size: 1rem;
    text-align: center;
}

/* Modern Stats Enhancements */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #a2ccfb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 1.1rem;
    color: #e1edf9;
    font-weight: 500;
}

/* Tourism Overrides for Dest Card */
.dest-card.program-card {
    margin-bottom: 0;
}

.dest-card.program-card .badge {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


/* Ensure spacing for 4 items grid in Tourism page */
@media (max-width: 1200px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .destinations-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: #003366;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 78, 146, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 12px 30px;
    border: 2px solid var(--white);
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    inset-inline-start: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 78, 146, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.logo-img {
    height: 60px;
    /* تقليل حجم اللوجو */
    width: auto;
    object-fit: contain;
}



/* Language Switcher */
.lang-switcher {
    border: 2px solid rgba(0, 78, 146, 0.1);
    border-radius: 30px;
    padding: 6px 18px;
    margin-inline-start: 15px;
    font-weight: 700;
    color: var(--primary-color);
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    font-size: 0.9rem;
}

.lang-switcher:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 78, 146, 0.2);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    inset-inline-end: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    /* زيادة الارتفاع */
    padding-top: 80px;
    /* مساحة للـ navbar */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 42, 82, 0.85) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: end;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Text Animations */
.animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-3 {
    animation-delay: 0.9s;
}

/* Hero Search and Filter */
.hero-search-filter {
    width: 100%;
    max-width: 800px;
    margin: 40px auto 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.hero-search-filter .search-wrapper {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.hero-search-filter .search-input {
    width: 100%;
    padding: 22px 60px 22px 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 60px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.15rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.hero-search-filter .search-input:focus {
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    outline: none;
    transform: translateY(-3px);
}

.hero-search-filter .search-input::placeholder {
    color: #888;
}

.hero-search-filter .search-icon {
    position: absolute;
    inset-inline-end: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.5rem;
    pointer-events: none;
}

.hero-search-filter .filter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-search-filter .filter-btn {
    display: inline-block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 28px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-search-filter .filter-btn:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-search-filter .filter-btn.active {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

/* Trust Bar */
.trust-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 2;
}

.trust-bar .container.bg-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-around;
    padding: 25px 20px;
    color: var(--white);
    border-radius: 30px 30px 0 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item i {
    font-size: 2.2rem;
    color: var(--secondary-color);
    filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.3));
}

.trust-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.trust-item p {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Section Common */
.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.line {
    width: 60px;
    height: 5px;
    background: var(--secondary-color);
    margin: 20px auto 0;
    border-radius: 10px;
}

/* Services Grid */
.services-grid,
.programs-grid,
.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Service Card Redesign - Premium Look */
.service-card {
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04), 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(0, 78, 146, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 70px rgba(0, 78, 146, 0.12), 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 78, 146, 0.12);
}

.card-img {
    height: 230px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .card-img img {
    transform: scale(1.15);
}

/* Subtle overlay on hover */
.card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 78, 146, 0.15));
    opacity: 0;
    transition: opacity 0.6s ease;
}

.service-card:hover .card-img::after {
    opacity: 1;
}

.icon-box {
    position: absolute;
    bottom: -15px;
    inset-inline-end: 25px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #007bff 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 1.6rem;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.25);
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px solid var(--white);
}

.service-card:hover .icon-box {
    transform: scale(1.1) rotate(12deg);
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f39c12 100%);
    box-shadow: 0 12px 30px rgba(245, 166, 35, 0.4);
}

.card-body {
    padding: 40px 25px 30px;
    text-align: right;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 800;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.service-card:hover .card-body h3 {
    color: var(--primary-dark);
}

.card-body p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.98rem;
    line-height: 1.75;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    margin-top: auto;
    width: fit-content;
}

.read-more::after {
    display: none;
    /* Remove old underline effect */
}

.read-more i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.read-more:hover {
    color: var(--secondary-color);
    gap: 12px;
}

.read-more:hover i {
    transform: translateX(-5px);
}


/* About Peek */
/* About Peek Redesign */
.about-peek {
    background: #fdfdfd;
    padding: 100px 0;
}

.about-peek .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-peek .subtitle {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
}

.about-peek .line-blue {
    width: 80px;
    height: 4px;
    background: #007bff;
    margin: 15px auto;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    inset-inline-start: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(0, 123, 255, 0.1);
    border-radius: 60px 180px 60px 180px;
    z-index: -1;
}

.about-image img {
    width: 100%;
    border-radius: 60px 180px 60px 180px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    display: block;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    background: #fff;
    padding: 18px 25px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid #f2f2f2;
}

.feature-item:hover {
    transform: translateX(-10px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.3);
}

.feature-text {
    flex: 1;
    text-align: right;
}

.feature-text h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 4px;
    font-weight: 700;
}

.feature-text p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: rgba(0, 123, 255, 0.06);
    color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.4rem;
    margin-inline-start: 20px;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: #007bff;
    color: #fff;
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img,
    .about-image::before {
        border-radius: 40px 100px 40px 100px;
    }

    .feature-item:hover {
        transform: translateY(-5px);
    }
}


/* Footer */
.footer {
    background-image: url('../images/hero_bg_2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 60px 0 20px;
    /* Reduced padding for smaller height */
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--secondary-color);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* More transparent overlay to show the image better */
    background: linear-gradient(135deg, rgba(0, 42, 82, 0.88) 0%, rgba(0, 26, 51, 0.92) 100%);
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    /* Adjusted for more compact look */
    gap: 40px;
    /* Reduced gap */
    margin-bottom: 30px;
    /* Reduced margin */
    position: relative;
    z-index: 1;
}

.footer-info .logo-img {
    filter: brightness(0) invert(1);
    transition: var(--transition);
    max-width: 160px;
    /* Smaller logo */
    margin-bottom: 15px !important;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 15px;
    line-height: 1.7;
    font-size: 1rem;
    /* Slightly smaller text */
    max-width: 350px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 25px;
    /* Reduced margin */
    font-size: 1.3rem;
    /* Slightly smaller header */
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 35px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-links ul li {
    margin-bottom: 12px;
    /* Tighter spacing */
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-links a::before {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
    /* Tighter spacing */
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-contact p i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    /* Reduced padding */
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    letter-spacing: 1px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset-inline-start: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    inset-inline-end: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    outline: none;
    font-family: inherit;
    background-color: #fcfcfc;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 78, 146, 0.1);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 78, 146, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 78, 146, 0.3);
}

/* Responsive */
/* Responsive Improvements */
@media (max-width: 1025px) {

    .navbar .container {
        flex-wrap: wrap;
        width: 100%;
    }
}

/* Global Responsive Adjustments */
@media (max-width: 991px) {

    /* Navbar Tweaks */
    .logo-link {
        order: 1;
    }

    .mobile-menu-btn {
        display: block;
        order: 2;
        /* Logic handled in previous step, kept for consistency */
    }

    /* Directional margin for menu button */
    html[dir="rtl"] .mobile-menu-btn {
        margin-inline-end: auto;
        margin-inline-start: 0;
    }

    html[dir="ltr"] .mobile-menu-btn {
        margin-inline-start: auto;
        margin-inline-end: 0;
    }

    .nav-search {
        display: none !important;
    }

    .nav-links,
    .nav-actions {
        display: none;
        width: 100%;
    }

    /* Active Navbar State */
    .navbar.active .nav-links {
        display: flex;
        flex-direction: column;
        order: 3;
        text-align: center;
        padding: 20px 0;
        border-top: 1px solid #eee;
        gap: 15px;
        /* Add breathing room */
    }

    .navbar.active .nav-actions {
        display: flex;
        justify-content: center;
        order: 4;
        padding-bottom: 20px;
        gap: 15px;
    }

    /* Hero Text Scaling */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* About Section */
    .about-peek .row {
        flex-direction: column;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    /* General Layout */
    .section-padding {
        padding: 40px 0;
    }

    /* Reduce whitesapce */

    /* Typography */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Grids to Single Column on Mobile */
    .services-grid,
    .stats-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        /* Force single column */
        gap: 20px;
    }

    /* Trust Bar Stack */
    .trust-bar .container.bg-glass {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 15px;
    }

    .trust-item {
        width: 100%;
        justify-content: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 10px;
    }

    .trust-item:last-child {
        border-bottom: none;
    }

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

    .footer-info p,
    .footer-contact p {
        justify-content: center;
    }

    .footer-links ul {
        padding: 0;
    }

    /* Contact Form */
    .contact-grid {
        gap: 30px;
    }

    /* Hero Buttons */
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns button {
        width: 100%;
        justify-content: center;
    }

    /* Hero Search and Filter Responsive */
    .hero-search-filter {
        margin: 30px auto 20px;
        gap: 15px;
    }

    .hero-search-filter .search-input {
        padding: 15px 45px 15px 15px;
        font-size: 1rem;
    }

    .hero-search-filter .search-icon {
        inset-inline-end: 15px;
        font-size: 1.1rem;
    }

    .hero-search-filter .filter-buttons {
        gap: 8px;
    }

    .hero-search-filter .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {

    /* Very Small Screens */
    .container {
        padding: 0 15px;
    }

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

    /* Ensure cards don't overflow */
    .service-card .card-img {
        height: 180px;
    }

    /* Modal adjustment */
    .modal-content {
        width: 95%;
        padding: 20px;
    }

    /* Hero Search and Filter for Very Small Screens */
    .hero-search-filter .search-input {
        padding: 14px 40px 14px 12px;
        font-size: 0.9rem;
    }

    .hero-search-filter .filter-btn {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
}

/* Removed redundant stacking rules */

/* Ensure icons on top for info items on mobile */
@media (max-width: 768px) {
    .info-item {
        flex-direction: row;
        align-items: center;
    }
}

/* Contact Section */
.contact-section {
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* gap: 40px; */
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-image: url('../images/hero_bg_1.png');
    background-size: cover;
    background-position: center;
    padding: 40px;
    border-radius: 35px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 78, 146, 0.15);
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 42, 82, 0.92) 0%, rgba(0, 78, 146, 0.85) 100%);
    z-index: 1;
}

.contact-info>* {
    position: relative;
    z-index: 2;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.info-item:hover {
    transform: translateX(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}



.info-item i {
    font-size: 1.5rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item:hover i {
    background: var(--white);
    color: var(--primary-color);
}

.info-item h4 {
    margin-bottom: 4px;
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
}

.info-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
}


.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    padding: 18px;
    border-radius: 15px;
    text-align: center;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
    font-size: 1.05rem;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 1.6rem;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 10px;
    border: 1px solid #f0f0f0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.2) contrast(1.1);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid #f5f5f5;
    align-self: flex-start;
    /* Prevents stretching and removes empty space below */
}

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

/* Internal Pages Header */
.page-header {
    height: 80vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);

    /* Navbar height compensation */
}

.page-header .content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Program Card Redesign */
.program-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 78, 146, 0.1);
    border-color: rgba(0, 78, 146, 0.1);
}

.program-card .card-img {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.program-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.program-card:hover .card-img img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 20px;
    inset-inline-end: 20px;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.badge-secondary {
    background: var(--primary-color);
    color: var(--white);
}

.program-card .card-body {
    padding: 30px 25px;
    text-align: right;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1.3;
}

.program-card p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}


.btn-primary-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Large Modal for Details */
.large-modal {
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-body-content ul {
    list-style: none;
    margin-top: 10px;
}

.modal-body-content ul li {
    margin-bottom: 10px;
    padding-inline-end: 25px;
    position: relative;
}

/* wv International Job Opportunities */
.job-category {
    margin-bottom: 50px;
}

.job-category h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    color: var(--dark-color);
}

/* Modern Search and Filters */
.filter-container {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft premium shadow */
    margin: 0 auto 50px;
    /* Center and add value */
    max-width: 900px;
    /* Limit width for cleaner look */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    border: 1px solid #f0f0f0;
    position: relative;
    top: -30px;
    /* Overlap with header slightly for depth */
}

.search-wrapper {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #eee;
    border-radius: 50px;
    /* Full rounded pill */
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #fdfdfd;
}

.search-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 5px rgba(255, 193, 7, 0.1);
    outline: none;
    background: #fff;
}

.search-icon {
    position: absolute;
    inset-inline-end: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 1.2rem;
    pointer-events: none;
}

.filter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.filter-btn:hover {
    transform: translateY(-2px);
    border-color: var(--secondary-color);
    color: var(--dark-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.filter-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    /* or dark depending on contrast, usually black on yellow */
    color: var(--dark-color);
    /* ensuring readability on yellow */
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {

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

/* شاشات صغيرة (موبايل) */
@media (max-width: 640px) {

    .programs-grid,
    .services-grid,
    .vision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .filter-container {
        padding: 20px;
        margin-bottom: 30px;
        top: 0;
        /* Reset overlap on mobile */
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        flex: 1 1 auto;
        /* Grow to fill space */
        text-align: center;
    }
}

/* Job Card Redesign */
.job-card {
    background: var(--white);
    padding: 25px 35px;
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
}

.job-card:hover {
    transform: translateX(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 78, 146, 0.08);
    background: #fdfdfd;
}

.job-info h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.3rem;
    font-weight: 800;
}

.job-info p {
    color: #666;
    max-width: 650px;
    font-size: 1rem;
    line-height: 1.6;
}


/* File Upload Style */
.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 50px;
    border: 2px dashed #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    background: #f9f9f9;
}

.file-upload-wrapper:hover {
    border-color: var(--primary-color);
    background: #fff;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    inset-inline-start: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-text {
    color: var(--gray);
    pointer-events: none;
}

.file-upload-text i {
    margin-inline-start: 5px;
}

/* Services Catalog */
/* Catalog Card Redesign */
.catalog-card {
    background: var(--white);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.catalog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 78, 146, 0.08);
    border-color: rgba(0, 78, 146, 0.1);
}

.catalog-img {
    height: 200px;
    overflow: hidden;
}

.catalog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.catalog-card:hover .catalog-img img {
    transform: scale(1.15);
}

.catalog-body {
    padding: 25px;
}

.catalog-body h4 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.2rem;
}

.tech-specs {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    background: rgba(0, 78, 146, 0.05);
    padding: 6px 15px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 700;
}


/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.8;
}


/* Vision Card Redesign */
.vision-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.03);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vision-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(245, 166, 35, 0.1);
    border-color: var(--secondary-color);
}


.vision-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.vision-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.stat-item p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Certificates */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.cert-item img {
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.cert-item img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Trip Details Page */
.trip-header {
    background-size: cover;
    background-position: top center;
    color: var(--white);
    padding: 150px 0 80px;
    position: relative;
    /* Behind transparent navbar */
    height: 80vh;
    min-height: 400px;

    color: var(--white);
}

.trip-header::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.trip-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.trip-title h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.trip-rating {
    color: #ffc107;
    font-size: 1.2rem;
}

.trip-price-tag {
    text-align: start;
}

.create-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.per-person {
    font-size: 1rem;
    opacity: 0.8;
}

/* Trip Layout */
.trip-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 50px 0;
}

/* Gallery */
.gallery-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    cursor: pointer;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
}

.gallery-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.gallery-thumbs img.active,
.gallery-thumbs img:hover {
    opacity: 1;
    border: 2px solid var(--secondary-color);
}

/* Content Sections */
.trip-section {
    margin-bottom: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.trip-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.trip-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.trip-features ul li i {
    color: #25D366;
    margin-inline-start: 10px;
}

.trip-features.excludes ul li i {
    color: #dc3545;
}

/* Booking Widget Sidebar */
.booking-widget {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    position: sticky;
    top: 100px;
    overflow: hidden;
}

.booking-header {
    background: var(--dark-color);
    color: var(--white);
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.booking-body {
    padding: 20px;
}

/* Booking Widget Sidebar */
.booking-widget {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    position: sticky;
    top: 100px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.booking-widget:hover {
    transform: translateY(-5px);
}

.booking-header {
    background: #2c3e50;
    /* Professional Dark Blue/Grey */
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.booking-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.booking-body {
    padding: 25px;
}

.booking-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.booking-row.date-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.booking-row label {
    font-weight: bold;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Tajawal', sans-serif;
}

.booking-label h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

.price-hint {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 0.9rem;
}

.qty-control {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2px;
    border: 1px solid #eee;
}

.qty-btn {
    width: 35px;
    height: 35px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
}

.total-section {
    background: #fdfdfd;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border: 2px dashed #eee;
}

.total-label {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
}

.total-amount {
    font-size: 1.6rem;
    color: #0d6efd;
    font-weight: 800;
}

.btn-book-now {
    width: 100%;
    background: linear-gradient(45deg, #0d6efd, #0b5ed7);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.secure-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

@media (max-width: 992px) {
    .trip-layout {
        grid-template-columns: 1fr;
    }

    .booking-widget {
        position: static;
    }
}

/* Professional Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Fixed on Scroll */
.navbar.scrolled {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    animation: slideDown 0.3s ease;
    z-index: 1000;
}

.navbar.scrolled .logo {
    color: var(--primary-color);
}

.navbar.scrolled .nav-links li a {
    color: var(--dark-color);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Video Section / Factory Tour */
.factory-tour {
    position: relative;
    padding: 80px 0;
    background: #000;
    color: #fff;
    overflow: hidden;
    text-align: center;
}

.factory-tour .video-bg {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.factory-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.factory-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.factory-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-play-video {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto;
    cursor: pointer;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.btn-play-video:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(255, 193, 7, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

/* Footer Fix */
/* Removed conflicting footer styles */

/* Recruitment CTA Section Redesign */
.recruitment-cta {
    background: transparent;
    padding: 60px 0;
    overflow: hidden;
}

.recruitment-cta .overlay-bg {
    display: none;
    /* Hide the old overlay */
}

.recruitment-cta .cta-content {
    background-image: url('../images/hero_bg_1.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    /* Rounded corners as requested */
    padding: 80px 40px;
    /* Moderate height */
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--white);
    box-shadow: 0 25px 60px rgba(0, 78, 146, 0.2);
}

.recruitment-cta .cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 42, 82, 0.9) 0%, rgba(0, 26, 51, 0.8) 100%);
    z-index: 1;
}

.recruitment-cta .cta-content>* {
    position: relative;
    z-index: 2;
}

.recruitment-cta h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--white);
}

.recruitment-cta p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    max-width: 650px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.recruitment-cta .btn-primary {
    background: var(--primary-color);
    padding: 14px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 78, 146, 0.3);
}

.recruitment-cta .btn-primary:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .recruitment-cta .cta-content {
        padding: 60px 30px;
        border-radius: 30px;
    }

    .recruitment-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .recruitment-cta {
        padding: 40px 0;
    }

    .recruitment-cta .cta-content {
        padding: 50px 20px;
        border-radius: 25px;
    }

    .recruitment-cta h2 {
        font-size: 1.8rem;
    }

    .recruitment-cta p {
        font-size: 1rem;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cta-btns .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* Study Abroad Redesign Section */
.study-redesign {
    background: #fff;
    padding: 80px 0;
}

.study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.study-title-wrapper {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: var(--primary-color);
}

.study-line {
    width: 60px;
    height: 1px;
    background: #cddff1;
}

.planes-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.planes-icon.left-plane {
    transform: scaleX(-1);
}

.study-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 10px;
    color: var(--primary-dark);
}

.btn-see-more {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--primary-color);
    border: 1px solid #cddff1;
    border-radius: 6px;
    padding: 8px 20px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-see-more:hover {
    background: var(--primary-color);
    color: #fff;
}

.study-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.study-box {
    background: #f4f8fc;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

/* Features List */
.study-features-list {
    justify-content: center;
    gap: 25px;
}

.sf-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: right;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.sf-text {
    flex-grow: 1;
}

.sf-icon {
    flex-shrink: 0;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.sf-text h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.sf-text p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

/* Image Box */
.study-image-box {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

.study-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA Box */
.study-cta-box {
    justify-content: center;
    text-align: center;
}

.study-cta-box h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

.study-cta-box p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.study-cta-box .btn-primary {
    justify-content: center;
    width: 100%;
    border-radius: 8px;
    padding: 12px;
}

/* Responsive */
@media (max-width: 992px) {
    .study-layout {
        grid-template-columns: 1fr 1fr;
    }

    .study-image-box {
        grid-column: 1 / -1;
        height: 300px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .study-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .study-layout {
        grid-template-columns: 1fr;
    }

    .study-line {
        display: none;
    }
}

/* Redesigned Sections Styling */

/* Common Section Header with Plane */
.section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.header-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
}

.header-title-wrapper .plane-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.header-title-wrapper .plane-divider::before,
.header-title-wrapper .plane-divider::after {
    content: '';
    height: 1px;
    background: linear-gradient(to right, transparent, #ccc, transparent);
    flex-grow: 1;
    max-width: 100px;
}

.header-title-wrapper .plane-divider i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.header-title-wrapper h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin: 0;
    font-weight: 800;
}

.header-title-wrapper p {
    color: #666;
    font-size: 1.1rem;
    margin-top: 5px;
}

.btn-see-more {
    padding: 10px 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #444;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: bold;
    transition: var(--transition);
    background: white;
}

.btn-see-more:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 78, 146, 0.2);
}

/* Services Section Redesign */
.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-card-modern {
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.service-card-modern .icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card-modern:hover .icon-wrapper {
    transform: scale(1.1);
}

.service-card-modern .icon-wrapper i {
    font-size: 4rem;
}

.service-card-modern h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card-modern p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card-modern .learn-more {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    transition: var(--transition);
}

.service-card-modern:hover .learn-more {
    color: var(--secondary-color);
}

/* Destinations Section Redesign */
.destinations-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.destination-card-modern {
    position: relative;
    height: 450px;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
}

.destination-card-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.destination-card-modern:hover img {
    transform: scale(1.15);
}

.destination-card-modern .overlay-modern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 20px;
    color: white;
    text-align: center;
    transition: var(--transition);
}

.destination-card-modern:hover .overlay-modern {
    height: 70%;
}

.destination-card-modern .city-name {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0;
}

.destination-card-modern .country-name {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.destination-card-modern .price-tag {
    font-size: 0.9rem;
}

.destination-card-modern .price-tag .from {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.destination-card-modern .price-tag .price {
    font-size: 2rem;
    font-weight: 900;
    color: white;
}

/* Study Abroad Redesign - Horizontal Layout */
.study-modern-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

.study-list-modern {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.study-item-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: right;
}

.study-item-modern .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    color: var(--primary-color);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.study-item-modern .text h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.study-item-modern .text p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.study-image-modern {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.study-image-modern img {
    width: 100%;
    height: auto;
    display: block;
}

.study-info-modern {
    padding: 20px;
}

.study-info-modern h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 800;
}

.study-info-modern p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-consultation {
    background: var(--primary-color);
    color: white;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: bold;
    display: inline-block;
    transition: var(--transition);
}

.btn-consultation:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 78, 146, 0.2);
}

/* Stats Bar */
.stats-bar-modern {
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.stat-item-modern:not(:last-child) {
    border-inline-end: 1px solid #eee;
}

.stat-item-modern i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-item-modern .info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.stat-item-modern .info p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

@media (max-width: 1200px) {
    .destinations-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .study-modern-content {
        grid-template-columns: 1fr;
    }

    .study-image-modern {
        max-width: 500px;
        margin: 0 auto;
    }

    .study-info-modern {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .destinations-grid-modern {
        grid-template-columns: 1fr;
    }

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

    .stat-item-modern:nth-child(2n) {
        border-inline-end: none;
    }
}

/* Tourism Destinations Grid Redesign */
.tourism-redesign {
    background: var(--white);
    padding: 80px 0;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dest-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    border: none;
    height: 380px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    background: #000;
}

.dest-card .dest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0.9;
}

.dest-card:hover .dest-img {
    transform: scale(1.1);
    opacity: 1;
}

.dest-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 15, 30, 0.9) 0%, rgba(0, 15, 30, 0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px;
    color: white;
}

.dest-info {
    text-align: right;
}

.dest-info h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: #fff;
    line-height: 1.2;
}

.dest-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.dest-price {
    text-align: right;
}

.dest-price span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 2px;
}

.dest-price h4 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
    line-height: 1.1;
}

@media (max-width: 1200px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .dest-card {
        height: 350px;
    }
}


/* Custom modifications */
.video-trigger {
    position: relative;
    cursor: pointer;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    transition: background 0.3s ease;
}

.video-trigger:hover .play-icon-overlay {
    background: rgba(0, 0, 0, 0.8);
}

.video-modal-content {
    max-width: 800px;
    padding: 20px;
    background: transparent;
    box-shadow: none;
}

.video-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.close-video-popup {
    color: white;
    top: -10px;
    right: 0px;
    font-size: 2rem;
}

/* Make Study Abroad Image Taller */
.study-image-box img {
    min-height: 500px;
    object-fit: cover;
}


/* Center Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.video-modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    max-width: 800px;
    width: 90%;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
}

.close-video-popup {
    position: absolute;
    z-index: 10;
    top: -30px;
    right: 0px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}

/* Pulse Animation for Play Icon */
@keyframes pulsePlay {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.play-icon-overlay {
    animation: pulsePlay 2s infinite;
}

/* Floating Video */
.about-image {
    transition: all 0.4s ease-in-out;
}

.floating-video {
    position: fixed !important;
    top: 20px;
    left: 20px;
    width: 150px;
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.floating-video::before {
    display: none;
}

.floating-video img {
    border-radius: 20px !important;
    min-height: auto;
}

.floating-video .play-icon-overlay {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .floating-video {
        width: 100px;
        top: 10px;
        left: 10px;
    }

    .floating-video .play-icon-overlay {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}


/* Enhanced Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 92% !important;
    max-width: 1400px;
    top: 15px !important;
    left: 50% !important;
    transform: translateX(-50%);
    border-radius: 50px;
    z-index: 1000;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.nav-links {
    gap: 0px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links a {
    padding: 8px 15px;
    border-radius: 20px;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(0, 78, 146, 0.05);
    color: var(--primary-color);
}

.nav-links a::after {
    display: none;
    /* Removed old underline */
}

@media (max-width: 768px) {
    .navbar {
        width: 96% !important;
        border-radius: 20px;
        padding: 15px 0;
        top: 10px !important;
    }

    .navbar.active {
        border-radius: 20px;
    }
}


/* Fix RTL Navbar Centering */
.navbar {
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    transform: none !important;
}

/* Modern Footer Enhancements */
.modern-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.footer-newsletter h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
}

.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 15px;
    color: #fff;
    outline: none;
    text-align: start;
    direction: inherit;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: #fff;
    color: var(--secondary-color);
}

/* RTL Support for Newsletter Icon */
html[dir="rtl"] .newsletter-form button i {
    transform: scaleX(-1);
}

@media (max-width: 992px) {
    .modern-footer {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .modern-footer {
        grid-template-columns: 1fr;
    }
}


/* Modern Certificate Cards */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.cert-item {
    background: #fff;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cert-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.cert-item i {
    font-size: 4.5rem;
    color: var(--primary-color) !important;
    margin-bottom: 20px;
    transition: var(--transition);
}

.cert-item:hover i {
    transform: scale(1.1);
    color: var(--secondary-color) !important;
}

.cert-item h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.cert-item p {
    color: #666;
    font-size: 1rem;
    text-align: center;
}

/* Modern Stats Enhancements */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #a2ccfb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 1.1rem;
    color: #e1edf9;
    font-weight: 500;
}

/* Tourism Overrides for Dest Card */
.dest-card.program-card {
    margin-bottom: 0;
}

.dest-card.program-card .badge {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


/* Ensure spacing for 4 items grid in Tourism page */
@media (max-width: 1200px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .destinations-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* =========================================
   Restored Active Nav Underline
   ========================================= */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    inset-inline-end: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
    transition: var(--transition);
    display: block;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    inset-inline-end: 0;
    inset-inline-start: auto;
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* =========================================
   Enhanced Language Switcher (Pill Button)
   ========================================= */
.lang-switcher {
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    padding: 8px 20px;
    margin-inline-start: 15px;
    font-weight: 800;
    color: var(--primary-color);
    background: rgba(0, 78, 146, 0.05);
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 78, 146, 0.08);
}

.lang-switcher::before {
    content: '\f1ab';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.95rem;
}

.lang-switcher:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(0, 78, 146, 0.25);
    transform: translateY(-2px);
}

/* =========================================
   Floating WhatsApp Button
   ========================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    inset-inline-end: 30px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsappPulse 2.2s infinite;
}

.floating-whatsapp i {
    line-height: 1;
    transform: translateY(-1px);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
    color: #fff;
}

.floating-whatsapp .wa-tooltip {
    position: absolute;
    inset-inline-end: 78px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.floating-whatsapp .wa-tooltip::after {
    content: '';
    position: absolute;
    inset-inline-start: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

html[dir="rtl"] .floating-whatsapp .wa-tooltip::after {
    inset-inline-start: auto;
    inset-inline-end: -6px;
    border-color: transparent transparent transparent #fff;
}

.floating-whatsapp:hover .wa-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}

html[dir="rtl"] .floating-whatsapp:hover .wa-tooltip {
    transform: translateY(-50%) translateX(4px);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.55);
    }

    70% {
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 18px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        inset-inline-end: 20px;
        width: 56px;
        height: 56px;
        font-size: 1.7rem;
    }

    .floating-whatsapp .wa-tooltip {
        display: none;
    }
}

/* =========================================
   Testimonials Section
   ========================================= */
.testimonials-section {
    background: linear-gradient(135deg, #f4f8fc 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 40px;
    inset-inline-start: 40px;
    font-size: 8rem;
    color: rgba(0, 78, 146, 0.05);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.testimonial-card {
    background: #fff;
    padding: 35px 25px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 78, 146, 0.06);
    border: 1px solid rgba(0, 78, 146, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 78, 146, 0.12);
    border-color: rgba(0, 78, 146, 0.15);
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 18px;
    inset-inline-end: 22px;
    font-size: 1.8rem;
    color: rgba(245, 166, 35, 0.25);
}

.testimonial-rating {
    color: #f5a623;
    font-size: 1.05rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-rating i {
    margin-inline-end: 2px;
}

.testimonial-text {
    color: #444;
    font-size: 0.97rem;
    line-height: 1.85;
    margin-bottom: 25px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px dashed #e8e8e8;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #007bff 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 78, 146, 0.25);
}

.testimonial-info h4 {
    font-size: 1.05rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 2px;
    line-height: 1.2;
}

.testimonial-info p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.testimonial-info p i {
    color: var(--secondary-color);
    font-size: 0.75rem;
}

@media (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .testimonials-section::before {
        font-size: 5rem;
        top: 20px;
        inset-inline-start: 20px;
    }
}