/* CSS Variables */
:root {
    --violet-50: #f5f3ff;
    --violet-100: #ede9fe;
    --violet-200: #ddd6fe;
    --violet-300: #c4b5fd;
    --violet-400: #a78bfa;
    --violet-500: #857be0;
    --violet-600: #857be0;
    --violet-700: #3f2f68;
    --violet-800: #3f2f68;
    --violet-900: #3f2f68;
    --yellow-400: #f75459;
    --yellow-500: #f7cb54;
    --yellow-50: #fefce8;
    --yellow-100: #fef3c7;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: white;
    color: var(--violet-600);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--gray-200);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 60px;
    width: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.school-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--violet-600);
}

.nav-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--violet-800);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: var(--violet-100);
    color: var(--violet-900);
}

.cta-button {
    background: var(--yellow-400);
    color: var(--gray-900);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--yellow-500);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 0;
    background: var(--violet-100);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    z-index: 10;
}

.hero-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-text {
    text-align: center;
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--violet-600);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background: var(--violet-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(124, 58, 237, 0.3);
}

/* Image Slider */
.slider-container {
    position: relative;
    width: 100vw;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.slider {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background: var(--violet-500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.slide.active {
    opacity: 1;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    align-items: center;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: white;
}

/* Founders Discount Section */
.founders-discount {
    background: linear-gradient(135deg, var(--violet-600), var(--violet-700));
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.discount-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.discount-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.discount-percentage {
    font-size: 4rem;
    font-weight: 800;
    color: var(--yellow-400);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.discount-text {
    text-align: right;
}

.discount-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.discount-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--violet-800);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

.feature-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--violet-300);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    border: 2px solid var(--gray-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--violet-800);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Vision & Mission Section */
.vision-mission-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.vm-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vm-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.vision-icon {
    background: linear-gradient(135deg, var(--violet-500), var(--violet-600));
}

.mission-icon {
    background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500));
    color: var(--gray-800);
}

.vm-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--violet-800);
    margin-bottom: 1.5rem;
}

.vm-card p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Virtual Tour Section */
.virtual-tour {
    padding: 4rem 0;
    background: var(--gray-50);
}

.campus-gallery {
    margin-top: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
}

/* Fees Section */
.fees {
    padding: 50px 0 80px 0;
    background: var(--gray-50);
    text-align: center;
}

.fees .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.fees-table-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.fees-table-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.15);
    overflow: hidden;
    margin: 50px auto 30px auto;
    max-width: 800px;
    width: 100%;
    border: 1px solid rgba(124, 58, 237, 0.1);
    display: block;
}

.fees-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.fees-table thead {
    background: var(--violet-600);
    color: white;
}

.fees-table th {
    padding: 25px 15px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.fees-table td {
    padding: 25px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
    vertical-align: middle;
}

.fees-table tbody tr:hover {
    background: rgba(124, 58, 237, 0.05);
}

.fees-table tbody tr:last-child td {
    border-bottom: none;
}

.stage-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--violet-800);
    margin-bottom: 5px;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-800);
}

.discount-price {
    color: var(--violet-600);
    position: relative;
}

.fees-notes {
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.note-item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-right: 4px solid var(--violet-600);
}

.note-item p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.6;
    text-align: right;
}

/* Registration Section */
.registration {
    background: linear-gradient(135deg, var(--violet-600), var(--violet-700));
    color: white;
    padding: 4rem 0;
}

.registration-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.registration .section-title {
    color: white;
    margin-bottom: 1rem;
}

.registration .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.registration form {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    direction: rtl;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow-400);
    background: rgba(255, 255, 255, 0.2);
}

.form-group select option {
    background: var(--violet-700);
    color: white;
}

.submit-btn {
    background: var(--yellow-400);
    color: var(--gray-900);
    padding: 1rem 3rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--yellow-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: white;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.map-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--violet-800);
    margin-bottom: 1rem;
}

.map-header p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.map-embed {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: right;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--yellow-400);
}

.footer-section p {
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--yellow-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--yellow-500);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-400);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .school-name {
        font-size: 1.5rem;
        margin-top: 0.5rem;
    }

    .logo {
        max-width: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .slider {
        height: 250px;
    }

    .discount-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
    }

    .discount-text {
        text-align: center;
    }

    .discount-text h2 {
        font-size: 1.8rem;
    }

    .discount-percentage {
        font-size: 2.5rem;
    }

    .vm-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vm-card {
        padding: 2rem 1.5rem;
    }

    .vm-card h3 {
        font-size: 1.6rem;
    }

    .vm-card p {
        font-size: 1rem;
        text-align: center;
    }

    .fees-table th,
    .fees-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }

    .stage-info h4 {
        font-size: 1.1rem;
    }

    .price {
        font-size: 1.1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .footer-info {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mt-2 {
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
.question-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3498db;
    color: white;
    font-weight: bold;
    right: 15px;
    flex-shrink: 0;
    margin-left: 10px;
}


.question-radio {
    margin-right: 10px;
    cursor: pointer;
}

.question-radio-option {
    font-weight: bold;
    margin-left: 10px;
    width: 20px;
}

.question-card {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: 12px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    margin-bottom: 1rem;
}

.question-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--violet-300);
}
