:root {
            --primary: #0d4a96;
            --secondary: #f6871f;
            --accent: #2ecc71;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            scroll-behavior: smooth;
        }
        
        .nav-link {
            position: relative;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--secondary);
            transition: width 0.3s ease;
        }
        
        .nav-link:hover::after {
            width: 100%;
        }
        /* ########################################### HERO HEADER IMAGE SECTION #################################### */
        /*
        ################################################## ONE IMAGE CSS (old) [applicable if u set a video mp4👈👈👈]  ######################################
        .hero-image {
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://school.banglarshiksha.gov.in/sms/templates/uploads/ws/44797/383776.jpg');
            background-size: cover;
            background-position: center;
            transition: all 0.5s ease;
        }
        
        .hero-image:hover {
            background-position: bottom;
        }
        
        ###############################################################################################################
        */



/* ################################################## MULTIPLE IMAGE CSS👇👇👇 (new)  ###################################### */
        .hero-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://school.banglarshiksha.gov.in/sms/templates/uploads/ws/44797/383776.jpg');
    background-size: cover;
    background-position: center;
    transition: background-position 0.5s ease;
    animation: bgSlider 24s infinite;
  }

  .hero-image:hover {
    background-position: bottom;
  }

 @keyframes bgSlider {
  0%, 19% {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url('https://school.banglarshiksha.gov.in/sms/templates/uploads/ws/44797/383776.jpg');
  }

  20%, 39% {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url('assets/starimage.jpg');
  }

  40%, 59% {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url('assets/starimage2.jpg');
  }

  60%, 79% {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url('assets/starimage3.jpg');
  }

  80%, 100% {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url('assets/starimage4.jpg');
  }
}




/*  ADD MORE IMAGES 👇👇 */





  /* #################################################### HERO HEADER IMAGE SECTION END ####################################################### */
        .section-title {
            position: relative;
            display: inline-block;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            width: 50%;
            height: 3px;
            bottom: -10px;
            left: 25%;
            background-color: var(--secondary);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }
        
        .section-title:hover::after {
            transform: scaleX(1);
        }
        
        .card {
            transition: all 0.3s ease;
            transform-style: preserve-3d;
        }
        
        .card:hover {
            transform: translateY(-10px) rotateX(5deg);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }
        
        .facility-card {
            transition: all 0.3s ease;
        }
        
        .facility-card:hover .facility-icon {
            transform: rotateY(180deg) scale(1.1);
            color: var(--secondary);
        }
        
        .facility-icon {
            transition: all 0.5s ease;
        }
        
        .teacher-card:hover {
            transform: scale(1.03);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .gallery-item {
            overflow: hidden;
        }
        
        .gallery-img {
            transition: transform 0.5s ease;
        }
        
        .gallery-item:hover .gallery-img {
            transform: scale(1.1);
        }
        
        .contact-card:hover {
            transform: translateY(-5px) scale(1.02);
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        
        .floating {
            animation: float 3s ease-in-out infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        .pulse:hover {
            animation: pulse 1.5s infinite;
        }
         /* GLOBAL RESET & MOBILE RESPONSIVENESS FIX */

      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }

      body {
        overflow-x: hidden;
        font-family: sans-serif;
      }

      /* Responsive Container */
      .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
      }

      /* Images should not overflow */
      img {
        max-width: 100%;
        height: auto;
      }

      /* Responsive text size */
      h1, h2, h3, h4, h5, h6, p {
        word-wrap: break-word;
      }

      /* Button scaling */
      button {
        padding: 10px 20px;
        font-size: 1rem;
      }

      /* Add media query if needed */
      @media screen and (max-width: 768px) {
        .section-title {
          font-size: 24px;
          text-align: center;
        }

        .nav-menu {
          flex-direction: column;
          gap: 10px;
        }

        .hero, .about, .contact {
          padding: 20px 10px;
        }
      }

      html {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
      }
      /* ################################ Nav Container ################################ */
      /* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f9fafb;
}

/* ===== NAVIGATION ===== */
.nav-links {
  width: 100%;
  background: white;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  position: relative;
  z-index: 99;
}

.nav-links a {
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  border-radius: 8px;
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: #1d4ed8;
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2);
}

/* ===== MOBILE MENU BUTTON ===== */
.menu-btn {
  display: none;
}

@media (max-width: 767px) {
  .menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    margin: 1rem;
    gap: 5px;
    z-index: 100;
  }

  .line {
    width: 26px;
    height: 2px;
    background: #1f2937;
    border-radius: 1px;
  }

.menu-label {
  font-size: 0.7rem;          /* Smaller text */
  font-weight: 500;           /* Slightly lighter */
  color: #1f2937;
  margin-top: 2px;            /* Less gap from lines */
  letter-spacing: 0.3px;
}


  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    top: 100px;
  }

  .nav-links a {
    width: 90%;
    text-align: center;
  }
}

/* ===== DESKTOP VIEW ===== */
@media (min-width: 768px) {
  .menu-btn {
    display: none;
  }

  .nav-links {
    display: flex !important;
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}

      /* ############################################# TESTOMONIALS FEEDBACK START  ###############################  */
      .testimonial-strip {
        overflow: hidden;
        position: relative;
      }

      .testimonial-track {
        display: flex;
        gap: 2rem;
        animation: scroll-left 60s linear infinite;
        width: max-content;
      }

      .testimonial-box {
        background: white;
        padding: 1.5rem;
        border-radius: 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        min-width: 300px;
        max-width: 300px;
        flex-shrink: 0;
        color: #374151; /* Tailwind gray-700 */
      }

      .testimonial-box p {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
        line-height: 1.5;
      }

      .testimonial-box h4 {
        font-weight: bold;
        margin-bottom: 0.2rem;
      }

      .testimonial-box span {
        font-size: 0.8rem;
        color: #6b7280; /* Tailwind gray-500 */
      }

      @keyframes scroll-left {
        0% {
          transform: translateX(0%);
        }
        100% {
          transform: translateX(-100%);
        }
      }
      /*    ######################################################  HEADER DESIGN  #################################   */
      .section-title {
        background: linear-gradient(90deg, #f59e0b, #10b981, #3b82f6, #f59e0b);
        background-size: 300% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: gradientTitle 6s ease infinite;
        transition: transform 0.3s ease, text-shadow 0.3s ease;
        font-size: clamp(2rem, 5vw, 3.5rem);
      }

      .section-title:hover {
        transform: scale(1.05);
        text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      }

      @keyframes gradientTitle {
        0% {
          background-position: 0% center;
        }
        50% {
          background-position: 100% center;
        }
        100% {
          background-position: 0% center;
        }
      }
      .scroll-wrapper {
        overflow: hidden;
        flex: 1;
        position: relative;
      }

      .scroll-content {
        display: inline-block;
        white-space: nowrap;
        animation: scroll-left 30s linear infinite;
      }

      @keyframes scroll-left {
        0% {
          transform: translateX(0%);
        }
        100% {
          transform: translateX(-100%);
        }
      }
      /*  ################################### NAV MENU BOX SIZE FOR PHONES   ################################# */
      .duration-300{
          transition-duration: 300ms;
          font-size: 10px;
      }
      /*    ############################  LANDER MAIN NAME DESIGN #################################   */
      @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

      .hero-bold-glow {
        font-family: 'Bebas Neue', sans-serif;
        text-align: center;
        font-weight: 700;
        letter-spacing: 2px;
        background: linear-gradient(90deg, #ff0000, #ff7f00, #ffd700, #ff0000);
        background-size: 300% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: heroGlow 4s ease-in-out infinite;
        text-shadow: 0 0 20px rgba(255, 85, 0, 0.5);
        transition: transform 0.3s ease;
      }

      .hero-bold-glow:hover {
        transform: scale(1.05);
        text-shadow: 0 0 30px rgba(255, 128, 0, 0.7);
      }

      @keyframes heroGlow {
        0% {
          background-position: 0% center;
          text-shadow: 0 0 8px rgba(255, 85, 0, 0.4);
        }
        50% {
          background-position: 100% center;
          text-shadow: 0 0 25px rgba(255, 170, 0, 0.8);
        }
        100% {
          background-position: 0% center;
          text-shadow: 0 0 8px rgba(255, 85, 0, 0.4);
        }
      }
      .hero-subline {
        text-align: center;
        font-weight: 500;
        background: linear-gradient(90deg, #f59e0b, #eab308, #f97316);
        background-size: 200% auto;
        -webkit-background-clip:text;
        -webkit-text-fill-color: transparent;
        animation: subGlow 5s ease-in-out infinite;
        transition: transform 0.3s ease;
      }

      .hero-subline:hover {
        transform: scale(1.03);
        text-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
      }

      @keyframes subGlow {
        0% {
          background-position: 0% center;
        }
        50% {
          background-position: 100% center;
        }
        100% {
          background-position: 0% center;
        }
      }
      /*  ################################################# DOWNLOAD BUTTON ACADEMIC  ######################################   */
      .btn-download {
        display: inline-block;
        padding: 0.6rem 1.4rem;
        background-color: #1e40af; /* Tailwind blue-800 */
        color: white;
        font-weight: 600;
        border-radius: 0.5rem;
        text-decoration: none;
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease, background-color 0.3s ease;
        animation: pulseGlowBtn 2.5s infinite ease-in-out;
        box-shadow: 0 0 0 rgba(30, 64, 175, 0.5);
      }

      .btn-download:hover {
        transform: scale(1.05);
        background-color: #2563eb; /* Tailwind blue-600 */
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
      }

      @keyframes pulseGlowBtn {
        0%, 100% {
          box-shadow: 0 0 0 rgba(37, 99, 235, 0.4);
        }
        50% {
          box-shadow: 0 0 16px rgba(59, 130, 246, 0.7);
        }
      }
      /*  ###########################################  RESULT BUTTON 10TH & 12TH ################################  */
      .result-btn-animated {
        display: inline-block;
        min-width: 10px;
        text-align: center;
        padding: 0.75rem 1.5rem;
        font-size: 1rem; /* text-lg */
        font-weight: 700;
        color: #fff;
        background: linear-gradient(270deg, #f43f5e, #f59e0b, #10b981, #3b82f6, #f43f5e);
        background-size: 400% 400%;
        border-radius: 0.75rem;
        text-decoration: none;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
        animation: glowAnim 6s ease infinite, breatheAnim 3s ease-in-out infinite;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }

      .result-btn-animated:hover {
        transform: scale(1.07);
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
      }

      @keyframes glowAnim {
        0% {
          background-position: 0% 50%;
        }
        50% {
          background-position: 100% 50%;
        }
        100% {
          background-position: 0% 50%;
        }
      }

      @keyframes breatheAnim {
        0%, 100% {
          box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
        }
        50% {
          box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
        }
      }
      





/* ############################  ACCESS RESTRICTED START  ##########################  */
      .block-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #ef4444; /* red-500 */
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  z-index: 9999;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(-20px);
  pointer-events: none;
}
.block-toast.show {
  opacity: 1;
  transform: translateY(0);
}
/* ############################  ACCESS RESTRICTED END  ##########################  */



/* ############################  3 card hover start  ##########################  */
.card {
  position: relative;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 0 20px 5px rgba(0, 149, 255, 0.3), 0 0 30px 10px rgba(0, 149, 255, 0.2);
  transform: translateY(-5px);
}
/* ############################  3 card hover end (top side)  ##########################  */



/* ############################  3 award animation start  ##########################  */
  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
  }

  @keyframes glow-blue {
    0%, 100% { box-shadow: 0 0 10px #3b82f6; }
    50% { box-shadow: 0 0 20px #3b82f6, 0 0 30px #3b82f6; }
  }

  @keyframes glow-green {
    0%, 100% { box-shadow: 0 0 10px #10b981; }
    50% { box-shadow: 0 0 20px #10b981, 0 0 30px #10b981; }
  }

  @keyframes glow-yellow {
    0%, 100% { box-shadow: 0 0 10px #facc15; }
    50% { box-shadow: 0 0 20px #facc15, 0 0 30px #facc15; }
  }

  .award-card {
    transition: transform 0.3s ease;
  }

  .award-icon {
    animation: pulse 2s infinite ease-in-out;
  }

  .glow-blue {
    animation: glow-blue 2.5s infinite ease-in-out;
  }

  .glow-green {
    animation: glow-green 2.5s infinite ease-in-out;
  }

  .glow-yellow {
    animation: glow-yellow 2.5s infinite ease-in-out;
  }
/* ############################  3 award animation end  ##########################  */
/* ############################  SCL NOTICE START  ##########################  */

/* Glowing animation for individual notice boxes */
.glow {
  animation: glow-effect 2s infinite alternate;
}
@keyframes glow-effect {
  from {
    box-shadow: 0 0 5px rgba(255, 223, 0, 0.3);
  }
  to {
    box-shadow: 0 0 20px rgba(255, 223, 0, 0.8);
  }
}

/* Vertical scroll animation */
.scroll-up {
  animation: scrollUp 20s linear infinite;
}
@keyframes scrollUp {
  0% {
    top: 100%;
  }
  100% {
    top: -100%;
  }
}

/* Optional: visible scrollbar */
.scrollbar::-webkit-scrollbar {
  width: 8px;
}
.scrollbar::-webkit-scrollbar-thumb {
  background: #fbbf24;
  border-radius: 10px;
}

/* 🌟 Apply animated glowing border to your specific section without changing class */
section.bg-gray-100.shadow-md {
  position: relative;
  border: 3px solid #facc15;
  border-radius: 1rem;
  background: linear-gradient(135deg, #fffde7, #fff8c3);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
  animation: borderGlowBox 4s ease-in-out infinite alternate;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

section.bg-gray-100.shadow-md:hover {
  transform: scale(1.01);
  box-shadow: 0 0 35px rgba(250, 204, 21, 0.7);
}

@keyframes borderGlowBox {
  0% {
    border-color: #fde047;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
  }
  100% {
    border-color: #facc15;
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.6);
  }
}
/* ############################  SCL NOTICE END  ##########################  */


/* ############################  FOOTER PART CONTACT HEADERS DESIGN & ANIMATED START  ##########################  */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.heading-underline {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  position: relative;
  display: inline-block;
  color: #fff;
  padding-bottom: 4px;
}

.heading-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(to right, #facc15, #38bdf8);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineGrow 1s ease-out forwards 0.3s;
}

@keyframes underlineGrow {
  to {
    transform: scaleX(1);
  }
}

@keyframes headingGlow {
  0% {
    text-shadow: 0 0 0px #fff;
  }
  50% {
    text-shadow: 0 0 6px #facc15, 0 0 10px #38bdf8;
  }
  100% {
    text-shadow: 0 0 0px #fff;
  }
}

.animate-headingGlow {
  animation: headingGlow 2.5s ease-in-out infinite;
}

/* ############################  SUB HEADERS FROM CONTACT SECTION DESIGN & ANIMATED START  ##########################  */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap');

.contact-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: 2px 6px;
  background: linear-gradient(90deg, #facc15, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: popIn 0.8s ease-out both;
}

@keyframes popIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
/* ############################  FOOTER PART CONTACT HEADERS DESIGN & ANIMATED END  ##########################  */
/* #######################################  PRELOADER START ################################### */
 /* Preloader Styles */
  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease, visibility 1s ease;
  }

  #preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .logo {
    width: 110px;
    animation: pulse 1.8s infinite;
    margin-bottom: 16px;
  }

  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.15);
      opacity: 0.8;
    }
  }

  .loading-text {
    font-family: monospace;
    font-size: 20px;
    color: #2e86de;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    border-right: 2px solid #2e86de;
    animation: typing 2s steps(20, end) forwards;
  }

  @keyframes typing {
    from { width: 0; }
    to { width: 180px; }
  }

  .established {
    font-size: 16px;
    color: #555;
    margin-top: 12px;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeZoomIn 1s ease 2s forwards;
  }

  @keyframes fadeZoomIn {
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
/* #######################################  PRELOADER END ################################### */

/* #######################################  SCROLL BAR HIDE START ################################### */
@media (max-width: 768px) {
  body {
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/Edge */
  }

  body::-webkit-scrollbar {
    display: none;                  /* Chrome/Safari */
  }
}
/* For all devices */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

/* For mobile devices only */
@media (max-width: 768px) {
  html, body {
    width: 100%;
    position: relative;
    overflow-x: clip;  /* ✅ Better than overflow-x: hidden */
  }

  body::-webkit-scrollbar:horizontal {
    display: none;
  }

  body {
    -ms-overflow-style: none;     /* IE/Edge */
    scrollbar-width: none;        /* Firefox */
  }

  body::-webkit-scrollbar {
    display: none;                /* Chrome/Safari */
  }
}

/* #######################################  SCROLL BAR HIDE END ################################### */




/* #######################################  ABOUT IMAGE ANIMATION START ################################### */
 /* Flip Entry */
  @keyframes imgbox-flipIn {
    0% {
      transform: rotateY(-90deg);
      opacity: 0;
    }
    100% {
      transform: rotateY(0deg);
      opacity: 1;
    }
  }

  /* Shine effect */
  @keyframes imgbox-shine {
    0% {
      left: -75%;
    }
    100% {
      left: 125%;
    }
  }

  /* Floating badge */
  @keyframes imgbox-float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-6px);
    }
  }

  /* Frame Styles */
  .imgbox-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid #ccc;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: #fff;
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.25);
    animation: imgbox-flipIn 0.8s ease-out forwards;
    opacity: 0;
    transition: transform 0.6s ease;
  }

  .imgbox-frame:hover {
    transform: rotateY(8deg) scale(1.02);
  }

  .imgbox-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.5) 60%,
      rgba(255, 255, 255, 0.2) 100%
    );
    transform: skewX(-25deg);
  }

  .imgbox-frame:hover::before {
    animation: imgbox-shine 1.2s ease forwards;
  }

  /* Floating badge */
  .imgbox-floating {
    animation: imgbox-float 3s ease-in-out infinite;
    transition: box-shadow 0.3s ease;
  }

  .imgbox-floating:hover {
    box-shadow: 0 0 20px 6px rgba(255, 221, 0, 0.6);
  }
/* #######################################  ABOUT IMAGE ANIMATION END ################################### */


/* #######################################  ABOUT IMAGE EXCELLENCE BADGE ANIMATION START ################################### */
  /* Shield sparkle sweep */
  @keyframes shieldSparkle {
    0% {
      left: -100%;
    }
    100% {
      left: 150%;
    }
  }

  /* Pulse animation */
  @keyframes shieldPulse {
    0%, 100% {
      box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
    }
    50% {
      box-shadow: 0 0 24px rgba(255, 215, 0, 0.6);
    }
  }

  .shield-badge {
    position: absolute;
    bottom: -1.8rem;
    right: -1.8rem;
    width: 130px;
    height: 130px;
    background: linear-gradient(145deg, #facc15, #eab308);
    border-radius: 20% 20% 40% 40% / 30% 30% 70% 70%;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: shieldPulse 2.5s ease-in-out infinite;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 20;
    border: 3px solid #fff8dc;
  }

  .shield-badge:hover {
    transform: scale(1.06) rotate(-1deg);
    box-shadow: 0 0 28px rgba(255, 215, 0, 0.7);
  }

  .shield-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0.05) 100%
    );
    transform: skewX(-20deg);
    animation: shieldSparkle 3s infinite ease-in-out;
    z-index: 1;
  }

  .shield-badge-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #1f1f1f;
    font-family: 'Georgia', serif;
    text-shadow: 0 1px 1px #fffbe6;
  }

  .shield-badge-content p:first-child {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
  }

  .shield-badge-content p:last-child {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
  }
  /* #######################################  ABOUT IMAGE EXCELLENCE BADGE ANIMATION END ################################### */






