/***************************Slider**********************************************************************/

        /* Hero Slider Section */
        .hero-slider-section {
            position: relative;
            width: 100%;
            height: 630px;
            overflow: hidden;
        }

        .hero-slider-container {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .hero-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
        }

        .hero-slide.active {
            opacity: 1;
        }

        .hero-slide-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .hero-slide-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(102, 11, 19, 0.2);
            z-index: 1;
        }

        .hero-slide-content {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            text-align: center;
            padding: 0 20px;
        }

        .hero-slide-title {
            font-family: 'Poppins';
            font-size: 48px;
            font-weight: 600;
            color: white;
            margin-bottom: 40px;
            text-transform: uppercase;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
        }

        .hero-slide-buttons {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .hero-btn {
            font-family: 'Lato', sans-serif;
            font-size: 16px;
            font-weight: 500;
            padding: 11px 35px;
            border-radius: 30px;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            text-transform: uppercase;
        }

        .hero-btn-white {
            background-color: white;
            color: #660B13;
            border: 2px solid white;
        }

        .hero-btn-white:hover {
            background-color: transparent;
            color: white;
        }

        .hero-btn-transparent {
            background-color: transparent;
            color: white;
            border: 1px solid white;
        }

        .hero-btn-transparent:hover {
            background-color: white;
            color: #660B13;
        }

        .hero-btn-arrow {
            font-size: 14px;
            transition: transform 0.3s ease;
        }

        .hero-btn:hover .hero-btn-arrow {
            transform: translateX(5px);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-slider-section {
                height: 500px;
            }

            .hero-slide-title {
                font-size: 36px;
                margin-bottom: 30px;
            }

            .hero-slide-buttons {
                flex-direction: column;
                gap: 15px;
            }

            .hero-btn {
                padding: 12px 28px;
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .hero-slider-section {
                height: 400px;
            }

            .hero-slide-title {
                font-size: 28px;
                margin-bottom: 25px;
            }

            .hero-btn {
                padding: 10px 24px;
                font-size: 13px;
            }
        }
        
        /*******************************************************************/
        
                .dmps-about-wrapper {
            max-width: 100%;
            margin: 0 auto;
            padding: 80px 120px 40px;
            display: flex;
            align-items: center;
            gap: 100px;
            position: relative;
        }

        .dmps-img-box {
            margin-left:50px;
            top:30px;
            position: relative;
            flex-shrink: 0;
            width: 650px;
            height: 650px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

      .dmps-white-ellipse {
    position: absolute;
    width: 170%;
    height: auto;
    object-fit: cover;
    z-index: 1;
    top: 42%;
    left: 58%;
    transform: translate(-50%, -50%);
}

     .dmps-golden-ellipse {
    position: absolute;
    width: 80%;
    height: auto;
    object-fit: contain;
    z-index: 2;
    top: 42%;
    left: 48%;
    transform: translate(-50%, -50%);
}

        .dmps-saraswati-img {
            width: 650px;
            height: 650px;
            object-fit: contain;
            position: absolute;
            z-index: 3;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .dmps-text-block {
            flex: 1;
            padding-right: 60px;
        }

.dmps-sanskrit-quote {
    font-family: 'Mukta';
    color: #000000;
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 700;
    border-top: 1px solid #660B13;
    border-bottom: 1px solid #660B13;
    padding: 15px 0;
}

     .dmps-heading {
    font-family: 'Poppins';
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
     }

  .dmps-description {
    line-height: 22px;
    font-family: 'Lato';
    color: #000;
    font-size: 18px;
    margin-bottom: 22px;
    font-weight: 400;
    text-align: left;
}

.dmps-cta-button {
    font-family: 'Lato';
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    background: transparent;
    border: 1px solid #660B13;
    border-radius: 30px;
    color: #660B13;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;

    /* 🔥 IMPORTANT FIX */
    position: relative;
    z-index: 99;
    pointer-events: auto;
    text-decoration: none;
}

        .dmps-cta-button:hover {
            background: #660B13;
            color: white;
        }

        .dmps-scroll-container {
            width: 100%;
            overflow: hidden;
            padding: 60px 100px 100px;
            position: relative;
        }

        .dmps-scroll-track {
            display: flex;
            width: fit-content;
            animation: dmpsScroll 30s linear infinite;
        }

        .dmps-scroll-message {
            font-family: 'Poppins', sans-serif;
            font-size: 150px;
            font-weight: 700;
            white-space: nowrap;
            color: rgba(236, 209, 128, 0.3);
            -webkit-text-stroke: 1px #660B13;
            paint-order: stroke fill;
            line-height: 1;
            padding-right: 80px;
            text-shadow:2px 10px #ecd18038;
        }

        @keyframes dmpsScroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        @media (max-width: 1400px) {
            .dmps-about-wrapper {
                padding: 100px 80px 40px;
                gap: 50px;
            }

            .dmps-img-box {
                width: 550px;
                height: 550px;
            }

            .dmps-saraswati-img {
                width: 550px;
                height: 550px;
            }
        }

        @media (max-width: 1024px) {
            .dmps-about-wrapper {
                flex-direction: column;
                align-items: center;
                gap: 50px;
                padding: 60px 40px;
            }

            .dmps-img-box {
                width: 450px;
                height: 450px;
            }

            .dmps-saraswati-img {
                width: 450px;
                height: 450px;
            }

            .dmps-text-block {
                padding-right: 0;
                text-align: left;
            }

            .dmps-scroll-message {
                font-size: 100px;
            }
        }

        @media (max-width: 768px) {
            .dmps-img-box {
                width: 350px;
                height: 350px;
            }

            .dmps-saraswati-img {
                width: 350px;
                height: 350px;
            }

            .dmps-heading {
                font-size: 26px;
            }

            .dmps-description {
                font-size: 14px;
            }

            .dmps-scroll-message {
                font-size: 70px;
                -webkit-text-stroke: 2px #660B13;
            }
        }
        
        /****************************************************************/
        


.dmps-about-wrapper {
  max-width: 100%;
  padding: 80px 0 80px;
  position: relative;
}

.dmps-about-wrapper .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 120px;
}

.dmps-about-wrapper .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.dmps-about-wrapper .col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.dmps-about-wrapper .align-items-center {
  align-items: center;
}

.dmps-img-box {
  position: relative;
  width: 100%;
  max-width: 650px;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.dmps-white-ellipse {
  position: absolute;
  width: 170%;
  height: auto;
  object-fit: cover;
  z-index: 1;
  top: 42%;
  left: 58%;
  transform: translate(-50%, -50%);
}

.dmps-golden-ellipse {
  position: absolute;
  width: 80%;
  height: auto;
  object-fit: contain;
  z-index: 2;
  top: 42%;
  left: 48%;
  transform: translate(-50%, -50%);
}

.dmps-saraswati-img {
  width: 100%;
  max-width: 650px;
  height: 650px;
  object-fit: contain;
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.dmps-text-block {
  padding: 0 30px;
}

.dmps-sanskrit-quote {
  font-family: 'Mukta';
  color: #000000;
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: 700;
  border-top: 1px solid #660B13;
  border-bottom: 1px solid #660B13;
  padding: 15px 0;
}

.dmps-heading {
  font-family: 'Poppins';
  font-size: 24px;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
}

.dmps-description {
  line-height: 22px;
  font-family: 'Lato';
  color: #000;
  font-size: 18px;
  margin-bottom: 22px;
  font-weight: 400;
  text-align: left;
}

.dmps-cta-button {
  font-family: 'Lato';
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 32px;
  background: transparent;
  border: 1px solid #660B13;
  border-radius: 30px;
  color: #660B13;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
  text-decoration: none;
}

.dmps-cta-button:hover {
  background: #660B13;
  color: white;
}

.dmps-scroll-container {
  width: 100%;
  overflow: hidden;
  padding: 15px 0 60px;
  position: relative;
}

.dmps-scroll-track {
  display: flex;
  width: fit-content;
  animation: dmpsScroll 30s linear infinite;
}

.dmps-scroll-message {
  font-family: 'Poppins', sans-serif;
  font-size: 150px;
  font-weight: 700;
  white-space: nowrap;
  color: rgba(236, 209, 128, 0.3);
  -webkit-text-stroke: 1px #660B13;
  paint-order: stroke fill;
  line-height: 1;
  padding-right: 80px;
  text-shadow: 2px 10px #ecd18038;
}

@keyframes dmpsScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1400px) {
  .dmps-about-wrapper .container {
    padding: 0 80px;
  }
  
  .dmps-img-box {
    max-width: 550px;
    height: 550px;
  }
  
  .dmps-saraswati-img {
    max-width: 550px;
    height: 550px;
  }
}

@media (max-width: 1024px) {
  .dmps-about-wrapper {
    padding: 60px 0 40px;
  }
  
  .dmps-about-wrapper .container {
    padding: 0 40px;
  }
  
  .dmps-img-box {
    max-width: 450px;
    height: 450px;
  }
  
  .dmps-saraswati-img {
    max-width: 450px;
    height: 450px;
  }
  
  .dmps-scroll-message {
    font-size: 100px;
  }
}

@media (max-width: 991px) {
  .dmps-about-wrapper .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }
  
  .dmps-about-wrapper .col-lg-6:last-child {
    margin-bottom: 0;
  }
  
  .dmps-text-block {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .dmps-about-wrapper {
    padding: 40px 0;
  }
  
  .dmps-about-wrapper .container {
    padding: 0 20px;
  }
  
  .dmps-img-box {
    max-width: 300px;
    height: 300px;
  }
  
  .dmps-saraswati-img {
    max-width: 300px;
    height: 300px;
  }
  
  .dmps-heading {
    margin-bottom: 15px;
    font-size: 24px;
  }
  
  .dmps-description {
    font-size: 16px;
  }
  
  .dmps-scroll-container {
    padding: 0px 0 40px;
  }
  
  .dmps-scroll-message {
    font-size: 64px;
    -webkit-text-stroke: 1.5px #660B13;
    padding-right: 40px;
  }
}
/********************************************************************/

.dmps-mission-vision-wrapper {
    width: 100%;
    position: relative;
}

.dmps-mv-container-fluid {
    width: 100%;
    margin: 0;
    padding: 0;
}

.dmps-mv-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    min-height: 600px;
}

.dmps-mv-col-img {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0;
}

.dmps-mv-col-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0;
}

.dmps-mission-img-section {
    width: 100%;
    height: 100%;
    min-height: 600px;
    background-image: url('https://dmpsmodinagar.com/wp-content/uploads/2026/01/mission-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dmps-mission-content-section {
    width: 100%;
    height: 100%;
    background: #660B13;
    padding: 80px 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

.dmps-mission-block,
.dmps-vision-block {
    position: relative;
}

.dmps-mission-heading,
.dmps-vision-heading {
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #FFA000;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.dmps-mission-heading::after,
.dmps-vision-heading::after {
    content: '';
    position: absolute;
    left: 105%;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 1px;
    background: #fff;
}

.dmps-mission-text, 
.dmps-vision-text {
    font-family: 'Lato', sans-serif;
    font-size: 22px;
    line-height: 29px;
    color: #FFFFFF;
    font-weight: 400;
    font-style: italic;
}

@media (max-width: 1200px) {
    .dmps-mission-content-section {
        padding: 60px 60px;
    }
    
    .dmps-mission-text, 
    .dmps-vision-text {
        font-size: 20px;
        line-height: 27px;
    }
}

@media (max-width: 991px) {
    .dmps-mv-row {
        min-height: auto;
    }
    
    .dmps-mv-col-img {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .dmps-mv-col-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .dmps-mission-img-section {
        min-height: 400px;
    }
    
    .dmps-mission-content-section {
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    .dmps-mission-img-section {
        min-height: 300px;
    }
    
    .dmps-mission-content-section {
        padding: 40px 30px;
        gap: 30px;
    }
    
    .dmps-mission-heading,
    .dmps-vision-heading {
        font-size: 16px;
    }
    
    .dmps-mission-heading::after,
    .dmps-vision-heading::after {
        width: 60px;
    }
    
    .dmps-mission-text, 
    .dmps-vision-text {
        font-size: 18px;
        line-height: 25px;
    }
}

@media (max-width: 480px) {
    .dmps-mission-content-section {
        padding: 30px 20px;
    }
    
    .dmps-mission-text, 
    .dmps-vision-text {
        font-size: 16px;
        line-height: 23px;
    }
}

/************************************************************/

        @media (max-width: 1024px) {
            .dmps-mission-vision-wrapper {
                flex-direction: column;
            }

            .dmps-mission-img-section {
                min-height: 400px;
            }

            .dmps-mission-content-section {
                padding: 60px 60px;
                gap: 50px;
            }

            .dmps-mission-heading::after,
            .dmps-vision-heading::after {
                width: 80px;
            }

            .dmps-mission-text,
            .dmps-vision-text {
                font-size: 18px;
            }
        }

        @media (max-width: 768px) {
            .dmps-mission-img-section {
                min-height: 350px;
            }

               .dmps-mission-content-section {
                    padding: 40px 30px 20px;
                    gap: 20px;
                }

            .dmps-mission-heading,
            .dmps-vision-heading {
                font-size: 16px;
            }

            .dmps-mission-heading::after,
            .dmps-vision-heading::after {
                width: 60px;
            }

            .dmps-mission-text,
            .dmps-vision-text {
                font-size: 16px;
            }
        }
/**************************************************************************/


.dmps__why__section {
            padding: 80px 0 20px 120px;
            margin: 0 auto;
            background: #FFFAEA;
            overflow-x: hidden;
        }

        .dmps__section__header {
            display: flex;
            align-items: center;
            gap: 50px;
            margin-bottom: 40px;
        }

        .dmps__section__title {
            font-size: 32px;
            font-weight: 700;
            color: #000;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .dmps__section__description {
            font-weight: 400;
            font-family: 'Lato', sans-serif;
            font-size: 18px;
            line-height: 22px;
            color: #000;
            max-width: 600px;
        }

        .dmps__carousel__wrapper {
            position: relative;
            overflow: hidden;
            margin-top: 20px;
            padding-top: 20px;
            padding-bottom: 60px;
        }

        .dmps__carousel__container {
            display: flex;
            gap: 30px;
            transition: transform 0.5s ease;
        }

        .dmps__carousel__card {
            min-width: calc(28.57% - 21.43px);
            background: white;
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            transform-style: preserve-3d;
            border: 8px solid white;
            flex-shrink: 0;
        }

        .dmps__carousel__card a {
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .dmps__carousel__card:hover {
            transform: rotate(-4deg);
            box-shadow: 
                0 14px 24px rgba(0,0,0,0.16),
                0 6px 10px rgba(0,0,0,0.10);
        }

        .dmps__card__image {
            width: 100%;
            height: 350px;
            object-fit: cover;
            display: block;
        }

        .dmps__card__content {
            padding: 30px;
            background: white;
        }

        .dmps__card__title {
            font-family: 'Poppins', sans-serif;
            font-size: 20px;
            font-weight: 700;
            color: #000;
            text-align: center;
        }

        /* Navigation Arrows */
        .arrow {
            width: 50px;
            height: 50px;
            background-color: #660B13;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            flex-shrink: 0;
            border: none;
        }

        .arrow:hover {
            background-color: #8B0E1A;
            transform: scale(1.1);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
        }

        .arrow-prev {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            background-size: 24px 24px;
        }

        .arrow-next {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            background-size: 24px 24px;
        }

        @media (max-width: 1200px) {
            .dmps__carousel__card {
                min-width: calc(33.33% - 20px);
            }
            
            .dmps__section__description {
                max-width: 500px;
            }
        }

        @media (max-width: 768px) {
            .dmps__why__section {
                padding: 60px 20px 20px 20px;
            }
            
            .dmps__section__header {
                margin-bottom: 80px;
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
                position: relative;
            }
            
            .dmps__section__title {
                font-size: 28px;
                white-space: normal;
                width: 100%;
            }
            
            .dmps__section__description {
                font-size: 16px;
                line-height: 20px;
                max-width: 100%;
                width: 100%;
            }
            
            .dmps__carousel__wrapper {
                margin-left: -20px;
                margin-right: -20px;
                padding-left: 20px;
                padding-right: 20px;
            }
            
            .dmps__carousel__container {
                gap: 20px;
            }
            
            .dmps__carousel__card {
                min-width: calc(80% - 10px);
            }
            
            .dmps__card__image {
                height: 300px;
            }
            
            .dmps__card__title {
                font-size: 18px;
            }
            
            .dmps__card__content {
                padding: 20px;
            }
            
            .arrow {
                width: 45px;
                height: 45px;
                background-size: 20px 20px;
                position: absolute;
                bottom: -65px;
            }
            
            .arrow-prev {
                right: 60px;
            }
            
            .arrow-next {
                right: 5px;
            }
        }

        @media (max-width: 480px) {
            .dmps__why__section {
                padding: 40px 15px 20px 15px;
            }
            
            .dmps__section__title {
                        margin-bottom: 0px;
                font-size: 24px;
            }
            
            .dmps__section__description {
                font-size: 14px;
                line-height: 18px;
            }
            
            .dmps__carousel__wrapper {
                padding-bottom: 0;
                margin-left: -15px;
                margin-right: -15px;
                padding-left: 15px;
                padding-right: 15px;
            }
            
            .dmps__carousel__card {
                min-width: calc(90% - 10px);
            }
            
            .dmps__card__image {
                height: 320px;
            }
            
            .dmps__card__title {
                font-size: 16px;
            }
            
            .arrow {
                width: 40px;
                height: 40px;
                background-size: 18px 18px;
            }
            
            .arrow-prev {
                right: auto;
                left: 5px;
            }
            
            .arrow-next {
                right: auto;
                left: 55px;
            }
        }
        
/************************************************************************/

.dmps__legacy__section {
    background: #FFFAEA;
    padding: 20px 0 120px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dmps__legacy__container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    width: 100%;
    height: 900px;
}

.dmps__legacy__center {
    position: absolute;
    z-index: 10;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.dmps__legacy__badge {
    display: inline-block;
    position: relative;
}

.dmps__legacy__badge__img {
    width: 500px;
    height: auto;
    display: block;
}

.dmps__legacy__title {
    margin-top: -10px;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
}

.dmps__legacy__photos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dmps__legacy__photo {
    position: absolute;
    background: white;
    padding: 12px;
    padding-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    transform-origin: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dmps__legacy__photo:hover {
    transform: scale(1.15) rotate(0deg) !important;
    z-index: 100;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.dmps__legacy__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* LEFT SIDE - 10 photos */
.dmps__legacy__photo:nth-child(1) {
    z-index: 5;
    width: 20% !important;
    height: 200px;
    top: 0%;
    left: 0%;
    transform: rotate(-6deg);
}

.dmps__legacy__photo:nth-child(2) {
    width: 22% !important;
    height: 190px;
    top: 1%;
    left: 20%;
    transform: rotate(15deg);
    z-index: 2;
}

.dmps__legacy__photo:nth-child(3) {
    width: 250px;
    height: 195px;
    top: 22%;
    left: 0%;
    transform: rotate(15deg);
}

.dmps__legacy__photo:nth-child(4) {
    width: 235px;
    height: 185px;
    top: 20%;
    left: 13%;
    transform: rotate(-8deg);
    z-index: 3;
}

.dmps__legacy__photo:nth-child(5) {
    width: 255px;
    height: 198px;
    top: 41%;
    left: 0%;
    transform: rotate(-5deg);
}

.dmps__legacy__photo:nth-child(6) {
    width: 245px;
    height: 192px;
    top: 39%;
    left: 14%;
    transform: rotate(10deg);
    z-index: 2;
}

.dmps__legacy__photo:nth-child(7) {
    width: 250px;
    height: 195px;
    top: 60%;
    left: 0%;
    transform: rotate(12deg);
}

.dmps__legacy__photo:nth-child(8) {
    width: 240px;
    height: 188px;
    top: 58%;
    left: 13%;
    transform: rotate(-10deg);
    z-index: 3;
}

.dmps__legacy__photo:nth-child(9) {
    width: 260px;
    height: 200px;
    top: 79%;
    left: 0%;
    transform: rotate(-7deg);
}

.dmps__legacy__photo:nth-child(10) {
    width: 20% !important;
    height: 190px;
    top: 84%;
    right: 8%;
    transform: rotate(9deg);
    z-index: 2;
}

/* RIGHT SIDE - 10 photos */
.dmps__legacy__photo:nth-child(11) {
    width: 255px;
    height: 198px;
    top: 2%;
    right: 13%;
    transform: rotate(-10deg);
    z-index: 2;
}

.dmps__legacy__photo:nth-child(12) {
    width: 250px;
    height: 195px;
    top: 4%;
    right: 0%;
    transform: rotate(14deg);
}

.dmps__legacy__photo:nth-child(13) {
    width: 240px;
    height: 188px;
    top: 21%;
    right: 14%;
    transform: rotate(7deg);
    z-index: 3;
}

.dmps__legacy__photo:nth-child(14) {
    width: 245px;
    height: 192px;
    top: 23%;
    right: 0%;
    transform: rotate(-12deg);
}

.dmps__legacy__photo:nth-child(15) {
    width: 250px;
    height: 195px;
    top: 42%;
    right: 13%;
    transform: rotate(-8deg);
    z-index: 2;
}

.dmps__legacy__photo:nth-child(16) {
    width: 240px;
    height: 188px;
    top: 44%;
    right: 0%;
    transform: rotate(11deg);
}

.dmps__legacy__photo:nth-child(17) {
    width: 260px;
    height: 200px;
    top: 62%;
    right: 14%;
    transform: rotate(9deg);
}

.dmps__legacy__photo:nth-child(18) {
    width: 245px;
    height: 190px;
    top: 64%;
    right: 0%;
    transform: rotate(-13deg);
    z-index: 2;
}

.dmps__legacy__photo:nth-child(19) {
    width: 255px;
    height: 198px;
    top: 81%;
    right: 13%;
    transform: rotate(-6deg);
    z-index: 3;
}

.dmps__legacy__photo:nth-child(20) {
    width: 250px;
    height: 195px;
    top: 83%;
    right: 0%;
    transform: rotate(10deg);
}

@media (max-width: 1400px) {
    .dmps__legacy__container {
        height: 800px;
    }

    .dmps__legacy__photo {
        width: 200px !important;
        height: 200px !important;
    }

    .dmps__legacy__badge__img {
        width: 500px;
    }

    .dmps__legacy__title {
        font-size: 32px;
    }
}

@media (max-width: 1024px) {
    .dmps__legacy__container {
        height: 600px;
    }

    .dmps__legacy__photo {
        width: 140px !important;
        height: 110px !important;
        padding: 10px;
        padding-bottom: 30px;
    }

    .dmps__legacy__badge__img {
        width: 320px;
    }

    .dmps__legacy__title {
        font-size: 32px;
    }
}

/* MOBILE - CAROUSEL DESIGN */
@media (max-width: 768px) {
    .dmps__legacy__section {
        padding: 40px 0;
        min-height: auto;
    }

    .dmps__legacy__container {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .dmps__legacy__center {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        order: 1;
        margin: 20px 0;
    }

    .dmps__legacy__badge__img {
        width: 240px;
    }

    .dmps__legacy__title {
        font-size: 24px;
        margin-top: -5px;
    }

    /* Carousel Wrapper */
    .dmps__legacy__photos {
        position: relative;
        order: 2;
        width: 100%;
        height: auto;
        overflow: hidden;
        padding: 20px 0 20px;
    }

    .dmps__legacy__photos__container {
        display: flex;
        gap: 20px;
        transition: transform 0.5s ease;
        cursor: grab;
        padding: 0 20px;
    }

    .dmps__legacy__photos__container:active {
        cursor: grabbing;
    }

    .dmps__legacy__photo {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        min-width: calc(100% - 40px) !important;
        width: calc(100% - 40px) !important;
        height: 350px !important;
        padding: 15px;
        padding-bottom: 40px;
        transform: rotate(0deg) !important;
        flex-shrink: 0;
    }

    .dmps__legacy__photo:hover {
        transform: scale(1.02) rotate(0deg) !important;
    }

    /* Navigation Dots */
    .dmps__legacy__dots {
        display: flex;
        justify-content: center;
        gap: 5px;
        margin-top: 40px;
        padding: 0 20px;
    }

    .dmps__legacy__dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #ccc;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .dmps__legacy__dot.active {
        background: #660B13;
        width: 30px;
        border-radius: 5px;
    }

    /* Navigation Arrows */
    .dmps__legacy__arrow {
        position: absolute;
        top: 93%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: #660B13;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .dmps__legacy__arrow:hover {
        background: #8B0E1A;
        transform: translateY(-50%) scale(1.1);
    }

    .dmps__legacy__arrow.prev {
        left: 10px;
    }

    .dmps__legacy__arrow.next {
        right: 10px;
    }

    .dmps__legacy__arrow svg {
        width: 20px;
        height: 20px;
        stroke: white;
        stroke-width: 3;
        fill: none;
    }
}

@media (max-width: 480px) {
        .dmps__legacy__section {
        padding: 15px 0 30px;
    }

    .dmps__legacy__container {
        gap: 0px;
    }

    .dmps__legacy__badge__img {
        width: 300px;
    }

    .dmps__legacy__title {
        margin-bottom:0;
        font-size: 24px;
    }

    .dmps__legacy__photo {
        min-width: calc(100% - 30px) !important;
        width: calc(100% - 30px) !important;
        height: 300px !important;
        padding: 12px;
        padding-bottom: 35px;
    }

    .dmps__legacy__arrow {
        width: 35px;
        height: 35px;
    }

    .dmps__legacy__arrow.prev {
        left: 5px;
    }

    .dmps__legacy__arrow.next {
        right: 5px;
    }

    .dmps__legacy__arrow svg {
        width: 18px;
        height: 18px;
    }

    .dmps__legacy__dot {
        width: 8px;
        height: 8px;
    }

    .dmps__legacy__dot.active {
        width: 24px;
    }
}

/**************************************************************************/

.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 120px;
    overflow: hidden;
    background: url('https://dmpsmodinagar.com/wp-content/uploads/2025/12/Rectangle-32.png') no-repeat left center;
    background-size: cover;
}
/* Content on left */
.content {
    max-width: 600px;
    color: white;
    z-index: 3;
    position: relative;
}
.content h1 {
    color: white;
    font-size: 48px;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 30px;
}
.content p {
    color: white;
    font-family: 'Lato';
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 25px;
    font-weight: 300;
}
/* Hide image */
.side-image {
    display: none;
}
/* Video full screen - seamless blend */
.side-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
}
.side-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    mix-blend-mode: screen; /* Seamless blending */
}
/* Smooth gradient overlay - no hard edges */
.side-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(102, 11, 19, 0.7) 0%, 
        rgba(102, 11, 19, 0.4) 30%, 
        transparent 60%
    );
    z-index: 2;
}
/* Hide toggle button */
.media-toggle {
    display: none;
}
/* Large Desktop */
@media (max-width: 1400px) {
    .banner {
        padding: 0 100px;
    }

    .content h1 {
        font-size: 44px;
        line-height: 56px;
    }
}
/* Tablet Landscape */
@media (max-width: 1024px) {
    .banner {
        padding: 80px 60px;
        height: 65vh;
        justify-content: center;
    }

    .content {
        max-width: 100%;
        text-align: center;
    }

    .content h1 {
        font-size: 40px;
        line-height: 52px;
        margin-bottom: 25px;
    }

    .content p {
        font-size: 17px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .side-video::after {
        background: linear-gradient(180deg, 
            rgba(102, 11, 19, 0.5) 0%, 
            transparent 50%
        );
    }
}
/* Tablet Portrait */
@media (max-width: 768px) {
    .banner {
		height: 60vh;
        padding: 60px 40px;
    }

    .content h1 {
        font-size: 32px;
        line-height: 44px;
        margin-bottom: 20px;
    }

    .content p {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 15px;
    }

    .side-video video {
        opacity: 0.6;
    }
}
/* Mobile */
@media (max-width: 480px) {
    .banner {
        padding: 40px 20px;
        max-height: 75vh;
    }

    .content h1 {
        font-size: 28px;
        line-height: 38px;
        margin-bottom: 15px;
    }

    .content p {
        font-size: 15px;
        line-height: 20px;
        margin-bottom: 12px;
    }

    .side-video video {
        opacity: 0.5;
    }

    .side-video::after {
        background: rgba(102, 11, 19, 0.5);
    }
}
/* Extra Small Mobile */
@media (max-width: 360px) {
    .banner {
        padding: 30px 15px;
    }

    .content h1 {
        font-size: 24px;
        line-height: 34px;
    }

    .content p {
        font-size: 14px;
        line-height: 19px;
    }
} 

.side-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    mix-blend-mode: screen;
    pointer-events: none; /* Video interactions disable */
}

.side-video video::-webkit-media-controls {
    display: none !important;
}

.side-video video::-webkit-media-controls-enclosure {
    display: none !important;
}

.side-video video::-webkit-media-controls-panel {
    display: none !important;
}

.side-video video::-webkit-media-controls-play-button {
    display: none !important;
}

.side-video video::-webkit-media-controls-start-playback-button {
    display: none !important;
}
/************************************************************************/

 .card-stack-section {
    background-color: white;
    background-image: url('https://dmpsmodinagar.com/wp-content/uploads/2025/12/back-imge.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: visible;
    padding: 100px 20px;
    position: relative;
}

.card-stack-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

.gallery-section-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #000;
    text-align: center;
    z-index: 1;
}

.card-stack-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 750px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.card-stack-wrapper {
    position: relative;
    width: 350px;
    height: 500px;
    cursor: pointer;
    touch-action: pan-y;
}

.card-stack-item {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 5px solid #8DE0D3;
}

.card-stack-item-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-stack-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-stack-item:nth-child(1) {
    transform: translateY(0) translateX(0) scale(1) rotate(-5deg);
    z-index: 10;
    opacity: 1;
}

.card-stack-item:nth-child(2) {
    transform: translateY(-15px) translateX(30px) scale(0.95) rotate(5deg);
    z-index: 9;
    opacity: 0.9;
    filter: brightness(0.95);
}

.card-stack-item:nth-child(3) {
    transform: translateY(-30px) translateX(-30px) scale(0.9) rotate(-8deg);
    z-index: 8;
    opacity: 0.8;
    filter: brightness(0.9);
}

.card-stack-item:nth-child(4) {
    transform: translateY(-45px) translateX(35px) scale(0.85) rotate(6deg);
    z-index: 7;
    opacity: 0.7;
    filter: brightness(0.85);
}

.card-stack-item:nth-child(5) {
    transform: translateY(-60px) translateX(-35px) scale(0.8) rotate(-7deg);
    z-index: 6;
    opacity: 0.6;
    filter: brightness(0.8);
}

.card-stack-item:nth-child(n+6) {
    transform: translateY(-75px) translateX(40px) scale(0.75) rotate(8deg);
    z-index: 5;
    opacity: 0.5;
    filter: brightness(0.75);
}

.card-stack-item.swap-right-anim {
    animation: swipeRightEffect 1.2s ease-in-out;
}

.card-stack-item.swap-left-anim {
    animation: swipeLeftEffect 1.2s ease-in-out;
}

.card-stack-item.prepare-from-back {
    z-index: 15 !important;
}

@keyframes swipeRightEffect {
    0% {
        transform: translateX(0) translateY(0) scale(1) rotate(-5deg);
        opacity: 1;
        z-index: 20;
    }
    50% {
        transform: translateX(600px) translateY(-50px) scale(0.8) rotate(25deg);
        opacity: 0.5;
        z-index: 20;
    }
    100% {
        transform: translateX(0) translateY(-100px) scale(0.75) rotate(8deg);
        opacity: 0.5;
        z-index: 1;
    }
}

@keyframes swipeLeftEffect {
    0% {
        transform: translateY(-75px) translateX(40px) scale(0.75) rotate(8deg);
        opacity: 0.5;
        filter: brightness(0.75);
        z-index: 15;
    }
    1% {
        z-index: 20;
    }
    50% {
        transform: translateX(-600px) translateY(-40px) scale(0.85) rotate(-25deg);
        opacity: 0.5;
        filter: brightness(0.5);
        z-index: 20;
    }
    100% {
        transform: translateY(0) translateX(0) scale(1) rotate(-5deg);
        opacity: 1;
        filter: brightness(1);
        z-index: 20;
    }
}

.gallery-time-badge {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 400;
    z-index: 20;
}

.gallery-caption {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    white-space: nowrap;
}

.card-stack-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    padding: 0;
}

.card-stack-nav-btn:hover {
    transform: translateY(-50%) scale(1.15);
}

.card-stack-nav-btn:active {
    transform: translateY(-50%) scale(1.05);
}

.card-stack-nav-btn.left-arrow {
    left: 150px;
}

.card-stack-nav-btn.right-arrow {
    right: 150px;
}

.card-stack-nav-btn svg {
    width: 50px;
    height: 50px;
    stroke: #000;
    stroke-width: 3px;
    fill: none;
}

.card-stack-counter {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #000;
    z-index: 100;
}

@media (max-width: 768px) {
    .card-stack-section {
        padding: 60px 15px;
        min-height: auto;
    }

    .gallery-section-heading {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .card-stack-container {
        height: 550px;
    }

    .card-stack-wrapper {
        width: 90%;
        max-width: 400px;
        height: 450px;
    }

    .card-stack-nav-btn {
        display: none;
    }

    .gallery-time-badge {
        font-size: 25px;
        top: 15px;
    }

    .gallery-caption {
        font-size: 16px;
        bottom: 20px;
    }

    .card-stack-counter {
        font-size: 24px;
        bottom: -60px;
    }
}

/************************************************************************/


/*        .message-section {*/
/*            width: 100%;*/
/*            padding: 0px 5% 80px;*/
/*            background: white;*/
/*            display: flex;*/
/*            flex-direction: column;*/
/*            align-items: center;*/
/*            justify-content: center;*/
/*        }*/

/*        .section-title {*/
/*            font-size: 32px;*/
/*            font-weight: 700;*/
/*            text-align: center;*/
/*            margin-bottom: 70px;*/
/*            color: #000;*/
/*            text-transform: uppercase;*/
/*        }*/

/*        .quote-container {*/
/*            position: relative;*/
/*            max-width: 1000px;*/
/*            width: 100%;*/
/*            background: #ECD180;*/
/*            border-radius: 50px;*/
/*            padding: 60px 80px;*/
/*            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);*/
/*        }*/

        /* Quote marks */
/*        .quote-mark {*/
/*            position: absolute;*/
/*            top: -40px;*/
/*            left: 50%;*/
/*            transform: translateX(-50%);*/
/*            width: 60px;*/
/*            height: 60px;*/
/*            z-index: 10;*/
/*        }*/

/*        .quote-mark img {*/
/*            width: 100%;*/
/*            height: 100%;*/
/*            object-fit: contain;*/
            
/*        }*/

        /* Speech bubble pointer */
/*        .quote-container::after {*/
/*            content: '';*/
/*            position: absolute;*/
/*            bottom: -30px;*/
/*            left: 50%;*/
/*            transform: translateX(-50%);*/
/*            width: 0;*/
/*            height: 0;*/
/*            border-left: 40px solid transparent;*/
/*            border-right: 40px solid transparent;*/
/*            border-top: 40px solid #ECD180;*/
/*        }*/

/*    .quote-text {*/
/*    font-family: 'Lato';*/
/*    font-size: 24px;*/
/*    line-height: 29px;*/
/*    color: #000;*/
/*    text-align: center;*/
/*    font-style: italic;*/
/*    font-weight: 500;*/
/*    position: relative;*/
/*    z-index: 1;*/
/*}*/

/*        .president-info {*/
/*            margin-top: 80px;*/
/*            text-align: center;*/
/*        }*/

/*        .president-name {*/
/*    font-family: 'Poppins';*/
/*    font-size: 24px;*/
/*    font-weight: 700;*/
/*    color: #000;*/
/*    margin-bottom: 8px;*/
/*    text-transform: uppercase;*/
/*}*/
/*     .president-title {*/
/*    font-family: 'Poppins';*/
/*    font-size: 18px;*/
/*    color: #000;*/
/*    font-weight: 400;*/
/*}*/

        /* Background decoration with quote image */
/*        .quote-bg {*/
/*            display: none;*/
/*        }*/

/*        @media (max-width: 1024px) {*/
/*            .section-title {*/
/*                font-size: 2.5rem;*/
/*            }*/

/*            .quote-container {*/
/*                padding: 50px 60px;*/
/*                border-radius: 40px;*/
/*            }*/

/*            .quote-text {*/
/*                font-size: 1.2rem;*/
/*            }*/

/*            .president-name {*/
/*                font-size: 1.6rem;*/
/*            }*/
/*        }*/

/*        @media (max-width: 768px) {*/
/*            .message-section {*/
/*                padding: 60px 5%;*/
/*            }*/

/*            .section-title {*/
/*                font-size: 2rem;*/
/*                margin-bottom: 40px;*/
/*            }*/

/*            .quote-container {*/
/*                padding: 40px 30px;*/
/*                border-radius: 30px;*/
/*            }*/

/*            .quote-mark {*/
/*                width: 60px;*/
/*                height: 60px;*/
/*                top: -30px;*/
/*            }*/

/*            .quote-container::after {*/
/*                border-left: 30px solid transparent;*/
/*                border-right: 30px solid transparent;*/
/*                border-top: 30px solid #D4B370;*/
/*                bottom: -25px;*/
/*            }*/

/*            .quote-text {*/
/*                font-size: 1.05rem;*/
/*                line-height: 1.7;*/
/*            }*/

/*            .president-info {*/
/*                margin-top: 60px;*/
/*            }*/

/*            .president-name {*/
/*                font-size: 1.4rem;*/
/*            }*/

/*            .president-title {*/
/*                font-size: 1rem;*/
/*            }*/

/*            .quote-bg {*/
/*                width: 60px;*/
/*                height: 60px;*/
/*                right: 20px;*/
/*            }*/
/*        }*/

/*        @media (max-width: 480px) {*/
/*            .section-title {*/
/*                font-size: 1.6rem;*/
/*            }*/

/*            .quote-container {*/
/*                padding: 35px 25px;*/
/*            }*/

/*            .quote-text {*/
/*                font-size: 0.95rem;*/
/*            }*/

/*            .president-name {*/
/*                font-size: 1.2rem;*/
/*            }*/
/*        }*/


.message-section {
    width: 100%;
    padding:55px 5% 35px;
    /*background: white;*/
            background: #f2f2f2a3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #000;
    text-transform: uppercase;
}

.quote-container {
    position: relative;
    max-width: 1000px;
    width: 100%;
    background: #ECD180;
    border-radius: 50px;
    padding: 60px 80px 60px 180px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.quote-mark {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    z-index: 10;
}

.quote-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.quote-decoration {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 180px;
    z-index: 2;
}

.quote-decoration img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.quote-container::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 40px solid #ECD180;
}

.quote-text {
    margin-left: 40px;
    font-family: 'Lato';
    font-size: 18px;
    line-height: 29px;
    color: #000;
    text-align: center;
    font-style: italic;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.president-info {
    margin-top: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 800px;
}

.president-details {
    text-align: center;
}

.president-name {
    font-family: 'Poppins';
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: -8px;
    text-transform: uppercase;
}

.president-title {
    text-align: center !important;
    font-family: 'Poppins';
    font-size: 18px;
    color: #000;
    font-weight: 400;
}

.president-image {
    display: none;
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 28px;
    }

    .quote-container {
        padding: 50px 60px;
        border-radius: 40px;
    }

    .quote-text {
        font-size: 17px;
    }

    .president-name {
        font-size: 22px;
    }

    .president-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .message-section {
                    background: #f2f2f2a3;
        padding: 60px 20px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .quote-container {
        padding: 50px 25px 40px 25px;
        border-radius: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .quote-decoration {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        width: 120px;
        height: 140px;
        margin-bottom: 25px;
        order: 1;
    }

    .quote-mark {
        width: 50px;
        height: 50px;
        top: -25px;
    }

    .quote-container::after {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-top: 30px solid #ECD180;
        bottom: -25px;
    }

    .quote-text {
        margin-left: 0;
        font-size: 16px;
        line-height: 26px;
        text-align: center;
        order: 2;
    }

    .president-info {
        margin-top: 60px;
        flex-direction: column;
        gap: 25px;
    }

    .president-details {
        text-align: center;
    }

    .president-name {
        font-size: 20px;
    }

    .president-title {
        font-size: 16px;
    }

    .president-image {
        display: none;
    }
}

@media (max-width: 480px) {
    .message-section {
                    background: #f2f2f2a3;
        padding: 45px 15px 25px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .quote-container {
        padding: 40px 20px 35px 20px;
        border-radius: 25px;
    }

    .quote-decoration {
        width: 140px;
        height: 150px;
        margin-bottom: 20px;
    }

    .quote-mark {
        width: 45px;
        height: 45px;
        top: -22px;
    }

    .quote-text {
        font-size: 14px;
        line-height: 24px;
    }

    .president-info {
        margin-top: 50px;
        gap: 20px;
    }

    .president-name {
        font-size: 18px;
    }

    .president-title {
        font-size: 14px;
    }

    .president-image {
        display: none;
    }
}
/*****************************************************************************/
 .testimonial-section {
            padding: 45px 20px 60px;
            max-width: 1400px;
            margin: 0 auto;
        }

     .testimonial-section h1 {
            font-family: 'Poppins', sans-serif;
            font-size: 32px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 10px;
        }

        .slider-container {
            position: relative;
            overflow: hidden;
            padding: 0 20px;
        }

        .slider-wrapper {
            padding:0;
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        .testimonial-slide {
            min-width: 100%;
            display: flex;
            gap: 30px;
        }

     .testimonial-card {
    flex: 1;
    background: white;
    padding: 30px 30px 10px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(255, 160, 0, 0.1);
}

      .testimonial-text {
    font-weight: 400;
    font-family: 'Lato', sans-serif;
    font-style: italic;
    color: #666;
    line-height: 22px;
    font-size: 16px;
    margin-bottom: 16px;
}

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .author-image {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            object-fit: cover;
        }

       .author-info h3 {
           padding-bottom:0;
           margin-bottom:0;
    font-family: 'Lato';
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

        .author-info p {
            font-family: 'Lato', sans-serif;
            font-size: 16px;
            color: #000;
            font-style: italic;
        }

        .slider-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 60px;
        }

        .arrow-btn {
            width: 50px;
            height: 2px;
            background: #000;
            border: none;
            cursor: pointer;
            position: relative;
            transition: all 0.3s ease;
        }

        .arrow-btn:hover {
            background: #666;
        }

        .arrow-btn::before {
            content: '';
            position: absolute;
            width: 12px;
            height: 2px;
            background: #000;
            transition: all 0.3s ease;
        }

        .arrow-btn:hover::before {
            background: #666;
        }

        .arrow-btn.prev::before {
            left: 0;
            transform: rotate(-45deg);
            transform-origin: left;
        }

        .arrow-btn.prev::after {
            content: '';
            position: absolute;
            width: 12px;
            height: 2px;
            background: #000;
            left: 0;
            transform: rotate(45deg);
            transform-origin: left;
            transition: all 0.3s ease;
        }

        .arrow-btn.prev:hover::after {
            background: #666;
        }

        .arrow-btn.next::before {
            right: 0;
            transform: rotate(45deg);
            transform-origin: right;
        }

        .arrow-btn.next::after {
            content: '';
            position: absolute;
            width: 12px;
            height: 2px;
            background: #000;
            right: 0;
            transform: rotate(-45deg);
            transform-origin: right;
            transition: all 0.3s ease;
        }

        .arrow-btn.next:hover::after {
            background: #666;
        }

        /* Mobile: 1 card per slide */
        @media (max-width: 768px) {
            .testimonial-section h1 {
                font-size: 36px;
                margin-bottom: -10px;
            }

            .testimonial-slide {
                gap: 0;
            }

            .testimonial-card {
                padding: 40px 30px;
                display: none;
            }

            .testimonial-card:first-child {
                display: block;
            }

            .testimonial-slide.mobile-slide-1 .testimonial-card:nth-child(1) {
                display: block;
            }

            .testimonial-slide.mobile-slide-2 .testimonial-card:nth-child(2) {
                display: block;
            }

            .testimonial-slide.mobile-slide-3 .testimonial-card:nth-child(3) {
                display: block;
            }
        }

        /* Desktop: 3 cards per slide */
        @media (min-width: 769px) {
            .testimonial-card {
                display: block !important;
            }
        }
        
        
/**************************************************************************/

.notice-board-section {
    background-image: url('https://dmpsmodinagar.com/wp-content/uploads/2025/12/background.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    position: relative;
}

.notice-heading {
    text-align: center;
    margin-bottom: 60px;
}

.notice-heading h2 {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 48px;
    color: #FFFFFF;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    background: #660B13;
    padding: 15px 25px;
    margin: 0;
    border: none;
    -webkit-mask: 
        radial-gradient(15px at 50% 100%, #0000 98%, #000) 50% 0/30px 100% repeat-x,
        radial-gradient(15px at 50% 0%, #0000 98%, #000) 50% 100%/30px 100% repeat-x,
        radial-gradient(15px at 0% 50%, #0000 98%, #000) 100% 50%/100% 30px repeat-y,
        radial-gradient(15px at 100% 50%, #0000 98%, #000) 0% 50%/100% 30px repeat-y;
    -webkit-mask-composite: intersect;
    mask: 
        radial-gradient(15px at 50% 100%, #0000 98%, #000) 50% 0/30px 100% repeat-x,
        radial-gradient(15px at 50% 0%, #0000 98%, #000) 50% 100%/30px 100% repeat-x,
        radial-gradient(15px at 0% 50%, #0000 98%, #000) 100% 50%/100% 30px repeat-y,
        radial-gradient(15px at 100% 50%, #0000 98%, #000) 0% 50%/100% 30px repeat-y;
    mask-composite: intersect;
}

.notices-container {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.notice-card {
    background: white;
    padding: 30px 25px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    transform: rotate(-2deg);
    transition: all 0.3s ease;
}

.notice-card:nth-child(2) {
    transform: rotate(2deg);
}

.notice-card:nth-child(3) {
    transform: rotate(-1deg);
}

.notice-card:nth-child(4) {
    transform: rotate(1deg);
}

.notice-card:nth-child(5) {
    transform: rotate(-2deg);
}

.notice-card:nth-child(6) {
    transform: rotate(2deg);
}

.notice-card:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 10;
}

.pin {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    z-index: 5;
}

.notice-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.badge-new {
    background: #FF0000;
    color: white;
}

.badge-admission {
    background: #4318FF;
    color: white;
}

.badge-result {
    background: #FF6B00;
    color: white;
}

.badge-activity {
    background: #FFD700;
    color: white;
}

.badge-sports {
    background: #00C9A7;
    color: white;
}

.badge-exam {
    background: purple;
    color: white;
}

.notice-text {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    padding-bottom: 15px;
}

.notice-text p {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.notice-text .highlight {
    font-weight: 700;
}

.notice-text .red-text {
    line-height: 23px;
    font-size: 16px;
    color: #FF0000;
    font-weight: 700;
    text-decoration-color: #FF0000;
}

.notice-text .blue-text {
    line-height: 23px;
    font-size: 16px;
    color: #3700FF;
    font-weight: 700;
    text-decoration-color: #3700FF;
}

.notice-text .orange-text {
    line-height: 23px;
    font-size: 16px;
    color: #FF6B00;
    font-weight: 700;
    text-decoration-color: #FF6B00;
}

.notice-text .green-text {
    line-height: 23px;
    font-size: 16px;
    color: #00B8B8;
    font-weight: 700;
    text-decoration-color: #00B8B8;
}

.notice-text .yellow-text {
    line-height: 23px;
    font-size: 16px;
    color: #FFA000;
    font-weight: 700;
    text-decoration-color: #FFA000;
}

.purple-text {
    color: purple;
}


@media (max-width: 992px) {
    .notices-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .notice-heading h2 {
        font-size: 24px;
        line-height: 36px;
        background: #660B13;
        padding: 12px 20px;
        border: none;
        -webkit-mask: 
            radial-gradient(12px at 50% 100%, #0000 98%, #000) 50% 0/25px 100% repeat-x,
            radial-gradient(12px at 50% 0%, #0000 98%, #000) 50% 100%/25px 100% repeat-x,
            radial-gradient(12px at 0% 50%, #0000 98%, #000) 100% 50%/100% 25px repeat-y,
            radial-gradient(12px at 100% 50%, #0000 98%, #000) 0% 50%/100% 25px repeat-y;
        -webkit-mask-composite: intersect;
        mask: 
            radial-gradient(12px at 50% 100%, #0000 98%, #000) 50% 0/25px 100% repeat-x,
            radial-gradient(12px at 50% 0%, #0000 98%, #000) 50% 100%/25px 100% repeat-x,
            radial-gradient(12px at 0% 50%, #0000 98%, #000) 100% 50%/100% 25px repeat-y,
            radial-gradient(12px at 100% 50%, #0000 98%, #000) 0% 50%/100% 25px repeat-y;
        mask-composite: intersect;
    }

    .notices-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .notice-card {
        transform: rotate(0deg) !important;
    }
}