﻿/* ===============================
   ✅ GLOBAL
================================*/
body {
    font-family: Arial;
    margin: 0;
    background: #f5f7fb;
}


/* ===============================
   ✅ NAVBAR
================================*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    background: #f8f9fc;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #1b2a4e;
}

/* ✅ MENU */
nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
}

/* ✅ BUTTONS */
.actions {
    display: flex;
    gap: 8px;
}

.login {
    padding: 6px 14px;
    border-radius: 20px;
    border: 2px solid #1b2a4e;
    background: none;
    cursor: pointer;
}

.whatsapp {
    padding: 6px 14px;
    border-radius: 20px;
    background: #25D366;
    color: #fff;
    border: none;
}


/* ===============================
   ✅ HERO SECTION
================================*/
.hero {
    display: flex;
    padding: 30px 50px;
    gap: 20px;
    align-items: flex-start;
}

.left {
    width: 35%;
}

.hero h1 {
    font-size: 30px;
    color: #1f3c88;
}

.hero p {
    font-size: 16px;
    color: #6b7aa1;
}


/* ===============================
   ✅ MAIN CARDS (TOP GRID)
================================*/
.right {
    width: 65%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.card {
    background: #fff;
    border-radius: 12px;
    text-align: center;
    padding: 6px;
    border: 1px solid #eee;
    box-shadow: 0 5px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
}

    .card:hover {
        transform: translateY(-4px);
    }

    .card img {
        width: 60px;
        height: 60px;
        margin: 6px auto;
        display: block;
    }

    .card p {
        font-size: 12px;
        margin: 5px 0;
    }

/* ✅ TAG */
.tag {
    background: #d8ebe5;
    color: #0a8f67;
    font-size: 12px;
    padding: 7px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto; /* FIX alignment */
}

/* ===============================
   ✅ CATEGORY SECTIONS
================================*/
.all-sections {
    padding: 30px 50px;
}

.section-title {
    font-size: 18px;
    color: #1f3c88;
    margin-top: 25px;
    border-bottom: 2px solid #ddd;
    display: inline-block;
}

/* ✅ GRID SAME FOR ALL (IMPORTANT FIX 🔥) */
.mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

    /* ✅ MINI CARDS */
    .mini-card,
    .mini-grid .card {
        background: #fff;
        padding: 10px;
        border-radius: 10px;
        font-size: 12px;
        text-align: center;
        box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    }

        .mini-card:hover {
            transform: translateY(-3px);
        }


/* ===============================
   ✅ FEEDBACK / TESTIMONIAL
================================*/
.testimonial {
    padding: 40px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #1bd48d, #2e73ff);
}


/* ✅ SLIDER WRAPPER */
.slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ✅ ARROWS */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

    .arrow:first-child {
        left: 10px;
    }

    .arrow:last-child {
        right: 10px;
    }

/* ✅ SLIDES AREA */
.feedback-container {
    width: 750px;
    min-height: 220px; /* ✅ height bada */
    position: relative;
    overflow: hidden;
    margin: auto;
}

/* ✅ EACH FEEDBACK */
.feedback {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: 0.4s;
}

    /* ✅ ACTIVE SHOW */
    .feedback.active {
        opacity: 1;
    }


/* ===============================
   ✅ POPUP (HELPLINE DROPDOWN)
================================*/
.expert-box {
    position: relative;
}

.popup {
    display: none;
    position: absolute;
    top: 38px;
    right: 0;
    width: 260px;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 9999;
}

.expert-box:hover .popup {
    display: block;
}


/* ===============================
   ✅ Train SECTION
================================*/

.marquee {
    width: 100%;
    background: blue;
    overflow: hidden;
    white-space: nowrap;
}

    /* moving text */
    .marquee p {
        display: inline-block;
        padding-left: 100%;
        font-size: 18px;
        color: #fff;
        animation: moveText 10s linear infinite;
    }

/* animation */
@keyframes moveText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


/*bottom of line for header ke liye */

/* ✅ FORM SECTION */
.form-box {
    width: 380px;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

    /* ✅ INPUT FIELD */
    .form-box input,
    .form-box textarea {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        border-radius: 8px;
        border: 1px solid #ccc;
    }

    /* ✅ ONLY FORM BUTTON */
    .form-box button {
        width: 100%;
        padding: 12px;
        background: #1f3c88;
        color: #fff;
        border: none;
        border-radius: 10px;
        cursor: pointer;
    }

/* experience */

.scroll-container {
    height: 320px; /* screen pe 3–4 rows */
    overflow: hidden;
    margin-top: 30px;
}

.logo-track {
    display: flex;
    flex-direction: column;
    animation: scrollUp 25s linear infinite;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    padding: 20px;
}

    .logo-grid img {
        width: 100%;
        max-width: 120px;
        display: block;
        margin: auto;
    }

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* ✅ optional: hover pe pause */
.logo-track:hover {
    animation-play-state: paused;
}

/* experience */



/* footer */
.footer {
    background: linear-gradient(135deg, #0f2a66, #1f3c88);
    color: white;
    padding: 50px 20px 20px;
    font-family: Arial;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    width: 30%;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer h2.logo {
    color: #f5a623;
}

.footer h3 {
    margin-bottom: 15px;
}

.footer p {
    font-size: 14px;
    line-height: 1.6;
}

.footer ul {
    list-style: none;
    padding: 0;
}

    .footer ul li {
        margin-bottom: 10px;
    }

        .footer ul li a {
            color: #ddd;
            text-decoration: none;
            transition: 0.3s;
        }

            .footer ul li a:hover {
                color: #f5a623;
                padding-left: 5px;
            }

.social-icons a {
    display: inline-block;
    margin-right: 8px;
    background: white;
    color: #1f3c88;
    padding: 8px;
    border-radius: 50%;
}

.certificates {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

    .certificates img {
        width: 70px;
    }

    .certificates p {
        font-size: 12px;
        text-align: center;
    }

/* ✅ Legal section */
.footer-legal {
    max-width: 1200px;
    margin: 30px auto 10px;
    font-size: 13px;
    color: #ddd;
    line-height: 1.7;
}

/* Bottom */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 10px;
    font-size: 13px;
}

/* footer */


/* to whatsapp ke liye */
.whatsapp {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none; /* ✅ underline remove */
    font-weight: 600;
}

    .whatsapp:hover {
        background: #1ebe5d;
    }


    /* mobile comfertable code*/

/* ===============================
✅ MOBILE RESPONSIVE FIX (ONLY ADD)
================================*/

/* ✅ GLOBAL */
img {
    max-width: 100%;
    height: auto;
}

/* ✅ NAVBAR FIX */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    nav {
        display: none; /* optional hide menu */
    }

    .actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* ✅ HERO FIX */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 20px;
    }

        .hero h1 {
            font-size: 22px;
        }

        .hero p {
            font-size: 14px;
        }
}

/* ✅ GRID FIX */
@media (max-width: 768px) {
    .mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .mini-grid {
        grid-template-columns: 1fr;
    }
}

/* ✅ LOGO GRID FIX */
@media (max-width: 768px) {
    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ✅ FEEDBACK FIX */
@media (max-width: 768px) {
    .feedback-container {
        width: 100%;
        min-height: auto;
    }
}

/* ✅ FORM FIX */
@media (max-width: 768px) {
    .form-box {
        width: 100%;
    }
}

/* ✅ FOOTER FIX */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-col {
        width: 100%;
    }
}

@media (max-width:768px) {

    nav {
        display: flex;
        flex-direction: column; /* vertical menu */
        align-items: flex-start;
    }

        nav a {
            padding: 5px 0;
        }
}



/* loho  ke liye*/

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .logo img {
        height: 80px;
    }

