@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Oswald:wght@400;500&family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.css);
/*Global styles*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;*/
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 2.0), transparent);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    width: 100%;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 20px;
    width: 100%;
    max-width: none;
}

.logo {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    margin-left: 30px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    /*background: rgba(255, 255, 255, 0.45);*/
    background: url("images/logos/logo-bg-color.png");
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.1);
}

.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    /*background: rgba(255, 255, 255, 0.45);*/
    padding: 12px 30px;
    /*border-radius: 50px;*/
}

.nav-link {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: rgba(0, 0, 0, 0.7);
    
}

.nav-link.active svg {
    fill: white;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    margin-right: 30px;
}

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

.btn-login {
    background: #6366f1;
    color: white;
}

.btn-login:hover {
    background: #5855eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn-signup {
    background: rgba(0, 0, 0, 0.7);
    color: white;
}

.btn-signup:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Main Content */
.main {
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("images/bg.jpg") center/cover fixed;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    opacity: 0.90;
    z-index: -2;
}

.main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: -10;
}

.hero {
    text-align: center;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    margin-bottom: 30px;
}

.title-text {
    font-size: clamp(4rem, 12vw, 20rem);
    font-weight: 800;
    background: linear-gradient(135deg, #5B9BF7 0%, #8b5cf6 35%, #a855f7 65%, #F3F0FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    /*animation: gradientShift 3s ease-in-out infinite alternate;*/
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-decoration: none; 
    display: inline-block; 
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: white;
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(5px);
}




/* ---------- NEED FOR INCLUSIVITY -----------*/

.inclusivity-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url("images/bg1.png") center/cover fixed;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
}

.inclusivity-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.inclusivity-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    line-height: 1.1;
}

.inclusivity-text-content {
    max-width: 900px;
    margin: 0 auto 60px auto;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #444;
    font-weight: 100;
}

.inclusivity-paragraph {
    margin-bottom: 30px;
}

.inclusivity-closing {
    margin-top: 40px;
    font-size: 1.2rem;
    font-weight: 600;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1150px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px 15px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #6366f1;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.stat-source {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}



/* ---------- ABOUT US ---------- */

.about-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url("images/bg1.png") center/cover fixed;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    transition: background 2s ease;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-left {
    color: #333;
}

.about-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 700;
    color: linear-gradient(135deg, #5B9BF7 0%, #8b5cf6 35%, #a855f7 65%, #F3F0FF 100%);;
    margin-bottom: 40px;
    line-height: 1.1;
}

.about-text-content {
    font-family: 'Inter', sans-serif;
    font-weight: 150;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #444;
}

.about-paragraph {
    margin-bottom: 25px;
}

.about-closing {
    margin-top: 30px;
    font-size: 1.15rem;
}

.about-right {
    display: flex;
    justify-content: center;
}

.pro-container {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
}

.pro {
    width: 225px;
    height: 255px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pro:hover {
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.6);
    transform: translateY(-5px);
}

.photo-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Individual card background colors */
.richelle-card .photo-container {
    background-image: url("images/rih.png");
}

.renz-card .photo-container {
    background-image: url("images/renz.jpg");
}

.ashley-card .photo-container {
    background-image: url("images/heart.jpg");
}

.shanyka-card .photo-container {
    background-image: url("images/shany.jpg");
}

.des {
    padding: 15px 15px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.span {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #000000;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.des p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.2;
}




/* ---------- HOW IT WORKS ---------- */

.how-it-works-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url("images/bg1.png") center/cover fixed;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.steps-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: #333;
    line-height: 1;
    min-width: 60px;
}

.step-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 18px 22px;
    flex: 1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.step-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

.explanation-right {
    color: #333;
}

.how-it-works-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.2;
}

.explanation-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #444;
}

.explanation-paragraph {
    margin-bottom: 25px;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .how-it-works-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .steps-left {
        order: 2;
    }
    
    .explanation-right {
        order: 1;
    }
}

@media (max-width: 768px) {
    .how-it-works-container {
        padding: 0 20px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .step-number {
        font-size: 3rem;
        min-width: auto;
    }
    
    .step-content {
        padding: 20px 25px;
    }
    
    .steps-left {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .step-content {
        padding: 15px 20px;
    }
    
    .step-title {
        font-size: 1.3rem;
    }
    
    .step-description {
        font-size: 0.95rem;
    }
}





/* ---------- PRACTICE SECTION ---------- */

.practice-section {
    min-height: 120vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url("images/bg1-dark.png") center/cover fixed;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
}

.practice-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* Camera Area */
.camera-area {
    position: sticky;
    top: 100px;
}

.camera-interface {
    background: #2a2a2a;
    border-radius: 25px;
    padding: 20px;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.7);
}

.camera-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #ccc;
    text-align: center;
}

.camera-icon {
    margin-bottom: 20px;
    opacity: 0.7;
}

.camera-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #bbb;
}

.start-signing-btn {
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 15px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.start-signing-btn:hover {
    background: #5855eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.video-feed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    display: none;
}

.video-feed.active {
    display: block;
}

.camera-controls {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.settings-icon {
    color: white;
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.settings-icon:hover {
    opacity: 1;
}

.control-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.control-btn {
    background: rgba(239, 68, 68, 0.9);
    border: none;
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    min-width: 100px;
}

.control-btn:hover {
    background: rgba(239, 68, 68, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
}

/* status indicator */
.detection-status {
    position: absolute;
    top: 60px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    display: none;
}

.detection-status.active {
    display: block;
}

.detection-status.detecting {
    background: rgba(16, 185, 129, 0.8);
}

.detection-status.error {
    background: rgba(239, 68, 68, 0.8);
}

.stop-btn {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.stop-btn:hover {
    background: rgba(239, 68, 68, 1);
}

.check-btn {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.check-btn:hover {
    background: rgba(16, 185, 129, 1);
}

.timer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

/* Practice Content */
.practice-content {
    color: #333;
}

.welcome{
    color: #ffffff;
    text-align: center;
    line-height: 1.1;

}

.practice-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: #F3F0FF;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.1;
}

.practice-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
}

.signs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.sign-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
}

.sign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15);
}

.sign-card.completed {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}


.sign-img { /* FOR ALL 3 IMAGES*/
    width: 150px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
}

.sign-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.sign-status {
    font-size: 0.9rem;
    color: #666;
    padding: 4px 12px;
    border-radius: 12px;
    background: #f3f4f6;
    display: inline-block;
}

.sign-status.completed {
    background: #10b981;
    color: white;
}

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

.progress-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 6px;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.95rem;
    color: #ffffff;
    text-align: center;
}

.recognition-output {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.output-display {
    flex: 1;
    font-size: 1.1rem;
    color: #333;
}

.speak-btn {
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.speak-btn:hover:not(:disabled) {
    background: #5855eb;
    transform: translateY(-1px);
}

.speak-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .practice-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .camera-area {
        position: static;
    }
    
    .signs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .practice-container {
        padding: 0 20px;
    }
    
    .signs-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto 40px auto;
    }
    
    .recognition-output {
        flex-direction: column;
        text-align: center;
    }
}







/* ---------- LESSONS SECTION ---------- */

.lessons-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url("images/bg1.png") center/cover fixed;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding-top: 100px;
}

.lessons-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.lessons-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1;
}

.lessons-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 60px;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.lesson-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.lesson-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 15px 30px rgba(0, 0, 0, 0.1);
}

.lesson-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    flex-shrink: 0;
}

.lesson-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lesson-card:hover .lesson-img {
    transform: scale(1.05);
}

.lesson-content {
    padding: 25px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lesson-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.2;
}

.lesson-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.lesson-btn {
    background: #333;
    color: white;
    border: none;
    border-radius: 15px;
    padding: 12px 25px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
    text-decoration: none; 
    display: inline-block; 
}

.lesson-btn:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.lesson-btn:active {
    transform: translateY(0);
}


/* Responsive Design - Lessons Preview*/
@media (max-width: 1024px) {
    .lessons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 900px;
    }
    
    .lesson-card {
        min-height: 420px;
    }
    
    .lesson-content {
        padding: 20px;
    }
    
    .lesson-title {
        font-size: 1.2rem;
    }
    
    .lesson-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .lessons-container {
        padding: 0 20px;
    }
    
    .lessons-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 400px;
    }
    
    .lesson-card {
        min-height: auto;
    }
    
    .lesson-content {
        padding: 25px 20px;
    }
    
    .lesson-title {
        font-size: 1.4rem;
    }
    
    .lesson-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .lessons-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 20px;
    }
    
    .lesson-card {
        border-radius: 20px;
    }
    
    .lesson-content {
        padding: 20px 15px;
    }
    
    .lesson-title {
        font-size: 1.3rem;
    }
    
    .lesson-description {
        font-size: 0.95rem;
    }
}

/* Ensure equal card heights and better spacing */
@media (min-width: 769px) {
    .lessons-grid {
        align-items: stretch;
    }
    
    .lesson-card {
        height: 100%;
    }
}













/* ---------- CONTACT US ---------- */

.contact-section {
    min-height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url("images/bg1.png") center/cover fixed;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-left {
    color: #333;
}

.contact-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.1;
}

.contact-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
}

.contact-paragraph {
    margin-bottom: 25px;
    font-weight: 400;
}

.contact-right {
    display: flex;
    justify-content: center;
}

.contact-form-card {
    /*background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);*/
    background: url("images/contact-card.png") center;
    border-radius: 25px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-title {
    color: #444;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

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

.form-input {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-input::placeholder {
    color: #999;
}

.message-input {
    min-height: 120px;
    font-family: 'Inter', sans-serif;
}

.send-button {
    background: #333;
    color: white;
    border: none;
    border-radius: 15px;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.send-button:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.send-button svg {
    transition: transform 0.3s ease;
}

.send-button:hover svg {
    transform: translateX(5px);
}

/* Contact Form Messages */
.contact-message {
    margin-top: 20px;
    display: none;
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    text-align: center;
    font-weight: 500;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    text-align: center;
    font-weight: 500;
}

.send-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}



/* ---------- FOOTER ---------- */

.footer {
    background: #333;
    color: white;
    padding: 60px 0 30px 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    /*background: rgba(255, 255, 255, 0.1);*/
    background: url("images/logos/logo-bg-BW.png");
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-text {
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.footer-copyright {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer-column-title {
    font-family: 'Oswald';
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-links-list a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links-list a:hover {
    color: white;
}

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

.social-link {
    color: #ccc;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 0 20px;
    }
    
    .contact-form-card {
        padding: 30px 25px;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-form-card {
        padding: 25px 20px;
    }
    
    .form-input {
        padding: 12px 15px;
    }
    
    .send-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
}




/* Responsive Design */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .pro-container {
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 0 20px;
    }
    
    .pro-container {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .pro {
        width: 100%;
    }
}



/* Responsive Design */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .team-grid {
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 0 20px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 250px;
    }
    
    .team-card {
        width: 100%;
    }
}



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

@keyframes gradientShift {
    0% {
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }
    100% {
        background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }
}

@keyframes appear {
    from{
        opacity: 0;
        scale: 0.5;
    }
    to{
        opacity: 1;
        scale: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        padding: 10px 10px;
    }
    
    .nav {
        display: none;
    }
    
    .auth-buttons {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        gap: 50px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .hero-subtitle {
        margin-bottom: 40px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* Floating Animation for Background Elements */
.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}