:root {
    --red: #ed1a2e;
    --purple: #9e1e67;
    --deep: #72337c;
    --navy: #AF1E5C;

}

/* body{
font-family: 'Poppins',sans-serif;
background:#f5f7fb;
} */
/* .row.g-4>.col-lg-4 {
    display: flex;
} */

.award-card,
.newsletter-card {
    width: 100%;
}

/*======================
SECTION
======================*/

.achievement-section {
    position: relative;
    overflow: hidden;
    /* background:
        radial-gradient(circle at left top, #ffeef1 0%, transparent 26%),
        radial-gradient(circle at right bottom, #eef2ff 0%, transparent 28%),
        linear-gradient(180deg, #f8f9fc, #eef2f8);*/
}

.bg-circle {
    position: absolute;
    /* width: 320px;
    height: 320px; */
    width: 309px;
    height: 309px;
    border-radius: 50%;
    opacity: .55;
}

.bg-left {
    background: #ffe8ec;
    top: -120px;
    left: -140px;
}

.bg-right {
    background: #edf2ff;
    /* bottom: -120px;
    right: -140px; */
    bottom: 3px;
    right: -145px;
}

/*======================
HEADING
======================*/
.sub-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    letter-spacing: 5px;
    font-size: 18px;
    font-weight: 600;
    /* color: var(--navy); */
    color: #000;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.sub-heading span {
    width: 70px;
    height: 2px;
    background: #ed1a2e;
}

.section-heading h2 {
    margin: 0 auto 30px;
    font-size: 35px;
    /* color: var(--navy); */
    color: #000;
    border-bottom: 4px solid #ed1a2e;
    width: fit-content;
    padding-bottom: 10px;
    text-align: center;
}

.section-heading p {
    max-width: 760px;
    margin: auto;
    font-size: 18px;
    line-height: 1.7;
    color: #556787;
}

/*======================
CARDS
======================*/

.award-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    /* box-shadow: 0 20px 45px rgba(0, 0, 0, .12); */
    transition: .4s;
}

.award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .18);
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 285px;
    background: #1A0513;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: 1s;
}

.award-card:hover .card-image img {
    transform: scale(1.08);
}

.badge-custom {
    position: absolute;
    left: 6px;
    bottom: 5px;
    background: linear-gradient(90deg, #ed1a2e, #ff3653);
    color: #fff;
    padding: 12px 22px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(237, 26, 46, .35);
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 30px 28px;
    background: #1A0513;
    color: #fff;
    overflow: hidden;
}

.card-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.card-content h5 {
    font-size: 22px;
    margin-bottom: 18px;
    font-weight: 500;
}

.card-content p {
    font-size: 18px;
    line-height: 1.6;
    opacity: .95;
    margin-bottom: 25px;
}

/* .card-content a{
    display:inline-flex;
    align-items:center;
    gap:10px;

    align-self:flex-start;  
    width:fit-content;

    padding:14px 28px;
    border-radius:50px;

   
  background:linear-gradient(90deg,#ed1a2e,#9e1e67);
color:#fff;
    text-decoration:none;
    font-size:18px;
    font-weight:700;
    transition:.3s ease;
} */

/* .card-content a:hover{
    transform:translateY(-2px);
    gap:14px;
     background:linear-gradient(90deg,#ed1a2e,#9e1e67);
} */
/* .card-content::after{
    content:"";
    position:absolute;
    right:-15px;
    bottom:-15px;
    width:150px;
    height:120px;
    background:repeating-linear-gradient(
        135deg,
        transparent 0 10px,
        rgba(237,26,46,.75) 10px 13px
    );
} */


/* Bottom-right decorative corner */
.card-content::after {
    content: "";
    position: absolute;
    right: -2px;
    bottom: -2px;

    width: 145px;
    height: 115px;

    background: repeating-linear-gradient(135deg,
            transparent 0,
            transparent 13px,
            rgba(237, 26, 46, 0.85) 13px,
            rgba(237, 26, 46, 0.85) 15px);

    clip-path: polygon(100% 0,
            100% 100%,
            0 100%);

    pointer-events: none;
    z-index: 1;
}

/*======================
NEWSLETTER
======================*/

/* .newsletter-card{
height:100%;
background:#fff;
border-radius:22px;
overflow:hidden;
position:relative;
box-shadow:0 20px 45px rgba(0,0,0,.10);
transition:.45s;
} */

.newsletter-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    height: 100%;
     box-shadow: 0 20px 45px rgba(0, 0, 0, .12); 
}

.newsletter-img {
    width: 100%;
    height: 285px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: 1s;
}

.newsletter-card:hover .newsletter-img {
    transform: scale(1.06);
}

.featured {
    position: absolute;
    top: 18px;
    left: 18px;
    background: linear-gradient(90deg, #ed1a2e, #ff3653);
    color: #fff;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 10px;
    z-index: 5;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}

.newsletter-body {
    position: relative;
    z-index: 2;
    padding: 30px 28px;
    background: #fff;
}

.newsletter-body small {
    display: block;
    letter-spacing: 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 12px;
}

.newsletter-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #72337C;
    margin-bottom: 15px;
}

.newsletter-body p {
    font-size: 18px;
    line-height: 1.6;
    color: #5c6d8c;
    margin-bottom: 20px;
}

/* Keep your button exactly the same */
.btn-news {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    background: linear-gradient(90deg, #ed1a2e, #9e1e67);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

.btn-news:hover {
    background: linear-gradient(90deg, #9e1e67, var(--deep));
    transform: translateY(-2px);
}

.newsletter-wave {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 170px;
    height: 170px;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
    /* Add this */
}

.newsletter-wave::before {
    content: "";
    position: absolute;
    right: -65px;
    bottom: -65px;
    width: 180px;
    height: 180px;
    border: 22px solid #ed1a2e;
    border-radius: 50%;
}

.newsletter-wave::after {
    content: "";
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 120px;
    height: 120px;
    border: 18px solid #72337c;
    border-radius: 50%;
}

/* =========================
   AWARD GALLERY
========================= */
/* Gallery Modal */
.award-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.award-gallery-modal.active {
    display: flex;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.gallery-box {
    position: relative;
    z-index: 2;
    width: 80%;
    max-width: 750px;
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

/* Title */
#galleryTitle {
    font-size: 20px;
    color: #1A0513;
    margin: 0 35px 15px;
}

/* Image */
.gallery-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#galleryImage {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    border-radius: 8px;
}

/* Simple arrows */
.gallery-image-wrapper .gallery-arrow-model {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    border: none;
    background: transparent;
    color: #1A0513;

    font-size: 35px;
    font-weight: 400;
    line-height: 1;

    padding: 5px 10px;
    cursor: pointer;
    z-index: 5;
}

.gallery-image-wrapper .gallery-arrow-model:hover {
    color: #ed1a2e;
}

.gallery-prev {
    /* left: 5px; */
    left: -26px;
}

.gallery-next {
    right: 5px;
}

/* Close */
.gallery-close {
    position: absolute;
    top: 8px;
    right: 12px;

    border: none;
    background: transparent;

    color: #1A0513;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;

    padding: 0;
    cursor: pointer;

    z-index: 10;
}

.gallery-close:hover {
    color: #ed1a2e;
}

/* Counter */
.gallery-counter {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
}


/* Mobile */
@media (max-width: 767px) {

    .gallery-box {
        width: 92%;
        padding: 15px;
    }

    #galleryTitle {
        font-size: 17px;
        margin-bottom: 12px;
    }

    #galleryImage {
        max-height: 350px;
    }

    /* .gallery-arrow-model {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 16px;
    } */

    /* .gallery-prev {
        left: 5px;
    }

    .gallery-next {
        right: 5px;
    } */
    .gallery-arrow-model {
        display: none !important;
    }
}

/* Gallery icon */
.gallery-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.gallery-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.gallery-text {
    white-space: nowrap;
}

.gallery-arrow {
    font-size: 28px;
    line-height: 1;
    font-weight: 300;
    margin-left: 2px;
    transition: transform 0.3s ease;
}

/* Hover */
.gallery-link:hover {
    color: #fff;
}

.gallery-link:hover .gallery-arrow {
    transform: translateX(6px);
}

/* =========================
   MOBILE
========================= */



/*======================
RESPONSIVE
======================*/

@media(max-width:991px) {

    .section-heading h2 {
        font-size: 46px;
    }

    .section-heading p {
        font-size: 18px;
    }

    .card-content {
        min-height: auto;
    }

}

@media (min-width: 1025px) and (max-width: 1440px) {
    .card-image {

        height: 244px;
        background: #1A0513;
    }

    .award-card {
        height: auto;
    }

    .newsletter-img {
        height: 242px;
    }

    .newsletter-card {
        height: auto;
    }

    .btn-news {
        display: inline-block;
        padding: 0px 36px;
    }

    .newsletter-body h3 {
        margin-bottom: 0px;
    }

    .newsletter-body p {
        margin-bottom: 35px;
		z-index:999;
    }

    .newsletter-body {
        padding: 19px 28px;
    }
	.newsletter-body P{
       font-size:14px;
    }
}

@media(max-width:576px) {

    .sub-heading {
        font-size: 13px;
        letter-spacing: 3px;
    }

    .sub-heading span {
        width: 35px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .section-heading p {
        font-size: 16px;
    }

    .card-image img,
    .newsletter-img {
        height: 260px;
    }

    .card-content h3,
    .newsletter-body h3 {
        font-size: 30px;
    }

    .card-content h5 {
        font-size: 20px;
    }

    .card-content p,
    .newsletter-body p {
        font-size: 16px;
    }

    .gallery-prev {
        display: none;
    }

    .gallery-next {
        display: none;
    }

}