
.education-section{
  padding: 300px 0px 70px 0px;
  overflow: hidden;
}

.education-section:before{
  position: absolute;
  content: '';
  background: var(--main-color);
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  opacity: 0.95;
}

.education-section .bg-layer-2{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-repeat: repeat-x;
  background-position: center;
  animation: slide 60s linear infinite;
  -webkit-animation: slide 60s linear infinite;
}

.education-section .content-box{
  max-width: 500px;
}

.content_block_three .content-box h2{
  display: block;
  font-size: 40px;
  line-height: 50px;
  font-weight: 700;
  color: var(--white-color);
  margin-bottom: 19px;
}

.content_block_three .content-box h2 span{
  color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: rgba(255, 255, 255, 1);
}

.content_block_three .content-box p{
  display: block;
  color: var(--white-color);
  margin-bottom: 40px;
}

.content_block_three .content-box .country-list{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.content_block_three .content-box .country-list .flag-container{
  position: relative;
  padding: 0px;
  transition: all 0.3s ease;
}

.content_block_three .content-box .country-list .flag-container:hover {
  transform: translateY(-5px);
}

.content_block_three .content-box .country-list .flag{
  position: relative;
  display: inline-block;
  border: 3px solid #FFFFFF;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.15));
  border-radius: 50%;
  margin-bottom: 10px;
}

.content_block_three .content-box .country-list .flag img{
  border-radius: 50%;
}

.content_block_three .content-box .country-list span{
  position: relative;
  display: block;
  font-size: 16px;
  color: var(--white-color);
  font-weight: 700;
}

.education-section .image-layer-wrapper {
  position: absolute;
  right: 150px;
  bottom: 35px;
  z-index: 2;
  width: 600px;
  height: 600px;
}

.education-section .image-layer-wrapper .image-layer {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
}

.education-section .image-layer-wrapper .image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Glassmorphism Stat Cards */
.glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  z-index: 5;
  transition: all 0.5s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-card .icon-box {
  width: 50px;
  height: 50px;
  background: var(--main-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
}

.glass-card .stat-info h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 2px;
}

.glass-card .stat-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.2;
}

.stat-card.card-1 {
  top: 15%;
  left: -80px;
  animation: float 4s ease-in-out infinite;
}

.stat-card.card-2 {
  bottom: 20%;
  right: -50px;
  animation: float 5s ease-in-out infinite alternate;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  max-width: 280px;
}

.stat-card.card-2 .stat-info {
  width: 100%;
}

.stat-card.card-2 .admission-label {
  font-size: 12px !important;
  color: #00D9FF !important;
  text-transform: uppercase;
  font-weight: 700 !important;
  letter-spacing: 1px;
  margin-bottom: 10px !important;
}

.stat-card.card-2 h3 {
  font-size: 28px !important;
  margin-bottom: 15px !important;
}

.stat-card.card-2 .seats-info {
  color: #00D9FF !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Benefit Feature List */
.benefit-feature-list {
  position: relative;
  margin-bottom: 35px;
}

.benefit-feature-list li {
  position: relative;
  display: block;
  float: left;
  width: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
  padding-left: 30px;
}

.benefit-feature-list li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: #fff;
  font-size: 18px;
}

/* Country Grid Wrapper */
.country-grid-wrapper {
  position: relative;
  margin-top: 40px;
}

.country-title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.country-grid-wrapper .country-list {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.country-grid-wrapper .country-list li {
  flex: 1;
  text-align: center;
}

.flag-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
}

.flag-container .flag {
  position: relative;
  width: 100%;
  height: 100%;
  border: 4px solid #fff;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: all 0.5s ease;
  z-index: 2;
}

.flag-container .flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hover-benefit {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background: var(--main-color);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 3;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.flag-container:hover .flag {
  transform: translateY(-10px) rotate(5deg);
  border-color: var(--main-color);
}

.flag-container:hover .hover-benefit {
  transform: translateX(-50%) scale(1);
  bottom: -20px;
}

.country-grid-wrapper .country-list span {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  opacity: 0.9;
}

/* Responsive Adjustments */
@media only screen and (max-width: 1200px) {
  .education-section .image-layer-wrapper {
    right: 50px;
  }
}

@media only screen and (max-width: 991px) {
  .education-section .image-layer-wrapper {
    display: none;
  }
  .education-section .content-box {
    max-width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  .benefit-feature-list li {
    width: 100%;
  }
  .country-grid-wrapper .country-list {
    flex-wrap: wrap;
    justify-content: center;
  }
  .country-grid-wrapper .country-list li {
    flex: 0 0 40%;
  }
}



























