/* General Section Styling */
.two-column-section-1,.two-column-section-2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

/* Left Content Styling */
.content {
  flex: 1;
}

.subheading {
  font-size: 14px;
  color: var(--tp-theme-2);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.bold-heading {
  font-size: 36px;
  font-weight: 600;
  /* margin-bottom: 5px; */
  color: var(--tp-theme-1);
}
.subheading1{
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 15px;
}

.description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  margin-right: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--tp-theme-1);
  color: #fff;
  border: none;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s all;
}

.btn:hover {
  background-color: var(--tp-theme-2);
}
.btn a{
  text-decoration: none;
  color: #fff;
}

/* Right Image Styling */
.image {
  flex: 1;
  text-align: right;
}

.image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .two-column-section-1 {
    flex-direction: column;
    /* text-align: center; */
  }
  .two-column-section-2 {
      flex-direction: column-reverse;
      /* text-align: center; */
    }

  .image {
    text-align: center;
    margin-top: 20px;
  }
  .description{
      margin-right: 0px;
  }
}


.container2 {
  position: relative;
  background: url('../img/testimonial/bg.webp');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container2 .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.container2 .content {
  display: flex;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  overflow: hidden;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}

.container2 .left-column, .right-column {
  flex: 1;
  padding: 20px;
}

.container2 .left-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.container2 .right-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #333;
}

.container2 .right-column h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.container2 .right-column p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.container2 .cta-button {
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.container2 .cta-button:hover {
  background-color: #0056b3;
}

@media (max-width: 768px) {
  .container2 .content {
      flex-direction: column;
  }

  .container2 .left-column, .right-column {
      padding: 10px;
  }
}



/* Network Section Styling */
.network-section {
  position: relative;
  background: url('../img/network/bg-network.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px 20px;
  color: #fff;
}

/* Overlay Styling */
.network-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  background-color: rgba(7, 98, 127, 0.7);
  /* background: rgba(0, 0, 0, 1); */
  /* background :rgba(7, 98, 127, 0.2);; */
  z-index: 1;
}

/* Content Wrapper */
.network-section .content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Main Content */
.network-section .main-content {
  margin-bottom: 40px;
}

.network-section .main-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.network-section .main-description {
  font-size: 1.2rem;
  color: #ddd;
  width: 80%;
  margin: 0 auto;
}

/* Boxes Styling */
.network-section .boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.network-section .box {
  /* background: rgba(255, 255, 255, 0.1); */
  background: #fff;
  color: #000;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.network-section .box:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.6);
}

.network-section .box img {
  width: 100%;
  /* height: 60px; */
  margin-bottom: 15px;
}

.network-section .box-heading {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.network-section .box-description {
  font-size: 1rem;
  color: #000;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .network-section .boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .network-section .boxes {
    grid-template-columns: 1fr;
  }

  .network-section .main-heading {
    font-size: 2rem;
  }

  .network-section .main-description {
    font-size: 1rem;
  }
}


/* network section css end   */


/* our procedure start  */
.procedure-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.procedure-heading {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
}

.procedure-grid {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.procedure-box {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 335px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.box-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.box-content {
  position: absolute;
  bottom: 10%;
  left: 10%;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  width: 80%;
  /* color: #fff; */
  /* background: rgba(0, 0, 0, 0.6); Added background for readability */
  transition: transform 0.3s ease-out; /* For smooth scaling effect */
}
.two-and-four{
  margin-bottom: 100px;
}

/* Added scaling for smaller screens */

@media (max-width: 1024px) {
  .procedure-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-and-four{
    margin-bottom: 70px;
  }
}
@media (max-width: 768px) {
  .procedure-grid {
    grid-template-columns: 1fr;
  }

  .procedure-box {
    height: auto; /* Allow the height to adjust based on content */
    /* padding-top: 56.25%; 16:9 aspect ratio (or adjust as needed) */
    position: relative;
  }

  .box-image {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
    object-fit: cover;
  }

  .box-content {
    bottom: 25%;
    left: 5%;
    width: 90%;
    padding: 30px;
    font-size: 0.8rem; /* Smaller font size for mobile */
  }


}



/* Animation for Sliding Down */
@keyframes slideDown {
  0% {
    transform: translateY(-50%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Animation for Sliding Up */
@keyframes slideUp {
  0% {
    transform: translateY(50%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Apply Animation */
.animate-slide-down {
  animation: slideDown 1s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 1s ease-out forwards;
}

.small-heading {
  font-size: 0.9rem;
  font-weight: normal;
  margin-bottom: 5px;
  color: var(--tp-theme-2);
}

.bold-heading {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.procedure-description {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #000;
}



/* our procedure end  */


.study-uk {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  background: url('../img/network/bg-network.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  height: 100vh;
}

.study-uk .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  background-color: rgba(7, 98, 127, 0.7);
  z-index: 1;
}

.study-uk .content {
  position: relative;
  max-width: 50%;
  z-index: 2;
}

.study-uk h1 {
  font-size: 2.5rem;
  margin: 10px 0;
}

.study-uk p {
  font-size: 1rem;
  line-height: 1.6;
}

.btn {
display: inline-block;
padding: 10px 20px;
background-color: var(--tp-theme-1);
color: #fff;
border: none;
border-radius: 20px;
text-decoration: none;
cursor: pointer;
font-size: 16px;
transition: 0.3s all;
}



.study-uk .apply-btn {
display: inline-block;
padding: 10px 20px;
background-color: var(--tp-theme-1);
color: #fff;
border: none;
border-radius: 20px;
text-decoration: none;
cursor: pointer;
font-size: 16px;
transition: 0.3s all;
margin: 5px 0px;
}
.study-uk .apply-btn:hover {
background-color: var(--tp-theme-2);
}
.study-uk .apply-btn a{
text-decoration: none;
color: #fff;
}

.study-uk .image-container {
  position: relative;
  z-index: 2;
}

.study-uk .image-container img {
  width: 100%;
  max-width: 400px;
}

@media (max-width: 1024px) {
.study-uk {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 30px;
}

.study-uk .content {
    max-width: 80%;
}

.study-uk .image-container {
    margin-top: 20px;
}

.study-uk .image-container img {
    max-width: 300px;
}
}

/* Mobile Devices */
@media (max-width: 768px) {
.study-uk .content {
    max-width: 100%;
}

.study-uk h1 {
    font-size: 2rem;
}

.study-uk p {
    font-size: 0.9rem;
}

.study-uk .apply-btn {
    font-size: 0.9rem;
    padding: 8px 16px;
}

.study-uk .image-container img {
    max-width: 250px;
}
}

/* Small Mobile Screens */
@media (max-width: 480px) {
.study-uk h1 {
    font-size: 1.8rem;
}

.study-uk p {
    font-size: 0.85rem;
}

.study-uk .apply-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
}

.study-uk .image-container img {
    max-width: 200px;
}
}




.partners-section {
background: url('../img/network/bg-network.webp');
background-size: cover;
background-position: center;
padding: 60px 20px;
background-color: #f9f9f9;
text-align: center;
position: relative; /* Ensures overlay positions correctly */
}

/* Overlay */
.partners-section .overlay {
background-color: rgba(7, 98, 127, 0.7);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
z-index: 1; /* Keeps overlay behind content */
}

/* Main Content Wrapper */
.partners-section .container {
position: relative;
z-index: 10; /* Ensures content is above the overlay */
}


.partners-section .partners-heading {
font-size: 2rem;
font-weight: bold;
margin-bottom: 10px;
color: #333;
}

.partners-section .partners-description {
font-size: 1rem;
color: #666;
width: 80%;
margin: 0 auto;
margin-bottom: 40px;
}

.partners-section .partners-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
justify-items: center;
}

.partner-box {
background: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-box img {
width: 100%;
height: auto;
display: block;
}

.partner-box:hover {
transform: translateY(-5px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Styling */
@media (max-width: 768px) {
.partners-section .partners-grid {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 480px) {
.partners-section .partners-grid {
  grid-template-columns: 1fr;
}
}


/* our partner end css  */
