body {
  margin: 0;
  font-family:Georgia, 'Times New Roman', Times, serif;
}


.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.4s ease;
}


.navbar {
  background: rgba(0, 0, 0, 0);
  color: #fff;
}

.navbar.solid .top-nav {
  background:#1A3F22;
}
.navbar.solid .bottom-nav {
  background: #f8f8e8;
  border-bottom: 1px solid #ddd;
  color: #000;
}


.top-nav {
  display: flex;
  justify-content: flex-start;
  gap: 25px;
  padding: 10px 600px;
  transition: background 0.3s;
}

.top-nav a {
  color: inherit;
  text-decoration: none;
  font-size: 17px;
  padding-left: 20px;
  position:relative;
  transition: color 0.3s;
}
.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background:yellow;
  transition: width 0.3s ease;
}
.top-nav a:hover {
  color: #ffcc00;
}
.top-nav a:hover::after {
  width: 100%;
}
.continue-application {
  --color:black;
  --background:#D99201;
  --background-hover:rgba(255, 255, 0, 0.814);
  --background-left:#D99201;
  --folder: #F3E9CB;
  --folder-inner: #BEB393;
  --paper: #FFFFFF;
  --paper-lines: #BBC1E1;
  --paper-behind: #E1E6F9;
  --pencil-cap: #fff;
  --pencil-top: #275EFE;
  --pencil-middle: #fff;
  --pencil-bottom: #5C86FF;
  --shadow: rgba(13, 15, 25, .2);
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  line-height: 19px;
  -webkit-tap-highlight-color: transparent;
  padding: 17px 29px 17px 69px;
  transition: background 0.3s;
  color: var(--color);
  background: var(--bg, var(--background));
}

.continue-application > div {
  top: 0;
  left: 0;
  bottom: 0;
  width: 53px;
  position: absolute;
  overflow: hidden;
  border-radius: 5px 0 0 5px;
  background: var(--background-left);
}

.continue-application > div .folder {
  width: 23px;
  height: 27px;
  position: absolute;
  left: 15px;
  top: 13px;
}

.continue-application > div .folder .top {
  left: 0;
  top: 0;
  z-index: 2;
  position: absolute;
  transform: translateX(var(--fx, 0));
  transition: transform 0.4s ease var(--fd, 0.3s);
}

.continue-application > div .folder .top svg {
  width: 24px;
  height: 27px;
  display: block;
  fill: var(--folder);
  transform-origin: 0 50%;
  transition: transform 0.3s ease var(--fds, 0.45s);
  transform: perspective(120px) rotateY(var(--fr, 0deg));
}

.continue-application > div .folder:before, .continue-application > div .folder:after,
.continue-application > div .folder .paper {
  content: "";
  position: absolute;
  left: var(--l, 0);
  top: var(--t, 0);
  width: var(--w, 100%);
  height: var(--h, 100%);
  border-radius: 1px;
  background: var(--b, var(--folder-inner));
}

.continue-application > div .folder:before {
  box-shadow: 0 1.5px 3px var(--shadow), 0 2.5px 5px var(--shadow), 0 3.5px 7px var(--shadow);
  transform: translateX(var(--fx, 0));
  transition: transform 0.4s ease var(--fd, 0.3s);
}

.continue-application > div .folder:after,
.continue-application > div .folder .paper {
  --l: 1px;
  --t: 1px;
  --w: 21px;
  --h: 25px;
  --b: var(--paper-behind);
}

.continue-application > div .folder:after {
  transform: translate(var(--pbx, 0), var(--pby, 0));
  transition: transform 0.4s ease var(--pbd, 0s);
}

.continue-application > div .folder .paper {
  z-index: 1;
  --b: var(--paper);
}

.continue-application > div .folder .paper:before, .continue-application > div .folder .paper:after {
  content: "";
  width: var(--wp, 14px);
  height: 2px;
  border-radius: 1px;
  transform: scaleY(0.5);
  left: 3px;
  top: var(--tp, 3px);
  position: absolute;
  background: var(--paper-lines);
  box-shadow: 0 12px 0 0 var(--paper-lines), 0 24px 0 0 var(--paper-lines);
}

.continue-application > div .folder .paper:after {
  --tp: 6px;
  --wp: 10px;
}

.continue-application > div .pencil {
  height: 2px;
  width: 3px;
  border-radius: 1px 1px 0 0;
  top: 8px;
  left: 105%;
  position: absolute;
  z-index: 3;
  transform-origin: 50% 19px;
  background: var(--pencil-cap);
  transform: translateX(var(--pex, 0)) rotate(35deg);
  transition: transform 0.4s ease var(--pbd, 0s);
}

.continue-application > div .pencil:before, .continue-application > div .pencil:after {
  content: "";
  position: absolute;
  display: block;
  background: var(--b, linear-gradient(var(--pencil-top) 55%, var(--pencil-middle) 55.1%, var(--pencil-middle) 60%, var(--pencil-bottom) 60.1%));
  width: var(--w, 5px);
  height: var(--h, 20px);
  border-radius: var(--br, 2px 2px 0 0);
  top: var(--t, 2px);
  left: var(--l, -1px);
}

.continue-application > div .pencil:before {
  -webkit-clip-path: polygon(0 5%, 5px 5%, 5px 17px, 50% 20px, 0 17px);
  clip-path: polygon(0 5%, 5px 5%, 5px 17px, 50% 20px, 0 17px);
}

.continue-application > div .pencil:after {
  --b: none;
  --w: 3px;
  --h: 6px;
  --br: 0 2px 1px 0;
  --t: 3px;
  --l: 3px;
  border-top: 1px solid var(--pencil-top);
  border-right: 1px solid var(--pencil-top);
}

.continue-application:before, .continue-application:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  border-radius: 1px;
  background: var(--color);
  transform-origin: 9px 1px;
  transform: translateX(var(--cx, 0)) scale(0.5) rotate(var(--r, -45deg));
  top: 26px;
  right: 16px;
  transition: transform 0.3s;
}

.continue-application:after {
  --r: 45deg;
}

.continue-application:hover {
  --cx: 2px;
  --bg: var(--background-hover);
  --fx: -40px;
  --fr: -60deg;
  --fd: .15s;
  --fds: 0s;
  --pbx: 3px;
  --pby: -3px;
  --pbd: .15s;
  --pex: -24px;
}
.bottom-nav {
  display:flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  padding: 8px 20px;
  transition: background 0.3s;
}
.bottom-nav img {
  height: 70px;
  border-radius: 1cm;
}
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color:#1A3F22;
  font-weight: 800;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background:#D99201;
  transition: width 0.3s ease;
}
.nav-links a:hover {
  color:#D99201;
}
.nav-links a:hover::after {
  width: 100%;
}

/* Search icon */
.search {
  font-size: 18px;
  cursor: pointer;
  margin-left: 20px;
  transition: transform 0.3s;
}
.search:hover {
  transform: scale(1.2);
  color: #003366;
}

/* Page content */
.content {
  height: 150vh;
  padding: 50px;
  background: #fff;
}
.navbar{
    padding-left: 0px;
    margin-top: 0;
}
.container {
  background: #1A3F22;
  color: white;
  padding: 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: fixed;   /* ✅ Fixed instead of relative */
  top: 0;            /* Sticks to the top */
  left: 0;           /* Aligns to left */
  width: 100%;       /* Full width */
  z-index: 1000;     /* Stays above other elements */
}

.admission {
  flex: 0 0 auto;
  font-weight: bold;
  margin-right: 30px;
  z-index: 2;
}

.scroll-box {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 25px;
  margin-right: 25px;
}

.box2 {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: scrollLeft 120s linear infinite; /* adjust speed */
}

.course {
  display: inline-flex;
  align-items: center;
  margin: 0 20px;
}

.course button {
  background: #ffcc00;
  color: black;
  border: none;
  padding: 5px 10px;
  margin-left: 8px;
  border-radius: 5px;
  cursor: pointer;
}

@keyframes scrollLeft {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}
/* Menu icon */
.menu-icon {
  font-size: 25px;
  cursor: pointer;
  margin: 0px;
  margin-right: 20px;
  display: inline-block;
  color: #D99201;
  position: relative;
  z-index: 1001; /* above overlay */
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -100%; /* ✅ Completely hidden */
  height: 100%;
  width: 270px;
  background: #1A3F22;
  padding: 0px;
  margin-right:20px ;
  color: white;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.451);
  transition: 0.3s ease-in-out;
  z-index: 1002;
}

.sidebar.active {
  left: 0; /* ✅ Slide in only when active */
}
.sidebar h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 20px;
}

.sidebar a {
  font-size: 17px;
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.sidebar a:hover {
  background: #145d2d;
  padding-left: 30px;
}

/* Close button */
.close-btn {
  font-size: 22px;
  cursor: pointer;
  display: block;
  text-align: right;
  margin-bottom: 20px;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1000;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Main content */
.content {
  padding: 20px;
  margin-left: 50px;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1000;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Main content */
.content {
  padding: 20px;
  margin-left: 50px;
}

.welcome-container {
  width: 100%;
  text-align: center;
  background: #1A3F22;
  margin-top: 20px;
  color: white;
  font-size: 1.3rem;
  font-weight: 400; /* fixed */
}

.welcome-container h1 {
  font-size: 30px;
  padding: 20px 0;
  animation: fadeSlide 3s ease-out; /* added animation */
}

/* Animation */
@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* about cms */
.container-about1 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px;
  gap: 40px;
}

/* Left Side */
.left {
  flex: 1;
  max-width: 750px;
  padding-left: 50px;
}

.left h1 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a4d2e;
  margin-bottom: 50px;
  padding-left: 200px;
}

.left p {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 15px;
  color: #333;
}

/* Right Side */
.right {
  display: flex;
  flex-direction: column;
  padding-right: 50px;
  gap: 50px;
  flex-shrink: 0;
}

/* Card */
.card {
  width: 450px;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.495);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

/* Auto-changing Gallery */
.hover-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hover-gallery img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.hover-gallery img:first-child {
  opacity: 1;
}

/* vission,mission */
.container-about {
  display: flex;
  gap: 0px;
  flex-wrap: wrap;
}

.card-about {
  background: white;
  border: 5px solid #1A3F22;
  border-radius: 15px;
  width: 550px;
  min-height: 200px;
  margin: 80px;
  margin-left: 80px;
  padding: 25px 20px 25px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.605);
  transition: all 0.3s ease;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-about p {
  margin: 0;
  line-height: 1.6;
  font-size: 20px;
  color: #000;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-about:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-about {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: #d28c00;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  padding: 12px 40px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn-about:hover {
  background: #ff9900;
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* ================== Animation ================== */
@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Base animation state */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 1s, transform 1s;
}

/* When visible */
.animate-on-scroll.show.from-left {
  animation: slideInLeft 1s forwards;
}

.animate-on-scroll.show.from-right {
  animation: slideInRight 1s forwards;
}

/* Apply to all paragraphs inside .left */
.left p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 15px;
  color: #333;
  opacity: 0;
  animation: slideInLeft 8s ease forwards;
}

/* Delay each paragraph for a staggered effect */
.left p:nth-child(2) {
  animation-delay: 0.5s;
}
.left p:nth-child(3) {
  animation-delay: 0.7s;
}
.left p:nth-child(4) {
  animation-delay: 0.10s;
}


/* why cms*/
.main-content-top {
      max-width: 900px;
      margin: 40px auto;
      margin-top: 10px;
}

.image img {
      width: 100%;
      height: auto;
      border-radius: 10px;
    }

.info-top {
      margin-top: 20px;
      background: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

.stats {
      display: flex;
      justify-content: center;
      gap: 60px;
      margin: 20px 0;
    }

.counter h2 {
      font-size: 50px;
      font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0;
    }

.counter p {
      margin: 5px 0 0;
      color: gray;
    }

 
.image img {
  width: 900px;
  height:350px;
  border-radius: 10px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.664); 
}

.image img:hover {
  transform: scale(1.18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.664); 
 
}
.top-why{
    position: absolute;
    bottom: -20px;
   left: 50%;
   transform: translateX(-50%);
   background-color:#1A3F22;
   color: white;
   padding: 8px 20px;
  text-align: center;
  border-radius: 5px;
  z-index: 3;
}
.top-why h2{
    margin: 0;
    font-size: 20px;
}

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

.cssbuttons-io-button {
  background:#D99201;
  color: white;
  font-family: inherit;
  padding: 0em;
  margin-left:320px;
  padding-left: 1.2em;
  font-size: 17px;
  font-weight: 500;
  border-radius: 0.9em;
  border: none;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  box-shadow: inset #D99201;
  overflow: hidden;
  position: relative;
  height: 2.8em;
  padding-right: 3.3em;
  cursor: pointer;
}

.cssbuttons-io-button .icon-top {
  background: white;
  margin-left: 1em;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.2em;
  width: 2.2em;
  border-radius: 0.7em;
  box-shadow:#1A3F22;
  right: 0.3em;
  transition: all 0.3s;
}

.cssbuttons-io-button:hover .icon-top {
  width: calc(100% - 0.6em);
}

.cssbuttons-io-button .icon-top svg {
  width: 1.1em;
  transition: transform 0.3s;
  color:#1A3F22;
}

.cssbuttons-io-button:hover .icon-top svg {
  transform: translateX(0.1em);
}

.cssbuttons-io-button:active .icon-top {
  transform: scale(0.95);
}


/*why cms*/
.why-container {
  width: 1200px;
  text-align: center;
  background: #fff; /* dark green */
  margin-top: 0px;
  margin-left: 150px;
  color:#1A3F22;
  padding: 10px 20px;
}

.why-container h1 {
  font-size: 30px;
  padding: 0px;
  margin-left: 0px;
  font-weight: 800;
}

.programs {
  width: 100%;
  text-align: center;
  background:#1A3F22;
  padding: 10px 0px;
  color: white;
  font-size: 2rem;
  font-weight:800;
}


.ug-pro {
  width: 100%;
  text-align: center;
  background:rgba(252, 252, 171, 0.626);
  padding: 30px 0px;
  margin-top: 20px;
  color:#1A3F22;
  font-size: 2rem;
  font-weight:800;
}

.container-ug {
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding-top: 50px;
  padding-bottom: 80px;
  margin-left: 80px;
  margin-right: 80px;
}

.card-ug {
  background: #fff;
  margin-top: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.535);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-ug:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.card-ug img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

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

.card-content-ug {
  padding: 15px;
  text-align: center;
}

.card-content-ug h3 {
  margin: 10px 0;
  font-size: 18px;
}

.card-content-ug p {
  font-size: 14px;
  color: #555;
}

.btn-ug {
  display: inline-block;
  font-size: small;
  margin-top: 10px;
  padding: 8px 15px;
  background:#D99201;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}

.btn-ug:hover {
  background: #555;
}


.pg-pro {
  width: 100%;
  text-align: center;
  background:rgba(252, 252, 171, 0.626);
  padding: 30px 0px;
  margin-top: 20px;
  color:#1A3F22;
  font-size: 2rem;
  font-weight:800;
}

.container-pg {
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding-top: 50px;
  padding-bottom: 80px;
  margin-left: 80px;
  margin-right: 80px;
}

.card-pg {
  background: #fff;
  margin-top: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.535);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-pg:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.card-pg img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

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

.card-content-pg {
  padding: 15px;
  text-align: center;
}

.card-content-pg h3 {
  margin: 10px 0;
  font-size: 18px;
}

.card-content-pg p {
  font-size: 14px;
  color: #555;
}

.btn-pg {
  display: inline-block;
  font-size: small;
  margin-top: 10px;
  padding: 8px 15px;
  background:#D99201;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}

.btn-pg:hover {
  background: #555;
}

.placements {
  width: 100%;
  text-align: center;
  background:#1A3F22;
  padding: 10px 0px;
  color: white;
  font-size: 2rem;
  font-weight:800;
}

/*placement companys*/

  .slider {
      width: 100%;
      overflow: hidden;
      background: white;
      padding: 20px 0;
      margin-top: 50px;
      margin-bottom: 50px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0);
    }

    .slide-track {
      display: flex;
      width: calc(250px * 84); /* 42 images × 2 = 84 */
      animation: scroll 120s linear infinite;
    }

    .slide {
      width: 250px;
      height: 150px;
      margin: 0 15px;
      flex-shrink: 0;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 6px 18px rgba(0,0,0,0.15);
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .slide img {
      width: 80%;
      height: 100%;
      object-fit: cover;
    }

    @keyframes scroll {
      0%   { transform: translateX(0); }
      100% { transform: translateX(calc(-250px * 42)); } /* move 42 images left */
    }

    .tag-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
  margin-bottom: 50px;
    }

.line {
  flex: 1;
  border-top: 3px dotted #1A3F22;
}

.tag-text {
  font-size: 2rem;
  font-weight: bold;
  color: #1A3F22;
}


/*life @ cms*/
.container-life {
  max-width: 1200px;
  margin: auto;
}

.row-life {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 80px 0;
  gap: 40px;
}

/* Text Section */
.text-block {
  flex: 1;
  text-align: center;
}

.text-block h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: lowercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.dots {
  flex: 1;
  height: 1px;
  border-top: 2px dotted #333;
}

.text-block p {
  margin-top: 15px;
  font-size: 16px;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Card Section */
.card-life {
  flex: 1;
  height: 300px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-life img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Left card shape */
.card-left {
  border-radius: 0 150px 150px 0;
}

/* Right card shape */
.card-right {
  border-radius: 150px 0 0 150px;
}

/* Hover zoom effect */
.card-life:hover img {
  transform: scale(1.08);
}

.news{
  width: 100%;
  text-align: center;
  background:#1A3F22;
  padding: 10px 0px;
  color: white;
  font-size: 2rem;
  font-weight:800;
}


.testimonial-section {
  text-align: center;
  width: 100%;
  max-width: 1100px;
  padding-top: 50px;
  padding-left: 80px;
  margin-left: 140px;
  margin-bottom: 60px;
  padding-bottom: 50px;
}

.title {
  font-size: 35px;
  color: #1A3F22;
  padding-top: 20px;
  margin-bottom: 80px;
  letter-spacing: 2px;
}

.carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 100px;
  gap: 20px;
  position: relative;
}

.testimonial-item {
  width: 500px;
  height: 300px;
  background: #1A3F22;
  border-radius: 12px;
  display: flex;
  overflow: hidden;
  box-shadow: 0px 8px 25px rgba(0,0,0,0.5);
  position: absolute;
  top: 0;
  transition: transform 0.6s ease, z-index 0.6s ease, opacity 0.6s ease;
  cursor: pointer;
}

.testimonial-img {
  width: 50%;
}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  width: 50%;
  padding: 15px;
  text-align: left;
}

.testimonial-text h3 {
  margin: 0;
  font-size: 18px;
  color: #fff;
}

.testimonial-text .date {
  font-size: 13px;
  color: #aaa;
  margin: 5px 0 10px;
}

.testimonial-text p {
  font-size: 14px;
  color: #ddd;
}

.news-body{
  padding-bottom: 50px;
}

.cource{
  width: 100%;
  text-align: center;
  background:#ffffff;
  padding: 50px 0px;
  color: white;
  font-size: 2rem;
  font-weight:800;
}


.tag-container-one {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 50px;
    }

.line-one {
  flex: 2;
  border-top: 1px dotted #1A3F22;
}

.tag-one {
  font-size: 2rem;
  font-weight: bold;
  color: #1A3F22;
}

  .info-section {
  display: flex;
  justify-content: space-between;
  padding: 80px;
  background-color: #f7f1e3; /* fallback */
}

.column {
  width: 30%;
}

h3 {
  font-weight: bold;
  margin-bottom: 15px;
}

p {
  line-height: 1.6;
  font-size: 15px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 8px;
}

a {
  text-decoration: none;
  color: #000;
}

a:hover {
  color: #555;
}

/* FAB Container */
.fab-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

/* Main Button */
.fab-main {
  background: #28a745;
  color: #fff;
  font-size: 22px;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.fab-main:hover {
  transform: rotate(90deg);
}

/* Action Buttons container */
.fab-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.fab-options.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Action Buttons */
.fab-btn {
  margin: 8px 0;
  background: #1A3F22;
  color: #fff;
  font-size: 20px;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.3s;
}

.fab-btn i {
  font-size: 22px;
}

.fab-btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* Specific Colors */
.instagram { background: #e1306c; }
.facebook  { background: #1877f2; }
.whatsapp  { background: #25d366; }
.phone     { background: #D99201; }

.bottom-info {
  background: #fff;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 2px solid #ddd;
}

.info-left {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 50%;
}

.logo {
  width: 480px;
  height:200px;
}

.college-info h2 {
  font-size: 20px;
  font-weight: bold;
  color: #000;
}

.college-info p {
  font-size: 14px;
  color: #333;
}

.college-info .small {
  font-size: 12px;
  color: #555;
}

.info-right {
  max-width: 60%;
}

.info-right h3 {
  font-size: 22px;
  margin-top: 20px;
  margin-bottom: 10px;
  margin-right:450px;
  color: #1A3F22;
}

.info-right p {
  font-size: 20px;
  margin-right: 400px;
  color: #333;
  margin: 5px 10px;
}

.info-right i {
  margin-right: 8px;
  color: #1A3F22;
}

.bottom-bar {
  background: #1A3F22;
  color: #ddd;
  font-size: 14px;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
}

.admission-card {
  display: none; /* hidden at first */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0); /* dark overlay */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 40px 20px; /* ✅ spacing from top & bottom */
  box-sizing: border-box;
  overflow-y: auto;   /* ✅ allow scroll if content too tall */
}

/* Card container */
.card-content {
  background:#1A3F22; /* white card */
  border: 4px solid #145d2d;
  width: 70%;
  max-width: 700px;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.644);

  /* ✅ Limit height inside screen */
  max-height: 90vh;
  overflow-y: auto;  /* scroll only inside the card */
  box-sizing: border-box;
}

/* Title */
.card-content h2 {
  width: 100%;
  color:#fff ;
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Close button */
.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  font-weight: 0;
  cursor: pointer;
  color:#D99201;
}

/* Form columns */
.form-left, .form-right {
  flex: 1;
  min-width: 500px;
  display: flex;
  padding-left: 70px;
  flex-direction: column;
  gap: 12px;
}

/* Labels */
label {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
  color: #ffffff;
}

/* Inputs */
input, select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  background: #1a4d2e;
}

input:focus, select:focus {
  border-color: #666;
  background: #1a4d2e;
  color: #fff;
}

/* Gender options */
.gender-options {
  display: flex;
  gap: 15px;
  align-items: center;
  color: #fff;
}

.gender-options label {
  font-weight: normal;
}

/* Register button */
.register-btn {
  width: 50%;
  padding: 14px;
  margin-left: 150px;
  background:#D99201;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 15px;
  transition: 0.3s;
}

.register-btn:hover {
  background: #444444a4;
}

/* ✅ Scrollbar styling (optional, nice look) */
.card-content::-webkit-scrollbar {
  width: 8px;
}

.card-content::-webkit-scrollbar-thumb {
  background: #20202092;
  border-radius: 10px;
}

.card-content::-webkit-scrollbar-thumb:hover {
  background: #20202092;
}

/* Overlay */
.payment-card-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.114);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Card */
.payment-card {
  background:#1A3F22;
  border: 4px solid #1a4d2e;
  padding: 25px 35px;
  border-radius: 15px;
  width: 400px;
  height:500px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.488);
  text-align: left;
}

.payment-card h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}

.payment-card label {
  display: block;
  font-weight: bold;
  margin: 10px 0 5px;
}

.payment-card input {
  width: 100%;
  padding: 7px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
}

.captcha-img {
  display: block;
  margin: 15px auto;
  border: 1px solid #aaa;
  width: 180px;
  height: 40px;
}

.login-btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background:#D99201;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.login-btn:hover {
  background: #4a5a4d;
}

/* Close button */
.close-btn-pay {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
  color:#D99201;
}

.close-btn-pay:hover {
  color: #000;
}

.exam-card-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.114);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Card */
.exam-card {
  background: #1A3F22;
   border: 4px solid#1a4d2e;
  padding: 25px 35px;
  border-radius: 15px;
  width: 500px;
  max-height: 600px;      /* use max-height instead of fixed */
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.155);
  text-align: left;

  /* new for scrolling */
  overflow-y: auto;
  scrollbar-width: thin;          
  scrollbar-color: #54545449 #1A3F22;
}

.exam-card h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #fff;
}

/* Scrollbar for Chrome, Edge, Safari */
.exam-card::-webkit-scrollbar {
  width: 8px;
}

.exam-card::-webkit-scrollbar-track {
  background: #1A3F22;
  border-radius: 10px;
}

.exam-card::-webkit-scrollbar-thumb {
  background-color: #1313137f;
  border-radius: 10px;
}

/* Close button */
.close-btn-pay {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
  color: #D99201;
}

.close-btn-pay:hover {
  color: #000;
}



.examination{
  color: #fff;
  font-size: 30px;
}

.hall{
  color: #fff;
  font-size: 20px;
  padding-top: 20px;
  margin-bottom: 10px;
}
.time{
  color: #fff;
  font-size: 20px;
  padding-top: 10px;
  padding-left: 125px;
}
.ug-time{
  color: #fff;
  font-size: 18px;
  padding-left: 0px;
}

.first{
  color:#fff;
  font-size: 15px;
  
}
.rules{
  color:#fff;
  font-size: 15px;
  margin-top: 50px;
}
.sem {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  padding: 0.7em 2em;
  margin-left: 20px;
  border: 3px solid #d28c00;
  background-color: #D99201;
  border-radius: 2px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.1);
  color: #1A3F22;
  text-decoration: none;
  transition: 0.3s ease all;
  z-index: 1;
}

.sem:before {
  transition: 0.5s all ease;
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  bottom: 0;
  opacity: 0;
  content: '';
  background-color: #1A3F22;
  z-index: -1;
}

.sem:hover, .sem:focus {
  color: white;
}

.sem:hover:before, .sem:focus:before {
  transition: 0.5s all ease;
  left: 0;
  right: 0;
  opacity: 1;
}

.sem:active {
  transform: scale(0.9);
}

/* Overlay background */
.complaint-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.286);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Complaint Card */
.complaint-card {
  background:#1A3F22;
  border: 4px solid #145d2d;
  width: 400px;
  max-width: 90%;
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.455);
  text-align: center;
}

/* Close Button */
.complaint-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color:#D99201;
  cursor: pointer;
}

/* Text Area */
.complaint-card textarea {
  width: 100%;
  height: 120px;
  margin: 15px 0;
  padding: 10px;
  resize: none;
  border: 2px solid #1A3F22;
  border-radius: 10px;
  background: #1a4d2e;
  color: white;
  font-size: 14px;
  overflow-y: auto;
}

/* Send Button */
.complaint-card button {
  width: 100%;
  padding: 10px;
  background:#D99201;
  border: none;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.complaint-card button:hover {
  background: #3f5145;
}

.visit-cms-section {
  text-align: center;
  padding: 60px 15px;
  margin-bottom: 20px;
  background: url("cms map bg.jpeg") no-repeat center center/cover;
  color: #f5c71a;
  font-size: 40px;
  font-weight: 300px;
}

.visit-cms-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: bold;
}

.map-container {
  max-width: 800px;
  margin: 0 auto 20px;
  margin-top: 20px;
}

.open-map-btn {
  display: inline-block;
  background: #1A3F22;
  color: #fff;
  padding: 12px 25px;
  margin-top: 10px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  transition: background 0.3s;
}

.open-map-btn:hover {
  background: #14551a;
}

.transport-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 60px;
  background: url('transport.jpeg') no-repeat center center/cover; /* Replace with your background image */
}

.left-trans {
  flex: 1;
  color: #000;
}

/* Left side */
.title-trans {
  font-size: 2rem;
  margin-bottom: 20px;
  margin-left: 20px;
  font-weight: bold;
}

.paragraph {
  line-height: 1.6;
  font-size: 1.3rem;
  margin-left: 20px;
  color: #222;
}

/* Right side card */
.card-trans {
  background: #fff;
  padding: 25px 30px;
margin-right: 70px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.47);
  max-width: 350px;
}

.card-title {
  font-size: 1.4rem;
  color: #1A3F22;
  margin-bottom: 10px;
  margin-left: 80px;
  font-weight: bold;
}

.card-desc {
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: #555;
}

.route-list {
  list-style: none;
  padding: 0;
}

.route-item {
  margin: 10px 0;
}

.route-link {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  transition: color 0.3s ease;
}

.route-link:hover {
  color: #D99201;
}

/* Overlay */
.result-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.366);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

/* Card */
.result-card {
  background: #1a3f22;
  border:4px solid #145d2d;
  padding: 30px;
  border-radius: 12px;
  width: 350px;
  color: #fff;
  text-align: center;
  position: relative;
}

/* Close button */
.result-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #D99201;
  cursor: pointer;
}

/* Headline */
.result-card h2 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #fff;
}

/* Labels */
.result-card label {
  display: block;
  margin: 10px 0 5px;
  text-align: left;
}

/* Input Fields */
.result-card input {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: none;
  margin-bottom: 15px;
}

/* Button */
.result-card button {
  background: #D99201;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.result-card button:hover {
  background: #4a4a4a7a;
}
