/*
TemplateMo 595 3d coverflow
https://templatemo.com/tm-595-3d-coverflow
*/

@charset "utf-8";
/* CSS Document */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    position: relative;
    background: #000;
}

/* Arabic font support */
html[lang="ar"] body {
    font-family: 'Amiri', serif;
}

/* Sections */
.section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home {
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0f0f0f 100%);
}

#about {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 100%);
}

#contact {
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0f0f0f 100%);
}

#apply {
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0f0f0f 100%);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    height: 70px;
}

/* Language Toggle */
.language-toggle {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-option {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.lang-option.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.lang-option:hover {
    color: white;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-2px);
}

.logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    color: white;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.menu-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.menu-item:hover {
    color: white;
    transform: translateY(-2px);
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.menu-item:hover::after {
    width: 100%;
}

.menu-item.active {
    color: white;
}

.menu-item.active::after {
    width: 100%;
}

.menu-item.external::before {
    content: '↗';
    margin-right: 5px;
    font-size: 12px;
    opacity: 0.7;
}

/* RTL adjustments */
html[lang="ar"] .menu-item::after {
    left: unset;
    right: 0;
}

html[lang="ar"] .menu-item:hover::after {
    width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Home Section with Coverflow */
.coverflow-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.coverflow-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    position: relative;
}

.coverflow {
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
    height: 400px;
}

.coverflow-item {
    position: absolute;
    width: 300px;
    height: 300px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    user-select: none;
}

.coverflow-item .cover {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    background: #333;
}

.coverflow-item .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Reflection */
.coverflow-item .reflection {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transform: scaleY(-1);
    opacity: 0.2;
    filter: blur(2px);
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.8) 50%, 
        rgba(0, 0, 0, 1) 100%);
    overflow: hidden;
}

/* Active item (center) */
.coverflow-item.active {
    z-index: 100;
    transform: translateX(0) translateZ(0) rotateY(0deg);
}

.coverflow-item.active .cover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
}

/* Navigation */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 200;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.nav-button.prev {
    left: 50px;
}

.nav-button.next {
    right: 50px;
}

/* RTL adjustments for navigation buttons */
html[lang="ar"] .nav-button.prev {
    left: unset;
    right: 50px;
}

html[lang="ar"] .nav-button.next {
    right: unset;
    left: 50px;
}

/* Dots indicator */
.dots-container {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 200;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

/* Info display */
.info {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    z-index: 200;
}

html[lang="ar"] .info {
    text-align: center;
}

.info h2 {
    font-size: 32px;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeIn 0.6s forwards;
}

.info p {
    font-size: 16px;
    opacity: 0.7;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Play/Pause Button */
.play-pause-button {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 200;
}

.play-pause-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%) scale(1.1);
}

.play-pause-button .pause-icon {
    font-size: 16px;
    letter-spacing: 2px;
}

/* About Section */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: white;
}

.about-header {
    text-align: center;
    margin-bottom: 80px;
}

.about-header h2 {
    font-size: 48px;
    margin-top: 60px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.about-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-display {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-main {
    position: relative;
    width: 350px;
    height: 400px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.showcase-logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.showcase-logo svg {
    width: 100%;
    height: 100%;
}

.showcase-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-align: center;
}

.showcase-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.showcase-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.badge:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.badge:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Decorative corner elements */
.corner-decoration {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.corner-decoration.top-left {
    top: -20px;
    left: -20px;
    border-right: none;
    border-bottom: none;
    border-radius: 20px 0 0 0;
}

html[lang="ar"] .corner-decoration.top-left {
    left: unset;
    right: -20px;
    border-right: 2px solid rgba(102, 126, 234, 0.3);
    border-left: none;
    border-radius: 0 20px 0 0;
}

.corner-decoration.bottom-right {
    bottom: -20px;
    right: -20px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 20px 0;
}

html[lang="ar"] .corner-decoration.bottom-right {
    right: unset;
    left: -20px;
    border-left: 2px solid rgba(102, 126, 234, 0.3);
    border-right: none;
    border-radius: 0 0 0 20px;
}

.about-info {
    padding-left: 40px;
}

html[lang="ar"] .about-info {
    padding-left: 0;
    padding-right: 40px;
}

.about-info h3 {
    font-size: 36px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.about-info p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

html[lang="ar"] .feature-list li {
    flex-direction: row-reverse;
}

.feature-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

html[lang="ar"] .cta-button {
    flex-direction: row-reverse;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

.cta-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

html[lang="ar"] .cta-button svg {
    transform: rotate(180deg);
}

.cta-button:hover svg {
    transform: translateX(5px);
}

html[lang="ar"] .cta-button:hover svg {
    transform: translateX(-5px) rotate(180deg);
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* Contact Section */
.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: white;
}

.contact-header {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Apply Section */
.apply-content {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    color: white;
    box-sizing: border-box;
}

.apply-header {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 0 10px;
    max-width: 600px;
}

.apply-header h2 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.apply-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.apply-form-section {
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

html[lang="ar"] .apply-form-section {
    padding: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-section {
    padding-right: 40px;
}

html[lang="ar"] .contact-info-section {
    padding-right: 0;
    padding-left: 40px;
}

.contact-info-section h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: white;
}

.contact-info-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

html[lang="ar"] .contact-item {
    flex-direction: row-reverse;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

html[lang="ar"] .contact-item:hover {
    transform: translateX(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.social-links {
    margin-top: 40px;
}

.social-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.social-buttons {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.contact-form-section {
    padding-left: 40px;
}

html[lang="ar"] .contact-form-section {
    padding-left: 0;
    padding-right: 40px;
}

.contact-form,
.apply-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    background: rgba(170, 9, 9, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group option {
    background-color: #2c283e;
}

html[lang="ar"] .form-group input,
html[lang="ar"] .form-group textarea,
html[lang="ar"] .form-group select {
    text-align: right;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(218, 218, 226, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.5;
}

.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="rgba(255, 255, 255, 0.7)" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
}

html[lang="ar"] .form-group select {
    background-position: left 15px center;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* Smooth image loading */
.image-loading {
    background: linear-gradient(45deg, #333, #555);
    position: relative;
}

.image-loading::after {
    content: '📷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    opacity: 0.5;
}

/* Footer Styles */
.footer {
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-copyright a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #764ba2;
}

.footer-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    z-index: 999;
}

html[lang="ar"] .scroll-to-top {
    right: unset;
    left: 30px;
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .about-main {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-visual {
        height: 400px;
    }

    .about-info {
        padding-left: 0;
        text-align: center;
    }

    html[lang="ar"] .about-info {
        padding-right: 0;
    }

    .feature-list {
        text-align: left;
        max-width: 500px;
        margin: 0 auto 40px;
    }

    html[lang="ar"] .feature-list {
        text-align: right;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info-section {
        padding-right: 0;
    }

    html[lang="ar"] .contact-info-section {
        padding-left: 0;
    }

    .contact-form-section {
        padding-left: 0;
    }

    html[lang="ar"] .contact-form-section {
        padding-right: 0;
    }

    .apply-form-section {
        padding: 0;
        max-width: 95%;
    }

    html[lang="ar"] .apply-form-section {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .coverflow-item {
        width: 200px;
        height: 200px;
    }

    .coverflow {
        height: 300px;
    }

    .nav-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .nav-button.prev {
        left: 20px;
    }

    .nav-button.next {
        right: 20px;
    }

    html[lang="ar"] .nav-button.prev {
        right: 20px;
        left: unset;
    }

    html[lang="ar"] .nav-button.next {
        left: 20px;
        right: unset;
    }

    .info h2 {
        font-size: 24px;
    }

    .info p {
        font-size: 14px;
    }

    .play-pause-button {
        bottom: 100px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .play-pause-button .pause-icon {
        font-size: 14px;
    }

    .about-header h2 {
        font-size: 36px;
    }

    .about-header p {
        font-size: 16px;
    }

    .showcase-main {
        width: 300px;
        height: 350px;
        padding: 30px;
    }

    .showcase-title {
        font-size: 28px;
    }

    .showcase-subtitle {
        font-size: 14px;
    }

    .about-info h3 {
        font-size: 28px;
    }

    .feature-list li {
        font-size: 14px;
    }

    .stats-section {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .contact-header h2,
    .apply-header h2 {
        font-size: 36px;
    }

    .contact-header p,
    .apply-header p {
        font-size: 16px;
    }

    .contact-info-section h3 {
        font-size: 24px;
    }

    .contact-form,
    .apply-form {
        padding: 30px;
    }

    .submit-btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .apply-content {
        padding: 10px 5px;
        max-width: 95%;
    }

    .apply-header {
        padding: 0 5px;
        margin: 40px 0;
        max-width: 95%;
    }

    .apply-form-section {
        padding: 0;
        max-width: 95%;
    }

    html[lang="ar"] .apply-form-section {
        padding: 0;
    }
}

/* ======================================= */
/* ======================================= */
@media (max-width: 480px) {
    .header {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .language-toggle {
        gap: 5px;
    }

    .lang-option {
        font-size: 14px;
        padding: 6px 10px;
    }

    .coverflow-item {
        width: 150px;
        height: 150px;
    }

    .coverflow {
        height: 250px;
    }

    .nav-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .nav-button.prev {
        left: 10px;
    }

    .nav-button.next {
        right: 10px;
    }

    html[lang="ar"] .nav-button.prev {
        right: 10px;
        left: unset;
    }

    html[lang="ar"] .nav-button.next {
        left: 10px;
        right: unset;
    }

    .info {
        top: 100px;
    }

    .info h2 {
        font-size: 20px;
    }

    .info p {
        font-size: 12px;
        max-width: 95%;
        margin: 0 auto;
    }

    .play-pause-button {
        bottom: 80px;
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .dots-container {
        bottom: 40px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .about-content {
        padding: 20px 10px;
    }

    .about-header h2,
    .apply-header h2 {
        font-size: 28px;
    }

    .about-header p,
    .apply-header p {
        font-size: 14px;
    }

    .showcase-main {
        width: 250px;
        height: 300px;
        padding: 20px;
    }

    .showcase-logo {
        width: 100px;
        height: 100px;
    }

    .showcase-title {
        font-size: 24px;
    }

    .showcase-subtitle {
        font-size: 12px;
    }

    .about-info h3 {
        font-size: 24px;
    }

    .feature-list li {
        font-size: 12px;
    }

    .stats-section {
        padding: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .contact-content {
        padding: 20px 10px;
    }

    .contact-header h2 {
        font-size: 28px;
    }

    .contact-header p {
        font-size: 14px;
    }

    .contact-info-section h3 {
        font-size: 20px;
    }

    .contact-item {
        padding: 15px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-text h4 {
        font-size: 14px;
    }

    .contact-text p {
        font-size: 12px;
    }

    .contact-form,
    .apply-form {
        padding: 20px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .apply-content {
        padding: 10px 5px;
        max-width: 90%;
    }

    .apply-header {
        padding: 0 5px;
        margin: 40px 0;
        max-width: 95%;
    }

    .apply-form-section {
        padding: 0;
        max-width: 95%;
    }

    html[lang="ar"] .apply-form-section {
        padding: 0;
    }
}