/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    display: flex;
    padding-left: 50px;
}

/* Navigation links */
.nav-links {
    display: flex;
    gap: 50px;
}

    .nav-links a {
        text-decoration: none;
        color: #120f3b;
        font-weight: 500;
        padding: 6px 8px;
        font-size: 20px;
        font-family: Helvetica, Arial, sans-serif;
    }

        .nav-links a:hover {
            background-color: #eee;
            border-radius: 4px;
        }

/* Button */
.nav-button {
    padding: 8px 16px;
    background-color: #170854;
    color: #ebe8fa;
    border: 2px solid #170854;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 40px;
}

    .nav-button:hover {
        background-color: #382c6e;
        color: #ebe8fa;
    }

/* Hamburger icon */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hide checkbox */
#menu-toggle {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: white;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        border-top: 1px solid #ddd;
    }

    #menu-toggle:checked ~ .nav-links {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .nav-button {
        display: none;
    }
}

.content-section {
    background-color: #ddd;
}
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.hero-section {
    background-image: url("images/hero1.png"); /* 🖼️ Use your own image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    color: white;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 60px 40px;
    position: relative;
}
/* Fade In Animation */
@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    animation: fadeInLeft 1.2s ease forwards;
    opacity: 0;
    transform: translateX(-50px); /* Start point */
}

    .hero-content h5 {
        margin-top: 100px;
        margin-left: 30px;
    }


    .hero-content h1 {
        font-size: 55px;
        margin-bottom: 40px;
        font-weight: 900;
        margin-top: 20px;
        font-family: 'Montserrat', sans-serif;
        margin-left: 30px;
    }

    .hero-content p {
        font-size: 17px;
        line-height: 1.6;
        font-family: Arial, Helvetica, sans-serif;
        margin-left: 30px;
    }

    .hero-content button {
        background-color: white;
        color: #000000;
        border-radius: 10px;
        padding: 10px 15px;
        border: none;
        font-size: 15px;
        margin-top: 30px;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin-left: 30px;
    }

        .hero-content button:hover {
            border: 2px solid white;
            color: white;
            background: none;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-section {
        padding: 40px 20px;
        height: auto;
    }
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 50px;
}


.icon-box {
    background-color: #d4e2fab2;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .icon-box:hover {
        transform: translateY(-5px);
    }

    .icon-box i {
        font-size: 45px;
        color: #0f095a;
        margin-bottom: 20px;
        margin-top: 15px;
    }

    .icon-box h3 {
        font-size: 25px;
        color: #0f095a;
        margin-bottom: 20px;
    }

    .icon-box p {
        font-size: 16px;
        color: #373737;
        line-height: 1.5;
    }

.sec-h6 {
    text-align: center;
    font-size: 14px;
    padding-top: 50px;
}

.sec-h2 {
    text-align: center;
    font-size: 40px;
    padding-top: 13px;
    color: #000000;
}

.sec-p {
    text-align: center;
    padding-top: 13px;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 60px;
}

.box {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .box:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    .box img {
        width: 100%;
        height: auto;
        display: block;
    }

.box-content {
    padding: 15px;
    text-align: center;
}

    .box-content h3 {
        margin: 10px 0 5px;
        font-size: 22px;
    }

    .box-content p {
        font-size: 0.95em;
        font-size: 16px;
        padding-top: 10px;
        color: #373737;
    }

.image-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    margin-top: 40px;
}

.responsive-image {
    width: 100%;
    height: auto;
    display: block;
}

.text-overlay {
    position: absolute;
    top: 150px;
    left: 150px;
    background-color: #ffffff; /* पारदर्शी पृष्ठभूमि */
    color: #000000;
    padding: 35px;
    text-align: center;
    width: 600px;
    box-sizing: border-box;
    z-index: 2;
}

    .text-overlay h2 {
        font-size: 30px;
        padding-bottom: 15px;
    }

    .text-overlay p {
        font-size: 16px;
        text-align: left;
        line-height: 1.4;
    }




@media (max-width: 768px) {
    .text-overlay {
        padding: 10px;
        font-size: 14px;
    }

        .text-overlay h2 {
            font-size: 18px;
        }
}


.main-container2 {
    display: flex;
    flex-wrap: wrap;
    padding: 70px;
    overflow: hidden;
    width: 100%;
    margin-top: 40px;
}

.left-side {
    flex: 1 1 400px;
    padding: 40px;
}

    .left-side h2 {
        font-size: 35px;
        margin-bottom: 15px;
    }

    .left-side p {
        font-size: 1rem;
        line-height: 1.6;
        color: #333;
    }

.right-side {
    flex: 1 1 600px;
    display: flex;
    flex-wrap: wrap;
}

.image-container1 {
    position: relative;
    width: 50%;
    min-height: 250px;
    overflow: hidden;
}

    .image-container1 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
        margin-left: 40px;
    }

    .image-container1:hover img {
        transform: scale(1.1);
    }

.overlay {
    margin-left: 19px;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000000bf;
    opacity: 0;
    transition: 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container1:hover .overlay {
    opacity: 1;
}

.overlay-text {
    color: white;
    font-size: 22px;
    text-align: center;
    padding: 25px;
}

@media (max-width: 768px) {
    .main-container2 {
        flex-direction: column;
    }

    .right-side {
        flex-direction: column;
    }

    .image-container1 {
        width: 100%;
        height: 200px;
    }
}

.section1 {
    background-color: #120f3b;
    padding: 40px 20px;
    color: white;
    margin-top: 40px;
}

.block-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
}

.block {
    padding: 30px 20px;
    flex: 1 1 30%;
    min-width: 280px;
    text-align: center;
}

    .block h3 {
        font-size: 40px;
        margin-bottom: 10px;
    }

    .block p {
        font-size: 1rem;
        line-height: 1.5;
        color: #ddd;
    }

@media (max-width: 768px) {
    .block {
        flex: 1 1 100%;
    }
}

.test-h1 {
    margin-top: 100px;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.test-h3 {
    color: #666;
    font-weight: normal;
    margin-bottom: 30px;
    text-align: center;
}

.slider-container {
    max-width: 1200px;
    margin: auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.testimonial {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

    .testimonial.active {
        display: flex;
    }

    .testimonial img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid #181818;
    }

    .testimonial p {
        font-size: 1rem;
        color: #444;
        line-height: 1.6;
        padding: 20px;
    }

    .testimonial h4 {
        margin-top: 10px;
        color: #000000;
        font-size: 20px;
    }

    .testimonial h5 {
        color: #141414dd;
    }


.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #0b0b0b;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 1;
}

    .slider-button:hover {
        background-color: #030303;
    }

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

@media (max-width: 600px) {
    .slider-button {
        padding: 8px 12px;
        font-size: 1rem;
    }

    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }
}

footer {
    background-color: #170854;
    color: #fff;
    padding: 40px 20px;
    margin-top: 90px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin: 10px;
    padding-left: 70px;
}

    .footer-column h3 {
        margin-bottom: 20px;
        font-size: 18px;
        padding-bottom: 5px;
    }

    .footer-column p {
        width: 250px;
        line-height: 1.5;
    }

    .footer-column ul {
        list-style: none;
    }

        .footer-column ul li {
            margin-bottom: 10px;
        }

            .footer-column ul li a {
                color: #ccc;
                text-decoration: none;
                transition: color 0.3s;
            }

                .footer-column ul li a:hover {
                    color: #fff;
                }

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    color: #ffffff;
    font-size: 20px;
    transition: color 0.3s;
}

    .social-icons a:hover {
        color: #fff;
    }

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #888;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        margin: 20px 0;
    }
}
