/* 1. Color Variables - Based on Logo Identity */
:root {
    --primary-color: #2196F3; /* Blue from logo */
    --primary-dark: #1976D2;
    --primary-light: #42A5F5;
    --secondary-color: #1a1a1a;
    --dark-bg: #0d0d0d;
    --dark-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #333333;
}

/* 2. General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Arial', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 3. Navigation Bar */
.navbar {
    background-color: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

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

/* 4. Custom Buttons */
.custom-btn-primary {
    background-color: var(--primary-color) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.custom-btn-primary:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
    color: #ffffff !important;
}

.custom-btn-outline {
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.custom-btn-outline:hover {
    background-color: #ffffff !important;
    color: var(--dark-bg) !important;
    transform: translateY(-2px);
}

/* 5. Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    position: relative;
    padding-top: 100px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
}

/* Responsive video sizing */
@media (min-aspect-ratio: 16/9) {
    .hero-video {
        width: 100vw;
        height: 56.25vw; /* 16:9 aspect ratio */
    }
}

@media (max-aspect-ratio: 16/9) {
    .hero-video {
        width: 177.78vh; /* 16:9 aspect ratio */
        height: 100vh;
    }
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(33, 150, 243, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    margin-top: 40px;
}

/* 6. Discover Section */
.discover-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.content-tabs {
    margin-bottom: 40px;
}

.tabs-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--dark-card);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.content-card {
    background-color: var(--dark-card);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.content-image-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.content-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.content-image-placeholder::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.content-card-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.content-card-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.packages-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.package-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
    font-size: 1rem;
}

.package-item i {
    color: var(--primary-color);
    font-size: 18px;
}

/* 7. Feature Sections */
.feature-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    z-index: 1;
}

.feature-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(33, 150, 243, 0.15) 0%, transparent 60%);
}

.feature-bg-2::before {
    background: radial-gradient(circle at 70% 50%, rgba(33, 150, 243, 0.2) 0%, transparent 60%);
}

.feature-bg-3::before {
    background: radial-gradient(circle at 70% 50%, rgba(33, 150, 243, 0.15) 0%, transparent 60%);
}

.feature-bg-4::before {
    background: radial-gradient(circle at 70% 50%, rgba(33, 150, 243, 0.2) 0%, transparent 60%);
}

.feature-section .container {
    position: relative;
    z-index: 2;
}

.feature-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 25px;
}

.feature-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.feature-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 2;
    padding-right: 25px;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* 8. Why Section */
.why-section {
    background-color: var(--dark-bg);
    padding: 100px 0;
}

.why-card {
    background-color: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.2);
    border-color: var(--primary-color);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.why-icon i {
    font-size: 35px;
    color: var(--primary-color);
}

.why-icon-orange {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.why-icon-orange i {
    color: #ffffff;
}

/* Tab Content Visibility */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.why-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.why-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.why-text strong {
    color: var(--primary-color);
}

/* 9. Pricing Section */
.pricing-section {
    background-color: var(--dark-bg);
    padding: 100px 0;
}

.pricing-card {
    background-color: var(--dark-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    overflow: visible;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.3);
    border-color: var(--primary-color);
}

.pricing-card-featured {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2);
}

.pricing-badge {
    position: absolute;
    top: 15px;
    left: -35px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #ffffff;
    padding: 8px 40px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(238, 90, 111, 0.4);
    transform: rotate(-45deg);
    transform-origin: center;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.pricing-badge::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #c44569;
}

.pricing-badge::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #c44569;
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 25px;
    text-align: center;
}

.pricing-header h4 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.3rem;
}

.pricing-body {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 30px;
}

.pricing-price small {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.pricing-features li {
    color: var(--text-secondary);
    font-size: 1rem;
    padding: 12px 0;
    padding-right: 30px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-size: 18px;
}

.pricing-body .btn,
.pricing-body a.btn {
    margin-top: auto;
}

/* 10. FAQ Section */
.faq-section {
    background-color: var(--dark-bg);
    padding: 100px 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    background-color: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 20px 25px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: right;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(33, 150, 243, 0.1);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px 25px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* 11. Footer */
.footer {
    background-color: var(--dark-bg);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.footer-links li i {
    color: var(--primary-color);
    margin-left: 8px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* 12. Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* 13. Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 1.8rem;
    }
    
    .content-card {
        padding: 25px;
    }
    
    .content-image-placeholder {
        height: 250px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* 14. Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* 15. Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
