h1,
h2,
h3,
h4,
h5,
h6,
li,
strong {
    font-family: 'poppins';
}

p {
    font-family: 'Lato';
}

.top-bar {
    background: #a560a1;
    padding: 12px 0;
    border-bottom: 1.5px dotted white;
    margin-top: 0;
}

.top-bar-container {
    max-width: 1200px;

    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    font-family: 'Poppins';
    gap: 8px;
    color: #f3f3f5;
    font-size: 17px;
    font-weight: 600;
    white-space: nowrap;
}

.top-bar-icon {
    font-size: 15px;
    color: #f8f8f9;
}

.top-bar-divider {
    width: 1.3px;
    height: 25px;
    border-left: 1.5px dotted white;


}

@media (max-width: 767px) {
    .top-bar-container {
        flex-direction: column;
        gap: 8px;
    }

    .top-bar-divider {
        display: none;
    }
}


/* nav bar css */
/* nav bar css */
.custom-navbar {
    background: #ffffff;
    padding: 0 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.custom-navbar .navbar-brand img {
    display: flex;
    height: 100px;
    width: 100px;
}

.custom-navbar .nav-link {
    color: #000000;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 10px 12px !important;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}



.nav-caret,
.submenu-caret {
    font-size: 11px;
    width: auto;
}

/* ===== First-level dropdown (Services -> Education/Welfare) ===== */
.custom-navbar .nav-item.dropdown {
    position: relative;
}

.custom-navbar .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    width: 220px;         /* controls the box width directly now */
    background: #fff;
    z-index: 100;
}

.custom-navbar .dropdown-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;          /* fills its container exactly, no gap on the border */

    padding: 8px 10px;
    font-size: 14px;
    font-weight: 700;
    color: black;
    border-bottom: 1px solid #000000;

    white-space: normal;
    word-wrap: break-word;
}

.custom-navbar .dropdown-item:hover {
    background: white;
}

/* Second-level (nested) dropdown menu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin: 0;
    width: 260px;         /* nested menu can stay a bit wider since text is longer here */
}


/* ===== Desktop: hover to open ===== */
@media (min-width: 992px) {
    .custom-navbar .nav-item.dropdown > .dropdown-menu {
        padding-top: 10px;
        margin-top: -2px;
    }

    .custom-navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block !important;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block !important;
    }
}

/* ===== Mobile / tablet: tap to open (fixed breakpoint: 991px, not 491px) ===== */
@media (max-width: 991px) {
    .custom-navbar{
        padding: 0 20px !important;

    }
    .custom-navbar .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: #faf7f5;
        border-radius: 0;
        padding-left: 15px;
        min-width: unset;
    }

    .custom-navbar .nav-item.dropdown.show > .dropdown-menu,
    .dropdown-submenu.show > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > .dropdown-menu {
        background: #f4ece7;
        padding-left: 15px;
    }
}



/* home page ccc */

.home2.section {
    padding: 60px 0;
    background: #ffffff;
}

.home2 .row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.home2 .col-md-6 {
    flex: 1;
    max-width: 50%;
}

/* Image */
.home_aboutimg {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Text column */
.about-text-col h6 {
    font-size: 15px;
    font-weight: 700;
    color: black;
    margin-bottom: 10px;
}

.about-text-col h2 {
    margin: 0 0 12px;
}

.highlight-heading {
    display: inline-block;
    color: #A560A1;
    font-size: 32px;
    font-weight: 600;
    padding: 4px 1px;
    line-height: 1;
}

/* Bullet list */
.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.about-list li {
    position: relative;
    font-size: 15px;
    color: black;
    padding-left: 20px;
    margin-bottom: 9px;
    line-height: 1;
}

.about-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: black;
}

/* Our Strength */
.strength-heading {
    font-size: 20px;
    font-weight: 649;
    color: black;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.strength-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
    margin-bottom: 30px;
}

.strength-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.strength-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: black;
    margin-bottom: 5px;
}

.strength-list li i {
    color: #9b5fa8;
    font-size: 16px;
    flex-shrink: 0;
}

/* Read More button */
.btn-read-more {
    display: inline-block;
    background: #A560A1;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 13px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-read-more:hover {
    background: #7b2d6e;
    color: #ffffff;
}

/* Tablet */
@media (max-width: 991px) {
    .home2 .row {
        flex-direction: column;
    }

    .home2 .col-md-6 {
        max-width: 100%;
    }

    .home_aboutimg {
        height: 400px;
    }

    .strength-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .home2.section {
        padding: 40px 0;
    }

    .highlight-heading {
        font-size: 22px;
        padding: 6px 12px;
    }

    .home_aboutimg {
        height: 260px;
    }
}


/* vission-mission block */

.title-desc-block {
    max-width: 581px;
    border: 1px solid black;
}

.title-pink-bg {
    display: inline-block;
    background: #A560A1;
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 25px;
    margin: 0 0 16px;
    line-height: 1.3;
    width: 100%;
}

.block-description {
    font-size: 15px;
    color: black;
    line-height: 1.7;
    height: 94px;
    font-weight: 200px;
    margin: 10px 50px 15px 50px;
}

/* Mobile */
@media (max-width: 576px) {
    .title-pink-bg {
        font-size: 18px;
        padding: 6px 14px;
    }
}


/* home service cards */
.service{
    background:#EBEBEB ;
    padding: 40px;
}
.services-grid-section {
    padding: 10px 0;
    background: white;
    text-align: center;
}

.services-grid-title {
    font-size: 34px;
    font-weight: 700;
    color: black;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border: 4px solid #9b5fa8;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    display: block;
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(31, 45, 67, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;

    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.service-card:hover .service-overlay {
    transform: translateY(0);
}

.service-overlay h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

/* More Services button */
.services-grid-btn-wrap {
    margin-top: 40px;
}

.btn-more-services {
    font-family: 'Poppins';
    display: inline-block;
    background: #A560A1;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 34px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-more-services:hover {
    background: #7b2d6e;
    color: #ffffff;
}

.service-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.service-modal-overlay.active {
    display: flex;
}

.service-modal-box {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    max-width: 840px;
    width: 100%;
    max-height: 600px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.service-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    font-weight: 600px;
    color: #827f7f;
    cursor: pointer;
    line-height: 1;
}

.service-modal-img {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid gray;
    height: 270px;
    width: 100%;
    padding: 10px;
    object-fit: cover;
}

.service-modal-img img {
    max-width: 100%;
    max-height: 250px;
    object-fit: cover;
}

.service-modal-content h2 {
    font-size: 21px;
    font-weight: 500;
    color: black;
    margin: 0 0 20px;
}

.service-modal-content p {
    font-size: 14px;
    color:rgb(87, 86, 86);
    
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: 'Segoe UI';
}

.service-modal-contact {
    border-top: 1px solid #eee;
}

.service-modal-row {
    display: flex;
    gap: 10px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.service-modal-row strong {
    color: black;
    min-width: 70px;
}

.service-modal-row span {
    color: #666;
}

.service-card {
    cursor: pointer;
}

@media (max-width: 767px) {
    .service-modal-box {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 20px;
    }

    .service-modal-img img {
        max-height: 220px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .services-grid-section {
        padding: 50px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-grid-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
}

/* home stat section */

.stats-counter-section {
    background: #A560A1;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    height: 100px;
}

.stat-card {
    background: transparent;
    border: 2px solid white;
    border-radius: 6px;
    padding: 20px 80px;
    text-align: center;
}

.stat-card .counter {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
}

.counter-suffix {
    margin-left: 2px;
    color: white;
}

.stat-card p {
    font-size: 16px;
    color: #ffffff;
    font-weight: 400;
    margin: 0;
    opacity: 0.95;
}

/* Tablet */
@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .stats-counter-section {
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card .counter {
        font-size: 34px;
    }
}

/* home why choose us section */

.why-choose-section {
    padding: 25px 0;
    background: #ffffff;
}

.why-choose-heading {
    text-align: center;
    margin-bottom: 50px;
}

.why-choose-eyebrow {
    font-family: 'Poppins';
    font-size: 18px;
    font-weight: 600;
    color: black;
    margin: 0 0 8px;
}

.why-choose-title {
    font-family: 'Poppins';
    font-size: 32px;
    font-weight: 600;
    color: #9b5fa8;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-choose-card {
    border: 1.5px solid black;
    border-radius: 4px;
    padding: 20px;
    text-align: left;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    width: 300px;
    height: 300px;
}

.why-choose-icon {
    width: 80px;
    height: 70px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-choose-section .home-service-img {
    height: 80px;
    width: 80px;
}

.why-choose-card h3 {
    font-family: 'Poppins';
    font-size: 23px;
    font-weight: 600;
    color: black;
    margin: 0 0 14px;
}

.why-choose-card p {
    font-family: 'Lato';
    font-size: 15px;
    font-weight: 600;
    color: black;
    line-height: 1.7;
    text-align: justify;
    margin: 0;
}

/* Tablet */
@media (max-width: 991px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .why-choose-section {
        padding: 50px 0;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-title {
        font-size: 24px;
    }
}


/* home contact btn background */
.home-contact {
    background-image: url('../img/home-background-c.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    padding: 50px;
    margin-bottom: 50px;
}

.home-c-text {
    width: 50%;
    padding: 20px;
}

.home-contact h3 {
    color: black;
    font-weight: 600;
}

.home-contact h1 {
    color: #E8F0F5;
    font-weight: 600;
    font-size: 45px;
}



/* home brand slider */

.brand-slider-section {
    padding: 60px 0;
    background: #ffffff;
    text-align: center;
}

.brand-slider-title {
    font-size: 30px;
    font-weight: 700;
    color: black;
    margin-bottom: 40px;
}

.brand-slider-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    /* clips the sliding motion */
}


.brand-arrow {
    background: none;
    border: none;
    box-shadow: none;
    outline: none;
    padding: 0;
    width: auto;
    height: auto;

    font-size: 22px;
    color: #000;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}






.brand-slider-track {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: center;
    transition: transform 0.4s ease;
}

.brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.brand-logo-item img {
    max-width: 100px;
    max-height: 130px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-logo-item img:hover {
    filter: grayscale(0%);
}

@keyframes brandFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet */
@media (max-width: 991px) {
    .brand-slider-track {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .brand-slider-section {
        padding: 40px 0;
    }

    .brand-slider-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .brand-logo-item {
        height: 60px;
    }
}

/* home testinomials */
.home-testimonials {
    background-color: #ececec;
    padding: 60px 0;

}

.testimonial-eyebrow {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: black;
    margin-bottom: 18px;
}

.testimonial-title {
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    color: black;
    margin-bottom: 40px;
}

/* Carousel card */
.home-testinomial .carousel-inner {
    position: relative;
    height: 200px;
}

.testimonial-carousel .carousel-item.active {
    display: block;
}

.testimonial-card {
    position: relative;
    background: #ffffff;
    padding: 10px;
    text-align: center;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    background: #1f6fe0;
    border-bottom-left-radius: 100%;
    clip-path: none;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 14px 14px 0 0;
}

.quote-badge i {
    color: #ffffff;
    font-size: 36px;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 700;
    color: black;
    margin: 0 0 16px;
}

.testimonial-stars {
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: #f5a623;
    font-size: 16px;
    margin: 0 2px;
}

.testimonial-text {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .carousel-control-prev:hover,
.testimonial-carousel .carousel-control-next:hover {
    background: #9b5fa8;
    color: #ffffff;
    border-color: #9b5fa8;
}

/* Right feature cards */
.testimonial-feature {
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 19px;
    padding: 18px;
    height: 83px;
    width: 300px;
    margin-bottom: 15px;
}

.home-testimonials .testinomial-img {
    height: 55px;
    width: 66px;
}

.testimonial-feature h3 {
    font-size: 19px;
    font-weight: 600;
    color: black;
    margin: 0;
}

/* Tablet */
@media (max-width: 991px) {
    .home-testimonials .row {
        flex-direction: column;
    }

    .col-md-8,
    .col-md-4 {
        max-width: 100%;
    }

    .testimonial-feature {
        margin-top: 20px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .home-testimonials {
        padding: 40px 0;
    }

    .testimonial-title {
        font-size: 24px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-carousel .carousel-control-prev {
        left: 35%;
    }

    .testimonial-carousel .carousel-control-next {
        right: 35%;
    }
}


/* all head back */
.allheadback{
    background-image: linear-gradient(rgba(12, 12, 12, 0.75), rgba(8, 8, 8, 0.75)),url('../img/allheadback.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 250px;
}

.allheadback h2{
    color: white;
    text-align: center;
    padding: 100px;
    font-weight: 600;
}

/* about page css */
/* faq section */
/* =========================================
   CUSTOM FAQ / ACCORDION
========================================= */

.about-faq {
    padding: 30px 0;
}


/* Main accordion box */

.custom-faq {
    width: 100%;
    border: 2px solid black;
    background: #fff;
}


/* Remove Bootstrap default styling */

.custom-faq-item {
    border: none;
}


/* =========================================
   FAQ HEADER
========================================= */

.custom-faq-header {
    margin: 0;
}


.custom-faq-button {
    width: 100%;
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 38px;

    border: none;
    border-radius: 0;

    background: #ffffff;

    color: #111111;

    font-size: 17px;
    font-weight: 700;

    text-transform: uppercase;

    text-align: left;

    cursor: pointer;

    transition: all 0.3s ease;
}


/* Open / active header */

.custom-faq-button:not(.collapsed) {
    background: #aa60a8;
    color: #000000;
}


/* Hover */




/* =========================================
   PLUS / MINUS ICON
========================================= */

.custom-faq-icon {
    font-size: 28px;
    font-weight: 400;

    line-height: 1;

    margin-left: 20px;

    transition: transform 0.3s ease;
}


/* =========================================
   FAQ BODY
========================================= */

.custom-faq-body {
    background: #ffffff;

    padding: 25px 35px 28px;

    border-top: 1px solid #ddd;

    font-size: 16px;
    line-height: 1.2;

    color: #111;
}


/* List */

.custom-faq-body ul {
    margin: 0;
    padding-left: 0;

    list-style-position: inside;
}


.custom-faq-body li {
    margin-bottom: 5px;
}


/* =========================================
   SEPARATOR BETWEEN ITEMS
========================================= */

.custom-faq-item+.custom-faq-item {
    border-top: 1px solid #d5d5d5;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .about-faq {
        padding: 20px 0;
    }

    .custom-faq-button {
        min-height: 70px;

        padding: 0 20px;

        font-size: 16px;
    }

    .custom-faq-icon {
        font-size: 24px;
    }

    .custom-faq-body {
        padding: 20px;

        font-size: 15px;
    }

}


/* about team motivation */

/* =========================================
   TEAM MOTIVATION SECTION
========================================= */

.team-motivation-section {
    width: 100%;
    padding: 50px 0 70px;
    background: #ffffff;
}


/* Heading */

.team-motivation-title {
    text-align: center;

    font-size: 36px;
    font-weight: 500;

    color: #111111;

    margin: 0 0 45px;
}


/* Grid */

.team-motivation-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 50px 30px;

    max-width: 1050px;

    margin: 0 auto;
}


/* Cards */

.team-motivation-card {
    min-height: 85px;
    min-width: 200px;

    padding: 5px 29px;

    display: flex;
    align-items: center;

    gap: 12px;

    background: #A560A1;

    border: 2.5px solid black;

    border-radius: 30px;

    color: #111111;

    font-size: 16px;
    font-weight: 400;

    line-height: 1.4;

    box-sizing: border-box;
}


/* Small circle */

.team-motivation-icon {
    flex-shrink: 0;

    width: 18px;
    height: 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    color: #A560A1;

    border-radius: 50%;

    font-size: 10px;

    box-sizing: border-box;
}


/* Last card centered */

.team-motivation-card:last-child {
    grid-column: 2;
}



/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .team-motivation-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 30px;
    }

    .team-motivation-card:last-child {
        grid-column: auto;
    }

    .team-motivation-title {
        font-size: 32px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .team-motivation-section {
        padding: 40px 15px 50px;
    }

    .team-motivation-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .team-motivation-grid {
        grid-template-columns: 1fr;

        gap: 20px;

        max-width: 500px;
    }

    .team-motivation-card:last-child {
        grid-column: auto;
    }

    .team-motivation-card {
        min-height: 75px;

        padding: 16px 20px;

        border-radius: 38px;

        font-size: 15px;
    }

}


/* =========================================
   CERTIFICATION SHOWCASE SECTION
========================================= */

.certification-showcase {
    width: 100%;
    padding: 60px 0 80px;
    background: #ffffff;
    overflow: hidden;
}


/* =========================================
   SECTION TITLE
========================================= */

.certification-showcase-title {
    text-align: center;

    font-size: 32px;
    font-weight: 500;

    color: #111111;

    margin: 0 0 45px;

    line-height: 1.3;
}


/* =========================================
   CERTIFICATION GRID
========================================= */

.certification-showcase-grid {
    max-width: 1000px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 42px;
}


/* =========================================
   CERTIFICATION CARD
========================================= */

.certification-card {
    width: 100%;

    min-height: 350px;

    padding: 2px;

    box-sizing: border-box;

    background: #ffffff;

    border: 2px solid black;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================
   IMAGE BOX
========================================= */

.certification-image-box {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;
}


.certification-image-box img {
    width: 100%;
    height: 280px;

    object-fit: contain;

    display: block;

    transition: transform 0.4s ease;
}


/* Image hover */

.certification-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


.certification-card:hover img {
    transform: scale(1.03);
}


/* =========================================
   POSITION OF LAST TWO CARDS
========================================= */

/*
   Card 4 starts from the left column.
   Card 5 starts from the middle/right area.
*/

.certification-card:nth-child(4) {
    grid-column: 1;
}

.certification-card:nth-child(5) {
    grid-column: 2;
}


/* =========================================
   INITIAL ANIMATION STATES
========================================= */


/* Cards coming from LEFT */

.cert-from-left {
    opacity: 0;

    transform: translateX(-120px);
}


/* Cards coming from RIGHT */

.cert-from-right {
    opacity: 0;

    transform: translateX(120px);
}


/* Card coming from TOP */

.cert-from-top {
    opacity: 0;

    transform: translateY(-120px);
}


/* =========================================
   ACTIVE / VISIBLE STATE
========================================= */

.certification-card.cert-visible {
    opacity: 1;

    transform: translateX(0) translateY(0);

    transition:
        transform 0.9s ease,
        opacity 0.9s ease;
}


/* =========================================
   SLIGHT DELAY FOR EACH CARD
========================================= */

.certification-card:nth-child(1).cert-visible {
    transition-delay: 0.1s;
}

.certification-card:nth-child(2).cert-visible {
    transition-delay: 0.25s;
}

.certification-card:nth-child(3).cert-visible {
    transition-delay: 0.4s;
}

.certification-card:nth-child(4).cert-visible {
    transition-delay: 0.55s;
}

.certification-card:nth-child(5).cert-visible {
    transition-delay: 0.7s;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .certification-showcase {
        padding: 50px 20px 60px;
    }

    .certification-showcase-title {
        font-size: 32px;
    }

    .certification-showcase-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 30px;

        max-width: 750px;
    }

    .certification-card:nth-child(4),
    .certification-card:nth-child(5) {
        grid-column: auto;
    }

    .certification-card {
        min-height: 380px;

        padding: 18px;
    }

    .certification-image-box img {
        height: 340px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .certification-showcase {
        padding: 40px 15px 50px;
    }

    .certification-showcase-title {
        font-size: 27px;

        margin-bottom: 30px;
    }

    .certification-showcase-grid {
        grid-template-columns: 1fr;

        gap: 25px;

        max-width: 500px;
    }

    .certification-card:nth-child(4),
    .certification-card:nth-child(5) {
        grid-column: auto;
    }

    .certification-card {
        min-height: 350px;

        padding: 15px;
    }

    .certification-image-box img {
        height: 320px;
    }

}


/* =========================================
   DOCUMENTATION SECTION
========================================= */

.documentation-showcase {
    width: 100%;
    padding: 60px 0 80px;
    background: #ffffff;
    overflow: hidden;
}


/* Documentation Heading */

.documentation-title {
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    color: #111111;

    margin: 0 0 45px;

    line-height: 1.3;
}


/* Images Grid */

.documentation-grid {
    max-width: 1000px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 45px;
}


/* Image Cards */
/* =========================================
   DOCUMENTATION CARDS
========================================= */

.documentation-card {
    width: 100%;
    height: 400px;

    padding: 15px;

    background: #ffffff;
    border: 2px solid black;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    opacity: 0;

    transition:
        transform 0.9s ease,
        opacity 0.9s ease,
        box-shadow 0.3s ease;
}


/* Make both images fit inside same-size boxes */

.documentation-card img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* =========================================
   INITIAL POSITION
========================================= */

/* First image comes from LEFT */

.documentation-left {
    transform: translateX(-120px);
}


/* Second image comes from RIGHT */

.documentation-right {
    transform: translateX(120px);
}


/* =========================================
   WHEN SCROLLED INTO VIEW
========================================= */

.documentation-card.documentation-visible {
    opacity: 1;
    transform: translateX(0);
}


/* Animation delay */

.documentation-left.documentation-visible {
    transition-delay: 0.1s;
}

.documentation-right.documentation-visible {
    transition-delay: 0.3s;
}


/* =========================================
   HOVER
========================================= */

.documentation-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .documentation-showcase {
        padding: 50px 20px 60px;
    }

    .documentation-title {
        font-size: 32px;
    }

    .documentation-grid {
        gap: 30px;
    }

    .documentation-card img {
        height: 350px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .documentation-showcase {
        padding: 40px 15px 50px;
    }

    .documentation-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .documentation-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .documentation-card {
        padding: 15px;
    }

    .documentation-card img {
        height: 320px;
    }
}



/* service section css */

.preferred-partners-section {
    padding: 10px 20px;
    background: #ffffff;
}

.preferred-partners-title {
    font-size: 32px;
    font-weight: 500;
    color: black;
    margin-bottom: 10px;
    text-align: center;
}

.preferred-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 10px 50px;
    
}

.partner-logo-box {
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    padding: 2px;
}

.partner-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 991px) {
    .preferred-partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .preferred-partners-section {
        padding: 40px 0;
    }

    .preferred-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .preferred-partners-title {
        font-size: 24px;
    }
}


/* service estemed clients */

.preferred-partners-section {
    padding: 30px 20px;
    background: #ffffff;
}

.estemed-clients-title {
    font-size: 27px;
    font-weight: 500;
    color: black;
    
    text-align: center;
}

.estemed-clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 10pz 50px;
}

.estemed-clients-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.estemed-clients-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 991px) {
    .estemed-clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .preferred-partners-section {
        padding: 40px 0;
    }

    .estemed-clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .estemed-clients-title {
        font-size: 24px;
    }
}

/* contact page css  */


.get-in-touch-section {
    padding: 30px 0 40px;
    background: #ffffff;
}

.get-in-touch-title {
    font-size: 25px;
    font-weight: 600;
    color: black;
    margin-bottom: 30px;
    margin-left: 20px;
}

.get-in-touch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin: 30px;
}

.contact-info-card {
    position: relative;
    border: 3px solid #9b5fa8;
    border-radius: 6px;
    padding: 60px 20px 10px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 4px 12px#9b5fa8(0,0,0,0.15);
}

.contact-info-icon {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%) scale(1.3);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #9b5fa8;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);

    opacity: 0;
    animation: iconZoomOutIn 0.6s ease forwards;
}

@keyframes iconZoomOutIn {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(1.3);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

.contact-info-icon i {
    font-size: 26px;
    color: #ffffff;
}

.contact-info-card:hover .contact-info-icon {
    background: #8c8c8c;
}

.contact-info-card h4 {
    font-size: 16px;
    font-weight: 400;
    color: black;
    margin: 0 0 18px;
}

.contact-info-card h6 {
    font-size: 14px;
    color: black;
    line-height: 1.7;
    margin: 0;
    font-weight: 300;
}

.contact-info-plain {
    margin-top: 20px !important;
    font-weight: 600;
}

/* Tablet */
@media (max-width: 991px) {
    .get-in-touch-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 24px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .get-in-touch-section {
        padding: 40px 0 30px;
    }

    .get-in-touch-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .get-in-touch-title {
        font-size: 24px;
    }
}


.contact-map {
    height: 270px;
    overflow: hidden;
    margin: 10px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}



/* all services  */

.allserviceband{
    background-color: #DDDDDE;
    min-height: 60px;
}
.allserviceband h5{
    padding: 20px 20px;
    margin-left: 50px;
    font-size: 15px;
}

.allservice-section {
    padding: 30px 50px;
    background: #ffffff;
}

.allservice-section .row {
    align-items: center;
}

.service-img {
    width: 320px;
    height: 270px;
    display: block;
    margin:  0px 50px 0px 50px;
}

.service-info{
    padding-right:  90px;
}

.service-info p {
    font-size: 14px;
    color: black;
    line-height: 2.3;
    margin-bottom: 10px;
}

.service-info-list,
.service-info-full .service-info-list {
    padding-left: 24px;
    margin: 0;
}

.service-info-list li {
    font-size: 15px;
    color: black;
    line-height: 2.0;
    margin-bottom: 10px;
}

.service-info-list  li strong {
    color: black;
    font-weight: 500;
}

.service-info-sublist {
    list-style: disc;
    padding-left: 24px;
    margin-top: 12px;
}

.service-info-sublist li {
    font-size: 15px;
    color: black;
    line-height: 1.6;
    margin-bottom: 10px;
}

.service-info-full {
    margin-top: 20px;
}

/* Tablet */
@media (max-width: 991px) {
    .allservice-section .row {
        flex-direction: column;
        text-align: left;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .allservice-section {
        padding: 40px 0;
    }

    .service-info p,
    .service-info-list > li,
    .service-info-sublist li {
        font-size: 15px;
    }
    .service-img {
        margin-right: 30px !important;
    }

    .service-info{
    padding: 0 10px !important;
}


}










/* footer css  */
.site-footer {
    background: #A560A1;
    color: #ffffff;
    padding: 30px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 10px;
}

.footer-col h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
}

.footer-col h4::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: white;
    margin-top: 12px;
    opacity: 0.7;
}

/* Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Address */
.footer-address-block {
    margin: 20px 0 18px;
}

.footer-address-block strong {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.footer-address-block p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.footer-contact li {
    margin-bottom: 14px;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.95;
}

.footer-contact a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Location / Map */
.footer-map {
    position: relative;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.footer-map iframe {
    display: block;
    border-radius: 8px;
    filter: grayscale(10%);
}

.footer-map-link {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: white;
    color: black;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease;
}

.footer-map-link:hover {
    background: #f4c2d0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 30px;
    padding-bottom: 50px;
    align-items: stretch;
}

.footer-divider {
    width: 0;
    border-left: 1.8px dotted #ffffff;
    opacity: 0.5;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background-color: black;
    padding: 10px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 16px;
    color: #fff;
    opacity: 0.9;
}

/* Scroll to top button */
/* =========================================
   SCROLL TO TOP BUTTON
========================================= */

#scrollTopBtn {
    display: none;

    position: fixed;

    bottom: 25px;
    right: 23px;

    width: 35px;
    height: 35px;

    border-radius: 5px;

    background: #046BD2;
    color: #fff;

    border: none;

    font-size: 18px;

    cursor: pointer;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);

    z-index: 9999;

    align-items: center;
    justify-content: center;

    transition: background 0.2s ease, transform 0.2s ease;
}



/* Tablet */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-divider {
        display: none;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .site-footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }

    
#scrollTopBtn {
    display: none !important;
}
}