* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    max-width:2100px;
}

.nav-container {
    max-width: 2100px; 
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #2c5aa0;
}

.nav-logo i {
    font-size: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* Added standard property */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}


/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.about-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 35px;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.about-card p {
    color: #666;
    line-height: 1.8;
}

/* Course Section */
.course {
    padding: 100px 0;
    background: white;
}

.course-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.pdf-viewer {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.pdf-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 18px;
}

.pdf-download {
    margin-left: auto;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pdf-download:hover {
    transform: scale(1.1);
}

.course-highlights {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 20px;
    height: fit-content;
}

.course-highlights h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.highlight-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.highlight-item i {
    color: #28a745;
    font-size: 20px;
}

.highlight-item span {
    font-weight: 500;
    color: #333;
}

/* Contact Section */

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: #f8f9fa;
     font-weight: bold;
}

.faq-content {
    max-width: 1000px;
    margin: 0 auto;
    font-weight: bold;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    font-size:20px;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font: size 30px;

}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    font-weight: bold;
}

.faq-question i {
    font-size: 20px;
    color: #667eea;
    transition: transform 0.3s ease;
    font-weight: bold;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    font-weight: none;
    font-size: 14px;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 1000px; /* Increased from 300px to accommodate longer answers */
}



/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffd700;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 28px;
    color: #ffd700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.contact-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.contact-link.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    color: #25d366;
}

.contact-link.email:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.contact-link i {
    font-size: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .course-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

/* Fixed: Added missing responsive styles */
@media (max-width: 768px) {

    .section-header h2 {
        font-size: 2.2rem;
    }

}

@media (max-width: 480px) {    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about-card{
        padding: 25px 20px;
    }

}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}




/* Notification Container */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    pointer-events: none;
}

/* Notification Styles */
.notification {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    max-width: 400px;
    min-width: 300px;
    pointer-events: auto;
    cursor: pointer;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

/* Notification Animation States */
.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(100%);
    opacity: 0;
}

/* Notification Icon */
.notification-icon {
    font-size: 20px;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Notification Content */
.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
}

/* Close Button */
.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    opacity: 1;
}

/* Progress Bar */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0 0 12px 12px;
    animation: progress 5s linear forwards;
}

@keyframes progress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Different Notification Types */
.notification.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.notification.error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.notification.warning {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.notification.info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

/* Hover Effects */
.notification:hover {
    transform: translateX(0) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.notification:hover .notification-progress {
    animation-play-state: paused;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .notification {
        min-width: auto;
        max-width: none;
        width: 100%;
    }
}


        
        
/* Contact*/

/*new course section price*/
    /* Instructor photo styles */

    /* Course levels section */
    .course-levels {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 80px 0;
        color: white;
    }

    .course-card {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        padding: 30px;
        margin: 20px 0;
        transition: all 0.3s ease;
    }

    .course-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    }

    .course-price {
        font-size: 2rem;
        font-weight: bold;
        color: #ffd700;
        margin: 15px 0;
    }

    .discount-section {
        background: rgba(255, 215, 0, 0.1);
        border: 2px solid #ffd700;
        border-radius: 15px;
        padding: 20px;
        margin: 20px 0;
    }

    .discount-item {
        display: flex;
        align-items: center;
        margin: 10px 0;
    }

    .discount-item i {
        color: #ffd700;
        margin-right: 10px;
    }

    .btn-trial {
        background: linear-gradient(135deg, #ff6b6b, #ee5a24);
        border: none;
        color: white;
        padding: 12px 30px;
        border-radius: 25px;
        font-weight: 600;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
        margin-top: 15px;
    }

    .btn-trial:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
    }

    
    /* FAQ item styles */
    .faq-item {
        background: white;
        border-radius: 10px;
        margin: 15px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .faq-question {
        background: #f8f9fa;
        padding: 20px;
        margin: 0;
        cursor: pointer;
        font-weight: 600;
        color: #333;
        border-bottom: 1px solid #e9ecef;
        transition: all 0.3s ease;
    }

    .faq-question:hover {
        background: #667eea;
        color: white;
    }

    .faq-answer {
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .faq-answer.show {
        padding: 20px;
        max-height: 500px;
    }

    .faq-item.active .faq-question {
        background: #667eea;
        color: white;
    }

    /* Notification styles */
    .notification-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 10000;
    }

    .notification {
        background: white;
        border-radius: 10px;
        padding: 15px;
        margin: 10px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        transform: translateX(400px);
        opacity: 0;
        transition: all 0.3s ease;
        max-width: 400px;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .notification.show {
        transform: translateX(0);
        opacity: 1;
    }

    .notification.success {
        border-left: 5px solid #10b981;
    }

    .notification.error {
        border-left: 5px solid #ef4444;
    }

    .notification-icon {
        font-size: 24px;
    }

    .notification.success .notification-icon {
        color: #10b981;
    }

    .notification.error .notification-icon {
        color: #ef4444;
    }

    .notification-close {
        background: none;
        border: none;
        font-size: 16px;
        cursor: pointer;
        color: #6b7280;
        margin-left: auto;
    }

    .error-message {
        color: #ef4444;
        font-size: 14px;
        margin-top: 5px;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .form-group input.error,
    .form-group select.error {
        border-color: #ef4444;
        background-color: #fef2f2;
    }
    


/*hero section*/
/* Enhanced Hero Section - Mobile & Tablet Optimizations */
/* Enhanced Hero Section - Mobile & Tablet Optimizations */
/*hero section*/
/* Enhanced Hero Section - Mobile & Tablet Optimizations */

/* Base Hero Styles (Desktop) */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    min-height: 700px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,0 1000,300 1000,1000 0,700"/><polygon fill="%23ffffff05" points="0,300 1000,100 1000,800 0,1000"/></svg>');
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: slideInLeft 1s ease-out;
}

.arabic-vibes-title {
    font-size: 4rem !important;
    margin-bottom: 0.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: slideInLeft 1s ease-out 0.4s both;
}

/* Enhanced Hero Image Container */
.hero-image {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 1s ease-out 0.3s both;
}

/* Instructor Photo Styles */
.instructor-photo {
    width: 400px;
    height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    z-index: 2;
    position: relative;
}

.instructor-photo:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.5);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 20px 25px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #333;
    animation: float 6s ease-in-out infinite;
    transform: translateY(0);
    z-index: 3;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    min-width: 180px;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.98);
}

.floating-card i {
    font-size: 24px;
    color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Individual Card Positioning */
.floating-card:nth-child(2) {
    top: 10%;
    left: -60px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 45%;
    right: -80px;
    animation-delay: 2s;
    background: rgba(255, 215, 0, 0.95);
    color: #333;
    border-color: rgba(255, 215, 0, 0.5);
}

.floating-card.card-2 i {
    color: #333;
    background: none;
    -webkit-text-fill-color: #333;
}

.floating-card.card-3 {
    bottom: 15%;
    left: -40px;
    animation-delay: 4s;
    background: rgba(102, 126, 234, 0.95);
    color: white;
    border-color: rgba(102, 126, 234, 0.5);
}

.floating-card.card-3 i {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

/* Enhanced Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
    }
    50% { 
        transform: translateY(-25px) scale(1.02); 
    }
}

/* TABLET RESPONSIVE STYLES (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        min-height: 650px;
        padding: 0 30px;
    }
    
    .hero-content {
        gap: 40px;
        max-width: 900px;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3.2rem;
        margin-bottom: 18px;
    }
    
    .arabic-vibes-title {
        font-size: 3rem !important;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 35px;
    }
    
    .hero-image {
        height: 500px;
    }
    
    .instructor-photo {
        width: 320px;
        height: 420px;
        border-radius: 20px;
    }
    
    .floating-card {
        padding: 16px 20px;
        font-size: 14px;
        min-width: 160px;
        border-radius: 15px;
    }
    
    .floating-card i {
        font-size: 20px;
    }
    
    .floating-card:nth-child(2) {
        top: 15%;
        left: -50px;
    }
    
    .floating-card.card-2 {
        top: 50%;
        right: -60px;
    }
    
    .floating-card.card-3 {
        bottom: 20%;
        left: -35px;
    }
    
    .hero-buttons {
        gap: 15px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* MOBILE RESPONSIVE STYLES (Below 768px) */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 15px 60px;
        display: flex;
        align-items: stretch;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 20px 10px 0;
        max-width: 100%;
        height: auto;
        align-items: flex-start;
        justify-content: center;
        min-height: calc(100vh - 160px);
    }
    
    .hero-text {
        order: 1;
        padding-bottom: 20px;
    }
    
    .hero-image {
        order: 2;
        height: auto;
        min-height: 500px;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 30px;
    }
    
    .instructor-photo {
        width: 280px;
        height: 350px;
        margin-bottom: 30px;
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    }
    
    .instructor-photo:hover {
        transform: scale(1.02);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 16px;
        animation: slideInUp 1s ease-out;
    }
    
    .arabic-vibes-title {
        font-size: 2.4rem !important;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 35px;
        padding: 0 10px;
        animation: slideInUp 1s ease-out 0.2s both;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        animation: slideInUp 1s ease-out 0.4s both;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 32px;
        font-size: 16px;
        justify-content: center;
    }
    
    /* Mobile Floating Cards - Positioned Around Photo */
    .floating-card {
        position: absolute;
        width: auto;
        max-width: 160px;
        margin: 0;
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 15px;
        animation: fadeInFloat 1s ease-out;
        min-width: 140px;
    }
    
    .floating-card:nth-child(2) {
        top: 10px;
        left: 20px;
        animation-delay: 0.8s;
    }
    
    .floating-card.card-2 {
        top: 40%;
        right: 15px;
        animation-delay: 1.2s;
    }
    
    .floating-card.card-3 {
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
        animation-delay: 1.6s;
    }
    
    /* Mobile Animation Enhancements */
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(40px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes fadeInFloat {
        from {
            opacity: 0;
            transform: translateY(30px) scale(0.8);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
}

/* SMALL MOBILE DEVICES (Below 480px) */
@media (max-width: 480px) {
    .hero {
        padding: 90px 10px 50px;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 15px 5px 0;
        gap: 35px;
    }
    
    .instructor-photo {
        width: 250px;
        height: 320px;
        border-radius: 18px;
    }
    
    .hero-title {
        font-size: 2.4rem;
        margin-bottom: 14px;
    }
    
    .arabic-vibes-title {
        font-size: 2.1rem !important;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 30px;
        padding: 0 5px;
    }
    
    .hero-buttons {
        gap: 15px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 15px;
        max-width: 240px;
    }
    
    .floating-card {
        padding: 10px 14px;
        max-width: 140px;
        min-width: 120px;
        font-size: 12px;
        border-radius: 12px;
    }
    
    .floating-card i {
        font-size: 18px;
    }
    
    .floating-card:nth-child(2) {
        top: 15px;
        left: 10px;
    }
    
    .floating-card.card-2 {
        top: 45%;
        right: 10px;
    }
    
    .floating-card.card-3 {
        bottom: 40px;
        left: 50%;
    }
}

/* LANDSCAPE MOBILE ORIENTATION */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 80px 20px 50px;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        align-items: center;
        gap: 30px;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        height: 350px;
        min-height: auto;
    }
    
    .instructor-photo {
        width: 220px;
        height: 280px;
        margin-bottom: 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    
    .arabic-vibes-title {
        font-size: 1.8rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 15px;
    }
    
    .btn {
        width: auto;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .floating-card {
        padding: 8px 12px;
        max-width: 120px;
        min-width: 100px;
        font-size: 11px;
    }
    
    .floating-card:nth-child(2) {
        top: 10px;
        right: -30px;
    }
    
    .floating-card.card-2 {
        bottom: 80px;
        right: -40px;
    }
    
    .floating-card.card-3 {
        bottom: 20px;
        left: -35px;
    }
}

/* ACCESSIBILITY IMPROVEMENTS */
@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-subtitle,
    .hero-buttons,
    .hero-image,
    .floating-card,
    .instructor-photo {
        animation: none;
    }
    
    .floating-card,
    .instructor-photo {
        transform: none !important;
    }
}

/* HIGH DPI DISPLAYS */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-background {
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2000 2000"><polygon fill="%23ffffff08" points="0,0 2000,600 2000,2000 0,1400"/><polygon fill="%23ffffff05" points="0,600 2000,200 2000,1600 0,2000"/></svg>');
    }
}

/* PERFORMANCE OPTIMIZATIONS */
.hero * {
    will-change: transform;
}

/* INTERACTIVE ENHANCEMENTS */
@media (hover: hover) and (pointer: fine) {
    .hero-buttons .btn:hover {
        transform: translateY(-3px) scale(1.05);
    }
    
    .floating-card:hover {
        animation-play-state: paused;
    }
}

/* TOUCH DEVICE OPTIMIZATIONS */
@media (pointer: coarse) {
    .btn {
        min-height: 48px;
        min-width: 48px;
    }
    
    .floating-card {
        min-height: 44px;
        cursor: default;
    }
}


/* Contact Section Styles */
.contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Form Section */
.form-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-header h3 {
    color: yellow;
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-header p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #fcfff4;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input,
.form-group select {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(2, 15, 29, 0.1);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ffd700;
    background: #475ab2;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 15px;
}

/* Phone Input Group */
.phone-input-group {
    display: flex;
    gap: 10px;
}

.country-code-container {
    position: relative;
    min-width: 200px;
}

.country-search {
    width: 100%;
    cursor: pointer;
}

.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 5px;
}

.country-option {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #333;
    transition: background 0.2s ease;
}

.country-option:hover {
    background: rgba(102, 126, 234, 0.1);
}

.phone-number {
    flex: 1;
}

/* Friend Section */
.friend-section {
    margin-top: 30px;
}

.friend-toggle {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.friend-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.friend-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
}

.friend-form h4 {
    margin-bottom: 15px;
}

.add-friend {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.add-friend:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

.remove-friend {
    background: rgba(239, 68, 68, 0.8);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.remove-friend:hover {
    background: rgba(239, 68, 68, 1);
    transform: scale(1.05);
}

/* Form Submit Button */
.form-btn {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    border: none;
    padding: 18px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.form-btn:active {
    transform: translateY(-1px);
}

/* Success Message */
.success-message {
    background: linear-gradient(45deg, #10b981, #34d399);
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-icon {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.contact-info-card h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-info-card a {
    color: #ffd700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-info-card a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-section {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .phone-input-group {
        flex-direction: column;
    }
    
    .country-code-container {
        min-width: auto;
    }
    
    .contact-info-section {
        order: -1;
    }
    
    .contact-info-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 60px 0;
    }
    
    .form-section {
        padding: 25px 15px;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 12px;
        font-size: 16px;
    }
    
    .form-btn {
        padding: 15px 25px;
        font-size: 16px;
    }
    
    .friend-form {
        padding: 20px 15px;
    }
    
    .remove-friend {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 15px;
        align-self: flex-start;
    }
}