/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #D5EBE4;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    color: white;
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.hero-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.hero-btn {
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.btn-pdf {
    background: #313DE4;
    color: white;
}

.btn-pdf:hover {
    background: #2831b8;
}

.btn-hard-copy {
    background: #15803D;
    color: white;
}

.btn-hard-copy:hover {
    background: #106630;
}

.btn-p7 {
    background: #CB5D02;
    color: white;
}

.btn-p7:hover {
    background: #a24a01;
}

.btn-printing {
    background: #F8F5E8;
    color: #333;
}

.btn-printing:hover {
    background: #e8e2cf;
}

/* Latest Exams Section */
.latest-exams {
    background: #D5EBE4;
    padding: 60px 20px;
}

.latest-exams-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom:  50px;
}

.section-title .highlight {
    color: #28732C;
}

.exams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 20px;
}

.exam-card {
    background: white;
    border: 3px solid #28732C;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.exam-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(40, 115, 44, 0.2);
}

.exam-card-image {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

.exam-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.exam-card-content {
    padding: 20px;
}

.exam-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.exam-released {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.exam-class {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.exam-price {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.exam-select-btn {
    width: 100%;
    background: #28732C;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exam-select-btn:hover {
    background: #1f5c24;
}

.no-exams {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
}

/* Adverts Section */
.adverts-section {
    background: #D5EBE4;
    padding: 0 20px;
}

.adverts-container {
    max-width: 1400px;
    margin: 0 auto;
}

.adverts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.advert-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.advert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.advert-card img {
    width: 100%;
    height: auto;
    display: block;
}

.advert-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advert-card:hover .advert-card-overlay {
    opacity: 1;
}

.advert-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* How to Order Section */
.how-to-order {
    background: #D5EBE4;
    padding: 60px 20px;
}

.how-to-order-container {
    max-width: 1400px;
    margin: 0 auto;
}

.how-to-order-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 60px;
}

.how-to-order-title .highlight {
    color: #28732C;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.step-card {
    text-align: center;
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    color: #28732C;
    margin-bottom: 15px;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.step-description {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

/* Our Services Section */
.our-services {
    background: #D5EBE4;
    padding: 0 20px 60px;
}

.our-services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.our-services-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 50px;
}

.our-services-title .highlight {
    color: #28732C;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border-bottom: 4px solid #28732C;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(40, 115, 44, 0.15);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    color: #28732C;
}

.service-icon i {
    font-size: 40px;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: #28732C;
    margin-bottom: 15px;
}

.service-description {
    font-size: 14px;
    color: #333;
    line-height: 1.7;
}

/* Hard Copy CTA Banner */
.hardcopy-cta {
    background: linear-gradient(135deg, #28732C 0%, #1f5c24 100%);
    padding: 50px 20px;
    margin: 0 20px;
    border-radius: 16px;
    margin-bottom: 60px;
}

.hardcopy-cta-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.hardcopy-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.hardcopy-cta-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hardcopy-cta-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hardcopy-cta-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-btn {
        min-width: 100%;
    }

    .latest-exams {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .exams-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .how-to-order-title,
    .our-services-title {
        font-size: 28px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hardcopy-cta {
        margin: 0 10px 40px;
        padding: 40px 20px;
    }

    .hardcopy-cta-title {
        font-size: 24px;
    }

    .hardcopy-cta-description {
        font-size: 14px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .exams-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
 
 