/* === Services Hero Section Styles === */


.profile-btn .gradient-btn:hover {
    border: 2px solid #ffffff ;
    transition: background 1s ease;
}
.services-hero-section {
    width: 100%;
    padding: 100px 200px 50px 200px;
    box-sizing: border-box;
}

.services-hero-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 10px; 
}


.services-hero-left {
    flex: 1; 
    padding: 20px;
    min-width: 300px;
    max-width: 600px; 
    text-align: left;
    display: flex; 
    flex-direction: column;
    justify-content: center; 
}

.services-hero-title h1 {
  color: #ef365c;
  font-size: 60px;
  font-weight: 400;
  margin: 0px;
  line-height: 1.2;
}

.services-hero-text {
    font-size: 30px; 
    margin: 0px;
    color: #18548a;
}



/* Styles for the RIGHT content (image) */
.services-hero-right {
    flex: 1; /* Allows the right image to take available space */
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

.services-right-img {
    max-width: 100%; 
    height: auto;
    display: block; 
}

 .services-hero-btn {
  margin-top: 10px;
 }

/* Responsive design */
@media (max-width: 1406px) {
    .services-hero-title h1 {
        font-size: 50px; 
    }

    .services-hero-text {
        font-size: 25px; 
    }
}

@media (max-width: 1245px) {
  .services-hero-section {
    padding: 100px 0px 50px 0px;

}

    .services-hero-title h1 {
        font-size: 40px; 
    }

    .services-hero-text {
        font-size: 20px; 
    }
}





@media (max-width: 768px) {

  .services-hero-section {
    width: 100%;
    padding: 50px 0px 0px 0px;
}
    .services-hero-right {
        display: none; 
    }

    .services-hero-inner {
        flex-direction: column;
        padding: 75px 0px; 
    }

    .services-hero-left {
        text-align: center; 
        padding: 15px;
        max-width: 100%; 
        gap: 15px;
    }

    .services-hero-title h1 {
        font-size: 40px;
    }

    .services-hero-text {
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .services-hero-btn .gradient-btn {
        padding: 10px 20px;
    }
}


/* Service Card section  ************************************/
.services-section {
  align-items: center;
  padding: 40px 100px;
}

.service-container {
  align-items: center;
  text-align: center;
  height: 100%;
  width: 100%;
}

.services-text {
  color: #18548a;
  font-size: 14px;
  margin-top: 10px;
}

.services-card-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 25px;
  margin: 20px 100px;
}

.service-card {
  width: 100%;
  height: 170px;
  text-align: center;
  display: grid;
  align-items: center;
  place-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 5px;
  border: none;
  border-radius: 20px;
  transition: transform 0.3s ease-in-out;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.service-card-icon img {
  width: 100px;
  height: auto;
}

.service-card-title {
  color: #ef365c;
  font-size: 20px;
  line-height: 20px;
}
.card-btn{
  padding: 5px;
}

.card-btn .gradient-btn{
    padding: 5px 20px;
}

.service-card-link {
  text-decoration: none;
  color: inherit;
}

.services-section-btn {
    display: flex
;
    justify-content: center;
}

/* Media Queries */
@media (max-width: 1200px) {
  .services-card-container {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin: 0;
    gap: 30px;
  }
}

@media (max-width: 1100px) {
  .services-section {
    padding: 30px;
    margin-top: 0px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 20px 25px;
  }

  .services-card-container {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .service-card {
    height: 100px;
  }


  .service-card-icon img {
    width: 50px;
    height: auto;
  }

  .service-card-title {
    font-size: 16px;
    line-height: 20px;
  }
  
}

@media (max-width: 768px) {
  .student-services-section, 
  .migration-services-section, 
  .consulting-services-section, 
  .pre-arrival-services-section, 
  .post-arrival-services-section, 
  .english-services-section , 
  .health-services-section , 
  .professional-services-section {
     display: none;
  }

  .student-services-section.active, 
  .migration-services-section.active, 
  .consulting-services-section.active, 
  .pre-arrival-services-section.active, 
  .post-arrival-services-section.active, 
  .english-services-section.active , 
  .health-services-section.active , 
  .professional-services-section.active {
     display: block;
  }

  .card-btn .gradient-btn{
    padding: 2px 20px;
    font-size: 14px;
}
}


@media (max-width: 450px) {
  .service-card-title {
    font-size: 12px;
  }

  .service-card-icon img {
  width: 30px;
}

}
/* Student Services Section************************************/
.service-section-style{
  padding: 40px 200px;
}

.service-inner {
    text-align: center;
}

.student-services-section-container {
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.student-services-section-container-text {
  font-size: 32px;
  color: #ef365c;
  margin-bottom: 10px;
}

.services-text {
  color: #18548a;
  font-size: 16px;
  margin-bottom: 30px;
}

.category-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
	padding: 0 100px;
}


.services-section-card {
  display: grid;
 margin: 0 auto;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  width: 300px;
  transition: all 0.3s ease-in-out;
}


.services-section-card-icon img {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
}


.services-section-card-title {
  color: #ef365c;
  font-weight: bold;
  font-size: 17px;
}


.services-section-card-desc {
  color: #18548a;
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 10px;
}


.student-services-section-btn {
  margin-top: 15px;
}


.student-services-btn,
.card-btn {
  text-align: center;
}


.migration-services-section{
  padding: 40px 0px;
}

.migration-profile {
  background: #1d5689;
  padding: 20px 200px;
 
}

.profile-content {
 display: grid;
    grid-template-columns: 0.2fr 1fr;
    gap: 20px;
    align-items: center;
}

.profile-text {
 font-weight: 400;
    position: relative;
     color: #fff;
     text-align: left;
}

.profile-text h3 {
  font-size: 32px;
  margin: 0;
  margin-bottom: 20px;
  font-weight: 400;
}

.profile-desc {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.profile-image {
  
}

.profile-image-bg{
width: 100%;
   text-align: center;
}

.profile-image img {
 width: 100%;
    height: auto;
}



@media screen and (max-width: 1600px) {
.migration-profile {
  padding: 40px 100px;
}
}

@media screen and (max-width: 1200px) {
.migration-profile {
  padding:30px 50px;
}

	.category-container {
	padding: 0 50px;
}
}

@media screen and (max-width: 767px) {
.migration-profile {
        padding:30px;
        text-align: center;
        margin-bottom: 30px;
}

.profile-text {
padding:0px;
text-align: center;
}

.profile-content {
    grid-template-columns: 1fr;
}

.profile-text h2 {
    font-size: 25px;
}

    .profile-image img {
        width: 150px;
    }

    .profile-image-bg {
        width: 100%;
        border-radius: 0;
    }

    .migration-services-section{
  padding: 30px 0px;
}
	
	.category-container {
	padding: 0 30px;
}
}


/* === Responsive Styles === */
@media (max-width: 1600px) {
 .service-section-style{
  padding: 40px 100px;
}
}


@media (max-width: 1200px) {
  .service-section-style{
  padding: 30px 50px;
}
}


@media (max-width: 768px) {
   .service-section-style{
  padding: 30px;
}

  .services-text {
    font-size: 14px;
  }

  .services-section-card-icon img {
    width: 50px;
  }

  .services-section-card-title {
    font-size: 16px;
  }

  /* .services-section-card-desc {
    display: none; 
  } */
}


/* === POPUP Styles === */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.popup-box {
  background: white;
  max-width: 600px;
  width: 90%;
  padding: 30px;
  border-radius: 20px;
  border:5px solid#ef365c; 
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
}

.close-popup {
  position: absolute;
  color: #18548a;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

@media screen and (max-width: 600px) {
.services-section-card {
    padding: 0;
    width: 100%;
}

.popup-box {
    max-width: none;
    width: 70%;
    padding: 20px;
    overflow-y: hidden;
    overflow: hidden;
    max-height: none;
}
}