* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


/* navbar section starts here  */


/* ============ NAVBAR SECTION ============ */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5vw;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 10px solid #001f3f;
    position: relative;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.nav img {
    height: 70px;
    width: auto;
    max-width: 100%;
    margin-right: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.center-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    gap: 6px;
}

.link {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.link li a {
    color: #2b2a2a;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.4s ease;
}

.link li a:hover {
    color: orange;
}

.slogan {
    font-size: 1rem;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slogan span {
    font-weight: bold;
    color: orange;
}

.nav-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-left: 20px;
}

.login-btn,
.signup-btn {
    font-size: 16px;
    padding: 10px 18px;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    width: max-content;
}

.login-btn {
    background-color: transparent;
    color: #001f3f;
    border: 1.5px solid #001f3f;
}

.login-btn:hover {
    background-color: #001f3f;
    color: #fff;
}

.signup-btn {
    background-color: orange;
    color: white;
}

.signup-btn:hover {
    background-color: #e65c00;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 9999;
    background: none;
    border: none;
}

/* ============ RESPONSIVE MEDIA QUERIES ============ */

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .logo-section {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin-bottom: 1rem;
    }

    .center-section {
        align-items: flex-start;
    }

    .link {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        padding: 2rem;
        z-index: 10000;
        align-items: flex-start;
        gap: 1.2rem;
        overflow-y: auto;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .link.show {
        display: flex;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-end;
    }

    .hamburger {
        display: block;
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
        margin: 1rem auto;
        gap: 10px;
    }

    .signup-btn,
    .login-btn {
        width: 100%;
    }
}

@media (min-width: 769px) {
    .link {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background-color: transparent !important;
        padding: 0 !important;
        z-index: auto !important;
    }
}



/* navbar section ends here */


/* image slider section starts here  */

.slider-section {
    position: relative;
    width: 100%;
    max-width: 90%;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 10px;
}

.slider {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button.prev:hover,
button.next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

/* ✅ Responsive Tweaks for Small Screens */
@media (max-width: 768px) {
    .slider-section {
        padding: 0 1rem;
    }

    .slider img {
        height: auto;
        max-height: 300px;
    }

    button.prev,
    button.next {
        font-size: 1.5rem;
        padding: 6px 10px;
    }
}


/* image slider section ends gere  */



/* news section starts here  */


.news-section {
    max-width: 90%;
    width: 100%;
    margin: 60px auto;
    padding: 0 1rem;
}


.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #2b2b2b;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.news-card {
    border-top: 10px solid #001f3f;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: transform 0.2s ease;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 8px;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: orange;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.news-description {
    font-size: 0.95rem;
    line-height: 1.5;
    overflow: hidden;
    max-height: 70px;
    transition: max-height 0.3s ease;
}

.news-description.expanded {
    max-height: 300px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #1a73e8;
    cursor: pointer;
    text-decoration: none;
}

/* ✅ Responsive Font Tweak */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .news-title {
        font-size: 1rem;
    }

    .news-description {
        font-size: 0.9rem;
    }
}

.news-description.expanded {
    max-height: 300px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #1a73e8;
    cursor: pointer;
    text-decoration: none;
}

@media (max-width: 600px) {
    .section-title {
        font-size: 1.5rem;
    }
}


/* news section ends here  */


/* clients section starts here  */


.client-sec {
    max-width: 90%;
    width: 100%;
    margin: 20px auto;
    border-top: 10px solid #001f3f;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-sec .clients {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    width: 100%;
    margin-top: 20px;
}

.client-card img {
    height: 80px;
    width: 80px;
    object-fit: contain;
}


/* clients section ends here  */


/* services section starts here  */


.service {
    max-width: 90%;
    width: 100%;
    margin: 0 auto 40px;
    padding: 0 1rem;
    display: grid;
    place-items: center;
}

.service-heading {
    margin: 10px 0 20px 0;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.card {
    width: 100%;
    height: 100%;
    padding: 32px 16px;
    background: linear-gradient(#ffffff 50%, orange 50%);
    background-size: 100% 200%;
    background-position: 0 2.5%;
    border-radius: 5px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card a {
    color: #001f3f;
    text-decoration: none;
    font-weight: bold;
    margin: 10px 0 10px 0;
}

.card p {
    margin: 10px 0 10px 0;
}

.card:hover {
    background-position: 0 100%;
}

.card:hover .icon-wrapper {
    background-color: #ffffff;
    color: #001f3f;
}

.card:hover a {
    color: #ffffff;
}

.card:hover p {
    color: #f0f0f0;
}

.icon-wrapper {
    background-color: #001f3f;
    margin: 10px auto;
    font-size: 30px;
    height: 2.5em;
    width: 2.5em;
    color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: 0.5s;
}

.service button {
    margin-top: 40px;
    max-width: 150px;
    padding: 10px 20px;
    background-color: orange;
    border: none;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.service button:hover {
    background-color: #001f3f;
}

.service button a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
}




/* services section ends here  */


/* client testimonial section starts here  */


/* === Base Styling === */
.testimonial-section {
    background-color: #001f3f;
    padding: 60px 20px;
    color: white;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.testimonial-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #FFA500;
}

/* === Testimonial Wrapper (Scroll + Flex) === */
.testimonial-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 10px;
    scrollbar-width: none;
    /* Firefox */
}

.testimonial-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

/* === Card Styling === */
.testimonial,
.testimonial-active {
    background: white;
    color: #001f3f;
    border-radius: 20px;
    padding: 30px 20px;
    min-width: 280px;
    max-width: 320px;
    scroll-snap-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.testimonial-active {
    transform: scale(1.05);
    border: 2px solid #FFA500;
}

/* === Avatar Styling === */
.testimonial img,
.testimonial-active img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #FFA500;
    margin-bottom: 15px;
}

/* === Text Content === */
.testimonial h4,
.testimonial-active h4 {
    font-size: 1.2rem;
    margin: 10px 0 5px;
}

.testimonial span,
.testimonial-active span {
    font-size: 0.95rem;
    color: #555;
}

/* === Hover Effects === */
.testimonial:hover,
.testimonial-active:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(255, 165, 0, 0.4);
}

/* === Responsive Adjustments === */

/* Tablets */
@media (max-width: 1024px) {
    .testimonial-wrapper {
        justify-content: flex-start;
        padding: 0 5px;
    }

    .testimonial,
    .testimonial-active {
        min-width: 260px;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    .testimonial-section h2 {
        font-size: 1.8rem;
    }

    .testimonial,
    .testimonial-active {
        min-width: 240px;
        padding: 20px 15px;
    }

    .testimonial h4,
    .testimonial-active h4 {
        font-size: 1rem;
    }

    .testimonial span,
    .testimonial-active span {
        font-size: 0.85rem;
    }
}



/* client testimonial section ends here  */


/* footer starts here  */


* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.footer {
    background-color: #001f3f;
    color: #ddd;
    padding: 20px 1rem;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.footer .address {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: justify;
    margin-bottom: 15px;
    max-width: 50%;
}

.address h3 {
    font-size: 1.1rem;
}

.address p {
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 10rem;
}

.footer-links .l1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.footer-links .l2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    margin-left: 5rem;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3 ease;
}

.footer-links a:hover {
    color: orange;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    border-top: 5px solid orange;
    padding-top: 15px;
    color: #aaa;
}

/* Respoonsive footer */

@media (max-width:768px) {
    .footer {
        display: flex;
        flex-direction: column;
    }

    .address h3 {
        font-size: 0.9rem;
    }
    .address p {
        font-size: 0.8rem;
    }

    .footer .address {
        max-width: 80%;
    }

    .footer-links {
        margin: 0;
        flex-direction: row;
        gap: 12px;
    }

    .footer-links .l1 {
        gap: 12px;
    }

    .footer-links .l2 {
        gap: 12px;
        margin-left: 2rem;
    }


    .footer-links:a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}