html {
    scroll-behavior: smooth;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

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

.logo-img {
    width: 140px;
}

.subtitle {
    font-size: 14px;
    color: white;
    margin: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;   /* space between Contact & Login */
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.login-btn {
    background: white;
    color: #2563eb !important;   /* force blue text */
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f9fafb;
}

header {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 0 20px 80px 20px;  /* remove top padding */
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
}

.cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    padding: 80px 40px;
    background: #f2f2f2;
}

/* First 3 cards (top row) */
.cards .card:nth-child(1),
.cards .card:nth-child(2),
.cards .card:nth-child(3) {
    grid-column: span 2;
}

/* Last 2 cards (bottom row centered) */
.cards .card:nth-child(4) {
    grid-column: 2 / span 2;
}

.cards .card:nth-child(5) {
    grid-column: 4 / span 2;
}


.card {
    background: white;
    color: #333;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
}



/* FORCE TEXT COLORS */
.card h3 {
    color: #2d5bd1 !important;
    margin-bottom: 15px;
}

.card p {
    color: #333 !important;
}


button {
    background: #2563eb;
    color: white;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
    border: none;
}

/* CONTACT SECTION */
.contact-section {
    padding: 80px 20px;
    text-align: center;
    background: #f3f4f6;
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #1e3a8a;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    max-width: 300px;
    text-align: left;
}

.contact-info h3 {
    margin-bottom: 15px;
    color: #2563eb;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-form {
    max-width: 500px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2d5bd1;
    box-shadow: 0 0 8px rgba(45,91,209,0.3);
}

.contact-form textarea {
    height: 130px;
    resize: none;
}


.page-section {
    padding: 80px 20px;
    text-align: center;
}

.footer {
    background: #1e3a8a;
    color: white;
    text-align: center;
    padding: 20px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    font-size: 24px;
    padding: 15px 18px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


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

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }

    .contact-container {
        flex-direction: column;
        gap: 30px;
    }

    .page-section {
        padding: 50px 15px;
    }
}

@media (max-width: 992px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards .card {
        grid-column: auto !important;
    }
}

@media (max-width: 600px) {
    .cards {
        grid-template-columns: 1fr;
    }
}
/* visit website button */
.visit-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 20px;
    background: #2d5bd1;   /* blue */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Hover effect */
.visit-btn:hover {
    background: #1e40af;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* TERMS SECTION */
.terms-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: left;
}

.terms-section h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 32px;
    color: #2d5bd1;
}

.terms-intro {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

.terms-box {
    margin-bottom: 25px;
    padding: 20px;
    border-left: 4px solid #2d5bd1;
    background: #f9f9f9;
    border-radius: 8px;
    transition: 0.3s;
}

.terms-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.terms-box h3 {
    margin-bottom: 10px;
    color: #1e40af;
}

.terms-box p {
    color: #444;
    line-height: 1.6;
}

.last-updated {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #777;
}
