@import url("https://fonts.googleapis.com/css?family=Montserrat:500&display=swap");
@import url("https://fonts.googleapis.com/css?family=Dancing+Script&display=swap");
@import url("https://fonts.googleapis.com/css?family=Open+Sans&display=swap");

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

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
body {
  background: #fff;
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
    overflow-x: hidden;
}
/*SCROLLBAR Styling*/
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb {
  background: #8ab92d;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8ab92d; 
}

/* ------------------------ Header & Navigation ------------------------ */
header {
  height: 100%;
}

.black {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

nav {
  padding: 20px 5%;
  top: 0;
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 1000;
  background: #fff;
  transition: 1.5s;
  flex-wrap: wrap;
  box-sizing: border-box;
}

nav ul {
  display: flex;
  align-items: center;
}

nav ul li {
  list-style: none;
  margin: 5px 10px;
}

nav ul li a {
  padding: 2px 10px;
  color: #2e2e2e;
  cursor: pointer;
  transition: 0.5s;
  text-decoration: none;
}

nav ul li a:hover {
  color: #fff;
  border-radius: 5px;
  background: #8ab92d;
}

.active {
  color: #fff;
  border-radius: 5px;
  background: #8ab92d;
}

.srch {
  padding: 2px 10px;
  display: flex;
  justify-content: center;
  border: 1px solid;
  border-radius: 20px;
}

.srch img {
  width: 25px;
  cursor: pointer;
}

.srch .search {
  outline: none;
  border: none;
  background: transparent;
}

.get-started {
  margin-left: 50px;
  padding: 5px 20px;
  border: 2px solid #8ab92d;
  border-radius: 20px;
  text-decoration: none;
  transition: 0.5s;
  background-color: #8ab92d;
  color: #fff;
}

.get-started:hover {
  color: #2e2e2e;
  background: #fff;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  height: 40px;
  cursor: pointer;
  transition: all 1s;
  vertical-align: middle;
}


a,
button {
  float: left;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #2e3d49;
  display: block;
  text-decoration: none;
  text-align: center;
}

/* ---------------------- Head Container ---------------------- */
.head-container {
  margin-top: 200px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

@media (max-width: 768px) {
  .head-container {
    margin-top: 100px !important;
  }
}

.quote {
  margin-top: 50px;
  width: 600px;
  transform: translateY(-50px);
  text-align: center;
}

.quote h1.hero-heading {
  min-height: 2.5em;
}

.quote p {
  font-size: 50px;
  color: #000000;
}

.quote h4 {
  margin-top: 20px;
  color: #0009;
}

.quote h5 {
  margin-top: 20px;
  color: #0009;
  line-height: 20px;
}

.hero-heading {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.3;
  color: #000;
  max-width: 100%;
  white-space: nowrap; 
  overflow: hidden;
  text-overflow: ellipsis; /* optional: adds ... if text overflows */
}

.highlight-text {
  color: #8ab92d; 
}

/* Tablet */
@media (max-width: 768px) {
  .hero-heading {
    font-size: 1.4rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero-heading {
    font-size: 1.1rem;
  }
}

.svg-image img {
  width: 500px;
  filter: drop-shadow(0 20px 10px rgba(0, 0, 0, 0.2));
}

/* ------------------------ Side Menu ------------------------ */
.menu {
  cursor: pointer;
  width: 50px;
  height: auto;
  display: none;
}
#side-menu {
  transition: transform 0.3s ease;
  transform: translateX(-100%);
}

.side-menu {
  width: 100%;
  height: 100%;
  background: #8ab92d;
  position: absolute;
  top: 0;
  transition: 0.8s;
  z-index: 2000;
  transform: translateX(-100%);
}

.side-menu ul {
  margin-top: 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.side-menu ul li {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.side-menu ul li:hover a {
  background: #fff;
  color: #8ab92d;
}

.side-menu ul li a {
  color: #fff;
  width: 100%;
  font-size: 1em;
  text-decoration: none;
  padding: 15px 0px;
}

.close img {
  float: right;
  width: 35px;
  cursor: pointer;
  margin: 10px;
}

.user {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10%;
  font-weight: bold;
}

.user img {
  width: 60px;
  border-radius: 50%;
  border: 2px solid #fff;
  filter: drop-shadow(0 10px 20px #0004);
  margin-right: 30px;
  cursor: pointer;
}

.user p {
  color: #000000;
  cursor: pointer;
  font-size: 1.2em;
  text-decoration: underline;
}

.user img,
.user p {
  opacity: 1;
}

/*Quick Links*/
.course {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.cbox .det {
  height: auto;
  margin: 10px;
  background: #fff;
  cursor: pointer;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 200px;
  max-width: 250px;
}

.cbox .det a {
  width: 100%;
  padding: 15px 20px;
  border-radius: 50px;
  border: 1px solid #8ab92d;
  font-size: 15px;
  color: #272529;
  font-family: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cbox .det a:hover {
  background: linear-gradient(to right, #8ab92d, #8ab92d);
  color: white;
}

.inbt {
	padding: 10px;
	font-family: 'Open Sans', sans-serif;
	font-size: 30px;
	color: #2E3D49;
	margin: 100px;
	margin-bottom: 50px;
}

/*Common things in all sections*/
#about_section,
#portfolio_section,
#team_section,
#services_section,
#contactus_section {
  font-family: "Open Sans", sans-serif;
  color: #000000;
  position: relative;
}

.diffSection {
  width: 100%;
  /*position: relative;*/
  justify-content: center;
  align-items: center;

}
.diffSection .content {
  margin: 10px;
  text-align: center;
  padding: 10px 100px;
  font-size: 1.1em;
}

@media (max-width: 768px) {
  .diffSection > p {
    margin-bottom: 10px !important;
    margin-top: 10px !important;
  }

  .side-image {
    margin-top: 17px !important;
    text-align: center;
  }
}
.all-subjects-heading{
  font-size: 30px;
  padding: 0px 0px;
  color: #222; /* adjust if needed */
  font-weight: bold;
  text-align: center;
}
@media (max-width: 768px) {
  .all-subjects-heading {
    font-size: 24px;
    padding: 0px 10px;
  }
}

.about-heading {
  font-size: 40px;
  padding: 40px 20px;
  color: #222; /* adjust if needed */
  font-weight: bold;
  text-align: center;
}
@media (max-width: 768px) {
  .about-heading {
    font-size: 32px;
    padding: 15px 15px;
  }
}
/*PORTFOLIO*/
.portfolio-section {
  padding: 50px 0;
  background-color: #f9f9f9; /* optional */
  width: 100%;
}

.portfolio-heading {
  font-size: 40px;
  padding: 10px 20px;
  color: #222; /* adjust if needed */
  font-weight: bold;
  text-align: center;
}
@media (max-width: 768px) {
  .portfolio-heading {
    font-size: 32px;
    padding: 8px 15px;
  }
}


.portfolio-content {
  padding: 0 80px;
  font-size: 1.2em;
  line-height: 1.8em;
  color: #333;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* ✅ Responsive Portfolio Fix */
@media (max-width: 768px) {
  .portfolio-heading {
    font-size: 35px;
    padding: 20px;
  }

  .portfolio-content {
    font-size: 1rem;        /* slightly smaller */
    line-height: 1.6;       /* tighter lines */
    padding: 0 20px;        /* more breathing room on smaller screen */
    text-align: center;    /* better mobile alignment */
  }
}

.extra {
  width: 100%;
}

.extra p {
  padding: 30px;
  padding-bottom: 150px;
  font-size: 50px;
  text-align: center;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7)),
    url("images/extra/b1.jpg");
  background-size: cover;
  background-attachment: fixed;
  font-family: cursive;
  z-index: -9;
}

.smbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  transform: translateY(-100px);
  padding: 0 40px;
}

.smbox span {
  margin: 1%;
  background: #fff;
  box-shadow: inset 0px 0px 25px rgba(0, 0, 0, 0.2),
    0 0 40px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 30px 50px;
  cursor: pointer;
  transition: transform 0.5s ease, background 0.4s ease, color 0.4s ease;
  min-width: 220px;
  max-width: 280px;
  text-align: center;
}

.smbox span:hover {
  transform: scale(1.2);
  background: linear-gradient(135deg, #8ab92d, #5defcf);
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.smbox .data {
  font-size: 80px;
  color: #8ab92d;
  font-weight: 700;
  transition: color 0.4s ease;
}

.smbox .det {
  font-size: 20px;
  color: #272529;
  font-family: cursive;
  transition: color 0.4s ease;
}

.smbox span:hover .data,
.smbox span:hover .det {
  color: #fff;
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
  .extra p {
    font-size: 40px;
    padding-bottom: 100px;
  }

  .smbox {
    gap: 20px;
    transform: translateY(-60px);
    padding: 0 30px;
  }

  .smbox span {
    padding: 25px 40px;
    max-width: 240px;
  }

  .smbox .data {
    font-size: 60px;
  }

  .smbox .det {
    font-size: 18px;
  }
}

/* Phones (481px - 767px) */
@media (max-width: 767px) {
  .extra p {
    font-size: 32px;
    padding: 20px;
    padding-bottom: 80px;
  }

  .smbox {
    flex-direction: column;
    align-items: center;
    transform: translateY(-40px);
    padding: 0 20px;
  }

  .smbox span {
    width: 90%;
    padding: 20px 25px;
    transform: scale(1); /* Remove big scale on mobile */
    margin-bottom: 20px;
  }

  .smbox span:hover {
    transform: scale(1.05);
  }

  .smbox .data {
    font-size: 50px;
  }

  .smbox .det {
    font-size: 17px;
  }
}

/* Extra Small Devices (up to 480px) */
@media (max-width: 480px) {
  .extra p {
    font-size: 26px;
    padding: 15px;
    padding-bottom: 60px;
  }

  .smbox {
    transform: translateY(-20px);
    padding: 0 15px;
  }

  .smbox span {
    width: 100%;
    padding: 18px 20px;
    border-radius: 10px;
  }

  .smbox .data {
    font-size: 42px;
  }

  .smbox .det {
    font-size: 16px;
  }
}


/*Title*/
.title {
  margin-top: 0px;
  font-family: "Open Sans", sans-serif;
  font-size: 30px;
  text-align: center;
  color: #2e3d49;
}

/*ABOUT*/
.about-content {
  width: 100%;
  position: relative;
  justify-content: center;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
}
.about-content .side-text {
  width: 550px;
  padding: 50px 40px;
  background: #fff;
  box-shadow: 2px 0 100px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  text-align: justify;
  line-height: 22px;
  opacity: 0;
  transform: translateX(-100px);
  transition: 1s ease-in-out;
}
.about-content .side-text-appear {
  opacity: 1;
  transform: translateX(0px);
}
.about-content .side-text h2 {
  padding: 10px;
}
.about-content .side-text p {
  padding: 10px;
}
.about-content .side-image img {
  width: 90%;
  border-radius: 5px;
}
.sideImage {
  transform: translateX(100px);
  opacity: 0;
  transition: 0.8s ease-in-out;
}
.sideImage-appear {
  opacity: 1;
  transform: translateX(0px);
}

/*POPULAR SUBJECTS*/
.cbox {
  position: relative;
  width: 100%;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
}
.cbox .det {
  width: 250px;
  height: 80px;
  margin: 10px;
  background: #fff;
  cursor: pointer;
}
.cbox .det a {
  justify-content: space-around;
  width: 250px;
  padding: 28px;
  border-radius: 10px;
  border: 1px solid #8ab92d;
  font-size: 15px;
  color: #272529;
  font-family: inherit;
  text-decoration: none;
}
.cbox .det a:hover {
  background: linear-gradient(to right, #8ab92d, #8ab92d);
  color: white;
}
.cbox .det a:hover img {
  filter: brightness(100);
}
.cbox img {
  width: 20px;
  margin-right: 20px;
}

/*TEAM SECTION*/
.team-heading {
  font-size: 40px;
  padding: 0px 7px;
  color: #222; /* adjust if needed */
  font-weight: bold;
  text-align: center;
}

.totalcard {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}
.totalcard .card {
  margin: 50px;
  width: 300px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}
.totalcard .card {
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 0, 0, 0.3);
}
.card:nth-child(1) {
  border-top: 5px #8ab92d solid;
}
.card:nth-child(2) {
  border-top: 5px #8ab92d solid;
}
.card:nth-child(1):hover {
  box-shadow: inset 0px 0px 10px rgba(0, 255, 0, 0.5),
    1px 1px 30px rgba(0, 255, 0, 0.5);
}
.card:nth-child(2):hover {
  box-shadow: inset 0px 0px 10px rgba(0, 255, 0, 0.5),
    1px 1px 30px rgba(0, 255, 0, 0.5);
}
.totalcard .card img {
  width: 100px;
  height: 100px;
  margin-top: 5px;
  cursor: pointer;
  border-radius: 50px;
  transition-duration: 0.8s;
}
.totalcard .card img:hover {
  transform: scale(3.5);
  border-radius: 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
#detail {
  text-align: center; /* ✅ Ensures all content inside is centered */
}
#detail p {
  font-size: 15px;
  line-height: 25px;
  font-family: inherit;
  text-align: center;
  margin: 25px;
  margin-bottom: 0px;
  margin-top: 0px;
}

#detail button {
  outline: none;
  border-radius: 10px;
  border-style: none;
  border: 1px solid black;
  padding: 9px 25px;
  cursor: pointer;
  transition-duration: 0.4s;
}
#detail a {
  bottom: 80px;
  text-decoration: none;
  margin-bottom: 30px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn-rishav {
  margin: 0 auto;
  display: block;
}

.btn-rishav:hover {
  background: #8ab92d ;
  color: #fff;
  font-family: inherit;
  cursor: pointer;
}
.card-title {
  font-size: 17px;
  color: #343a40;
  padding: 20px;
  font-weight: 700;
}

/* 🔧 MEDIA QUERIES FOR TEAM SECTION */
@media (max-width: 768px) {
  .team-heading {
    font-size: 30px;
    padding: 0px 5px;
  }

  .totalcard {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }

  .totalcard .card {
    width: 90%;
    margin: 20px 0;
  }

  .totalcard .card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
  }

  .totalcard .card img:hover {
    transform: scale(1.5); /* smaller zoom on mobile */
    border-radius: 10px;
  }

  #detail p {
    font-size: 14px;
    margin: 20px 15px 0 15px;
    line-height: 22px;
  }

  .card-title {
    font-size: 16px;
    padding: 15px;
  }

  #detail button {
    padding: 7px 20px;
    font-size: 14px;
  }

  #detail a {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
  }
  .btn-rishav {
    margin: 0 auto;
    display: block;
  }
}
@media (max-width: 768px) {
  .card:nth-child(1):hover,
  .card:nth-child(2):hover {
    box-shadow: 0 0 15px rgba(138, 185, 45, 0.4);
  }
}


/*Service Section*/
.service-swipe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7)),
    url("images/extra/b3.jpg");
  background-size: cover;
  background-attachment: fixed;
}
.service-swipe .s-card img {
  width: 100px;
}
.service-swipe a {
  padding: 0;
  margin: 40px 10px;
}
.service-swipe .s-card {
  display: flex;
  justify-content: space-around;
  padding: 10px;
  align-items: center;
  text-align: center;
  width: 350px;
  height: 200px;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05),
    0 0 50px rgba(0, 0, 0, 0.8);
  border-radius: 5px;
  cursor: pointer;
  transition-duration: 0.5s;
}
.service-swipe .s-card p {
  color: #f2f2f2;
  font-size: 1.2em;
  font-family: "Open Sans", sans-serif;
}
.service-swipe .s-card:hover {
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.8);
  transform: translateY(-10px);
}
/* Center service cards on mobile screens (max-width: 768px) */
@media only screen and (max-width: 768px) {
  .service-swipe {
    flex-direction: column;
    align-items: center;
  }

  .service-swipe a {
    margin: 10px 10px;
  }
}

/*Contact Us Section*/
.csec {
  background: linear-gradient(to right, #8ab92d, #8ab92d);
  background-attachment: fixed;
  position: absolute;
  width: 100%;
  height: 250px;
  top: 200px;
  content: "";
  transform-origin: top right;
  transform: skewY(-10deg);
  z-index: -1;
}
.back-contact {
  margin-top: 0px;
  transform: translateY(-50px);
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.cc {
  height: 400px;
  width: 400px;
  height: 500px;
  border-radius: 10px;
  justify-content: center;
  box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.4);
  background: #fff;
}

.cc form {
  margin: 5%;
  margin-top: 40px;
  width: 90%;
  height: 90%;
}
.cc form label {
  color: #2e3d49;
  font-size: 10px;
  font-weight: 800;
}
.cc form input {
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: inset 0 0 5px lightgray;
  border: 1px solid rgba(0, 0, 0, 0.2);
  outline: none;
  color: #2e3d49;
  font-weight: 600;
}
.imp {
  color: red;
}
form textarea {
  width: 100%;
  height: 100px;
  box-shadow: inset 0 0 5px lightgray;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  outline: none;
  color: #2e3d49;
  font-weight: 600;
  padding: 15px;
}

#csubmit {
  margin-top: 20px;
  background: linear-gradient(to right, #8ab92d, #8ab92d);
  border-radius: 5px;
  border-style: none;
  outline: none;
  width: 100%;
  padding: 15px 25px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}

/*REVIEW SECTION*/
.testimonial-heading {
  font-size: 40px;
  padding: 100px 20px 40px 20px;
  color: #000000;
  font-weight: bold;
  text-align: center;
}
@media only screen and (max-width: 768px) {
  .testimonial-heading {
    font-size: 28px;
    padding: 60px 15px 30px;
  }
}

#makeitfull {
  display: flex;
  justify-content: center;
  transform: translateY(35px);
}
#makeitfull img {
  width: 50px;
}
.review {
  background: #f8f8f8;
  width: 100%;
}
.rev-container {
  padding: 10px 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.rev-container .rev-card {
  /*overflow: hidden;*/
  width: 550px;
  height: 240px;
  margin-bottom: 40px;
  background: #fff;
  display: flex;
  padding: 10px;
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
}
.rev-card:hover {
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}
.identity {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
}
.identity img {
  width: 120px;
  height: 120px;
  transition-duration: 0.8s;
  border-radius: 50%;
}
.identity img:hover {
  transform: scale(2.2);
  border-radius: 0px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.identity p {
  width: 150px;
  font-weight: bold;
  color: #2e3d49;
  text-align: center;
}
.identity h6 {
  width: 150px;
  text-align: center;
}
.identity .rating img {
  width: 12px;
  height: 12px;
  margin-right: 5px;
}
.rev-cont {
  overflow: hidden;
}
.rev-cont #title {
  padding: 10px;
  color: #2e3d49;
  font-weight: bold;
}
.rev-cont #content {
  padding: 10px;
  font-size: 0.9em;
  color: #2e3d49;
  line-height: 22px;
  text-align: justify;
}


/* FEEDBACK - Desktop Style */
.feedback-heading {
  font-size: 40px;
  padding: 10px 10px;
  color: #000000;
  font-weight: bold;
  text-align: left;
  margin-left: 100px;
}

.feedback-content p {
  padding: 0 15px;
  font-size: 1.2em;
  line-height: 1.8em;
  color: #333;
  text-align: left;
  margin-left: 90px;
}

/* ✅ Mobile Responsive Fix */
@media (max-width: 768px) {
  .feedback-heading {
    font-size: 30px;
    padding-top: 10px;
    text-align: center;
    margin-left: 0;  /* ❗ remove left shift */
  }

  .feedback-content p {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 20px;
    text-align: center;
    margin-left: 0;  /* ❗ remove left shift */
  }
}

.title2 {
  position: relative;
  margin-top: 150px;
  margin-left: 100px;
}
.title2 span {
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
  font-size: 30px;
  color: #000000;
}
.title2 .shortdesc2 {
  padding: 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  color: #000000;
  margin-bottom: 10px;
}

.feedbox {
  margin-top: 50px;
  width: 100%;
  display: flex;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7)),
    url("images/extra/b4.jpg");
  background-size: cover;
  padding: 50px 80px;
  background-attachment: fixed;
}
.feed {
  width: 800px;
  height: 400px;
  position: relative;
  border-radius: 10px;
  justify-content: center;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.6), 0 0 80px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.4);
}
.feed form {
  width: 100%;
  height: 100%;
  padding: 20px;
}

.feed form label {
  position: absolute;
  color: #f2f2f2;
  font-size: 10px;
  font-weight: 800;
}
.feed form input,
.feed textarea {
  padding: 15px;
  border-radius: 5px;
  box-shadow: inset 0 0 5px lightgray;
  border: 1px solid rgba(0, 0, 0, 0.2);
  outline: none;
  color: #2e3d49;
  background: #fff9;
  font-weight: 600;
}
.feed form input {
  margin-bottom: 15px;
  width: 50%;
}

.feed form .fname {
  width: 25%;
}
.feed form textarea {
  width: 100%;
  height: 100px;
}
.feed #csubmit {
  margin-top: 25px;
  background: linear-gradient(to right, #8ab92d, #8ab92d);
  border-radius: 5px;
  border-style: none;
  outline: none;
  width: 100%;
  padding: 15px 25px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .feedbox {
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background-attachment: scroll; /* Better performance on mobile */
  }

  .feed {
    width: 100%;
    height: auto;
    padding: 20px 10px;
  }

  .feed form {
    padding: 10px;
  }

  .feed form input {
    width: 100%;
  }

  .feed form .fname {
    width: 100%;
  }

  .feed form textarea {
    width: 100%;
    height: 120px;
  }

  .feed #csubmit {
    font-size: 14px;
    padding: 12px 20px;
  }

  .feed form label {
    position: static;
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
  }
}

/*SCROLLING TEXT*/
.marqu {
  text-align: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  padding: 10px;
}

/*FOOTER*/
footer {
  color: #e5e8ef;
  background: #000d;
  padding: 50px 0;
}
footer .footer-container {
  max-width: 1300px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap-reverse;
}
footer .social-media img {
  width: 22px;
}
footer .logo {
  width: 180px;
  color: #fff;
}
footer .social-media a {
  margin-right: 10px;
  font-size: 22px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.social-media a img {
  width: 30px; /* Set consistent size */
  height: 30px;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.social-media a:hover img {
  transform: scale(1.2); /* Slight zoom */
  filter: brightness(1.2) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2)); /* Glow */
  cursor: pointer;
}
footer .right-col h1 {
  font-size: 26px;
}
.footer-container p a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 6px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-container p a:hover {
  color: #8ab92d;
  text-decoration: underline;
}

.footer-container p img {
  vertical-align: middle;
  width: 18px;
  margin-right: 6px;
}

footer .border {
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #8ab92d, #8ab92d);
  margin: 2px;
}
footer .newsletter-form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
footer input::placeholder {
  color: white !important;
}
footer .txtb {
  flex: 1;
  padding: 18px 40px;
  font-size: 16px;
  background: #343a40;
  border: none;
  font-weight: 700;
  outline: none;
  border-radius: 5px;
  min-width: 260px;
  margin-top: 20px;
  color: white;
}
footer .btn {
  margin-top: 20px;
  padding: 18px 40px;
  font-size: 16px;
  color: #f1f1f1;
  background: linear-gradient(to right, #8ab92d, #8ab92d);
  border: none;
  font-weight: 700;
  outline: none;
  border-radius: 5px;
  margin-left: 20px;
  cursor: pointer;
  transition: opacity 0.3s linear;
}
footer .btn:hover {
  opacity: 0.7;
}

.developer {
  text-align: center;
  color: #e5e8ef;
  margin-top: 30px;
  font-size: 1.2rem;
}
.rishav-name {
  font-weight: bold;
  color: #b0a8a8;
}

.rishav-name {
  color: #b0a8a8;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  cursor: pointer;
}

.rishav-name:hover {
  color: #8ab92d;
  text-decoration: underline;
}

@media only screen and (max-width: 768px) {
  footer {
    text-align: center;
    padding: 30px 0;
  }

  footer .footer-container {
    flex-direction: column;
    align-items: center;
  }

  footer .left-col,
  footer .right-col {
    width: 100%;
    margin-bottom: 30px;
  }

  footer .logo {
    margin: 0 auto 20px;
  }

  footer .social-media {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  footer .social-media a {
    margin-right: 0;
  }

  .footer-container p {
    text-align: center;
    line-height: 1.6;
  }

  .footer-container p a {
    display: inline-block;
    margin: 5px 0;
  }

  footer .newsletter-form {
    flex-direction: column;
  }

  footer .txtb,
  footer .btn {
    width: 90%;
    margin: 10px auto 0;
    text-align: center;
  }

  footer .btn {
    margin-left: 0;
  }

  .developer {
    font-size: 1rem;
    padding: 0 20px;
    line-height: 1.4;
  }
}


/*For Responsive Website*/
@media screen and (max-width: 960px) {
	.footer-container {
		max-width: 600px;
	}
	.right-col {
		width: 100%;
		margin-bottom: 60px;
	}
	.left-col {
		width: 100%;
		text-align: center;
	}
	.social-media {
		display: flex;
		justify-content: center;
	}
}

@media screen and (max-width: 700px) {
	footer .btn{
		margin: 0;
		width: 100%;
		margin-top: 20px;
	}
}
/*PROPERTIES FOR MAKING WEBSITE RESPONSIVE*/
/* === Small Devices (Phones) === */
@media screen and (max-width: 576px) {
  nav {
    padding: 10px 3%;
    flex-wrap: wrap;
  }

  ul, .srch, .get-started {
    display: none;
  }

  .menu {
    display: block;
    order: 2;
  }
}
@media screen and (max-width: 576px) {
  nav {
    padding: 10px 15px;
    flex-direction: row;
    justify-content: space-between;
  }

  .logo {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .head-container {
    margin-top: 180px;
    padding: 20px;
  }

  .quote p {
    font-size: 24px;
  }

  .quote h4,
  .quote h5 {
    font-size: 14px;
  }

  .svg-image img {
    width: 95%;
    margin-top: 20px;
  }

  .about-content .side-text {
    padding: 20px;
    font-size: 0.9rem;
  }

  .extra p {
    font-size: 28px;
    padding: 20px;
  }

  .smbox span {
    width: 90%;
    padding: 20px;
  }

  .cbox .det {
    width: 100%;
  }

  .totalcard .card {
    width: 90%;
    margin: 20px 0;
  }

  .rev-container .rev-card {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .identity img {
    width: 80px;
    height: 80px;
  }

  .feed {
    height: auto;
    padding: 20px;
  }

  .feed form input,
  .feed form .fname,
  .feed form textarea {
    width: 100%;
  }

  .cc form input,
  .cc form textarea {
    width: 100%;
  }

  .title,
  .title2 span {
    font-size: 24px;
    margin-top: 20px;
  }
}

/* ====== Responsive Fixes for Mobile ====== */

@media (max-width: 992px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #c1bebe;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }
}

@media (max-width: 768px) {
 

  .card-container,
  .features,
  .services,
  .subjects,
  .exam-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card,
  .feature-card,
  .service-card,
  .subject-box {
    width: 90%;
    margin-bottom: 20px;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    width: 100%;
    margin: 10px 0;
  }
}

