/*=====================================
        GOOGLE FONT
=====================================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*=====================================
        RESET
=====================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    /* background: #ffffff; */
    background: linear-gradient(125deg, #EEF7FF 0, #ffffff 40%, #fbe7d3 60%);

    color: #222;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1500px;
    margin: auto;
}


/*=====================================
        FLOATING WHATSAPP BUTTON
=====================================*/

.floating-whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: #ffffff;

    border-radius: 50%;
    font-size: 30px;

    text-decoration: none;

    z-index: 99999;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.20);

    transition: all 0.3s ease;
}



/* Hover Effect */
.floating-whatsapp:hover {
    color: #ffffff;
    background: #20b957;

    transform: scale(1.1);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.30);
}

/* WhatsApp Icon */
.floating-whatsapp i {
    line-height: 1;
}

.float-write-review-btn {
    position: fixed;
    right: 25px;
    bottom: 100px;
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    background: #d72638;
    color: #ffffff;

    border: none;
    border-radius: 50%;
    font-size: 24px;

    z-index: 99999;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.20);

    transition: all 0.3s ease;
}


/* Hover Effect */
.float-write-review-btn:hover {
    color: #d72638;
    background-image: linear-gradient(125deg, #EEF7FF 50%, #fca625 100%);

    transform: scale(1.1);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.30);
}


/* Mobile */
@media (max-width: 480px) {
    .float-write-review-btn {
        right: 16px;
        bottom: 84px;
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .floating-whatsapp {
        right: 16px;
        bottom: 16px;

        width: 52px;
        height: 52px;

        font-size: 27px;
    }
}


/*=====================================
        HEADER
=====================================*/


/* Header */

header {

    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1400px;

    z-index: 9999;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    background: rgba(255, 255, 255, .08);

    border: 1px solid rgba(255, 255, 255, .2);

    border-radius: 18px;

    transition: .4s;
    pointer-events: auto;


}

header .container {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 15px 10px;

}

nav ul {

    display: flex;
    gap: 40px;

    list-style: none;

}

nav a {

    color: #fff;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;

}

nav a:hover {
    color: #d72638;

}

.contact-btn {

    padding: 14px 30px;

    border-radius: 50px;

    background: rgba(255, 255, 255, .15);

    border: 1px solid rgba(255, 255, 255, .2);

    color: #fff;

    text-decoration: none;

    backdrop-filter: blur(12px);

    transition: .3s;
    font-size: 10pt !important;

}

.contact-btn:hover {

    background: #d72638;

}

.logo-white {

    width: 250px !important;

}

.logo-black {
    width: 60%;

    display: none;

}

/* Scroll Effect CSS */
header.scrolled {

    /* background:#fff; */
    max-width: 1450px;

    border: 1px solid #fca625;
    background: linear-gradient(125deg, #EEF7FF 0, #ffffff 40%, #fbe7d3 60%);

    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);

}

header.scrolled nav a {

    color: #222;

}

header.scrolled .contact-btn {

    background: #d72638;

    color: #fff;

}

header.scrolled .logo-white {

    display: none;
    width: 20%;

}

header.scrolled .logo-black {

    display: block;
    width: 250px !important;


}

/* Responsive Menu */

.menu-toggle {

    display: none;
    pointer-events: auto;

    cursor: pointer;

    z-index: 10001;

    position: relative;

}

.menu-toggle span {

    width: 28px;

    height: 3px;

    background: #fff;

    transition: .3s;

}

header.scrolled .menu-toggle span {

    background: #222;

}


@media(max-width:1200px) {
    .logo-white {
        width: 150px !important;
    }

    .logo-black {
        width: 150px !important;
    }

    .contact-btn {
        font-size: 20pt !important;
    }

    .content h1 {
        font-size: 8pt !important;
    }

}

@media(max-width:992px) {

    .logo-white {
        width: 200px !important;
    }

    .logo-black {
        width: 200px !important;
    }

    #navbar {

        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;

        background: #fff;

        display: none;

        border-radius: 0 0 20px 20px;

        padding: 25px 0;

    }

    #navbar.active {

        display: block;

    }

    #navbar ul {

        flex-direction: column;

        align-items: center;

        gap: 25px;

    }

    #navbar a {

        color: #222;

    }

    .menu-toggle {

        display: flex;

        flex-direction: column;

        gap: 6px;

    }

    .contact-btn {

        display: block;

    }

    .content h1 {
        font-size: 20pt !important;
    }

}

@media (max-width:768px) {
    .logo-white {
        width: 300px !important;
    }

    .logo-black {
        width: 200px !important;
    }

    header {
        top: 5px;
        /* background: #111; */
        padding: 15px 0;
        max-width: 800px;
        width: 90%;
    }

    header .container {

        flex-direction: row;

        gap: 20px;

    }

    nav ul {

        flex-direction: column;

        gap: 18px;

    }
}


@media (max-width:480px) {

    header .container {

        flex-direction: row;

        gap: 20px;

    }

    .logo-white {
        width: 150px !important;
    }

    .logo-black {
        width: 80px;
    }

    .contact-btn {
        font-size: 7pt !important;
        padding: 7px 15px;

    }
}


@media (max-width:375px) {

    header .container {

        flex-direction: column;

        gap: 20px;

    }

    .logo-white {
        width: 80px;
    }

    .logo-black {
        width: 80px;
    }

    .contact-btn {
        font-size: 8pt;
    }
}


/* menu close */

.btn {

    color: #fff;

    border: 2px solid #fff;

    padding: 12px 35px;

    border-radius: 40px;

    transition: .3s;

}

.btn:hover {

    background: #ff5c5c;

    border-color: #ff5c5c;

}



/* Glass Header */

header.sticky {

    padding: 15px 0;

    background: rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, .15);

    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);

}

header.sticky nav a,
header.sticky .logo h2 {

    color: #fff;

}

/*=====================================
        HERO
=====================================*/

.hero {

    position: relative;

    width: 100%;

    height: 100vh;

    overflow: hidden;

}

.slide {

    position: absolute;
    inset: 0;

    opacity: 0;

    visibility: hidden;

    transition: opacity .8s ease;

}

.slide.active {

    opacity: 1;

    visibility: visible;

    z-index: 2;

}

.slide img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    z-index: 1;

}



.content {

    position: absolute;

    left: 10%;

    top: 60% !important;

    transform: translateY(-50%);

    width: 700px;

    color: #fff;

    z-index: 5;

}

/* Initial State */

.content h1 {

    opacity: 0;

    transform: translateY(80px);
    font-size: 20px;
    z-index: 3;
    color: #fbe7d3;
    /* background: linear-gradient(135deg, #fbe7d3 30%, #ffffff 40%, #fbe7d3 60%);
     -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */

}

.content p {
    font-weight: 400;
    opacity: 0;
    font-size: 8px;
    transform: translateY(80px);

}


.content .buttons {

    opacity: 0;

    transform: translateY(80px);

}

/* Animation */

.slide.active h1 {

    animation: slideUp .8s ease forwards;
    /* color: #ffffff; */
    /* background-image: linear-gradient(to right, #f59104 0%, #fac95f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */

}

.slide.active p {

    animation: slideUp .8s .3s ease forwards;

}

.slide.active .buttons {

    animation: slideUp .8s .6s ease forwards;

}

@keyframes slideUp {

    from {

        opacity: 0;

        transform: translateY(80px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

@media (min-width:1366px) {

    .content {
        top: 60%;
        width: 900px !important;
    }

    .content h1 {
        font-size: 50pt !important;
    }

    .content p {
        font-size: 20px !important;
        line-height: 28px;
    }

}

@media (max-width: 992px) {
    .content {
        top: 55%;
    }

    .content {
        width: 90%;
        left: 5%;
    }

    .content h1 {
        font-size: 30pt !important;
    }

    .content p {
        font-size: 8px;
        line-height: 28px;
    }

    .content h1,
    .content p,
    .buttons {

        opacity: 0;
        transform: translateY(60px);

    }

}

@media (max-width: 768px) {

    .content {

        width: 90%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;

    }

    .content h1 {

        font-size: 30pt !important;
        line-height: 1.2;

    }

    .content p {

        font-size: 8px;
        line-height: 26px;

    }

    .buttons {

        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;

    }

    .content h1,
    .content p,
    .buttons {

        opacity: 0;
        transform: translateY(40px);

    }

}

@media (max-width: 480px) {

    .content h1 {

        font-size: 30px;

    }

    .content p {

        font-size: 15px;
        line-height: 24px;

    }

    .primary-btn,
    .secondary-btn {

        width: 100%;
        text-align: center;

    }

    .content h1,
    .content p,
    .buttons {

        opacity: 0;
        transform: translateY(25px);

    }

    .dots span {
        display: none;
    }

}

/*=====================================
        OVERLAY
=====================================*/

/* .overlay {

    position: absolute;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, .35);

    z-index: 2;

} */

.overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, .45);

    z-index: 2;

    /* background:linear-gradient(
        to right,
        rgba(248, 248, 248, 0.75),
        rgba(0,0,0,.35),
        rgba(0,0,0,.15)
    ); */

}

/*=====================================
        HERO CONTENT
=====================================*/

.content {

    position: absolute;

    top: 50%;

    left: 10%;

    transform: translateY(-50%);

    width: 700px;

    color: #fff;

    z-index: 5;

}

.content h1 {

    font-size: 30pt;

    line-height: 1.1;

    margin-bottom: 25px;

    font-weight: 800;
    z-index: 5;


}

.content span {

    color: #2575fc;
    font-size: 40pt;


}

.content p {

    font-size: 15px;

    line-height: 30px;

    margin-bottom: 35px;
    font-weight: 400
}

/*=====================================
        BUTTONS
=====================================*/

.buttons {

    display: flex;

    gap: 20px;

}

.primary-btn {

    background: #d72638;

    /* background-image: linear-gradient(to right, #1F1FFF 0%, #2575fc 100%); */
    color: #fff;

    padding: 16px 42px;

    border-radius: 50px;

    transition: .3s;

}

.primary-btn:hover {

    /* background: #fca625; */
    background-image: linear-gradient(125deg, #EEF7FF 50%, #fca625 100%);
    border: 1px solid #fca625;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

    color: black;


}

.secondary-btn {

    border: 2px solid #fff;

    color: #fff;

    padding: 16px 42px;

    border-radius: 50px;

    transition: .3s;

}

.secondary-btn:hover {

    background-image: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);

    color: #ffffff;
    border: none;

}

/*=====================================
        ARROWS
=====================================*/

.prev,
.next {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 55px;

    height: 55px;

    border-radius: 50%;

    border: none;

    background: rgba(255, 255, 255, .25);

    color: #fff;

    font-size: 28px;

    cursor: pointer;

    z-index: 10;

    transition: .3s;

}

.prev {

    left: 30px;

}

.next {

    right: 30px;

}

.prev:hover,
.next:hover {

    background: #d72638;

}

/*=====================================
        DOTS
=====================================*/

.dots {

    position: absolute;

    right: 40px;

    top: 50%;

    transform: translateY(-50%);

    display: flex;

    flex-direction: column;

    gap: 18px;

    z-index: 20;
}

.dot {

    width: 14px;

    height: 14px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .4);

    cursor: pointer;

    transition: .4s;

}

.dot:hover {

    background: #fff;

}

.dot.active {

    width: 16px;

    height: 40px;

    border-radius: 20px;

    /* background: #2575fc; */
    background: #e63946;

}



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

.about {

    position: relative;



    /* background: linear-gradient(125deg, #EEF7FF 0, #ffffff 40%, #fbe7d3 60%); */
    padding: 120px 0;



}

.about-overlay {

    position: absolute;

    inset: 0;

    background: var(--line);

}

.about-wrapper {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: 1fr 4fr;

    gap: 40px;

    align-items: center;
    margin-bottom: 5%;

}

/* Highlights Section */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 320px);
    justify-content: center;
    gap: 25px;
    margin-top: 50px;
}

/* Highlight Box */
.highlight-box {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.highlight-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.highlight-box i {
    font-size: 42px;
    color: #e63946;
    margin-bottom: 20px;
}

.highlight-box h3 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
}

.highlight-box p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* .highlight-box {

    width: 320px;
    background: rgba(255, 255, 255, .12);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, .18);

    border-radius: 20px;
   
    padding: 10px 30px;

    text-align: center;

    color: #fff;

    transition: .35s ease;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .20);

}

.highlight-box:hover {

    transform: translateY(-8px);

    background: rgba(255, 255, 255, .18);

    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);

}

.highlight-box i {

    font-size: 34px;

    color: #7a7a7a;

    margin-bottom: 15px;

}

.highlight-box h3 {

    font-size: 38px;

    font-weight: 700;

    margin-bottom: 8px;
    color: #0d6efd;

}

.highlight-box p {

    font-size: 15px;

    line-height: 24px;

    color: #000000;

} */



@media (max-width:1366px) {
    .content h1 {
        font-size: 52px !important;
        line-height: 1.5;
    }

    span.abouthead {
        font-size: 45px !important;

    }

    .about-card p {
        font-size: 14px !important;
        line-height: 24px !important;

    }



}

@media (max-width:992px) {

    .about-wrapper {

        grid-template-columns: 1fr;

    }


    .about-highlights {
        grid-template-columns: repeat(3, 220px);
        justify-content: center;
    }

    .highlight-box {

        width: 220px;

    }

    .about-title {
        margin: 0 auto;
    }

    /* .about-title span { */
    /* margin: 0 auto; */
    /* } */


}


@media (max-width:576px) {

    .about-highlights {
        grid-template-columns: repeat(1, 220px);
    }

    .highlight-box {

        width: 100%;

        max-width: 300px;

    }

}

/*=========================
      LEFT TITLE
==========================*/

.about-title h2 {

    font-size: 64px;

    font-weight: 800;

    /* background-image: linear-gradient(to right, #1F1FFF 0%, #2575fc 100%); */
    /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    color: #222;
    line-height: 1.1;

    margin-bottom: 20px;

    letter-spacing: 1px;

}

/* Animated Line */

.about-title span {

    display: block;

    width: 0;

    height: 4px;

    background: #d72638;

    border-radius: 20px;

    animation: lineGrow 5.2s ease forwards;

}

/*=========================
      GLASS CARD
==========================*/

.about-card {

    width: 100%;
    max-width: 1050px;

    min-height: 480px;

    padding: 70px 60px;

    border-radius: 25px;



    /* background: rgba(255, 255, 255, 0.22); */

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.45);

    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.12),
        0 2px 10px rgba(255, 255, 255, 0.35) inset;

}




.highlight-box {
    width: 100%;


    padding: 70px 60px;

    border-radius: 25px;

    background: #ffffff1f;

    backdrop-filter: blur(18px);

    border: 1px solid rgba(212, 212, 212, 0.788);

    box-shadow: 0 20px 60px rgba(0, 0, 0, .30);

}

.about-card h3 {

    font-size: 25px;

    margin-bottom: 25px;

}

span.abouthead {

    font-size: 60px;

    margin-bottom: 25px;
    /* color: #ff5757; */
    color: #d72638;
    /* background-image: linear-gradient(to right, #1F1FFF 0%, #2575fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */

}

.about-card p {

    font-size: 18px;

    line-height: 34px;

    padding-bottom: 15px;

}

.about-features {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

    margin-bottom: 35px;
    padding-top: 20px;

}

.feature {

    display: flex;

    align-items: center;

    gap: 10px;

}

.feature i {

    /* color: #6f86d6; */
    color: #fdb9b9;

}

@keyframes lineGrow {

    from {

        width: 0;

        opacity: 0;

    }

    to {

        width: 100%;

        opacity: 1;

    }

}

.about-title span.animate {

    animation: lineGrow 6ms ease forwards;

}

@keyframes lineGrow {

    from {

        width: 0;

        opacity: 0;

    }

    to {

        width: 140px;

        opacity: 1;

    }

}

@media(max-width:992px) {
    .about-title h2 {
        font-size: 46px;
    }
}


@media(max-width:768px) {

    .about-wrapper {

        grid-template-columns: 1fr;

        gap: 40px;

    }

    .about-title {

        text-align: left;
        margin: 0 auto;

    }

    .about-title h2 {
        font-size: 46px;
    }

    .about-title span {

        position: relative;

        display: block;

        width: 0;

        height: 4px;

        background: #d72638;

        overflow: hidden;

        transition: 1s;
        /* margin: 0 auto !important; */

    }

    .about-title span::after {

        content: "";

        position: absolute;

        top: 0;

        right: -20px;

        width: 20px;

        height: 100%;

        background: #fff;

        filter: blur(6px);

    }

    .about-title.animate span {

        width: 180px;

    }

    .about-card {
        margin: 0 auto;
    }

}

/*=====================================
      Services
=====================================*/
.services {

    position: relative;
    padding: 120px 0;
}

.services-container {
    width: min(1400px, 90%);
    margin: 80px auto;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 80px;
    align-items: flex-start;
}



@keyframes lineGrow {

    from {

        width: 0;

        opacity: 0;

    }

    to {

        width: 140px;

        opacity: 1;

    }

}

/* LEFT */

.services-left h2 {
    font-size: 72px;
    font-weight: 800;
    line-height: .95;
    margin: 20px 0;
}

.sub-title {
    color: #ff4d6d;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.line {
    width: 170px;
    height: 4px;
    background: #ff4d6d;
    margin: 25px 0;
    border-radius: 50px;
}

.services-title h2 {

    font-size: 60px;

    line-height: 1.05;

    margin-bottom: 25px;

    position: relative;

}

.services-title span {

    display: block;

    width: 170px;

    height: 4px;

    background: #e53935;

    margin-top: 18px;

    transform: scaleX(1);

    transform-origin: left;

    transition: 1s;

}

.services-title.animate span {

    transform: scaleX(1);
    animation: lineGrow .8s ease forwards;


}


.services-left p {
    color: #666;
    line-height: 1.9;
    font-size: 17px;
}

/* RIGHT */

.notification-stack {
    position: relative;
    width: 100%;
    max-width: 650px;
    /* height:520px; */
    margin: 0 auto;
}

/* CARD */

.notification-card {
    position: absolute;
    width: 100%;
    /* background:#fff; */
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
    transition: .4s ease;
    /* overflow:hidden;
    cursor:pointer;
        min-height:120px; */
    background: linear-gradient(125deg, #EEF7FF 20%, #ffffff 40%, #f7c899 100%);
}


/* Stack */

.notification-card:nth-child(1) {
    top: 0;
    z-index: 4;
    transform: scale(1);
}

.notification-card:nth-child(2) {
    top: 18px;
    left: 3%;
    transform: scale(.96);
    opacity: .75;
    z-index: 3;
}

.notification-card:nth-child(3) {
    top: 36px;
    left: 6%;
    transform: scale(.92);
    opacity: .55;
    z-index: 2;
}

.notification-card:nth-child(4) {
    top: 54px;
    left: 9%;
    transform: scale(.88);
    opacity: .35;
    z-index: 1;
}

/* HEADER */

.card-header {
    display: flex;
    align-items: center;
}

.profile {
    display: flex;
    align-items: center;
    gap: 16px;
}



/* .small-title{
    font-size:13px;
    color:#999;
} */

.profile h3 {
    margin-top: 5px;
    font-size: 32px;
    font-weight: 700;
    color: #d72638;
}

/* CONTENT */

.card-content {
    margin-top: 20px;
    max-height: 0;
    opacity: 0;
    transition: .4s;
}

.notification-card.active:hover {
    min-height: 500px;
}

.notification-card.active:hover .card-content {
    max-height: 350px;
    opacity: 1;
}

.card-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 18px;
}

.card-content ul {
    list-style: none;
}

.card-content li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #444;
}

.card-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff4d6d;
    font-weight: bold;
}

.services-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    padding: 13px 28px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: .3s;
}

services-btn:hover {
    background: #ff4d6d;
}


a.servicestop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    padding: 13px 20px !important;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: .3s;
}

a.servicestop-btn:hover {
    background: #ff4d6d;
}

/* RESPONSIVE */
@media(min-width:1600px) {
    f .notification-card {
        width: 850px;
    }
}

@media(min-width:1400px) {

    .services-left h2 {
        position: relative;
        /* left: 60%; */
    }

    .notification-stack {
        width: 100%;
        width: 650px;
        margin-left: auto;
    }

}

@media(max-width:1200px) {
    .services-container {

        grid-template-columns: 380px 1fr;

    }

    .notification-card {
        width: 100%;
    }
}

@media(max-width:992px) {

    .services {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .services-title {
        margin: 0 auto;
    }

    .services-left {
        text-align: center;
        margin: 0 auto;
    }

    .line {
        margin: 20px auto;
    }

    .notification-stack {
        width: 90%;
        margin: auto;
    }


    .services-title h2 {
        font-size: 46px;
        font-weight: 800;
        line-height: .95;
        margin: 20px 0;
    }

    .services-container {

        grid-template-columns: 1fr;

    }


}

@media(max-width:768px) {

    .services {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .services-left {
        text-align: center;
        margin: 0 auto;
    }

    .line {
        margin: 20px auto;
    }

    .notification-stack {
        margin: 0 auto;
        top: -94px
    }

    .services-container {

        grid-template-columns: 1fr;

    }

    .notification-card {
        width: 100%;
        margin: 20px auto;
    }

    .services-title {
        margin: 0 auto;
    }
}

@media(max-width:480px) {

    .notification-stack {
        width: 90%;
        margin: 0 auto;

    }


    .services-title h2 {
        font-size: 46px !important;
    }

    .services-container {

        grid-template-columns: 1fr;

    }

    .notification-card {
        width: 100%;
        top: 10px
    }

    .notification-card.active:hover {
        min-height: 580px;
    }
}

/*=====================================
      WHY CHOOSE US
=====================================*/

.why-us {

    padding: 120px 0;

    /* background: #f7f8fc; */
    /* background: linear-gradient(125deg,
#EEF7FF 0,
#e9f2fa 40%,
#f7f8fc 60%); */
    /* background: linear-gradient(125deg, #EEF7FF 0, #ffffff 40%, #fbe7d3 60%); */

}

/* Layout */
.why-wrapper {

    display: grid;

    grid-template-columns: 400px 1fr;

    gap: 80px;

    align-items: start;

}

/* Left Heading */
.why-title {

    position: sticky;

    top: 120px;

}

.why-title h2 {

    font-size: 60px;

    line-height: 1.05;

    margin-bottom: 25px;

    position: relative;

}

.why-title span {

    display: block;

    width: 170px;

    height: 4px;

    background: #e53935;

    margin-top: 18px;

    transform: scaleX(0);

    transform-origin: left;

    transition: 1s;

}

.why-title.animate span {

    transform: scaleX(1);

}

.why-title p {

    color: #666;

    line-height: 30px;

}

/* Cards */
.why-cards {

    display: flex;

    flex-direction: column;

    gap: 35px;

}

/* Card */
.why-card {

    position: relative;

    background: rgba(255, 255, 255, .55);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, .35);

    border-left: 5px solid #e53935;

    border-radius: 22px;

    padding: 45px;

    overflow: hidden;

    opacity: 0;

    transform: translateY(80px);

    transition: all .8s ease;

}

/* Show Animation */
.why-card.show {

    opacity: 1;

    transform: translateY(0);

}

/* Background Number */
.number {

    position: absolute;

    right: 30px;

    top: 15px;

    font-size: 90px;

    font-weight: 800;

    color: rgba(229, 57, 53, .08);

    user-select: none;

}

/* Typography */
.why-card h3 {

    font-size: 28px;

    margin-bottom: 18px;

    position: relative;

    z-index: 2;

}

.why-card p {

    line-height: 30px;

    color: #666;

    position: relative;

    z-index: 2;

}

/* Hover Effect */
.why-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);

    border-left: 8px solid #e53935;

}

@media(max-width:992px) {

    .why-wrapper {

        grid-template-columns: 1fr;

        gap: 50px;

    }

    .why-title {
        margin: 0 auto;
        text-align: center;
        position: relative;

        top: 0;

    }

    .why-title h2 {

        font-size: 46px;
        text-align: left;
        margin: 0 auto;
        display: inline-block;

    }

    .why-title span {
        margin-bottom: 20px;
    }

}

@media(max-width:768px) {
    .why-title {
        margin: 0 auto;
        text-align: center;
    }



    .why-title.animate span {
        margin-bottom: 20px;
    }
}

@media(max-width:576px) {

    .why-card {

        padding: 30px;

    }

    .number {

        font-size: 60px;

    }

}

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

/* section h2 {

    position: relative;

    display: inline-block;

    left: 40%;

    transform: translateX(-50%);

} */

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

.testimonial-section {

    padding: 120px 0;
    background: #ffffff;
    overflow: hidden;

}

.testimonial-section .container {
    max-width: 1140px;
    margin: auto;
    padding: 0 15px;
}

.testimonial-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-header span {
    color: #d72638;
    font-size: 1rem;
    margin-bottom: 10px;
}

.testimonial-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.testimonial-header p {
    width: 650px;
    margin-bottom: 10px;
    text-align: center;

}


/*=========================================
            SLIDER
=========================================*/

.testimonial-slider {

    position: relative;
    width: 100%;
    height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

}

/*=========================================
            TRACK
=========================================*/

.testimonial-track {

    position: relative;

    width: 100%;
    height: 450px;

}

/*=========================================
            CARD
=========================================*/

.testimonial-card {

    position: absolute;

    width: 620px;
    max-width: 90%;

    min-height: 340px;

    padding: 45px;

    border-radius: 30px;

    background: rgba(255, 255, 255, .75);

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, .45);

    box-shadow:

        0 20px 60px rgba(0, 0, 0, .08);

    transition:

        transform .8s ease,
        opacity .8s ease,
        left .8s ease,
        filter .8s ease;

}

/*=========================================
        CLIENT HEADER
=========================================*/

.client-header {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 30px;

}

.client-header img {

    width: 70px;

    height: 70px;

    border-radius: 50%;

    object-fit: cover;

}

.client-header h3 {

    font-size: 24px;

    margin-bottom: 6px;

    color: #222;

}

.client-header span {

    color: #777;

    font-size: 17px;

}

/*=========================================
        STARS
=========================================*/

.stars {

    color: #ffb400;

    font-size: 22px;

    margin-bottom: 25px;

}

/*=========================================
        REVIEW TEXT
=========================================*/

.testimonial-card p {

    font-size: 22px;

    line-height: 40px;

    color: #555;

}

/*=========================================
        COMPANY LOGO
=========================================*/

.company-logo {

    position: absolute;

    right: 35px;

    bottom: 35px;

}

.company-logo img {

    width: 55px;

}

/*=========================================
        BUTTONS
=========================================*/

.testimonial-btn {

    position: absolute;

    width: 60px;

    height: 60px;

    border: none;

    border-radius: 50%;

    /* background: #ff5a36; */
    background: #d72638;

    color: #fff;

    cursor: pointer;

    font-size: 22px;

    z-index: 99;

    transition: .3s;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);

}

.testimonial-btn:hover {

    transform: scale(1.08);

}

.prev-btn {

    left: -20px;

}

.next-btn {

    right: -20px;

}

/*=========================================
        DOTS
=========================================*/

.testimonial-dots {

    display: flex;

    justify-content: center;

    gap: 14px;

    margin-top: 45px;

}

.testimonial-dots span {

    width: 14px;

    height: 14px;

    border-radius: 50%;

    background: #cfcfcf;

    cursor: pointer;

    transition: .4s;

}

.testimonial-dots span.active {

    width: 45px;

    border-radius: 30px;

    background: #d72638;

}

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

@media(max-width:992px) {



    .testimonial-slider {

        height: 430px;

    }

    .testimonial-card {

        width: 90%;
        padding: 35px;

    }

    .prev-btn {

        left: 0;

    }

    .next-btn {

        right: 0;

    }

}

@media(max-width:768px) {



    .testimonial-card {

        min-height: auto;

        padding: 30px 25px;

    }

    .client-header {

        flex-direction: column;

        text-align: center;

    }

    .testimonial-card p {

        font-size: 18px;

        line-height: 32px;

    }

    .company-logo {

        position: relative;

        right: auto;
        bottom: auto;

        margin-top: 25px;

        text-align: center;

    }

}

/*=========================
      ACTIVE CARD
==========================*/

.testimonial-card.active {

    opacity: 1;

    z-index: 5;

}

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

.testimonial-card.left,
.testimonial-card.right {

    opacity: .35;

}

/*=========================
      HOVER
==========================*/

.testimonial-card.active:hover {

    transform:
        translateX(-50%) scale(1.03);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .15);

}

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

/* .clients {
    padding: 100px 0;
    background: #f8f9fc;
    overflow: hidden;
}

.clients h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
}

.client-slider {

    display: flex;

    align-items: center;

    gap: 60px;

    width: max-content;

    animation: scroll 20s linear infinite;

}

.client-slider img {

    width: 160px;

    filter: grayscale(100%);

    transition: .3s;

}

.client-slider img:hover {

    filter: grayscale(0%);

    transform: scale(1.08);

}

@keyframes scroll {

    from {

        transform: translateX(0);

    }

    to {

        transform: translateX(-50%);

    }

} */

/*=====================================
        FOOTER
=====================================*/

footer {

    background: #111;

    color: #fff;

    padding-top: 80px;

}

.footer-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    padding-bottom: 50px;

}

.footer-grid h3 {

    margin-bottom: 20px;

    font-size: 24px;

}

.footer-grid p {

    line-height: 30px;

    color: #cccccc;

}

.footer-grid ul li a {


    color: #cccccc;

    cursor: pointer;

    transition: .3s;
    line-height: 2;

}

.footer-grid ul li a:hover {

    color: #d72638;

    padding-left: 8px;

}

.copyright {

    text-align: center;

    padding: 25px;

    border-top: 1px solid rgba(255, 255, 255, .15);

    color: #bbb;

}

.social-icons {
    display: flex;
    gap: 20px;
    list-style: none;
}


.footercontact p {
    line-height: 20px;
    margin: 0 0 20px;
}

.footaddress p {
    font-size: 13pt;
}

.thenibranch {
    margin: 10px 10PX 20px 0;
    background: linear-gradient(125deg, #EEF7FF 0, #ffffff 40%, #fbe7d3 60%);
    border: 1px solid #d72638;
    border-radius: 12px;
    padding: 15px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.thenibranch h4 {
    color: #d72638;
    margin-bottom: 6px;
    /* text-decoration: underline; */
}

.thenibranch p {
    color: #000000;
    margin-bottom: 6px;
    font-size: 10pt;
}

.kodaikanalbranch {
    margin: 10px 10PX 20px 0;
    background: linear-gradient(125deg, #EEF7FF 0, #ffffff 40%, #fbe7d3 60%);
    border: 1px solid #d72638;
    border-radius: 12px;
    padding: 15px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}


.kodaikanalbranch h4 {
    color: #d72638;
    margin-bottom: 6px;
    /* text-decoration: underline; */
}

.kodaikanalbranch p {
    color: #000000;
    margin-bottom: 6px;
    font-size: 10pt;

}


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

@media(max-width:992px) {

    .content {

        width: 90%;

        left: 5%;

    }

    .content h1 {

        font-size: 30pt !important;

    }

    .about .container {

        flex-direction: column;

    }

    .services .container {

        grid-template-columns: repeat(2, 1fr);

    }

    .why .container {

        grid-template-columns: repeat(2, 1fr);

    }

    .footer-grid {

        grid-template-columns: 1fr;

        text-align: center;

    }

}

@media(max-width:768px) {



    .btn {

        display: none;

    }

    .hero {

        height: 90vh;

    }

    .slide img {

        height: 90vh;
        z-index: 1;

    }

    .content {

        width: 90%;

        text-align: center;

        left: 50%;

        transform: translate(-50%, -50%);

    }

    .content h1 {

        font-size: 30pt !important;

    }

    .content p {

        font-size: 16px;
        font-weight: 300 !important;

    }

    .buttons {

        justify-content: center;

        flex-wrap: wrap;

    }

    .services .container {

        grid-template-columns: 1fr;

    }

    .why .container {

        grid-template-columns: 1fr;

    }

    .prev,
    .next {

        width: 45px;

        height: 45px;

        font-size: 22px;

    }

}

@media(max-width:480px) {

    .content h1 {

        font-size: 30px;

    }

    .content p {

        line-height: 28px;

    }

    .primary-btn,
    .secondary-btn {

        width: 100%;

        text-align: center;

    }

    .about,
    .services,
    .why,
    .clients {

        padding: 70px 0;

    }

    .about-text h2,
    .services h2,
    .why h2,
    .clients h2 {

        font-size: 32px;

    }

}



/* =========================================================
   RESPONSIVE HEADER / NAVIGATION OVERRIDES
   Desktop, laptop, tablet and mobile
   Append this block at the END of css.css
========================================================= */
header#header {
    width: min(94%, 1500px);
    max-width: 1500px;
    padding: 0;
    isolation: isolate;
}

header#header>.container {
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 1.6vw, 28px);
    padding: 12px clamp(14px, 1.6vw, 26px);
}

header#header .logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    min-width: 0;
}

header#header .logo img.logo-white,
header#header .logo img.logo-black,
header#header.scrolled .logo img.logo-black {
    width: clamp(145px, 15vw, 230px) !important;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

header#header nav#navbar {
    display: block;
    position: static;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 0;
}

header#header nav#navbar ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: clamp(12px, 1.8vw, 30px);
}

header#header nav#navbar a {
    display: inline-block;
    color: #fff;
    font-size: clamp(12px, .9vw, 15px);
    font-weight: 600;
    white-space: nowrap;
}

header#header.scrolled nav#navbar a {
    color: #222;
}

header#header .contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px clamp(12px, 1.25vw, 22px);
    font-size: 13px !important;
    line-height: 1.3;
}

header#header .social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

header#header .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

header#header.scrolled .social-icons a {
    color: #222;
}

header#header .menu-toggle {
    display: none;
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    color: inherit;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 10002;
}

header#header .menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .25s ease, opacity .25s ease, background .25s ease;
}

header#header.scrolled .menu-toggle span {
    background: #222;
}

header#header .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

header#header .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

header#header .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Laptop and smaller desktop: reduce gaps before switching to a drawer */
@media (max-width: 1250px) {
    header#header {
        width: 96%;
    }

    header#header>.container {
        gap: 12px;
        padding: 11px 14px;
    }

    header#header .logo img.logo-white,
    header#header .logo img.logo-black,
    header#header.scrolled .logo img.logo-black {
        width: clamp(130px, 14vw, 185px) !important;
    }

    header#header nav#navbar ul {
        gap: clamp(10px, 1.2vw, 18px);
    }

    header#header .contact-btn {
        padding: 9px 12px;
        font-size: 12px !important;
    }
}

/* Tablet and mobile menu */
@media (max-width: 1050px) {
    header#header {
        top: 12px;
        width: calc(100% - 28px);
        max-width: 900px;
        border-radius: 16px;
    }

    header#header>.container {
        justify-content: space-between;
        gap: 12px;
        padding: 10px 14px;
    }

    header#header .logo img.logo-white,
    header#header .logo img.logo-black,
    header#header.scrolled .logo img.logo-black {
        width: clamp(135px, 23vw, 195px) !important;
    }

    header#header .menu-toggle {
        display: flex;
    }

    header#header nav#navbar {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
        padding: 14px;
        background: rgba(255, 255, 255, .98);
        border: 1px solid rgba(215, 38, 56, .14);
        border-radius: 16px;
        box-shadow: 0 18px 45px rgba(0, 0, 0, .16);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    header#header nav#navbar.active {
        display: block;
    }

    header#header nav#navbar ul {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
    }

    header#header nav#navbar li {
        width: 100%;
    }

    header#header nav#navbar a,
    header#header.scrolled nav#navbar a {
        display: block;
        width: 100%;
        padding: 13px 14px;
        color: #222;
        font-size: 15px;
        white-space: normal;
        border-radius: 9px;
    }

    header#header nav#navbar a:hover {
        color: #d72638;
        background: rgba(215, 38, 56, .07);
    }

    header#header .contact-btn {
        display: none;
    }

    header#header .header-social-wrap {
        display: none;
    }

    header#header.scrolled {
        background: linear-gradient(125deg, #EEF7FF 0, #fff 40%, #fbe7d3 100%);
    }
}

/* Small phones */
@media (max-width: 480px) {
    header#header {
        top: 8px;
        width: calc(100% - 20px);
        border-radius: 13px;
    }

    header#header>.container {
        padding: 8px 10px;
        gap: 8px;
    }

    header#header .logo img.logo-white,
    header#header .logo img.logo-black,
    header#header.scrolled .logo img.logo-black {
        width: clamp(120px, 39vw, 155px) !important;
    }

    header#header .menu-toggle {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    header#header nav#navbar {
        max-height: calc(100dvh - 80px);
        padding: 10px;
    }

    header#header nav#navbar a,
    header#header.scrolled nav#navbar a {
        padding: 12px;
        font-size: 14px;
    }
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {

    header#header,
    header#header .menu-toggle span,
    header#header nav#navbar {
        transition: none !important;
    }
}




/*=====================================
        DIWALI CELEBRATIONS
=====================================*/

.diwali-section {
    --dg-gold: #ffd27a;
    --dg-amber: #fca625;
    --dg-red: #d72638;
    --dg-card-w: 500px;
    --dg-gap: 22px;

    position: relative;
    padding: 110px 0 90px;
    background: radial-gradient(ellipse at 50% 0%, #6b1530 0%, #3a0a1a 55%, #240510 100%);
    color: #fff;
    overflow: hidden;
}

/* String of festival lights along the top edge */
.diwali-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    pointer-events: none;
    background:
        radial-gradient(circle at 24px 16px, #fff4d6 0 2px, #ffd27a 3px, rgba(252, 166, 37, .55) 5px, transparent 11px),
        radial-gradient(circle at 72px 16px, #ffd0c4 0 2px, #ff7a59 3px, rgba(215, 38, 56, .55) 5px, transparent 11px),
        linear-gradient(rgba(255, 210, 122, .35), rgba(255, 210, 122, .35));
    background-size: 96px 30px, 96px 30px, 100% 1px;
    background-position: 0 0, 0 0, 0 15px;
    background-repeat: repeat-x, repeat-x, no-repeat;
}

.diwali-wrapper {
    padding: 0 15px;
}

.diwali-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 56px;
}

.diwali-header h2 {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .03em;
    color: var(--dg-gold);
}

.diwali-bar {
    display: block;
    width: 70px;
    height: 3px;
    margin: 18px 0 22px;
    border-radius: 3px;
    background: var(--dg-amber);
}

.diwali-header h3 {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 14px;
}

.diwali-header p {
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
}

/* ---------- Gallery ---------- */

.diwali-gallery {
    position: relative;
}

.dg-viewport {
    overflow: hidden;
    padding: 12px 0 18px;
    cursor: grab;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.dg-viewport.is-dragging {
    cursor: grabbing;
}

.dg-track {
    display: flex;
    gap: var(--dg-gap);
    width: max-content;
    will-change: transform;
}

.dg-card {
    position: relative;
    flex: 0 0 var(--dg-card-w);
    width: var(--dg-card-w);
    aspect-ratio: 4 / 5;
    padding: 0;
    border: 1px solid rgba(255, 210, 122, .28);
    border-radius: 18px;
    overflow: hidden;
    background: #4a0e22;
    color: #fff;
    font: inherit;
    cursor: inherit;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
    transition: border-color .25s, box-shadow .25s;
}

.dg-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform .6s ease;
}

.dg-card:hover {
    border-color: var(--dg-gold);
    box-shadow: 0 18px 40px rgba(252, 166, 37, .22);
}

.dg-card:hover img {
    transform: scale(1.05);
}

.dg-card:focus-visible,
.dg-btn:focus-visible,
.dg-lb-close:focus-visible,
.dg-lb-nav:focus-visible {
    outline: 3px solid var(--dg-gold);
    outline-offset: 3px;
}

.dg-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 46px 18px 16px;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    background: linear-gradient(to top, rgba(26, 4, 12, .9), rgba(26, 4, 12, 0));
}

/* Shown when a photo file is missing */
.dg-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    color: rgba(255, 210, 122, .75);
    background: radial-gradient(circle at 50% 40%, #8a1c3a 0%, #4a0e22 70%);
}

.dg-card.is-missing img,
.dg-lb-stage.is-missing img {
    display: none;
}

/* ---------- Controls ---------- */

.dg-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.dg-btn {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--dg-red);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
    transition: transform .25s, background .25s, color .25s;
}

.dg-btn:hover {
    transform: scale(1.08);
    background: var(--dg-amber);
    color: #240510;
}

.dg-toggle {
    width: 44px;
    height: 44px;
    font-size: 15px;
    background: transparent;
    border: 1px solid rgba(255, 210, 122, .6);
    color: var(--dg-gold);
}

/* ---------- Preview ---------- */

.dg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px;
    background: rgba(20, 3, 9, .93);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility .25s;
}

.dg-lightbox.open {
    visibility: visible;
    opacity: 1;
}

.dg-lb-figure {
    margin: 0;
    max-width: min(92vw, 980px);
    transform: scale(.96);
    transition: transform .25s ease;
}

.dg-lightbox.open .dg-lb-figure {
    transform: scale(1);
}

.dg-lb-stage {
    position: relative;
    min-width: min(80vw, 420px);
    min-height: min(60vh, 360px);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dg-lb-stage img {
    position: relative;
    width: auto;
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 14px;
}

.dg-lb-figure figcaption {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
    font-size: .95rem;
    color: rgba(255, 255, 255, .85);
}

.dg-lb-count {
    flex-shrink: 0;
    color: var(--dg-gold);
}

.dg-lb-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: background .25s;
}

.dg-lb-close:hover {
    background: var(--dg-red);
}

.dg-lb-nav {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background .25s, transform .25s;
}

.dg-lb-nav:hover {
    background: var(--dg-red);
    transform: scale(1.08);
}

/* ---------- Responsive ---------- */

@media (max-width: 992px) {
    .diwali-section {
        --dg-card-w: 240px;
    }

    .diwali-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .diwali-section {
        --dg-card-w: 220px;
        --dg-gap: 16px;
        padding: 90px 0 70px;
    }

    .diwali-header {
        margin-bottom: 40px;
    }

    .diwali-header h2 {
        font-size: 1.8rem;
    }

    .diwali-header h3 {
        font-size: 1.15rem;
    }

    .dg-lightbox {
        flex-wrap: wrap;
        align-content: center;
        gap: 14px 24px;
        padding: 70px 14px 24px;
    }

    .dg-lb-figure {
        order: -1;
        flex-basis: 100%;
        max-width: 100%;
    }

    .dg-lb-stage {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .diwali-section {
        --dg-card-w: 70vw;
    }

    .diwali-header h2 {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .dg-card img,
    .dg-lightbox,
    .dg-lb-figure {
        transition: none !important;
    }
}
