/* Loading Animation - Black & White Theme */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.loading-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #111, #000);

    animation: zoomIn 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform-origin: center;
}

.loading-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.loading-logo {
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInZoomOut 1s 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.logo-zoom {
    width: 80%;
    height: 80%;
    object-fit: contain;
    filter: grayscale(100%) contrast(120%);
    opacity: 0.9;
}

@keyframes zoomIn {
    0% {
        transform: scale(1.2);
        opacity: 0.9;
    }
    60% {
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInZoomOut {
    0% {
        opacity: 0;
        transform: scale(1.3);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
    70% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

.loading-overlay.hidden {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #0a0a0a;
    --accent-color: #1a1a1a;
    --text-color: #2c2c2c;
    --text-light: #575757;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #dddddd;
    --hover-color: #333333;
    --gradient-1: linear-gradient(135deg, #000000 0%, #333333 100%);
    --gradient-2: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    --shadow: none;
    --shadow-hover: none;
    --shadow-large: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.068);
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    transition: all 0.4s ease;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
}



.header.scrolled .menu-toggle span {
    background: var(--primary-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease;
    position: relative;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-image {
    width: 160px;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Responsive Logo */
@media (max-width: 768px) {
    .logo-image {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        width: 100px;
    }
}


/* مخفي في البداية */
.fade-box {
    opacity: 0;
    transform: translateY(-20px);
    transition: 0.6s ease;
    pointer-events: none; /* عشان ميتضغطش وهو مخفي */
}

/* يظهر بعد الاسكرول */
.fade-box.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-menu {
    opacity: 0;
    display: flex;
    gap: 1.5rem;
    transition: opacity 0.4s ease;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 700;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-menu a i {
    font-size: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover i {
    transform: scale(1.15) rotate(5deg);
    color: var(--primary-color);
}

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

.nav-menu a.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-create {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.8rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}


.btn-create:hover::before {
    width: 300px;
    height: 300px;
}

.btn-create:hover {

    transform: translateY(-2px);

}

.menu-toggle {
    display: none;
    position: relative;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.menu-toggle span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background: var(--bg-white);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
}

.menu-toggle span:nth-child(1) {
    top: 16px;
    width: 12px;
}

.menu-toggle span:nth-child(2) {
    top: 21px;
    width: 20px;
}

.menu-toggle span:nth-child(3) {
    top: 26px;
    width: 12px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 8rem 0 6rem;
    margin-top: 0;
    background: #000000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-video-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video-background-wrapper .hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    filter: blur(8px) brightness(0.5) saturate(0.8);
    opacity: 0.75;
    transition: filter 0.8s ease, opacity 0.8s ease;
}

.hero-video-background-wrapper .hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-wrapper {
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: right;
    color: var(--bg-white);
    padding: 2rem 0;
    animation: fadeInUp 1.2s ease;
}

.hero-video-container {
    position: relative;
    z-index: 2;
    animation: fadeInLeft 1.2s ease 0.3s both;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-wrapper:hover .hero-video {
    transform: scale(1.02);
}


.hero-content-overlay {
    display: none;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 2rem;
    z-index: 4;
    border-radius: 0 0 25px 25px;
    text-align: center;
    color: var(--bg-white);
    margin-top: auto;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 3px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: pulsePlayBtn 2s infinite;
}

.video-play-btn::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: ripple 2s infinite;
}

.video-play-btn::after {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: ripple 2s infinite 0.5s;
}

@keyframes pulsePlayBtn {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(255, 255, 255, 0.4),
            0 20px 60px rgba(0, 0, 0, 0.5),
            inset 0 0 30px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow:
            0 0 0 20px rgba(255, 255, 255, 0),
            0 25px 70px rgba(0, 0, 0, 0.6),
            inset 0 0 40px rgba(255, 255, 255, 0.15);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.2);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
}

.video-play-btn:active {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn i {
    font-size: 2.5rem;
    color: var(--bg-white);
    margin-right: -8px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.video-play-btn:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
}

.video-play-btn.playing {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.8);
}

.video-play-btn.playing i::before {
    content: '\f04c';
}

/* Fullscreen Video Styles */
.hero-video-background-wrapper.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    animation: fadeInFullscreen 0.5s ease;
}

@keyframes fadeInFullscreen {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-video-background-wrapper.fullscreen .hero-video {
    filter: blur(0px) brightness(1) saturate(1);
    opacity: 1;
    transition: filter 0.8s ease, opacity 0.8s ease;
}

.hero-video-background-wrapper.fullscreen .hero-video-overlay {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-video-background-wrapper.fullscreen ~ .container .video-play-btn {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    transition: all 0.3s ease;
}

/* Fullscreen Close Button */
.hero-video-background-wrapper.fullscreen::after {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
}

.hero-video-background-wrapper.fullscreen::after:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(90deg);
    border-color: rgba(255, 255, 255, 0.5);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg-white);
    animation: fadeInDown 1s ease 0.3s both;
}

.hero-badge i {
    color: #ffd700;
    animation: pulse 2s infinite;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--bg-white);
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-title .title-line {
    display: block;
    margin-bottom: 0.3rem;
}

.hero-title .title-highlight {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    font-weight: 400;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.9s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--bg-white);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.hero-actions {

    align-items: center;
    gap: 1.5rem;
    animation: fadeInUp 1s ease 1.1s both;
}

.hero-links {
    display: flex;
    justify-content: center;
}


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

.mizid-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--bg-white);
    text-decoration: none;
    font-size: 1.15rem;
    padding: 1.1rem 2.2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.mizid-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.mizid-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.mizid-link:hover::before {
    left: 100%;
}

.mizid-link:hover::after {
    opacity: 1;
}

.mizid-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.mizid-link i {
    transition: transform 0.3s ease;
}

.mizid-link:hover i {
    transform: translateX(-3px) rotate(-15deg);
}

.btn-primary {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 1rem 3rem !important;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.btn-primary::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.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary-color);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.btn-primary i {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover i {
    transform: translateX(-8px) scale(1.1);
}

.btn-large {
    padding: 0.7rem 3rem;
    font-size: 1.2rem;
}

/* Section Header */
.section-header {
    border-right: 3px solid var(--primary-color);
    padding-right: 15px;
    display: grid;
    justify-content: start;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}



.section-header h2 i {
    font-size: 2rem;
    color: var(--primary-color);
}

.section-header p {
    margin: 0  ;
    font-size: 1rem;
    color: var(--text-light);
}

/* Discover More Link */
.discover-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 0 auto;
    padding: 0.8rem 1.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bg-white);
    background: transparent;
    border: none;
    border-radius: 40px;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    width: fit-content;
}



.discover-more:hover {
    transform: translateX(-50%) translateY(-6px) scale(1.02);
}

.discover-more:active {
    transform: translateX(-50%) translateY(-3px) scale(0.995);
}

.discover-more .arrow-icon {
    width: 28px;
    height: 28px;
    display: block;
    margin-top: 0.2rem;
    transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), filter 0.45s ease;
    color: white;
    stroke: currentColor;
    filter: drop-shadow(0 6px 18px rgba(255, 255, 255, 0.18));
}

.discover-more:hover .arrow-icon {
    transform: translateY(6px);
    animation: bounce-arrow 1s infinite;
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateY(4px); }
    50% { transform: translateY(10px); }
}

@keyframes glowPulse {
    0% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.04); }
    100% { opacity: 0.6; transform: scale(1); }
}

/* From 1024px and below: place the link under the hero content and at the end of the section */
@media (max-width: 1024px) {
    .discover-more {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: 2rem auto 0;
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
        z-index: 4;
    }

    .discover-more::after {
        inset: -6px;
        filter: blur(6px);
        background: radial-gradient(circle at center, rgba(0, 150, 255, 0.12), rgba(0, 150, 255, 0.03) 40%, transparent 60%);
        animation-duration: 3s;
    }

    .discover-more .arrow-icon {
        width: 22px;
        height: 22px;
        margin-top: 0.4rem;
    }
}

/* Portfolio Section */
.portfolio {
    padding: 2rem 0 2rem;
    background: var(--bg-white);
}

.portfolio-swiper {
    width: 100%;
    margin-top: 3rem;
    padding-bottom: 50px;
    padding-top: 20px;

}

.portfolio-swiper .swiper-slide {
    display: flex;
    justify-content: center;
}

.portfolio-card {
    background: var(--bg-white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--border-color);
    max-width: 320px;
    width: 80%;
}

.portfolio-card:hover {
    transform: translateY(-10px);
}

.portfolio-swiper .swiper-slide-active .portfolio-card {
    transform: translateY(-10px) scale(1.05);
    z-index: 10;
}

.portfolio-swiper .swiper-slide-active .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    text-decoration: none;
    display: block;
}

.portfolio-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
    border-radius: 20px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-link:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem 1.5rem 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--bg-white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.portfolio-link {
    background: var(--bg-white);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--bg-white);
}

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

.portfolio-link:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.portfolio-link:hover i {
    transform: translateX(3px);
}

/* Swiper Custom Styles */
.portfolio-swiper .swiper-pagination {
    bottom: 20px !important;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.portfolio-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(107, 107, 107, 0.795) !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-swiper .swiper-pagination-bullet-active {
    width: 40px;
    height: 10px;
    background: var(--primary-color)  !important;
    border-radius: 6px;
    animation: progressFill 4s linear infinite;
}

@keyframes progressFill {
    0% { width: 10px; }
    100% { width: 40px; }
}

.portfolio-swiper .swiper-button-next,
.portfolio-swiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: 2px solid var(--border-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.portfolio-swiper .swiper-button-next:hover,
.portfolio-swiper .swiper-button-prev:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.portfolio-swiper .swiper-button-next::after,
.portfolio-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.portfolio-swiper .swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.portfolio-info {
    padding: 2rem;
    text-align: center;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.portfolio-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.portfolio-specialty {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.faq-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    max-width: 1200px;
}

.faq-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-table tr:last-child {
    border-bottom: none;
}

.faq-cell {
    padding: 1.5rem;
    vertical-align: top;
    width: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-cell .faq-cell-inner {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    width: 100%;
}

.faq-cell:first-child {
    border-top: unset;
    border-right: unset;
}

.faq-cell:last-child {
    border-top: unset;
    border-left:unset;
}

.faq-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #333);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-cell:hover {
    background: rgba(0, 0, 0, 0.02);
    transform: translateY(-2px);
}

.faq-cell:hover::before {
    opacity: 1;
}

.faq-icon {

    width: 90px;
    height: 90px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    flex-shrink: 0;
    transition: all 0.3s ease;

}

.faq-icon i {
    font-size: 2.5rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.faq-cell:hover .faq-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faq-cell:hover .faq-icon i {
    transform: rotate(10deg);
}

.faq-content {
    flex: 1;
    text-align: right;
    padding: 0;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
    position: relative;
    display: inline-block;
}



.faq-answer {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.4;
    font-weight: 400;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq {
        padding: 3rem 0;
    }

    .faq-table {
        display: block;
        max-width: 100%;
    }

    .faq-table tr {
        display: block;
        border-bottom: none;
        margin-bottom: 1.5rem;
    }

    .faq-table tr:last-child {
        margin-bottom: 0;
    }

    .faq-cell {
        display: block;
        width: 100%;
        padding: 1.5rem;
        border-radius: 15px;
        border: none !important;
        margin-bottom: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .faq-cell:last-child {
        margin-bottom: 0;
    }

    .faq-cell:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }

    .faq-cell .faq-cell-inner {
        display: flex;
        gap: 1rem;
    }

    .faq-icon {
        width: 80px;
        height: 80px;
        min-width: 50px;
        border-radius: 50px;
    }

    .faq-icon i {
        font-size: 2.2rem;
    }

    .faq-content {
        padding: 0;
    }

    .faq-question {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .faq-answer {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .faq {
        padding: 2rem 0;
    }

    .faq-table tr {
        margin-bottom: 1rem;
    }

    .faq-cell {
        padding: 1.2rem;
        border-radius: 12px;
        margin-bottom: 1rem;
        border: none !important;
    }

    .faq-cell .faq-cell-inner {

        gap: 0.8rem;
        align-items: center;
    }

    .faq-icon {
        width: 80px;
        height: 80x;
        min-width: unset;
        border-radius: 50px;
    }

    .faq-icon i {
        font-size: 2.1rem;
    }


    .faq-question {
        font-size: 1.1rem;

    }

    .faq-answer {
        font-size: 0.9rem;

    }
}

.feature-item {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}


.feature-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.feature-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}



.feature-item:hover::after {
    width: 300px;
    height: 300px;
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--bg-white);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 2;
}



.feature-item:hover .feature-icon {
    transform: rotate(360deg) scale(1.15);
}



@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Packages Section */
.packages {
    padding: 6rem 0;
    background: var(--bg-white);
}

.packages-container {
    display: flex;
    justify-content:center ;
    gap: 2rem;
    margin-top: 3rem;
}



.package-image {
    width: 50%;
    min-width: 50%;
    padding: 3rem 3rem 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.package-img {
    width: 110%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.4s ease;
}

.package-img:hover {
    transform: scale(1.05);
}



.package-details {
    width: 50%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.package-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.package-header::before {
    content: '';
    position: absolute;
    right: 135px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 40px;
    background: #bfbfbf8c;

}

.package-logo {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.package-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.package-info {
    text-align: center;
    margin-top: 1rem;
}

.package-description {
    margin: 1rem 0;
}

.package-description p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.package-highlights {
    display: flex;
     flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.highlight-item {
    width:80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.highlight-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.highlight-item span {
    font-size: 0.8rem;
    color: var(--text-color);
    font-weight: 500;
}

.package-features {
    margin: 1.5rem 0;
}

.package-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.package-features i {
    color: #27ae60;
    font-size: 1rem;
    flex-shrink: 0;
}

.package-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.package-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
}

.package-price .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.package-price .currency {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Responsive for Packages */
@media (max-width: 768px) {
    .package-card {
        flex-direction: column !important;
        height: auto;
        min-height: 650px;
    }

    .package-image {
        width: 100%;
        min-width: unset;

        padding: 1rem;
        border-radius: 20px 20px 0 0;
        order: 1;
    }

    .package-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .package-details {
        width: 100%;
        padding: 2rem;
        text-align: center;
        order: 1;
    }

    .package-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .package-price .price {
        font-size: 2.2rem;
    }

    .package-details h3 {
        font-size: 1.5rem;
    }

    .package-description p {
        font-size: 0.85rem;
    }

    .package-highlights {
        gap: 1rem;
        margin: 1rem 0;
    }

    .highlight-item i {
        font-size: 1rem;
    }

    .highlight-item span {
        font-size: 0.75rem;
    }

    .package-features ul {
        text-align: center;
    }

    .package-features li {
        justify-content: center;
        font-size: 0.85rem;
    }

    .package-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

.package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), #666);
    color: var(--bg-white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    animation: pulse-badge 2s infinite;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.price-section {
    text-align: center;
}


.package-details h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1.2;
}

.package-period {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
    margin-bottom: 1.5rem;
}



.packages-cta {
    text-align: center;
    margin-top: 3rem;
}

.package-features i {
    color: #27ae60;
    font-size: 1.2rem;
}

.packages-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Create Section */
.create {
    padding: 6rem 0;
    background: var(--bg-light);
}

.create-wrapper {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.create-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1rex;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.creating-form  {

    margin: 0 auto;
    max-width: 700px;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.form-group {
    width: 300px;
    margin-bottom: 0cqw;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px ;
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
}


.form-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.file-input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
    cursor: pointer;
}

.file-input:hover {
    border-color: var(--primary-color);
    background: var(--bg-white);
}

.file-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.btn-submit {
    width: 90%;
    margin-top: 1rem;
}

.create-preview {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.header-form{
        border-bottom: 1px solid var(--border-color);
    text-align: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.create-preview h3 {
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.preview-card {
    border: 1px solid var(--border-color);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.preview-image {
    width: 200px;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
    border-radius: 20px;
    margin-top: 2rem;
}

.preview-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.preview-content {
    padding: 2rem;
    text-align: center;
}

.preview-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.preview-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.preview-specialty {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.preview-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}



.social-link i {
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.social-link:hover {

    transform: translateY(-5px) scale(1.1);

}



.social-link.hidden {
    display: none;
}

.btn-book {
    display: inline-block;
    width: 100%;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 1rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-white);
}

.contact-simple {
    max-width: 600px;
    margin: 3rem auto 0;
    text-align: center;
}

.whatsapp-container {
    margin-bottom: 2rem;
}

.input-with-embedded-btn {
    position: relative;
    display: flex;
}

.input-with-embedded-btn input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    background: var(--bg-white);
    padding-right: 3.5rem;
}

.input-with-embedded-btn input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp-send {
    font-weight: 500 !important;
    gap: 5px;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #25D366;
    color: var(--bg-white);
    border: none;
    width:100px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-whatsapp-send i {
    font-weight: 500;

}
.btn-whatsapp-send:hover {
    background: #128C7E;
    transform: translateY(-50%) scale(1.05);
}



.social-links-simple {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link i {
    font-size: 1.3rem;
    color: var(--text-light);
}


/* Responsive Design */
@media (max-width: 768px) {
    .input-with-embedded-btn input {
        padding: 0.8rem 3rem 0.8rem 1rem;
        font-size: 0.95rem;
    }

    .btn-whatsapp-send {
        width: 90px;
        height: 40px;
        left: 8px;
    }

    .social-links-simple {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link i {
        font-size: 1.1rem;
    }
}
.btn-book:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: var(--bg-white);
    padding: 5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-newsletter {
    text-align: center;
    padding-bottom: 2rem;

}

.footer-newsletter h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    text-align: center;
    flex: 1;
    padding: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
}

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

.newsletter-form input:focus {
    outline: none;
    border-color: var(--bg-white);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 0.7rem 2rem;
    background: var(--bg-white);
    color: var(--primary-color);
    border: none;
    border-radius: 15px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
}

.footer-copyright {
    text-align: center;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 150px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-newsletter {
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-copyright {
        padding-bottom: 2rem;
        gap: 0.5rem;
    }
}
/* ================================
   Floating Buttons (Desktop)
=================================== */
.floating-buttons {
    position: fixed;

    left: 50%;
    transform: translate(-50%, 50%) translateY(20px);
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    gap: 10px;
    background: var(--bg-white);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 60px;
    padding: 8px 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.floating-buttons.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 50%) translateY(0);
}

.floating-btn {
    position: static;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    background: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: none;
    overflow: hidden;
}



.floating-btn:hover::before {
    opacity: 1;
}

.floating-btn:hover {
    transform: scale(1.05);
}

.floating-btn i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.floating-btn:hover i {
    transform: scale(1.05);
}

/* Scroll to Top Button */
.btn-scroll-top {
    background: #25D366;
}

.btn-scroll-top:hover {
    background: #128C7E;
}

/* WhatsApp Button */
.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
}


    .floating-buttons {
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        background: var(--bg-white);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-radius: 60px;
        padding: 5px 5px;
        border: 1px solid var(--border-color);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        animation: floatingBar 0.6s ease-out;
    }

    @keyframes floatingBar {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
    }

    .floating-btn {
        position: static;
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        color: var(--bg-white);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        border: none;
        border-radius: 50%;
        transform: none;
        overflow: hidden;
    }


    .floating-btn:hover::before {
        opacity: 1;
    }

    /* Scroll top inside bar */
    .btn-scroll-top {
        background: var(--primary-color);
    }

    /* WhatsApp Button — stretched */
    .btn-create-floating {
        width: 140px !important;
        border-radius: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 1rem;
        font-weight: 500;
        color: var(--bg-white);
        position: relative;
    }




/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content-overlay {
        display: block;
        padding: 2rem 1.5rem;
        order: 2;
        position: relative;
        height: auto;
        min-height: auto;
        margin-top: auto;
        bottom: auto;
        flex-shrink: 0;
    }

    .hero-content-overlay .hero-badge {
        margin-bottom: 1rem;
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }

    .hero-content-overlay .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content-overlay .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero-content-overlay .hero-actions {
        gap: 1rem;
    }

    .hero-content-overlay .btn-large {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

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

    .hero-content-overlay .hero-description {
        font-size: 0.9rem;
    }}

@media (max-width: 768px) {
    .header-content {
        padding: 15px 20px;
    }

    .header-actions .btn-create {
        display: none;
    }

    .nav-menu {
        gap: 10px;
        border-radius: 20px;
        position: fixed;
        top: 95px;
        right: -100%;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 2rem 2rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
        transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0px;
        opacity: 1;
    }

    .nav-menu:not(.active) {
        right: -100%;
        opacity: 0;
    }

    .nav-menu a {
        justify-content: center;
        padding: 0.5rem 1.5rem;
        border-radius: 15px;
        margin-bottom: 0.5rem;
        font-size: 1rem;
        font-weight: 600;
        background: rgba(0, 0, 0, 0.02);
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background: var(--primary-color);
        color: var(--bg-white);
        transform: translateX(-10px);
    }
    .nav-menu a i :hover {
        color: var(--bg-white);
    }
    .nav-menu .btn-create-mobile {
        background: var(--primary-color);
        color: var(--bg-white) !important;
        padding: 0.5rem 2rem;
        border-radius:15px;
        text-align: center;
        margin-top: 0rem;
        display: block;
        text-decoration: none;
        font-weight: 700;
        transition: all 0.3s ease;
        border: 2px solid var(--primary-color);
    }

    .nav-menu .btn-create-mobile:hover {
        background: var(--bg-white);
        color: var(--primary-color);
        transform: none;
    }

    .nav-menu a::after {
        display: none;
    }

    .btn-create-mobile {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateX(-50%) rotate(45deg);
        top: 21px;
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateX(-50%) rotate(-45deg);
        top: 21px;
    }

    .menu-toggle {
        z-index: 1001;
        position: relative;
    }

    .hero {
        padding: 0;
        min-height: 100vh;
        justify-content: space-between;
    }

    .hero .container {
        padding: 0;
        max-width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
        margin: 0;
        padding: 0 0rem;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hero-content {
        display: none;
    }

    .hero-video-container {
        order: 1;
        width: 100%;
        margin-top: 20px;
        flex-grow: 1;
        min-height: 50vh;
        height: auto;
    }

    .hero-video-background-wrapper .hero-video {
        filter: blur(0px) brightness(0.3) saturate(0.7);
        opacity: 0.9;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .mizid-link {
        font-size: 1rem;
        padding: 1rem 1.8rem;
    }

    .btn-large {
        padding: 0.5rem 2rem;
        font-size: 1rem;
    }

    .discover-more {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        bottom: 5%;
    }

    .discover-more .arrow-icon {
        width: 20px;
        height: 20px;
    }

    .profiles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-image {
        height: 300px;
    }

    .floating-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .floating-btn-top {

        left: 20px;
    }

    .floating-btn-whatsapp {

        right: 20px;
    }

    .create-wrapper {
        justify-content: center;
        grid-template-columns: 1fr;
    }

    .create-preview {
        position: relative;
        top: 0;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .package-card.featured {
        transform: scale(1);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
      /* flex-direction: column;*/
    }
}

@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 0rem;
    }

    .hero-content {
        text-align: center;
        order: 1;
        display: none;
    }

    .hero-video-container {
        order: 1;
    }

    .hero-video-wrapper {
        height: 400px;
    }

    .hero-content-overlay {
        display: block;
        padding: 2rem 1.5rem;
        order: 2;
        position: relative;
        height: auto;
        min-height: auto;
        margin-top: auto;
        bottom: auto;
        flex-shrink: 0;
    }

    .hero-content-overlay .hero-badge {
        margin-bottom: 1rem;
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }

    .hero-content-overlay .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content-overlay .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero-content-overlay .hero-actions {
        gap: 1rem;
    }

    .hero-content-overlay .btn-large {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

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

    .btn-large {
        padding: 0.5rem 2rem;
        font-size: 1rem;
    }
}
/* About Us Section */
.about-us {
    padding: 3rem 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-item {

    border-radius: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 350px;
    display: flex;
    flex-direction: column;
}



.about-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.about-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}


.about-item:hover::after {
    width: 300px;
    height: 300px;
}

.about-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-item:hover .about-image img {
    transform: scale(1.1);
}

.about-item h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.about-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.about-details p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.9rem;
    margin: 0;
}

.about-item:hover .about-details {
    max-height: 150px;
    padding-bottom: 1rem;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: modalFadeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal-content {
    position: relative;
    margin: 5% auto;
    display: block;
    width: 90%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

#modalVideo {
    width: 100%;
    height: 400px;
    display: block;
    border: none;
    border-radius: 0;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive for About Us */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-item {
        padding: 2rem 1.5rem;
    }

    .about-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .about-item h3 {
        font-size: 1.3rem;
    }

    .video-modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .video-modal-close {
        top: -40px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .about-us {
        padding: 4rem 0;
    }

    .about-item {
        padding: 1.5rem 1rem;
    }

    .about-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Desktop nav-menu hide/show on scroll */
    @media (min-width: 769px) {
        .nav-menu {
            opacity: 0;
            pointer-events: none;
        }

        .header.scrolled .nav-menu {
            opacity: 1;
            pointer-events: auto;
        }
    }

    .video-modal-content {
        width: 98%;
        margin: 15% auto;
    }

    .video-modal-close {
        width: 35px;
        height: 35px;
        font-size: 16px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 320px) {
    .video-modal-content {
        width: 100%;
        margin: 20% auto;
        border-radius: 10px;
    }

    .video-modal-close {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* ====================================
   Updated Package Cards Styles
   Horizontal Layout with Two Columns
==================================== */

/* Override existing package card styles for new horizontal layout */
.package-card {
    background: rgb(238 238 238/1) ;
    border-radius:1.5rem;
    padding: 0 20px;
    margin: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    text-align: left;
}



.package-card:hover {
    transform: translateY(-10px) scale(1.12);
    box-shadow: var(--shadow-large);

}

.package-card:hover::after {
    opacity: 1;
}

.package-card.featured {

    transform: scale(1.05);
    height: 150px;
}

.package-card.featured:hover {
    transform: translateY(-10px) scale(1.17);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Price Column - Larger column (2/3 width) */
.package-price-column {
    width: 40%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #333 100%);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.price-section {
    text-align: center;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 0.8rem;
}

.package-price .price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--bg-white);
}

.package-price .currency {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Removed old package-period styling from price column */

/* Details Column - Smaller column (1/3 width) */
.package-details-column {
    width:60%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.package-details-column h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.package-details-column .package-period {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

.package-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: right;
}

.feature-item {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

/* Hide old image styles for new layout */


/* Responsive adjustments for new layout */
@media (max-width: 1024px) {

    .package-card.featured {
        height: 180px;
    }

    .package-price-column {
        width: 40%;
        padding: 1.5rem;
    }

    .package-details-column {
        width: 60%;
        padding: 1.5rem;
    }

    .package-price .price {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .package-card {
       max-width: 400px;
        height: auto;
        min-height: 180px;
    }

    .package-card.featured {
        height: auto;
        min-height: 180px;
    }

    .package-price-column {
        width: 60%;
        padding: 2rem;
        min-height: 100px;
    }

    .package-details-column {
        width: 100%;
        padding: 1.5rem;
    }

    .package-price .price {
        font-size: 2.5rem;
    }

    .package-details-column h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .package-details-column .package-period {
        font-size: 0.9rem;
    }
        .package-image {
        padding: 0 1rem;

    }

}

@media (max-width: 480px) {
    .package-card {
        flex-direction: column;

    }

    .package-card.featured {
        min-height: 450px;
    }

    .package-image {


        order: 2;
    }

    .package-img {

        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .package-details {
        padding: 1.5rem;
        order: 2;
    }

    .package-price .price {
        font-size: 2rem;
    }

    .package-details h3 {
        font-size: 1.2rem;
    }

    .package-period {
        font-size: 1rem;
    }

    .package-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .package-header {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .package-header::before {
        right: 88px;
        height: 30px;
    }

    .package-logo {
        width: 80px;
        height: 60px;
    }
}

/* Modern Loader Animation */
.modern-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.loader-screen {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: screenReveal 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.loader-logo {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.8);
    animation: logoReveal 1.5s 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* No glow on the logo */
    filter: none;
}

.loader-progress {
    /* Put the bar directly under the logo with balanced spacing */
    position: relative;
    margin-top: 0px;
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.5s 0.5s forwards;
}

.loader-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    animation: progressLoad 1.5s 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes screenReveal {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
    70% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.7);
        /* No blur or glow */
    }
    100% {
        opacity: 1;
        transform: scale(1);
        /* Keep logo clean without effects */
    }
}

@keyframes progressLoad {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Modern Loading Screen Styles */
.loading-screen {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    animation: screenFadeIn 0.8s ease;
}

.loading-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    animation: contentSlideIn 1s ease 0.3s both;
}

.loading-logo {
    margin-bottom: 2rem;
    animation: logoFloat 3s ease-in-out infinite;
}

.loading-logo-image {
    width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.loading-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.loading-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.spinner-ring {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid var(--bg-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-ring:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-progress {
    width: 300px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bg-white) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: progressShimmer 1.5s infinite;
}

@keyframes progressShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    animation: overlayPulse 2s ease-in-out infinite alternate;
}

@keyframes screenFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

@keyframes contentSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes logoGlow {
    from { filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)); }
    to { filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)); }
}

@keyframes overlayPulse {
    from { opacity: 0.3; }
    to { opacity: 0.7; }
}

/* Disappearing animation */
.loading-screen.disappear {
    animation: screenDisappear 1s ease forwards;
}

@keyframes screenDisappear {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* Responsive Loading Screen */
@media (max-width: 768px) {
    .loading-content {
        padding: 0 1rem;
    }

    .loading-logo-image {
        width: 100px;
    }

    .loading-text h2 {
        font-size: 1.5rem;
    }

    .loading-text p {
        font-size: 1rem;
    }

    .loading-progress {
        width: 250px;
    }

    .spinner-ring {
        width: 16px;
        height: 16px;
    }
}




