/* Base Styles - Mobile First */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    width: 100%;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-header p {
    font-size: 1rem;
    color: #666;
    max-width: 100%;
    margin: 0 auto;
}

/* Navbar - Mobile First */
.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;
}

.nav-container {
    width: 100%;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    max-width: 100vw;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #667eea;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 0;
    flex-direction: column;
    position: fixed;
    left: -100%;
    top: 60px;
    background: white;
    width: 100%;
    max-width: 100vw;
    text-align: center;
    transition: left 0.3s ease;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 0;
    margin: 0;
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.nav-menu.active {
    left: 0;
    display: flex;
}

.nav-item {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    padding: 15px 20px;
    font-size: 14px;
    width: 100%;
}

.nav-link:hover {
    background: #f8f9fa;
    color: #667eea;
}

.nav-link::after {
    display: none;
}

.nav-btn {
    padding: 10px 20px;
    font-size: 14px;
    margin: 10px 20px;
    display: block;
    width: calc(100% - 40px);
    text-align: center;
    border-radius: 25px;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.bar {
    width: 22px;
    height: 2px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section - Mobile First */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    padding: 40px 0;
}

.hero-container {
    width: 100%;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 100%;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
    max-width: 280px;
}

.hero-buttons .btn {
    width: 100%;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.floating-card {
    position: relative;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease;
    width: 140px;
    margin: 0 auto;
}

.floating-card:hover {
    transform: translateY(-5px);
}

.floating-card:nth-child(1) {
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    animation-delay: 2s;
}

.floating-card:nth-child(3) {
    animation-delay: 4s;
}

.floating-card i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 10px;
}

.floating-card h3 {
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
}

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

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: pulse 4s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

/* Courses Section - Mobile First */
.courses {
    padding: 60px 0;
    background: #f8f9fa;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.course-card {
    background: white;
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.course-icon i {
    font-size: 1.5rem;
    color: white;
}

.course-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #333;
}

.course-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.course-details {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.duration, .level {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.duration {
    background: #e3f2fd;
    color: #1976d2;
}

.level {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* Testimonials Section - Mobile First */
.testimonials {
    padding: 60px 0;
    background: white;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-content {
    margin-bottom: 15px;
}

.stars {
    color: #ffc107;
    margin-bottom: 10px;
}

.testimonial-content p {
    color: #666;
    line-height: 1.5;
    font-style: italic;
    font-size: 0.9rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: #333;
    margin-bottom: 3px;
    font-size: 1rem;
}

.author-info p {
    color: #666;
    font-size: 0.8rem;
}

/* Contact Section - Mobile First */
.contact {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    font-size: 1.2rem;
    color: #667eea;
    margin-top: 3px;
}

.info-item h4 {
    color: #333;
    margin-bottom: 5px;
    font-size: 1rem;
}

.info-item p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

#live-location {
    margin-top: 8px;
    padding: 8px;
    background: #e3f2fd;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #1976d2;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-link {
    width: 35px;
    height: 35px;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #764ba2;
    transform: translateY(-2px);
}

.contact-form {
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer - Mobile First */
.footer {
    background: #333;
    color: white;
    padding: 40px 0 15px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: white;
    font-size: 1.1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-logo i {
    margin-right: 8px;
    color: #667eea;
}

.footer-section p {
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 14px;
}

.newsletter-form button:hover {
    background: #764ba2;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #ccc;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: #667eea;
    text-decoration: none;
}

/* Tablet Styles (768px and up) */
@media (min-width: 768px) {
    .container {
        max-width: 750px;
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
        height: 80px;
    }
    
    .nav-logo {
        font-size: 1.5rem;
    }
    
    .nav-logo-img {
        height: 80px;
        max-width: 250px;
    }
    
    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        background: none;
        box-shadow: none;
        padding: 0;
        gap: 25px;
        width: auto;
        height: auto;
        overflow: visible;
    }
    
    .nav-item {
        width: auto;
        border-bottom: none;
    }
    
    .nav-link {
        padding: 0;
        font-size: 14px;
        width: auto;
    }
    
    .nav-link:hover {
        background: none;
        color: #667eea;
    }
    
    .nav-link::after {
        display: block;
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: #667eea;
        transition: width 0.3s ease;
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }
    
    .nav-btn {
        padding: 8px 20px;
        font-size: 14px;
        margin: 0;
        margin-left: 10px;
        display: inline-block;
        width: auto;
    }
    
    .nav-toggle {
        display: none;
    }
    
    .hero {
        margin-top: 80px;
        padding: 60px 0;
    }
    
    .hero-container {
        padding: 0 20px;
        gap: 50px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 20px;
        max-width: none;
        width: auto;
    }
    
    .hero-buttons .btn {
        width: auto;
        min-width: 140px;
    }
    
    .hero-image {
        height: 400px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }
    
    .floating-card {
        position: absolute;
        width: 160px;
        padding: 20px;
        margin: 0;
    }
    
    .floating-card:nth-child(1) {
        top: 50px;
        left: 50px;
    }
    
    .floating-card:nth-child(2) {
        top: 150px;
        right: 50px;
    }
    
    .floating-card:nth-child(3) {
        bottom: 50px;
        left: 150px;
    }
    
    .floating-card i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .floating-card h3 {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
        max-width: 600px;
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .course-card {
        padding: 30px 25px;
    }
    
    .course-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 25px;
    }
    
    .course-icon i {
        font-size: 1.8rem;
    }
    
    .course-card h3 {
        font-size: 1.3rem;
    }
    
    .course-card p {
        font-size: 0.95rem;
    }
    
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
    }
    
    .contact-content {
        flex-direction: row;
        gap: 50px;
    }
    
    .contact-info {
        flex: 1;
    }
    
    .contact-form {
        flex: 1;
        padding: 30px 25px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        text-align: left;
    }
    
    .footer-logo {
        justify-content: flex-start;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .newsletter-form {
        flex-direction: row;
    }
    
    .courses,
    .testimonials,
    .contact {
        padding: 80px 0;
    }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-slider {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large Desktop Styles (1200px and up) */
@media (min-width: 1200px) {
    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-image {
        order: 2;
        position: relative;
        height: 500px;
    }
    
    .floating-card {
        position: absolute;
    }
    
    .floating-card:nth-child(1) {
        top: 50px;
        left: 50px;
    }
    
    .floating-card:nth-child(2) {
        top: 150px;
        right: 50px;
    }
    
    .floating-card:nth-child(3) {
        bottom: 50px;
        left: 150px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.8rem;
}

.close {
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
}

.close:hover {
    color: #333;
}

.modal form {
    padding: 20px 30px 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox input {
    margin-right: 8px;
    cursor: pointer;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #764ba2;
}

.full-width {
    width: 100%;
    margin-bottom: 20px;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: white;
    padding: 0 15px;
    color: #999;
    font-size: 14px;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #333;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: #667eea;
    background: #f8f9fa;
}

.social-btn.google:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.social-btn.facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
}

.switch-form {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.switch-form a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.switch-form a:hover {
    color: #764ba2;
}

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

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

/* Auth Page Styles */
.auth-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 40px 20px;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.register-card {
    max-width: 800px;
}

.auth-header {
    text-align: center;
    padding: 40px 40px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.auth-logo i {
    font-size: 2.5rem;
}

.auth-logo h1 {
    font-size: 1.8rem;
    margin: 0;
}

.auth-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.auth-header p {
    opacity: 0.9;
    margin: 0;
}

.auth-form {
    padding: 30px 40px 40px;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.form-section h3 i {
    color: #667eea;
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 15px;
    color: #999;
    z-index: 1;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-group select {
    cursor: pointer;
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
    padding: 5px;
    border-radius: 3px;
}

.toggle-password:hover {
    color: #667eea;
}

.toggle-password:focus {
    outline: 2px solid #667eea;
    outline-offset: 1px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox input {
    margin-right: 8px;
    cursor: pointer;
}

.checkbox a {
    color: #667eea;
    text-decoration: none;
}

.checkbox a:hover {
    text-decoration: underline;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #764ba2;
    text-decoration: underline;
}

.full-width {
    width: 100%;
    margin-bottom: 20px;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: white;
    padding: 0 15px;
    color: #999;
    font-size: 14px;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #333;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: #667eea;
    background: #f8f9fa;
}

.social-btn.google:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.social-btn.facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
}

.auth-footer {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.auth-footer p {
    margin-bottom: 10px;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.back-to-home:hover {
    color: #667eea;
}

.auth-illustration {
    flex: 1;
    max-width: 500px;
    color: white;
}

.illustration-content {
    text-align: center;
}

.illustration-content h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.illustration-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.feature span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Loading state */
.loading {
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .auth-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .auth-illustration {
        max-width: 600px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        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-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .auth-container {
        padding: 20px 15px;
    }
    
    .auth-card {
        max-width: 100%;
        max-height: none;
    }
    
    .auth-header {
        padding: 30px 20px 20px;
    }
    
    .auth-form {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .illustration-content h3 {
        font-size: 2rem;
    }
    
    .illustration-content p {
        font-size: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .auth-header h2 {
        font-size: 1.5rem;
    }
    
    .auth-logo h1 {
        font-size: 1.5rem;
    }
    
    .illustration-content h3 {
        font-size: 1.8rem;
    }
    
    .social-login {
        gap: 10px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        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-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        height: 400px;
    }

    .floating-card {
        position: relative;
        margin: 20px auto;
        max-width: 250px;
    }

    .floating-card:nth-child(1),
    .floating-card:nth-child(2),
    .floating-card:nth-child(3) {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .courses-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .modal-header {
        padding: 20px 20px 15px;
    }
    
    .modal form {
        padding: 15px 20px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .course-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}
