/* =========================================
   SCORMSUITE LANDING PAGE STYLES (UPDATED)
   ========================================= */

:root {
    --primary-color: #4FD1C5;
    --primary-dark: #319795;
    --accent-yellow: #F6AD55;
    --text-color: #4A5568;
    --heading-color: #2D3748;
    --bg-light: #F7FAFC;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-brand {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    z-index: 1002;
}
.nav-brand span { color: var(--primary-color); }

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
}
.nav-link:hover { color: var(--primary-color); }

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--heading-color);
    z-index: 1002;
}

.lang-switch {
    border: 1px solid #e2e8f0;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    cursor: pointer;
}

.btn-nav {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}
.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}
.btn-fill {
    background: var(--primary-color);
    color: var(--white);
}
.btn-fill:hover {
    background: var(--primary-dark);
}

/* --- Hero Section --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 5% 80px 5%;
    background: linear-gradient(135deg, #E6FFFA 0%, #fff 100%);
    min-height: 90vh;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}
.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--heading-color);
    margin-bottom: 20px;
}
.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #718096;
}

.hero-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img img {
    width: 100%;
    max-width: 550px;
    height: auto;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

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

/* --- Section Generic --- */
.section {
    padding: 80px 5%;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 36px;
    color: var(--heading-color);
    margin-bottom: 15px;
}
.section-title p {
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Features (Cards - Modern) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 20px 10px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #edf2f7;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 80%);
    border-radius: 50%;
    opacity: 0.1;
    transition: 0.4s;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(79, 209, 197, 0.15);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scale(5);
    opacity: 0.05;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: #F0FFF4;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: var(--primary-dark);
    transition: 0.3s;
}

.feature-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(5deg);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--heading-color);
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #718096;
}

/* --- How To Use Section --- */
.howto-section {
    background: var(--bg-light);
    padding-top: 60px;
    padding-bottom: 60px;
}

.howto-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.howto-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.howto-box h3 {
    font-size: 24px;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.howto-desc {
    font-size: 16px;
    color: #718096;
    margin-bottom: 20px;
}

.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step-box {
    width: 200px;
    height: 150px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0FFF4;
    transition: 0.3s;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.step-box:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(79, 209, 197, 0.2);
}

.arrow {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
    margin: 0 10px;
}

/* --- About / SCORM Info --- */
.about-section {
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    gap: 50px;
}
.about-img { flex: 1; }
.about-img img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); }
.about-content { flex: 1; }
.about-content h2 { font-size: 32px; color: var(--heading-color); margin-bottom: 20px; }
.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
}
.check-list i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 18px;
}

/* --- Contact Form --- */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
}
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.2);
}
.form-control::placeholder { color: #cbd5e0; }

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.btn-submit:hover { background: var(--primary-dark); }

/* --- Footer --- */
footer {
    background: var(--heading-color);
    color: #fff;
    padding: 50px 5% 20px 5%;
    text-align: center;
}
.footer-text { margin-bottom: 20px; color: #cbd5e0; }

/* =========================================
   RESPONSIVE & HAMBURGER MENU LOGIC
   ========================================= */

@media (max-width: 992px) {
    .hamburger { display: block; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        transition: 0.3s ease;
    }
    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .hero h1 { font-size: 36px; }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 30px;
        gap: 40px;
    }
    .hero-text { margin-top: 20px; }
    .hero-img img {
        width: 80%;
        max-width: 350px;
    }
    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .about-section { flex-direction: column; }
    .contact-container { padding: 25px; }
    .howto-container {
        flex-direction: column;
        gap: 20px;
    }
    .step-box {
        width: 100%;
        max-width: 250px;
        height: auto;
        padding: 20px;
        font-size: 14px;
    }
    .arrow {
        display: none;
    }
    .flow-diagram {
        flex-direction: column;
        gap: 15px;
    }
}