@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #003049;
    color: white;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: white;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2b9348;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(43, 147, 72, 0.7);
}

/* WhatsApp Button */
.scroll-up-btn {
    position: fixed;
    height: 50px;
    width: 50px;
    background: #3fc351;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    right: 40px;
    bottom: 40px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 999;
    font-size: 30px;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.scroll-up-btn span {
    color: white;
    opacity: 0 !important;
    transition: 0.2s ease;
    font-size: 15px;
    font-weight: 500;
    width: 100px;
}

.scroll-up-btn:hover span {
    opacity: 1 !important;
}

.scroll-up-btn:hover {
    cursor: pointer !important;
    width: 160px;
    transition: width 0.3s ease;
    border-radius: 5px;
}

.scroll-up-btn i {
    font-size: 40px;
    position: absolute;
    transition: 0.1s ease !important;
}

.scroll-up-btn:hover i {
    opacity: 0;
}

.scroll-up-btn.show {
    opacity: 1;
}

/* Container */
.container {
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Section */
.header-section {
    width: 100%;
    height: 45vh;
    background: linear-gradient(135deg, #003049 0%, #001a2c 100%);
    background-image: url("../assets/images/slide 3.webp");
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.header-section::after {
    background: linear-gradient(135deg, rgba(0, 48, 73, 0.85) 0%, rgba(0, 26, 44, 0.9) 100%);
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.header-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.pages-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.pages-indicator a {
    font-size: 16px;
    font-weight: 400;
    transition: 0.3s ease;
}

.pages-indicator a:first-child {
    opacity: 0.7;
}

.pages-indicator a:hover {
    opacity: 1;
    color: #3fc351;
}

.header-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 3px;
}

/* Intro Section */
.intro-section {
    padding: 60px 0;
}

.intro-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2b9348, #3fc351);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    font-size: 35px;
    box-shadow: 0 10px 30px rgba(63, 195, 81, 0.3);
}

.intro-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.intro-content p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.85;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-number {
    font-size: 80px;
    font-weight: 700;
    opacity: 0.1;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    opacity: 0.7;
}

/* Resources Section */
.resources-section {
    padding: 60px 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Resource Card */
.resource-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.resource-card:hover {
    transform: translateY(-10px);
    border-color: rgba(63, 195, 81, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.resource-card.featured {
    border-color: rgba(63, 195, 81, 0.3);
    background: linear-gradient(135deg, rgba(43, 147, 72, 0.1) 0%, rgba(0, 48, 73, 0.5) 100%);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #2b9348, #3fc351);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(63, 195, 81, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.resource-card:hover .card-glow {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(43, 147, 72, 0.2), rgba(63, 195, 81, 0.1));
    border: 1px solid rgba(63, 195, 81, 0.3);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: #3fc351;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.resource-card:hover .card-icon {
    background: linear-gradient(135deg, #2b9348, #3fc351);
    color: white;
    transform: scale(1.1);
}

.resource-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.resource-card p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 20px;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.card-features span {
    background: rgba(43, 147, 72, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-features span i {
    color: #3fc351;
    font-size: 10px;
}

.resource-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2b9348, #3fc351);
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(63, 195, 81, 0.3);
}

.resource-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(63, 195, 81, 0.4);
}

.resource-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.resource-btn:hover i {
    transform: translateX(3px);
}

/* Tips Section */
.tips-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 26, 44, 0.5) 100%);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tip-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.tip-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(63, 195, 81, 0.3);
}

.tip-number {
    font-size: 40px;
    font-weight: 700;
    color: #3fc351;
    opacity: 0.5;
    line-height: 1;
}

.tip-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.tip-content p {
    font-size: 14px;
    opacity: 0.75;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-content {
    background: linear-gradient(135deg, rgba(43, 147, 72, 0.2) 0%, rgba(0, 48, 73, 0.8) 100%);
    border: 1px solid rgba(63, 195, 81, 0.3);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #2b9348, #3fc351);
    box-shadow: 0 5px 20px rgba(63, 195, 81, 0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(63, 195, 81, 0.4);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #3fc351;
}

.cta-btn i {
    font-size: 14px;
}

/* Footer */
.footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 14px;
    opacity: 0.7;
}

.footer a {
    color: #3fc351;
    transition: 0.3s ease;
}

.footer a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .header-title {
        font-size: 36px;
    }

    .section-title h1 {
        font-size: 28px;
    }

    .section-number {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .header-section {
        height: 35vh;
    }

    .header-title {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .intro-content {
        padding: 30px 20px;
    }

    .intro-content h2 {
        font-size: 22px;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 40px 25px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 500px) {
    .container {
        width: 90%;
    }

    .header-title {
        font-size: 24px;
    }

    .section-number {
        display: none;
    }

    .scroll-up-btn {
        right: 20px;
        bottom: 20px;
    }

    .tip-item {
        flex-direction: column;
        gap: 10px;
    }

    .tip-number {
        font-size: 30px;
    }
}
