* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #134B70;
    --secondary-color: #3A4A55;
    --accent-color: #436378;
    --text-dark: #1E1E1E;
    --text-light: #5F5C5C;
    --white: #FFFFFF;
    --yellow-accent: #DBC42D;
    --overlay: rgba(0, 0, 0, 0.25);
}

body {
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
    background: var(--white);
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 82px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255,255,255,0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-screen p {
    color: var(--white);
    font-size: 20px;
    margin-top: 20px;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    background: var(--accent-color);
}

/* Hero Section */
.hero-home {
    position: relative;
    height: 780px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: epicKaabaZoom 80s ease-in-out infinite alternate;
}

@keyframes epicKaabaZoom {
    0% { transform: scale(1) translateY(0) rotate(0deg); filter: brightness(1); }
    15% { transform: scale(1.08) translateY(-2%) rotate(0.5deg); filter: brightness(1.05); }
    30% { transform: scale(1.15) translateY(1%) rotate(-0.5deg); filter: brightness(1.1); }
    45% { transform: scale(1.1) translateY(-1%) rotate(0.3deg); filter: brightness(1.08); }
    60% { transform: scale(1.18) translateY(0.5%) rotate(-0.3deg); filter: brightness(1.12); }
    75% { transform: scale(1.12) translateY(-0.5%) rotate(0.2deg); filter: brightness(1.06); }
    90% { transform: scale(1.15) translateY(1%) rotate(-0.2deg); filter: brightness(1.09); }
    100% { transform: scale(1.1) translateY(0) rotate(0deg); filter: brightness(1.05); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    z-index: 2;
}

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    padding: 20px 0;
    z-index: 100;
    animation: navSlideDown 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all 0.5s ease;
}

@keyframes navSlideDown {
    from { transform: translateY(-200%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 80px;
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.logo img {
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    padding: 8px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--white);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    transform: translateY(-3px);
}

.nav-link.active {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(255,255,255,0.9);
    transform: scale(1.1);
}

.nav-link.active::before {
    width: 100%;
    background: var(--primary-color);
}

.cta-button {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.8s ease, height 0.8s ease;
}

.cta-button:hover::before {
    width: 400px;
    height: 400px;
}

.cta-button:hover {
    color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

/* Hero Content */
.hero-content-home {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    text-align: center;
    text-shadow: 3px 3px 25px rgba(0,0,0,0.8);
    animation: titleEpicEntrance 2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    line-height: 1.5;
}

@keyframes titleEpicEntrance {
    0% { 
        opacity: 0;
        transform: scale(0.3) translateY(100px) rotate(-10deg);
        filter: blur(20px);
    }
    60% {
        transform: scale(1.2) translateY(-20px) rotate(2deg);
        filter: blur(0);
    }
    100% { 
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0);
    }
}

/* Tabs Section */
.tabs-section {
    margin-top: -80px;
    position: relative;
    z-index: 50;
    padding-bottom: 80px;
}

.tabs-container {
    display: flex;
    max-width: 1373px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 0;
    background: rgba(30,30,30,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.tab-button {
    flex: 1;
    background: transparent;
    border: none;
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, var(--white));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tab-button:hover::before {
    opacity: 0.1;
}

.tab-button img {
    width: 36px;
    height: 36px;
    transition: all 0.5s ease;
}

.tab-button span {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    transition: all 0.5s ease;
}

.tab-button.active {
    background: var(--white);
    box-shadow: 2px 0 1px rgba(0,0,0,0.25);
    transform: translateY(-10px);
}

.tab-button.active span {
    color: var(--primary-color);
}

.tab-button:hover {
    transform: translateY(-5px);
}

.tab-button.active:hover {
    transform: translateY(-12px);
}

/* Tab Content */
.tab-content-area {
    max-width: 1373px;
    margin: 0 auto;
    padding: 0 40px;
}

.tab-content {
    display: none;
    animation: tabFadeIn 0.8s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin: 32px 0;
    animation: titleBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes titleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    flex: 1;
    min-width: 200px;
    background: transparent;
    border: 1px solid var(--primary-color);
    padding: 24px 16px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.filter-btn:hover::before {
    width: 500px;
    height: 500px;
}

.filter-btn img {
    width: 36px;
    height: 36px;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
}

.filter-btn span {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(19,75,112,0.3);
}

.filter-btn.active span {
    color: var(--white);
}

.filter-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(19,75,112,0.2);
}

.filter-btn:hover span {
    color: var(--white);
}

/* Offer Card */
.offer-card {
    background: var(--white);
    border: 1px solid rgba(19,75,112,0.5);
    border-radius: 10px;
    padding: 22px;
    display: flex;
    gap: 39px;
    align-items: flex-start;
    animation: cardSlideIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all 0.5s ease;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px) rotate(5deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(19,75,112,0.15);
}

.offer-image {
    width: 372px;
    height: 324px;
    border-radius: 50px 50px 0 50px;
    overflow: hidden;
    flex-shrink: 0;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.offer-card:hover .offer-image img {
    transform: scale(1.15) rotate(3deg);
}

.offer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
}

.offer-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.offer-description {
    font-size: 20px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Why Section */
.why-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.section-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin: 0 auto 64px;
    max-width: 733px;
    line-height: 1.5;
    animation: titleWave 2s ease-in-out infinite;
}

@keyframes titleWave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.why-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 442px;
    z-index: -1;
}

.why-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30,30,30,0.8);
}

.why-features {
    display: flex;
    gap: 20px;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 60px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 16px;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    box-shadow: 1px 0.5px 1px rgba(0,0,0,0.25);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateY(50px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-20px) scale(1.05) rotate(2deg);
    box-shadow: 0 20px 50px rgba(19,75,112,0.3);
}

.feature-card img {
    width: 50px;
    height: 50px;
    transition: all 0.5s ease;
}

.feature-card:hover img {
    transform: scale(1.2) rotate(360deg);
}

.feature-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.feature-card p {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.5;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #FFFFFF, #F8F9FA);
    overflow: hidden;
}

.partners-slider {
    max-width: 1360px;
    margin: 40px auto 0;
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    gap: 32px;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partners-slider:hover .partners-track {
    animation-play-state: paused;
}

.partner-logo {
    height: 80px;
    width: 200px;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.5s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.2);
}

/* Hotels Section */
.hotels-section {
    padding: 80px 0;
    background: var(--white);
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1360px;
    margin: 0 auto;
}

.hotel-card {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hotel-card.visible {
    opacity: 1;
    transform: scale(1);
}

.hotel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.hotel-card:hover img {
    transform: scale(1.2) rotate(3deg);
}

.hotel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(19,75,112,0.8) 80%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hotel-card:hover .hotel-overlay {
    opacity: 1;
}

.hotel-name {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    opacity: 0;
    transition: all 0.5s ease;
}

.hotel-card:hover .hotel-name {
    opacity: 1;
    bottom: 35px;
}

/* Footer - Same as other pages */
.footer {
    position: relative;
    padding: 80px 0 30px;
    color: var(--white);
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.footer-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(67, 99, 120, 0.85);
    z-index: -1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 0.5px solid var(--white);
}

.footer-logo {
    height: 110px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 100%;
    object-fit: contain;
}

.footer-slogan {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 21px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--white);
    transform: translateY(-5px) rotate(5deg);
}

.social-links img {
    width: 28px;
    height: 28px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-phones {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
}

.contact-item img {
    width: 24px;
    height: 24px;
}

.footer-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 34px;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    transform: translateX(10px);
}

.newsletter h3 {
    margin-bottom: 56px;
}

.newsletter-form {
    display: flex;
    border: 0.5px solid #D9D9D9;
    border-radius: 20px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 24px;
    color: var(--white);
    font-size: 20px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: var(--white);
}

.newsletter-form button {
    background: var(--secondary-color);
    border: none;
    padding: 15px 30px;
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 1200px) {
    .why-features {
        gap: 15px;
    }
    
    .feature-card {
        width: 230px;
    }
    
    .hotels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .tabs-container {
        flex-wrap: wrap;
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .filter-btn {
        min-width: 100%;
    }
    
    .offer-card {
        flex-direction: column;
    }
    
    .offer-image {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    
    
     .tab-button span {
    font-size: 18px!important;}
    
        .tabs-container {
        flex-wrap: wrap;
        height: 80px!important;
    }
    .footer-logo img {
    height: 253%;
    object-fit: contain;
    margin-top: -61px;
}

.footer-section h3 {
    text-align: right;
}


.footer-links {
    align-items: flex-start;
}
    
    
    
    
    .container {
        padding: 0 24px;
    }
    
    .hero-home {
        height: 500px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: var(--primary-color);
        flex-direction: column;
        padding: 16px 20px 40px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .cta-button {
        display: none;
    }
    
    .hero-main-title {
        font-size: 32px;
    }
    
    .why-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card {
        width: 100%;
        max-width: 350px;
    }
    
    .hotels-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-track {
        gap: 20px;
    }
    
    .partner-logo {
        height: 60px;
        width: 150px;
    }
   
}
