.about-banner {
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    color: #fff;
    background-color: #fff;
}

.about-banner h1 {
    font-size: 50px;
    font-weight: 700;
}

.about-main {
    padding: 80px 0;
    background-color: #fff;
}

.small-heading {
    color: #555454;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-main h2 {
    font-size: 40px;
    margin: 15px 0 40px;
}

.about-columns {
    display: flex;
    gap: 40px;
}

.about-col {
    flex: 1;
}

.about-col p{
    color: #555;
    line-height: 2;
    letter-spacing: 0.5px;
}

.about-col img {
    width: 100%;
    border-radius: 15px;
}

.about-col ul {
    list-style: none;
    padding: 0;
}

.about-col li {
    margin-bottom: 12px;
    color: #555;
    line-height: 2;
    letter-spacing: 0.5px;
}

.about-col i {
    color: #3b5bff;
    margin-right: 8px;
}

.about-section {
    padding: 20px 0;
    background-color: #fff;
}

.about-section h2 {
    font-size: 32px;
    margin-bottom: 0 !important;
}

.about-section p{
    color: #555;
    line-height: 2;
    letter-spacing: 0.5px;
}



/* cart  section for certificate start */

.certificates-section {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading .sub-title {
    font-size: 16px;
    letter-spacing: 1px;
    color: #424242;
}

.section-heading h2 {
    font-size: 45px;
    font-weight: 700;
}

.cards-wrapper {
    display: flex;
    gap: 30px;
}




.certificate-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    width: 33%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.certificate-card:hover  {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.15);
    
}

.certificate-card:hover .card-bottom{
    border:1.5px solid #274aaa;
}




.card-img {
    position: relative;
}

.card-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}


/* Button initially hidden */
.hover-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(20px);
    opacity: 0;
    padding: 12px 25px;
    background: #274aaa;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 2;
}

/* Dark overlay effect on hover (optional but professional look) */
.card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: 0.3s ease;
}

/* Show overlay + button on hover */
.certificate-card:hover .card-img::after {
    background: rgba(0,0,0,0.4);
}

.certificate-card:hover .hover-btn {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

.badge-static {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #96dd23;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.card-content {
    padding: 25px;
}

.card-content h4{
    letter-spacing: 1;
}

.card-content p{
    color: #555;
    font-size: 14px;
    letter-spacing: 1;
}



.rating {
    color: #ffc107;
    margin-bottom: 10px;
}

.rating span {
    color: #555;
    margin-left: 5px;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 13px;
    color:#274aaa;
    padding: 20px ;
    border: 1.5px solid rgb(216, 214, 214);
    border-radius: 20px;
}



.card-bottom i{
    color:#7bb323;
}









.corner-shape{
       height: 40px; /* jitni height chahiye */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.corner-shape img{
    width: 40px; /* apni need ke hisaab se */
}





/* compliance process section start */
.compliance-section {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

.compliance-section::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background: rgba(0, 0, 0, 0.363); */
}

.compliance-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.compliance-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.compliance-content p {
    margin-bottom: 30px;
    font-size: 16px;
}

.compliance-points {
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
}

.compliance-points ul {
    list-style: none;
    padding: 0;
}

.compliance-points li {
    margin-bottom: 15px;
    font-size: 16px;
}

.compliance-points i {
    color: #3b5bff;
    margin-right: 10px;
}

/* BUTTON DESIGN */
.compliance-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 40px;
    border: 2px solid #3747FF;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.4s ease;
}

.arrow-circle {
    width: 45px;
    height: 45px;
    background: #3747FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compliance-btn:hover {
    background: #3747FF;
    color: #fff;
}

.compliance-btn:hover .arrow-circle {
    background: #fff;
    color: #3747FF;
}







/* testimonial  */

.about-testimonials {
    padding: 50px 0;
    background: #f3f3f3;
    text-align: center;
}

.about-testimonials h2 {
    font-size: 45px;
    margin-bottom: 60px;
}

.testimonial-wrapper {
    display: flex;
    gap: 30px;
}

.testimonial-card {
    background: #173f8a;
    color: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    flex: 1;
    position: relative;
    border: 2px solid transparent;
    transition: 0.3s ease;
}


.testimonial-card:hover{
  
  border: 2px solid rgb(6, 158, 6);
    transition: 0.3s ease;
}



.testimonial-card p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.testimonial-bottom {
    background: #eee;
    color: #000;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-bottom h4 {
    margin: 0;
    font-size: 18px;
}

.testimonial-bottom span {
    font-size: 14px;
    color: #555;
}

.stars {
    color: #ffb400;
    font-size: 18px;
}


/* =============================== */
/* ABOUT PAGE MOBILE FIX - CENTER & NO HORIZONTAL SCROLL */
/* =============================== */
@media (max-width: 768px) {

    /* 1️⃣ Global container fix */
    .container {
        max-width: 100% !important;
        
        padding-right: 20px !important;
        margin: 0 auto;
        overflow-x: hidden; /* horizontal scroll remove */
    }

    /* 2️⃣ Body fix for extra scroll */
    body, html {
        overflow-x: hidden;
    }

    /* 3️⃣ Banner / Hero */
    .about-banner {
        text-align: center !important;
        padding: 60px 15px;
    }

    .about-banner h1 {
        font-size: 26px !important;
    }

    .about-banner p {
        font-size: 14px !important;
        text-align: center !important;
    }

    /* 4️⃣ About Main Content */
    .about-main h2,
    
    .about-col p,
    .about-col li {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 20px;
    }


    .about-col p {
        font-size: 13px;
        margin-top: 0 !important;
    }

    .about-col li{
         font-size: 13px;
    }

    .about-main h2{
        font-size: 25px;
    }

    .small-heading{
        font-size: 12px;
        padding-left: 20px;
        
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        
    }

    .about-columns {
        flex-direction: column !important;
        gap: 20px;
    }

    .about-col img {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        height: auto;
        border-radius: 10px ;
        padding-left: 15px;
    }

    /* 5️⃣ Recognition / Mission / Policy */
    .about-section h2,
    .about-section p {
        text-align: center !important;
        padding-left: 20px;
        
    }

     .about-section p{
        font-size: 12px;
        
     }

    /* 6️⃣ Testimonials */
    .about-testimonials h2 {
        text-align: center !important;
        padding-left: 20px;
    }

    .testimonial-wrapper {
        justify-content: flex-start !important; /* horizontal scroll */
        flex-wrap: nowrap !important;
        overflow-x: auto;
        gap: 20px;
        padding-left: 20px !important;
        scroll-snap-type: x mandatory;
    }

    .testimonial-wrapper::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        flex: 0 0 80% !important;
        scroll-snap-align: center;
        
    
    }

    .testimonial-card p {
        text-align: center;
    }

    .testimonial-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 15px;
    }

    /* 7️⃣ Images hero / other sections */
    img, .hero-img {
        max-width: 100%;
        height: auto;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }


    /* Compliance Section */
    .compliance-section {
        padding: 60px ;
        padding-left: 20px;
    }

    .compliance-content h2 {
        font-size: 24px;
    }

    .compliance-content p {
        font-size: 13px;
    }

    .compliance-points {
        flex-direction: column;
        gap: 20px;
    }

    .compliance-points li {
        font-size: 13px;
    }

    .compliance-btn {
        padding: 10px 15px;
        font-size: 12px;
        gap: 10px;
    }

    .arrow-circle {
        width: 35px;
        height: 35px;
    }


}



/* =================================
   CERTIFICATE SECTION - MOBILE ONLY
================================== */

@media (max-width: 991px) {

    .certificates-section {
        padding: 60px 0;
    }

    .certificates-section .container {
        width: 100%;
        padding: 0 15px;
    }

    /* Heading small */
    .section-heading {
        margin-bottom: 30px;
        text-align: center;
    }

    .section-heading .sub-title {
        font-size: 14px;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    /* Horizontal scroll system */
    .cards-wrapper {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding: 0 15px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .cards-wrapper::-webkit-scrollbar {
        display: none;
    }

    .certificate-card {
        width: 85%;
        flex: 0 0 85%;
        scroll-snap-align: center;
        border-radius: 16px;
    }

    /* Image smaller */
    .card-img img {
        height: 180px;
    }

    /* Hide hover button completely on mobile */
    .hover-btn {
        display: none;
    }

    /* Badge small */
    .badge-static {
        font-size: 10px;
        padding: 4px 10px;
        top: 12px;
        left: 12px;
    }

    /* Content compact */
    .card-content {
        padding: 15px;
        text-align: center;
    }

    .rating {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .card-content h4 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .card-content p {
        font-size: 13px;   /* 🔥 your requirement */
        line-height: 1.5;
        margin-bottom: 10px;
    }

    /* Bottom info vertical + compact */
    .card-bottom {
        flex-direction: column;
        gap: 6px;
        font-size: 12px;
        padding: 12px;
        margin-top: 10px;
        align-items: center;
        text-align: center;
    }

}

/* =========================
   MOBILE CLICK BUTTON SYSTEM
========================= */

/* ================================
   MOBILE CLICK ANIMATION UPGRADE
================================ */

@media (max-width: 991px) {

    /* Remove desktop hover effect */
    .certificate-card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    .certificate-card:hover .card-img::after {
        background: none;
    }

    /* Prepare overlay */
    .card-img::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0);
        transition: 0.4s ease;
        z-index: 1;
    }

    /* Smooth button initial state */
    .hover-btn {
        display: block;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
        transition: 0.4s ease;
        z-index: 2;
        pointer-events: none;
    }

    /* ACTIVE STATE */
    .certificate-card.active .hover-btn {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        pointer-events: auto;
    }

    /* Image blur + dark */
    .certificate-card.active .card-img img {
        filter: blur(3px) brightness(60%);
        transition: 0.4s ease;
    }

    /* Dark overlay */
    .certificate-card.active .card-img::after {
        background: rgba(0,0,0,5);
    }
    
/* Testimonials */
.about-testimonials {
  padding: 40px 0;
}

.about-testimonials h2 {
  font-size: 22px;
  margin-bottom: 30px;
  text-align: center;
}

/* Horizontal Scroll Wrapper */
.testimonial-wrapper {
  display: flex;           /* horizontal flex */
  flex-wrap: nowrap;       /* no wrap */
  overflow-x: auto;        /* horizontal scroll */
  gap: 20px;               /* gap between cards */
  padding: 10px 15px;
  scroll-snap-type: x mandatory; /* smooth snap */
  -webkit-overflow-scrolling: touch; /* mobile smooth scroll */
}

/* Hide Scrollbar */
.testimonial-wrapper::-webkit-scrollbar {
  display: none;
}

/* Each Testimonial Card */
.testimonial-card {
  flex: 0 0 300px;        /* fixed width cards */
  background: #173F8A;    /* card background */
  padding: 25px 20px;
  border-radius: 10px;
  scroll-snap-align: start; /* snap position */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.testimonial-card p {
  font-size: 13px;
  margin-bottom: 25px;
}

/* Bottom Section of Card */
.testimonial-bottom {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
}

.testimonial-bottom h4 {
  font-size: 14px;
  margin: 0;
}

.testimonial-bottom span {
  font-size: 12px;
  color: #555;
}

.stars {
  font-size: 14px;
  color: #f5b50a; /* golden stars */
}

    

}




/* Full screen preloader */
#preloader {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#fff; /* background color */
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

/* Preloader content */
.preloader-content {
    text-align:center;
}

/* Logo */
#preloader-logo {
    width:500px; /* logo size */
    opacity:0.5; /* initial opacity */
    transition: opacity 0.3s ease;
    margin-bottom:20px;
}

/* Loading bar container */
.loading-bar {
    width:200px;
    height:8px;
    background:#ccc;
    border-radius:4px;
    overflow:hidden;
    margin:0 auto;
}

/* Loading progress */
.loading-progress {
    width:0%;
    height:100%;
    background:#033386; /* progress color */
    transition: width 0.1s linear;
}