.hero-section {
    position: relative;
    height: 700px;
    background-size:cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: 80px;
}

.hero-title {
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* BUTTON DESIGN */

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 35px;
    border-radius: 50px;
    border: 2px solid #7EB918;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-btn .arrow {
    background: #7EB918;
    color: #000;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Hover Effect */

.hero-btn:hover {
    background: #7EB918;
    color: #ffffff;
    border: 2px solid #7EB918;
}

.hero-btn:hover .arrow {
    background: #ffffff;
    color: #7EB918;
}

/* ===============================
   HERO SECTION - MOBILE ONLY
================================ */

@media (max-width: 991px) {

    .hero-section {
        height: auto;
        padding: 100px 0;
        background-position: center center;
        background-size: cover;
        text-align: center;
    }

    .hero-content {
        margin-left: 15px;
        max-width: 100%;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-text {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .hero-btn {
        padding: 12px 22px;
        font-size: 14px;
        gap: 10px;
        justify-content: center;
    }

    .hero-btn .arrow {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

}









/*service section*/


.services-section {
    padding: 100px 0;
    background: #ffffff;
}

.services-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.service-card {
    background: #fff;
   
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid  transparent;
    transition: 0.3s ease;
    border-color: #e4e2e2;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

.service-img img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    font-weight: 500;
    font-family:Arial, Helvetica, sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #3a3a3a;
}

/* CARD HOVER EFFECT */
.service-card:hover {
    border: 2px solid ;
    border-color: #09398d;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transform: translateY(-8px);
}

.service-card h3:hover{
    color: #09398d;
}

/* BUTTON DESIGN */

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 12px 30px;
    background: #09398d;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.circle-arrow {
    background: #ECC15C;
    color: #000;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* BUTTON HOVER */
.service-btn:hover {
    background: #7EB918;
}

.service-btn:hover .circle-arrow {
    background: #fff;
    color: #7EB918;
}




/* ===============================
   SERVICES SECTION - MOBILE ONLY
================================ */

@media (max-width: 991px) {

    .services-section {
        overflow: hidden;
    }


    .service-btn{
        padding: 10px 25px;
    }

    .services-wrapper {
        display: flex;
        flex-wrap: nowrap !important; 
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 0 15px;
        -webkit-overflow-scrolling: touch;
    }

    .services-wrapper::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        min-width: 85%;
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    /* Typography Adjustments */
    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 14px;
    }

    .service-card {
        padding: 10px;
    }

}


@media (max-width: 991px) {




    .service-card {
        padding: 15px; /* pehle 20+ hoga */
    }

    .service-card h3 {
        margin-bottom: 8px;
        font-size: 17px;
    }

    .service-card p {
        margin-bottom: 12px;
        font-size: 13.5px;
        line-height: 1.4;
    }

    .service-card .service-btn,
    .service-card a {
        margin-top: 2px;
        padding: 8px 16px;
        font-size: 13px;
    }

}





/* card service end */












/* about section start */



.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 */
}


.about-section {
    padding: 0 0 50px;
    background: #ffffff;
    overflow: hidden; /* 🔥 important */
}

.about-heading {
    text-align: center;
    margin-bottom: 60px;
}

.about-small {
    font-size: 16px;
    letter-spacing: 1px;
    color: #424242;
}

.about-heading h2 {
    font-size: 40px;
    font-weight: 700;
}

.about-row {
    display: flex;
    gap: 80px;
    align-items: center;
    margin-bottom: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 110%;           /* 🔥 image bari */          
    max-width: none;       /* 🔥 limit remove */
    border-radius: 24px;
    transition: 0.4s ease;
}

/* IMAGE HOVER */
.about-image img:hover {
    transform: scale(1.05);
}

.about-content {
    flex: 1;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 20px;
    color: #555;
    line-height: 2;
    letter-spacing: 0.5;
}

.about-bottom {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
    margin-top: -40px;   /* 🔥 uper wale section ke kareeb */
}


.about-right-img {
    display: flex;
    justify-content: center;
}

.about-right-img img {
    width: 470px;
    height: 470px;
    object-fit: cover;
    border-radius: 50%;
    border: 25px solid #1e3a8a;
}

.about-left-text {
    max-width: 150%;   /* 🔥 full width nahi lega */
}

.about-left-text h3 {
    font-size: 40px;
    margin-bottom: 20px;
}

.about-left-text p{
    font-size:  16px;
    color: #555;
    
    letter-spacing: 1.5;
    line-height: 1.5;
}

.about-icons {
    display: flex;
    gap: 50px;
    margin-top: 0% !important;
}

.icon-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
}

.icon-box h4{
    font-size: 22px;
      margin: 0 0 3px 0;
}
.icon-box p{
    font-size: 14px;
    letter-spacing: 0.5px;
    margin: 0; 
    
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: #1e3a8a;
    color: #ECC15C;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 22px;
    transition: 0.3s;
}

/* ICON HOVER EFFECT */
.icon-box:hover .icon-circle {
    background: #c4161c;
    transform: scale(1.1);
}

.icon-box:hover {
    transform: translateX(10px);
}




/* ===============================
   ABOUT SECTION - MOBILE ONLY
================================ */

@media (max-width: 991px) {

    .about-section {
        padding-bottom: 50px;
        text-align: center;
        
    }

    .about-heading {
        margin-bottom: 15px;
    }

    .about-small {
        font-size: 13px;
    }

    .about-heading h2 {
        font-size: 26px;
    }

    /* Make first row vertical */
    .about-row {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 15px;
    }

    .about-image img {
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
    }

    .about-content p {
        font-size: 13px;
        line-height: 1.2;
        margin-bottom: 5px;
        padding: 0;
    }

    /* Bottom section vertical */
    .about-bottom {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 0;
    }

    .about-right-img img {
        width: 220px;
        height: 220px;
        border-width: 12px;
    }

    .about-left-text {
        max-width: 100%;
        text-align: center;
    }

    .about-left-text h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .about-left-text p {
        font-size: 12px;
        line-height: 1.3;
        letter-spacing: 0.6px;
    }

    /* Icons vertical */
    .about-icons {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin-top: 20px !important;
    }

    .icon-box {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .icon-box h4 {
        font-size: 18px;
    }

    .icon-box p {
        font-size: 14px;
    }

}


/*  end */




/* 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;
}

/* =================================
   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);
    }

}







/* 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;
}

/* ========================= */
/* MOBILE RESPONSIVE UPDATED */
/* ========================= */

@media (max-width: 768px) {

    /* Compliance Section */
    .compliance-section {
        padding: 60px 0;
    }

    .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;
    }

}


/*  news section */

.news-section {
    padding: 80px 0;
    background: #ffffff;
}

.news-small-heading {
    text-align: center;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 10px;
}

.news-main-heading {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
}



.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 cards in one row */
    gap: 40px;
}

/* 3 Column Layout */
.news-card {
    display: grid;
    grid-template-columns: 80px 150px 1fr; /* Date | Image | Content */
    align-items: center;
    gap: 20px;
    background: #fafafa;
    padding: 15px 20px;
    border-radius: 10px;
    border : 2px solid transparent;
    box-shadow: 0 05px 05px rgba(35, 30, 80, 0.15);
    transition: 0.3s ease;
}


.news-card:hover{
    border: 2px solid #3747FF;
    transition: 0.3s ease;
}

/* ================= DATE ================= */

.news-date {
    background: #ffffff;
    border-radius: 25px;
    padding: 15px 10px;
    text-align: center;
}

.news-date .day {
    font-size: 28px;
    font-weight: 700;
    color: #4c4cff;
}

.news-date .month {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4c4cff;
}

.news-date .year {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    background: #e0e0e0;
    border-radius: 15px;
    padding: 4px 0;
}

/* ================= IMAGE ================= */

.news-image img {
    width: 150px;       /* smaller width */
    height: 100px;       /* auto height to keep ratio */
    border-radius: 10px;  
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ================= CONTENT ================= */

.news-content h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.news-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.news-content:hover{
    color: #3747FF;
}


/* ========================= */
/* NEWS SECTION MOBILE ONLY */
/* ========================= */

@media (max-width: 768px) {

    .news-section {
        padding: 60px 20px 60px 11px;
        text-align: center;
    }

    .news-section .container {
        padding: 0 !important;
        margin: 0 auto !important;
        width: 100%;
    }

    .news-small-heading {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .news-main-heading {
        font-size: 26px;
        margin-bottom: 30px;
    }

    /* Grid 1 column + center */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        justify-content: center;
        align-items: center;
    }

    /* Card full center */
    .news-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 12px;
        padding: 15px;
        width: 92%;
        margin: 0 auto;   /* LEFT FIX */
    }

    /* Date center */
    .news-date {
        margin: 0 auto;
        padding: 8px 12px;
    }

    .news-date .day {
        font-size: 20px;
    }

    .news-date .month {
        font-size: 11px;
    }

    .news-date .year {
        font-size: 10px;
    }

    /* IMAGE FIX */
    .news-image {
        display: flex;
        justify-content: center;
    }

    .news-image img {
        width: 100%;
        max-width: 220px;
        height: 120px;      /* fixed smaller height */
        object-fit: cover;  /* crop properly */
        border-radius: 8px;
        margin: 0 auto;
    }

    .news-content {
        padding: 0 10px;
    }

    .news-content h3 {
        font-size: 17px;
    }

    .news-content p {
        font-size: 13px;
    }

}


/* 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;
}