* {
    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;
    --overlay: rgba(0, 0, 0, 0.25);
    --overlay-hero: rgba(30, 30, 30, 0.25);
    --card-bg: rgba(86, 121, 144, 0.1);
}

body {
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
    background: var(--white);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hero Section */
.hero-hajj {
    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: heroZoomComplex 40s ease-in-out infinite alternate;
}

@keyframes heroZoomComplex {
    0% {
        transform: scale(1) translateX(0) translateY(0);
        filter: brightness(1);
    }
    25% {
        transform: scale(1.1) translateX(-2%) translateY(-2%);
        filter: brightness(1.05);
    }
    50% {
        transform: scale(1.15) translateX(1%) translateY(1%);
        filter: brightness(1.1);
    }
    75% {
        transform: scale(1.08) translateX(-1%) translateY(2%);
        filter: brightness(1.05);
    }
    100% {
        transform: scale(1.12) translateX(0) translateY(-1%);
        filter: brightness(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-hero);
    z-index: 2;
}

/* Navigation (Same as before) */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 100;
    animation: navSlideDown 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all 0.5s ease;
}

@keyframes navSlideDown {
    from {
        transform: translateY(-150%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    height: 80px;
    animation: logoFloat 3s ease-in-out infinite;
    z-index: 1000;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.logo img {
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.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;
    animation: menuFadeIn 1s ease-out 0.3s both;
}

@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

.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.5s 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.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    color: var(--primary-color);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 80px;
    gap: 26px;
}

.hero-title-section {
    border-bottom: 2px solid var(--white);
    padding-bottom: 10px;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    text-align: center;
    animation: heroTextPulse 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s both;
}

@keyframes heroTextPulse {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hero-description {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.7);
    animation: heroDescFade 1.5s ease-out 0.8s both;
    max-width: 920px;
    line-height: 1.6;
}

@keyframes heroDescFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Programs Section */
.programs-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 50%, #F8F9FA 100%);
}

/* Tabs */
.tabs-container {
    display: flex;
    gap: 84px;
    justify-content: center;
    background: rgba(30, 30, 30, 0.1);
    padding: 0 40px;
    margin-bottom: 68px;
    animation: tabsSlideIn 1s ease-out;
}

@keyframes tabsSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 32px;
    font-weight: 700;
    padding: 40px 60px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    border-radius: 20px 20px 0 0;
}

.tab-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--white);
    transition: height 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 20px 20px 0 0;
    z-index: -1;
}

.tab-btn:hover {
    transform: translateY(-10px);
}

.tab-btn.active::before {
    height: 100%;
}

.tab-btn.active {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(0) scale(1.05);
    box-shadow: 0 -10px 30px rgba(19, 75, 112, 0.2);
}

/* Tab Content Title */
.tab-content-title {
    text-align: center;
    margin-bottom: 68px;
    animation: titleFadeIn 1s ease-out;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content-title h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.tab-content-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: lineExpand 1.5s ease-out;
}

@keyframes lineExpand {
    from {
        width: 0;
    }
    to {
        width: 80%;
    }
}

/* Tab Content */
.tab-content {
    /*display: none;*/
    animation: contentFadeIn 0.8s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Program Card */
.program-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(114, 113, 113, 0.25);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

.program-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.program-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 50px rgba(19, 75, 112, 0.3);
}

.program-image {
    height: 218px;
    overflow: hidden;
    position: relative;
}

.program-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(19, 75, 112, 0.3));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.program-card:hover .program-image::before {
    opacity: 1;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.program-card:hover .program-image img {
    transform: scale(1.15) rotate(2deg);
}

.program-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.program-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.program-card:hover .program-title {
    transform: translateX(-5px);
    color: var(--secondary-color);
}

.program-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.5;
    min-height: 48px;
}

/* Program Meta */
.program-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--accent-color);
}

.meta-item img {
    width: 20px;
    height: 20px;
}

.meta-item.rating {
    order: -1;
}

.meta-item.rating img {
    width: 16px;
    height: 16px;
}

/* Program Footer */
.program-footer {
    display: flex;
    gap: 32px;
}

.price-btn {
    flex: 1;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.price-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.price-btn:hover::before {
    left: 100%;
}

.price-btn:hover {
    background: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(19, 75, 112, 0.3);
}

.details-btn {
    flex: 1;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 12px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.details-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.5s ease, height 0.5s ease;
    z-index: -1;
}

.details-btn:hover::before {
    width: 400px;
    height: 400px;
}

.details-btn:hover {
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateX(-5px);
}

/* Footer (Same as before) */
.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: 24px;
    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);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.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 Design */
@media (max-width: 1200px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-description {
        font-size: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-hajj {
        height: 297px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 300px;
        background: var(--primary-color);
        flex-direction: column;
        padding: 120px 20px 40px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .cta-button {
        display: none;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .tabs-container {
        gap: 20px;
        padding: 0 20px;
    }
    
    .tab-btn {
        font-size: 18px;
        padding: 20px 30px;
    }
    
    .tab-content-title h2 {
        font-size: 24px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .program-image {
        height: 180px;
    }
    
    .program-title {
        font-size: 20px;
    }
    
    .program-description {
        font-size: 14px;
    }
}



.program-card{opacity:1 !important; transform:none !important;}

