/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-btn-get-started {
    gap: 8px;
    opacity: 1;
    border-radius: 6px;
    border-bottom-width: 2px;
    padding-top: 10px;
    padding-right: 24px;
    padding-bottom: 10px;
    padding-left: 24px;
    background: #eac000;
    border-bottom: 2px solid #ffffff;
}
.hero-btn-sign-in {
    width: 181;
    height: 50;
    opacity: 1;
    gap: 8px;
    border-radius: 6px;
    border-top-width: 2px;
    border-right-width: 2px;
    border-bottom-width: 4px;
    border-left-width: 2px;
    padding-top: 10px;
    padding-right: 24px;
    padding-bottom: 10px;
    padding-left: 24px;
    border-width: 2px, 2px, 4px, 2px;
    border-style: solid;
    border-color: #ffffff;
    color: #ffffff;
}

.btn-get-started {
    gap: 8px;
    opacity: 1;
    border-radius: 6px;
    border-bottom-width: 2px;
    padding-top: 10px;
    padding-right: 24px;
    padding-bottom: 10px;
    padding-left: 24px;
    background: #eac000;
    border-bottom: 2px solid #000000;
}

.btn-sign-in {
    background: transparent;
    padding: 0.8rem 2rem;
    font-weight: 600;
    gap: 8px;
    border-radius: 6px;
    font-family: Rubik;
    font-weight: 500;
    font-style: Medium;
    font-size: Text Sizes/Text Regular;
    line-height: 150%;
    letter-spacing: 0%;
    color: #0c0a00;
    text-decoration: none;
}

.hero-decoration {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
}
.hero-bg-img {
    background-image: url("../../images/home/hero_bg.png");
    background-size: cover;
    background-repeat: no-repeat;
}
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    color: var(--accent-yellow);
    animation: twinkle 2s infinite;
}

@keyframes twinkle {
    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Revision Levels */
.levels-section {
    padding: 5rem 0;
    background: #f8fbff;
}

.level-card {
    background: white;
    border: 1px solid #e4e9f2;
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 6px 18px rgba(23, 44, 88, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(23, 44, 88, 0.14);
}

.level-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: rgba(34, 47, 110, 0.12);
    color: var(--primary-blue);
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.level-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
}

.level-description {
    color: #5f687b;
    line-height: 1.7;
    margin-bottom: 1.4rem;
}

.btn-level {
    background: var(--primary-blue);
    color: #fff;
    border-bottom: 3px solid #edbe3c;
    border-radius: 8px;
    padding: 0.65rem 1.3rem;
    font-weight: 600;
}

.btn-level:hover {
    color: #fff;
    background: #1a2a60;
}

/* Course Cards */
.course-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    font-size: 0.9rem;
    text-transform: uppercase;

    font-family: Montserrat;
    font-weight: 700;
    font-style: Bold;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: 0%;
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
}

.course-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-content {
    padding: 2rem;
}

.course-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.course-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-view-more {
    opacity: 1;
    gap: 8px;
    border-radius: 20px;
    border-bottom-width: 4px;
    padding-top: 10px;
    padding-right: 24px;
    padding-bottom: 10px;
    padding-left: 24px;
    background: var(--primary-blue);
    color: white;
    font-weight: 600;
    border-bottom: 4px solid #edbe3c;
}

/* Trust Logos */
.trust-section {
    background: var(--primary-blue);
    padding: 3rem 0;
}

.trust-title {
    text-align: center;
    color: var(--light-gray);
    font-weight: 600;
    margin-bottom: 2rem;
}

.trust-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-logo {
    height: 60px;
}

/* Testimonials */
.testimonial-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    border-right: 5px solid #222f6e;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-stars {
    color: var(--primary-blue);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: white;
}

.cta-content {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 3rem;
}

.cta-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.newsletter-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: auto;
    margin-bottom: 40px;
}

.newsletter-content {
    padding: 3rem;
}

.icon-wrapper {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.newsletter-heading {
    color: #1e3a8a;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-description {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.email-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.email-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.signup-btn {
    background: #fbbf24;
    color: #000;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.signup-btn:hover {
    background: #f59e0b;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(251, 191, 36, 0.3);
}

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

.terms-text {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

.terms-text a {
    color: #3b82f6;
    text-decoration: none;
}

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

.newsletter-image {
    height: 100%;
    min-height: 300px;
    background: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=800&h=600&fit=crop")
        center/cover;
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(30, 64, 175, 0.1) 100%
    );
}

.success-message {
    display: none;
    background: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    border-left: 4px solid #10b981;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .levels-section {
        padding: 3rem 0;
    }

    .level-card {
        padding: 1.5rem;
    }

    .level-title {
        font-size: 1.2rem;
    }

    .newsletter-content {
        padding: 2rem 1.5rem;
    }

    .newsletter-heading {
        font-size: 1.5rem;
    }

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

    .signup-btn {
        width: 100%;
    }

    .newsletter-image {
        min-height: 250px;
    }
}

@media (max-width: 992px) {
    .newsletter-image {
        order: -1;
    }
}
