.row {
    margin-right: 0px!important;
    margin-left: 0px!important;
}
  @font-face {
            font-family: 'Stencil';
            src: url('../fonts/stencil.ttf') format('opentype');
            font-weight: normal;
            font-style: normal;
        }


.innerHeading-wrap {
    background: linear-gradient(
        135deg,
        #021a06 0%,      /* sabse dark blackish green - left/top */
        #064d0f 25%,     /* thoda dark green */
        #0b6a18 50%,     /* medium green - center lightest */
        #064d0f 75%,     /* wapas thoda dark */
        #021a06 100%     /* phir side pe sabse dark */
    );
    padding: 40px 0;
    text-align: center;
    border-bottom: 3px solid #0b6a18;
}

.innerHeading-wrap h1 {
    color: #fff;
    font-weight: 700;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}
/* Main Content */
.innerContent-wrap {
  padding: 60px 0;
  background: #f5f7fa;
}
.content-card {
  position: relative;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border: 1px dashed #095c13;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, #f9fefb); /* हल्का base */
  transition: all 0.3s ease;
}
.bloggridWrp {
  position: relative;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border: 1px dashed #095c13;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, #f9fefb); /* हल्का base */
  transition: all 0.3s ease;
}

.bloggridWrp::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/pattern.jpg") repeat;
  background-size: auto;
  opacity: 0.09;  /* हमेशा हल्का */
  z-index: 0;
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/pattern.jpg") repeat;
  background-size: auto;
  opacity: 0.09;  /* हमेशा हल्का */
  z-index: 0;
}

.content-card h3,
.content-card p {
  position: relative;
  z-index: 1;
}
.content-card h3 {
  color: #095c13;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 28px;
}
.content-card p {
  line-height: 1.8;
  color: #000;
  font-size: 16px;
  margin-bottom:0px!important;
}

.sidebar-card {
    background: #fff;
    padding: 28px;
    border-radius: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px dashed #095c13;
}
.sidebar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.sidebar-card.image-card img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Links Card */
.links-card h4 {
  color: #095c13;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 22px;
  text-transform: uppercase;
}
.categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

* {
    margin: 0;
    padding: 0;
}
.categories li {
   margin-bottom: 3px;
    border-radius: 50px;
    border: 1px dashed #095c13;
    padding: 12px 20px;
    background: #f0fdf4;
    box-shadow: rgba(100, 100, 111, 0.1) 0px 4px 12px 0px;
    transition: all 0.3s ease;
}
.categories li:hover {
  background: #095c13;
  color: #fff;
  border: 1px solid #095c13;
  transform: translateX(5px);
}
.categories li a {
  text-decoration: none;
  color: #095c13;
  font-weight: 600;
  transition: color 0.3s;
}
.categories li:hover a {
  color: #fff;
}

/* Responsive Adjustments */
@media(max-width:992px){
  .innerHeading-wrap h1 {
    font-size: 22px;
  }
  .content-card h3 {
    font-size: 24px;
  }
  .links-card h4 {
    font-size: 20px;
  }
}


  blockquote::before {
    content: "\f10d";
    left: 0px;
    top: -11px;
    position: absolute;
    color: #095c13;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 26px;
}
.about-section {
  background: #f9fff9;
  padding: 0px 0;
  font-family: 'Poppins', sans-serif;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  color: #333;
  line-height: 1.7;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  color: #095c13;
  margin: 30px 0 15px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #095c13;
  margin-top: 6px;
  border-radius: 2px;
}

.highlight-quote {
  background: #e9f9ee;
  border-left: 5px solid #095c13;
  padding: 15px 20px;
  font-size: 18px;
  font-style: italic;
  margin: 25px 0;
  border-radius: 10px;
  color: #055c12;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 30px 0;
}

.about-points ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.about-points ul li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 30px;
  font-size: 16px;
}

.about-points ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #095c13;
  font-size: 18px;
  font-weight: bold;
}

.motto {
  text-align: center;
  font-size: 20px;
  color: #095c13;
  margin: 20px 0;
}

.account-form {
    background: #ffffff none repeat scroll 0 0;
    border-radius: 4px;
    position: relative;
    z-index: 9;
}
.register-title {
    background: #f5b120 none repeat scroll 0 0;
    border-radius: 3px 3px 0 0;
    padding-bottom: 7px;
    padding-top: 11px;
}
.register-title>h4 {
    color: #ffffff;
    display: inline-block;
    font-size: 18px;
    font-weight: 400;
    position: relative;
    top: -2px;
}
.fade,
.slide {
    color: #FFFFFF;
    font-size: 13px;
    padding: 10px;
}


    /* 🎂 Birthday: Floating up */
.float-up {
    position: absolute;
    bottom: -80px;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    animation: floatUp 6s linear infinite;
    opacity: 0.9;
}
@keyframes floatUp {
    0% { transform: translateY(0) scale(0.7); opacity: 1; }
    100% { transform: translateY(-120vh) scale(1.2); opacity: 0; }
}
/* 🏆 Toppers: Falling down */
.fall-down {
    position: absolute;
    top: -60px;
    width: 35px;
    height: 35px;
    background-size: contain;
    background-repeat: no-repeat;
    animation: fallDown 6s linear infinite;
    opacity: 0.9;
}
@keyframes fallDown {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(120vh) rotate(360deg); opacity: 0; }
}
/* 🎉 Confetti */
.confetti {
    position: absolute;
    top: -10px;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 2px;
    animation: confettiFall 5s linear infinite;
    opacity: 0.9;
}
@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(120vh) rotate(720deg); opacity: 0; }
}
/* 🎓 Graduation cap */
.cap {
    position: absolute;
    top: -60px;
    width: 40px;
    height: 40px;
    background: url("icons/cap.png") no-repeat center/contain;
    animation: capFall 6s ease-in infinite;
    opacity: 0.9;
}
@keyframes capFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(120vh) rotate(360deg); opacity: 0; }
}
/* ✨ Sparkle / Lari */
.sparkle {
    position: absolute;
    top: -20px;
    width: 15px;
    height: 15px;
    background: url("icons/sparkle.png") no-repeat center/contain;
    animation: sparkleFall 4s linear infinite;
    opacity: 0.7;
}
@keyframes sparkleFall {
    0% { transform: translateY(0) scale(0.8); opacity: 1; }
    100% { transform: translateY(120vh) scale(1.5); opacity: 0; }
}
.flex-caption {
    width: 70%;
    padding: 2%;
    left: 0;
    bottom: 0;
    /*background: rgba(18, 102, 155,1);*/
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
    font-size: 35px;
    line-height: 37px;
    background-image: url(img/happybirthday.png) !important;
    background-size: 100% 100%;
    /* height: 184px; */
    padding: 50px;
}
.marquee {
    top: 6em;
    position: relative;
    box-sizing: border-box;
    animation: marquee 15s linear infinite;
}
.marquee:hover {
    animation-play-state: paused;
}
/* Make it move! */
@keyframes marquee {
    0% {
        top: 8em
    }
    100% {
        top: -11em
    }
}
/* Make it look pretty */
.microsoft .marquee {
    margin: 0;
    padding: 0 1em;
    line-height: 1.5em;
    font: 1em 'Segoe UI', Tahoma, Helvetica, Sans-Serif;
}
.microsoft:before,
.microsoft::before,
.microsoft:after,
.microsoft::after {
    left: 0;
    z-index: 1;
    content: '';
    position: absolute;
    pointer-events: none;
    width: 100px;
    height: 2em;
    background-image: linear-gradient(top, #FFF, rgba(255, 255, 255, 0));
}
.microsoft:after,
.microsoft::after {
    bottom: 0;
    transform: rotate(180deg);
}
.microsoft:before,
.microsoft::before {
    top: 0;
}
.students_box {
    display: flow-root;
    text-align: center;
}
.link {
    font-size: 20px;
    font-family: cursive;
    font-weight: bold;
}
.link:hover {
    color: #b30029;
    text-decoration: none;
}
.enroll-wrap {
    background: url(../images/bg.jpg) !important;
    padding: 43px 0;
    background-attachment: fixed !important;
}
.circle {
    width: 130px;
    height: 130px;
    border-radius: 100%;
    border: solid 3px white;
    background: #095c13;
    box-shadow: 1px 8px 16px 1px #ffffff;
    text-align: center;
}
.circle a {
    color: white;
    margin-top: 36px;
    display: inline-block;
    font-size: 18px;
}
.circle:hover {
    background: black;
}
.circle a:hover {
    text-decoration: none;
    color: #b30029;
}
.categories-course:hover {
    background: #3ab64c;
    padding: 15px;
    text-align: center;
    transition: 0.4s;
    border: dotted 2px white;
    transform: skew(12deg);
}
.coure-icon-inner:hover {
    width: 100px;
    height: 130px;
    background: #fff;
    border-radius: 0px;
    text-align: center;
    transition: 0.4s;
    border: dotted 2px;
    transform: skew(15deg);
}
/* width */
::-webkit-scrollbar {
    width: 20px;
}
/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: green;
    border-radius: 10px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #b30000;
}
.smooth-offset-box-shadow:hover {
    background-color: #2d7752;
    transition: all 1s;
    box-shadow: 0 0 20px 20px #2d7752;
}
.change-font-color:hover {
    transition: all 1s;
    color: #095c13;
}
.rotate-360-clockwise:hover {
    background-color: crimson;
    transition: all 1s;
    -webkit-transform: rotateZ(360deg);
    -ms-transform: rotateZ(360deg);
    transform: rotateZ(360deg);
}
.flip-card {
    background-color: transparent;
    height: 300px;
    perspective: 1000px;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
.feature-card {
    background-color: #095c13;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 10px;
    padding: 30px 10px 30px 10px;
    min-height: 235px;
}
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.flip-card-front {
    background-color: #bbb;
    color: black;
}
.flip-card-back {
    background-color: #2980b9;
    color: white;
    transform: rotateY(180deg);
}


.tp-simpleresponsive .caption, .tp-simpleresponsive .tp-caption {
    position: absolute;
    visibility: hidden;
    -webkit-font-smoothing: antialiased !important;
}
.custom-caption {
    font-size: 72px;
    color: #fff;
    white-space: nowrap;
}
.custom-caption {
    position: relative;
    z-index: 2;
}
.custom-caption {
    font-size: 72px;
    color: #fff;
    white-space: nowrap;
}
.custom-caption {
    position: relative;
    z-index: 2;
}
@media (max-width: 768px) {

  .word {

    margin-right: 6px!important;
    position: relative
}
.study-section {
    
    padding: 20px 0!important;
}

    .custom-caption {
        display: flex;
        font-size: 19px !important;
        top: auto !important;
        bottom: 60px;
        white-space: normal !important;
        text-align: center;
        left: 45% !important;
        transform: translateX(-50%) !important;
        padding: 0 10px !important;
        max-width: 90% !important;
        line-height: 1.2 !important;
    }

    .first-letter {
        font-size: 26px !important;
    }
    .rest-letters {
        font-size: 26px !important;
    }
    .word {
        margin-right: 5px;                /* reduce spacing */
        display: inline-block;            /* wrap words properly */
    }
.card-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 32px;
}


}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /*background: rgba(0, 0, 0, 0.25); */

    z-index: 1;
}
/* Make sure captions appear above overlay */
.custom-caption {
    position: relative;
    z-index: 2;
}
.custom-caption {
    font-size: 72px;
    color: #fff;
   
}


.word{
    display:inline-block;
    margin-right:8px;
     margin-right: 20px;
    position: relative; 
}

.mobile-break{
    display:none;
}

@media (max-width:768px){
    .mobile-break{
        display:block;
        width:100%;
    }
}
/* First letters: jump UP + glow */
.first-letter {
    font-family: 'Stencil', serif !important;
    font-size: 80px;
    color: #fff;
    -webkit-text-stroke: 2px #0e4b9b;
    text-shadow: 0 0 5px #095c13, 0 0 10px #095c13;
    animation: jump 2.4s ease-in-out infinite alternate;
    display: inline-block;
    margin-right: 0px;
}
.rest-letters{

font-family:'Stencil',serif!important;
font-size:65px;

color:#fff;

-webkit-text-stroke:1px #095c13;

text-shadow:
0 2px 0 #095c13,
0 5px 12px rgba(0,0,0,0.5);

font-weight:700;

animation:softGlow 4s ease-in-out infinite alternate;

}

@keyframes floatUp{
0%{transform:translateY(0)}
50%{transform:translateY(-6px)}
100%{transform:translateY(0)}
}

@keyframes softGlow{
0%{text-shadow:0 2px 0 #095c13}
50%{text-shadow:0 2px 0 #095c13,0 0 12px #0d4b97}
100%{text-shadow:0 2px 0 #095c13}
}
/* Underline for entire word */
.word::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: #fff;
    animation: underlineAnim 1s infinite;
}

  /* Light blue semi-transparent overlay */

/* Make sure captions appear above overlay */
.custom-caption {
    position: relative;
    z-index: 2;
}
.custom-caption {
    font-size: 72px;
    color: #fff;
    white-space: nowrap;
}
/* Container for each word */
.word {
    display: inline-flex;
    align-items: flex-end; /* keeps letters aligned at baseline */
    margin-right: 20px;
    position: relative; /* for underline */
    
}

/* Underline animation (slower) */
.word::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: #fff;
    animation: underlineAnim 2s infinite; /* slower underline */
    
}
/* Jump keyframes */
@keyframes jump {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}
/* Underline animation keyframes */
@keyframes underlineAnim {
    0% { width: 0; opacity: 1; }
    50% { width: 100%; opacity: 1; }
    100% { width: 0; opacity: 0; }
}




.card-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}
.card-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 95%;
  height: 100%;
  background: #095c13;
  border-radius: 60px 31px 60px 31px;
  transform: translate(-50%, -50%) rotate(0deg);
  z-index: 0;
  animation: rotateBg 6s infinite ease-in-out alternate; /* auto animation */
}
/* continuous ghoomna */
@keyframes rotateBg {
  0%   { transform: translate(-50%, -50%) rotate(-6deg) scale(1); }
  50%  { transform: translate(-50%, -50%) rotate(6deg) scale(1.03); }
  100% { transform: translate(-50%, -50%) rotate(-6deg) scale(1); }
}
.feature-card {
  position: relative;
  background: #fff;
  padding: 10px 22px;
  border-radius: 60px 31px 60px 31px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.1);
  transition: transform .35s ease, box-shadow .35s ease;
  z-index: 1;
}
.card-wrapper:hover .feature-card {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(9,92,19,.25);
}
.feature-card .icon img {
  width: 58px;
  transition: transform .3s;
   margin-top:10px;
}
.feature-card:hover .icon img {
  transform: scale(1.1) rotate(8deg);
}
.feature-card h6 {
  margin: 12px 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #0a0a0a;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}
/* =========================
   ICON ANIMATION BACKGROUND
========================= */
.icon-wrapper {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 90px;
  margin-bottom: 15px;
}
.icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(9, 92, 19, 0.1);
  border: 2px dashed rgba(9, 92, 19, 0.6);
  animation: rotateCircle 8s linear infinite;
  z-index: 0;
}
@keyframes rotateCircle {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.icon-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: spinDots 4s linear infinite;
}
.icon-dots::before, 
.icon-dots::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #095c13;
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.icon-dots::after {
  bottom: 0;
  top: auto;
}
@keyframes spinDots {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.icon img {
  width: 50px;
  position: relative;
  z-index: 2;
}

/* default: hide mobile caption */
.mobile-caption{
  display:none;
}

/* mobile view */
@media (max-width:768px){
  .desktop-caption{
    display:none !important;
  }

  .mobile-caption{
    display:flex !important;
  }

  .mobile-break{
    display:block;   /* line break */
    width:100%;
    height:0;       /* optional, space control */
  }

  .mobile-caption .word{
  
    margin-right:5px;
  }
}

.notice-board-wrapper-modern {
    width: 100%;
    margin: 20px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background-color: #fefefe;
    font-family: 'Poppins', sans-serif;
}
.notice-board-header-modern {
    background: linear-gradient(135deg, #4caf50, #087f23);
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.header-icon {
    font-size: 20px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
.notice-board-modern {
    min-height: 300px;
    overflow: hidden;
    position: relative;
    padding: 11px 10px;
    background-color: #f9f9f9;
    margin: 20px;
}
.notice-list-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.notice-card-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 15px;
    background: #ffffff;
    border-left: 6px solid #4caf50;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border-radius: 60px 31px 60px 31px;
    border: 1px dashed green;
}
.notice-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    border-color: #087f23;
}
.notice-card-modern img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}
.notice-text-modern {
    flex: 1;
    margin-left: 12px;
}
.notice-title-modern {
    font-weight: 600;
    font-size: 15px;
    color: #087f23;
    margin-bottom: 4px;
}
.notice-date-modern {
    font-size: 13px;
    color: #555;
}
.notice-attachment-modern {
    font-size: 13px;
    color: #e60000;
    font-weight: 600;
    text-decoration: none;
}



.button-next {
    position: relative;
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff; /* Purple */
    color: black!important;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 0px #000; /* shadow like first image */
}
.button-next span {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}
.button-next span::after {
    content: ">";
    display: inline-block;
    margin-left: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}
/* Hover effect */
.button-next:hover {
    background-color: #095c13;
    box-shadow: 10px 10px 0px #ffffff; 
    color:#fff!important;
    border:1px solid #fff;
/* yellow shadow like second image */
}
.button-next:hover span::after {
    content: ">>>"; /* double arrow on hover */
    margin-left: 10px;
}

<!-- CSS -->

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
body { font-family: 'Poppins', sans-serif; }
/* Section Styling */

.study-section {
    position: relative;
    padding: 20px 0;
    background-color: #095c13; /* dark green */
    color: #fff;
    overflow: hidden;
}
/* Student Pattern Background using SVG */
.study-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="10" cy="10" r="2" fill="%2310b981"/><circle cx="50" cy="10" r="2" fill="%2310b981"/><circle cx="10" cy="50" r="2" fill="%2310b981"/><circle cx="50" cy="50" r="2" fill="%2310b981"/><rect x="25" y="25" width="10" height="10" stroke="%2310b981" fill="none" stroke-width="1"/></svg>');
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}
.blog-wrap {
    padding: 0px 0!important;
}
.class-wrap {
       padding: 0px 0!important;
}
/* Image Wrapper */
.about-image .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 400px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: floatImage 6s ease-in-out infinite;
    z-index: 1;
}
.about-image .animated-img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 20px;
    transition: transform 0.5s ease;
    position: relative;
}
.about-image .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(9,92,19,0.2));
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 20px;
    z-index: 2;
}
.about-image .image-wrapper:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(5deg) scale(1.05);
    box-shadow: 0 30px 70px rgba(0,0,0,0.3);
}
.about-image .image-wrapper:hover .image-overlay {
    opacity: 1;
}
@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
/* Heading */
.about-title {
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 25px;
    line-height: 1.2;
    z-index: 2;
    color: #fff;
}
.about-title .title-decoration {
    display: block;
    width: 80px;
    height: 5px;
    background: #ffffff;
    margin-top: 10px;
    border-radius: 3px;
    animation: slideIn 1s ease forwards;
}
@keyframes slideIn {
    0% { width: 0; opacity: 0; }
    100% { width: 80px; opacity: 1; }
}
.about-text {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 500;
    text-align: justify;
    z-index: 2;
    color: #fff;
}
.about-link {
    display: inline-block;
    margin-top: 15px;
    color: #10b981;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    z-index: 2;
}
.about-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #ffffff;
    left: 0;
    bottom: -2px;
    transition: width 0.3s ease;
}
.about-link:hover::after {
    width: 100%;
}
/* WOW Animations */
.wow { visibility: hidden; }
.fadeInLeft { animation-name: fadeInLeft; }
.fadeInRight { animation-name: fadeInRight; }
.msgtitle{
        color: #095c13;
    font-weight: 800;
    font-size: 16px;
}

.fw-bold{
color:#000;
}

    .section-title {
  text-align: center;
  margin-bottom: 40px;
    font-family: "poppins", serif;
}
.section-title .title-heading {
  font-size: 32px;
  font-weight: 700;
  color: #095c13;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
    font-family: "poppins", serif;
        margin-bottom: 0px;
}
.section-title .subtitle {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
    min-height: 100%;
}
.section-title .title-divider {
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #095c13, #4CAF50);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}
.card-box {
  position: relative;
  margin: 20px;
  border-radius: 15px;
  overflow: hidden;
}
.item {
  position: relative;
  overflow: hidden;
}
.item::after {
       content: "";
    width: calc(100% - 30px);
    height: 62%;
    position: absolute;
    top: 2px;
    border: 1px solid #095c13;
    z-index: -1;
    transition: all 0.6s ease-in-out;
  transform: scale(1); /* Normal */
  pointer-events: none;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.item:hover::after {
  transform: scale(0.9); /* Hover pe andar ki taraf aa jayega */
  opacity: 1;
}
/* Card styling */
.card-box {
  position: relative;
  margin: 20px;
  border-radius: 15px;
  overflow: hidden; /* keeps child elements within rounded corners */
}

/* Image styling */
.main-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
  display: block;
  position: relative;
  z-index: 0;
  overflow: hidden; /* ensure shine doesn't spill outside */
}

/* Image hover shine effect */
.main-img::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 0%;
  left: 50%;
  top: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) rotate(-45deg);
  z-index: 2;
  transition: all 0.6s ease;
  border-radius: inherit; /* match image corners */
}

.main-img:hover::before {
  height: 250%; /* shine spreads across image only */
}

/* Card content styling */
.card-content {
  position: relative;
  background: #fff;
  padding: 5px 10px;
  border-radius: 15px;
  text-align: center;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
   z-index: 3; /* ensures content is above image shine */
}

.card-box:hover .card-content {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Button styling */
.btn-read {
  position: relative;
  display: inline-block;
  padding: 0px 27px;
  font-size: 16px;
  font-weight: 600;
  color: #095c13;
  border: 2px solid #095c13;
  border-radius: 30px;
  text-decoration: none !important;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 4; /* above image shine */
}

.btn-read::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #095c13;
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-read:hover::before {
  left: 0;
}

.btn-read:hover {
  color: #fff;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
   
    height: 29px!important;

}
.gallery-wrap{
padding: 0px 0px!important;
}
.activities-section {
    position: relative;
    background-image: url(../images/bg.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 550px;
}
/* Overlay */
.activities-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.85); /* White transparent layer */
  z-index: -1;
}
/* Text title styling */
.section-title .title-heading {
  font-size: 36px;
  font-weight: 700;
  color: #095c13;
}
.section-title .subtitle {
  font-size: 16px;
  color: #000;
}
.title-divider {
  display: inline-block;
  width: 80px;
  height: 3px;
  background: #095c13;
  margin-top: 15px;
}.section-title .title-divider {
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #d9d9d9, #ffffff);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}
.activity-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease-in-out;
  box-shadow: rgba(0,0,0,0.1) 0px 4px 12px;
  cursor: pointer;
}
/* Image animation */
.activity-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
/* Content */
.activity-info {
  padding: 10px;
  text-align: center;
  transition: all 0.3s ease;
}
.activity-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #095c13;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    margin-top: 10px;
}
.activity-info p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}
/* Hover Effects */
.activity-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: rgba(9, 92, 19, 0.2) 0px 8px 24px;
}
.activity-card:hover .activity-img img {
  transform: scale(1.1);
}
.activity-card:hover .activity-info h3 {
  color: #0d8020;
}
/* Glow border animation */
.activity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 2px;
  background: white;
  background-size: 300% 300%;
  animation: gradientBorder 5s ease infinite;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.activity-card {
  position: relative;
  overflow: hidden;
}
.activity-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -71%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.2) 100%);
    transform: skewX(-20deg);
    z-index: 99;
}
.activity-card:hover::before {
  animation: shine 0.8s forwards;
}
@keyframes shine {
  100% { left: 125%; }
}
/* Ensure overlay respects image border-radius */
.gallery-img {
  position: relative;
  overflow: hidden;
  border-radius: 60px 31px 60px 31px; /* matches your image */
}
/* Image */
.gallery-img > img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-radius: inherit; /* inherit same rounded corners */
  transition: transform 0.6s ease;
}
/* Overlay directly on image */
.overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit; /* match image corners */
  background: rgba(9, 92, 19, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.gallery-card:hover .overlay {
  opacity: 1;
}
/* Icon inside overlay */
.overlay a {
  color: #fff;
  font-size: 24px;
  background: rgba(255,255,255,0.2);
  padding: 12px;
  border-radius: 50%;
  transition: transform 0.4s ease, background 0.4s ease;
}
.gallery-card:hover .overlay a {
  transform: scale(1.2) rotate(360deg);
}
/* Flash overlay stays inside image border-radius */
.gallery-img::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  transition: all 0.5s ease;
  opacity: 0;
  border-radius: inherit; /* match image corners */
}
.gallery-card:hover .gallery-img::before {
  opacity: 1;
  animation: flashMove 1s forwards;
}
@keyframes flashMove {
  0% { transform: translateX(-100%) rotate(25deg); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(200%) rotate(25deg); opacity: 0; }
}
.gallery-wrap {
  padding: 60px 0;
  background: #f5f7fa;
}
.gallery_box .title h1 {
  font-size: 28px;
  font-weight: 700;
  color: #095c13;
  margin-bottom: 15px;
}
.gallery_box .readmore a {
  display: inline-block;
  padding: 8px 20px;
  background: #095c13;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.4s;
}
.gallery_box .readmore a:hover {
  background: #0d8020;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.gallery-wrap {
  padding: 60px 0;
  background: #f0f4f8;
  position: relative;
    background-image: url(../images/bg1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 650px;
}
/* Title */
.section-title .title-heading {
  font-size: 36px;
  font-weight: 700;
  color: #095c13;
  margin-bottom: 10px;
}
.section-title .subtitle {
  color: #000;
  font-size: 16px;
}
.title-divider {
  display: block;
  width: 80px;
  height: 3px;
  margin: 15px auto 0 auto;
  background: linear-gradient(90deg, #095c13, #0d8020);
  border-radius: 2px;
}
.gallery-card {
    background: none;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    cursor: pointer;
}
.gallery-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg) scale(1.03);
}
.gallery-img>img{
    border-radius: 60px 31px 60px 31px;
    height: 260px;
}
/* Flash overlay */
.gallery-img::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  transition: all 0.5s ease;
  opacity: 0;
}
/* Animate flash on hover */
.gallery-card:hover .gallery-img::before {
  opacity: 1;
  animation: flashMove 1s forwards;
}
@keyframes flashMove {
  0% { transform: translateX(-100%) rotate(25deg); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(200%) rotate(25deg); opacity: 0; }
}
/* Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 92, 19, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-card:hover .overlay {
  opacity: 1;
}
.overlay a {
  color: #fff;
  font-size: 24px;
  background: rgba(255,255,255,0.2);
  padding: 12px;
  border-radius: 50%;
  transition: transform 0.4s ease, background 0.4s ease;
}
.gallery-card:hover .overlay a {
  transform: scale(1.2) rotate(360deg);
  background: rgba(255,255,255,0.4);
}
/* Title under image */
.gallery-title {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #095c13;
  padding: 10px 8px;
  border-radius: 8px;
  margin-top: 5px;
  transition: all 0.4s ease;
}
.gallery-card:hover .gallery-title {
    background: #095c13;
    color: #fff;
    transform: translateY(-4px);
    border-radius: 60px 31px 60px 31px;
    margin-top: -37px;
    margin-left: 35px;
    margin-right: 36px;
    border: 1px solid white;
}



.section-heading2 {
    position: relative;
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #095c13, #095c13);
    padding: 10px 25px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.section-heading2::before,
.section-heading2::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 3px;
    width: 60px;
    background: #095c13;
}
.section-heading2::before {
    left: -70px;
}
.section-heading2::after {
    right: -70px;
}

@media (max-width: 768px) {

#myCarousel1 .student-box {
    
    left: 26%!important;
   
}
  .bloggridWrp {
    
    padding: 10px;
}

tr td {
   
    font-size: 10px;
}
  .content-card {
   
    padding: 10px;
   
}
    .section-heading2 {
        font-size: 18px;           /* smaller text */
        padding: 8px 15px;         /* less padding */
        border-radius: 20px;       /* slightly smaller corners */
    }

    .section-heading2::before,
    .section-heading2::after {
        width: 40px;               /* shorter lines */
    }

    .section-heading2::before {
        left: -50px;               /* adjust spacing */
    }

    .section-heading2::after {
        right: -50px;              /* adjust spacing */
    }
}



/* ------------------ Fixed Background ------------------ */
#myCarousel1 {
    background: url(../images/birthday.png) center no-repeat;
    height: 440px;
    overflow: visible;
    border-radius: 10px;
   transform: rotate(2deg);
    background-size: 100% 100%;
}
#myCarousel1 .student-box {
    transform: rotate(-2deg) !important;
    top: 12%;
    left: 30%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}
#myCarousel2 { background: url('../images/toppers.png') center no-repeat; 
   background-size: 100% 100%;
    height:440px; overflow:visible; 
    border-radius:10px; 
  }





.carousel-control-prev span.visually-hidden,
.carousel-control-next span.visually-hidden {
    display: none;
}
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(9, 92, 19, 0.7);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: #0d8020;
    transform: translateY(-50%) scale(1.2);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    font-size: 24px;
    color: #fff;
}
.carousel-control-prev-icon::after { content: "\276E"; }
.carousel-control-next-icon::after { content: "\276F"; }
.carousel-item { 
    position: relative; 
    height: 600px; 
    background: transparent; /* remove individual backgrounds */
}
.student-box {
    position: absolute;
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}
.student-box img {
    width: 200px; height: 170px; object-fit: fill;
    border-radius: 60px 31px 60px 31px; border:1px dashed green;
    padding:10px; margin-bottom:10px; background:#fff;
}
.student-box h5 { font-size:18px; font-weight:800; color:#095c13 !important; margin-bottom:0px; }
.student-box span { display:block; color:black; font-size:16px; }

.animation-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1; /* lower than student box */
    font-size: 28px;
}

.float-down {
    position: absolute;
    font-size: 28px;
    animation: fallDown 6s linear infinite;
    opacity: 0.9;
    top: -50px; /* start slightly above container */
}

@keyframes fallDown {
    0% {
        transform: translateY(0) scale(0.7);
        opacity: 1;
    }
    100% {
        transform: translateY(120vh) scale(1.2);
        opacity: 0;
    }
}


.fall-down { position:absolute; font-size:28px; animation: fallDown 5s linear infinite; opacity:0.9; }
@keyframes fallDown { 0%{transform:translateY(0) rotate(0deg);opacity:1} 100%{transform:translateY(120vh) rotate(360deg);opacity:0} }
.confetti,.cap,.sparkle { position:absolute; font-size:22px; animation: floatUp 6s linear infinite; }


/* Make carousel wrapper relative & hide overflow */
.carousel {
    position: relative;
    overflow: hidden; /* confines floating/falling items */
}

/* Floating balloons and gifts */
.float-up {
    position: absolute;
    font-size: 28px;
    animation: floatUp 6s linear infinite;
    opacity: 0.9;
    transform-origin: center bottom;
}

/* Add sway effect */
@keyframes floatUp {
    0%   { transform: translateY(0) translateX(0) scale(0.7); opacity:1; }
    50%  { transform: translateY(-60vh) translateX(10px) scale(1); }
    100% { transform: translateY(-120vh) translateX(-10px) scale(1.2); opacity:0; }
}

.fall-down {
    position: absolute;
    font-size: 28px;
    animation: fallDown 5s linear infinite;
    opacity: 0.9;
    transform-origin: center top;
}

@keyframes fallDown {
    0%   { transform: translateY(0) rotate(0deg) translateX(0); opacity:1; }
    50%  { transform: translateY(60vh) rotate(180deg) translateX(10px); }
    100% { transform: translateY(120vh) rotate(360deg) translateX(-10px); opacity:0; }
}

.confetti, .cap, .sparkle {
    position: absolute;
    font-size: 22px;
    animation: floatUp 6s linear infinite;
}


@media (max-width: 768px) {
    #myCarousel1
    {
        height: 400px; /* reduce carousel height on mobile */
        border-radius: 8px;
    }
     
    #myCarousel2 {
        height: 363px; /* reduce carousel height on mobile */
        border-radius: 8px;
    }
.btn-custom{
    padding:4px 20px!important;
}
    .carousel-item {
        height: 400px; /* match reduced carousel height */
    }

    .student-box img {
        width: 160px;   /* smaller images */
        height: 150px;
        border-radius: 40px 20px 40px 20px;
        padding: 5px;
        margin-top: 10px;
        margin-bottom: 8px;
    }


    .student-box h5 {
        font-size: 12px;
        margin-top: 0px;
    }

    .student-box span {
        font-size: 14px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .animation-layer {
        font-size: 20px; /* reduce overall floating element size */
    }

    .float-up,
    .fall-down,
    .confetti,
    .cap,
    .sparkle {
        font-size: 18px; /* scale down animations */
    }
}
