/* main blue rgba(1, 158, 225, 1) */
/* main yellow #ffe200 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: Arial, Helvetica, sans-serif;
}

.header {
  width: 90%;
  height: 75px;
  background-color: #c4e6ff;
  border-radius: 50px;
  margin: 20px auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  padding: 0 20px;
}

.logo {
  width: 100px;
  height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu_items_block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  font-size: 18px;
  letter-spacing: 2px;
}

.menu_items_block a {
  text-decoration: none;
  color: black;
}

.menu_items_block a:hover {
  text-decoration: underline;
}

.schedule {
  width: 250px;
  height: 40px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  cursor: pointer;
  background: #019ee2;

  color: white;
  font-size: 19px;
}

.hamburger {
  display: none;
}

/* ----------- Responsive Design ------------ */

/* Tablets (max-width: 1024px) */
@media screen and (max-width: 1024px) {
  .menu_items_block {
    gap: 30px;
    font-size: 16px;
  }

  .schedule {
    width: 200px;
    font-size: 14px;
  }
}

/* Mobile Devices (max-width: 768px) */
@media screen and (max-width: 768px) {
  .menu_items_block {
    display: none; /* Hide menu items */
    flex-direction: column;
    position: absolute;
    left: 0;
    width: 100%;
    background-color: white;
    text-align: center;
    transition: 0.5s;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .menu_items_block.active {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items inside the block */
    position: absolute;
    top: 100px;
    left: 50%;
    z-index: 99999;
    transform: translateX(-50%); /* Move it back by half its width */
    background-color: rgba(255, 255, 255, 1);
    text-align: center;
    transition: 0.5s;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 40px;
  }

  .menu_items {
    padding: 15px;
    width: 100%;
  }

  .menu_items a {
    font-size: 18px;
    display: block;
    padding: 10px;
  }

  .hamburger {
    display: block;
    font-size: 30px;
    cursor: pointer;
    margin-right: 20px;
  }

  .schedule {
    width: 180px;
    font-size: 14px;
    margin-right: 10px;
  }
}

/* Small Phones (max-width: 480px) */
@media screen and (max-width: 480px) {
  .logo img {
    width: 70%;
  }

  .schedule {
    width: 150px;
    height: 35px;
    font-size: 12px;
  }
}

/* About */

.container-about {
  width: 90%;
  height: 70vh;
  border-radius: 50px;
  margin: 30px auto;
  display: flex;
  overflow: hidden;
}

.half-about {
  width: 50%;
  height: 80vh;
}

.name-of-office {
  width: 100%;
  padding: 25px 30px;
  font-size: 40px;
  font-weight: bold;
  color: #019ee2;
}

.company-type {
  font-size: 30px;
  color: black;
}

.about-office {
  width: 85%;
  margin-left: 30px;
  font-size: 22px;
  margin-top: 30px;
  color: silver;
}

.sign-up-top {
  width: 320px;
  height: 60px;
  border: none;
  outline: none;
  border-radius: 50px;
  cursor: pointer;
  margin: 50px 30px;
  font-size: 19px;
  background-color: #019ee2;
  color: white;
}

.team-image-place {
  width: 70%;
  height: 60vh;
  margin: 25px;
  float: right;
  border-radius: 50px;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .container-about {
    flex-direction: column;
    height: auto;
  }

  .half-about {
    width: 100%;
    height: auto;
    text-align: center;
  }

  .about-office {
    width: 90%;
    margin: 20px auto;
  }

  .sign-up-top {
    width: 80%;
    max-width: 320px;
    margin: 30px auto;
  }

  .team-image-place {
    display: none;
    width: 90%;
    height: 50vh;
    float: none;
    margin: 20px auto;
  }
}

@media (max-width: 768px) {
  .name-of-office {
    font-size: 30px;
    padding: 15px;
  }

  .company-type {
    font-size: 22px;
  }

  .about-office {
    font-size: 18px;
  }

  .sign-up-top {
    height: 60px;
    font-size: 17px;
  }

  .team-image-place {
    height: 40vh;
  }
}

@media (max-width: 480px) {
  .name-of-office {
    font-size: 24px;
  }

  .company-type {
    font-size: 18px;
  }

  .about-office {
    font-size: 16px;
    width: 95%;
  }

  .sign-up-top {
    width: 90%;
    height: 50px;
    font-size: 16px;
  }

  .team-image-place {
    height: 30vh;
  }
}

/* carousel of skills */

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(
      calc(-250px * 10)
    ); /* Move exactly one set of images */
  }
}

.slider {
  background: white;
  /* box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125); */
  height: 150px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.slider::before,
.slider::after {
  content: "";
  height: 100%;
  position: absolute;
  width: 200px;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slide-track {
  display: flex;
  width: calc(250px * 20); /* Adjusted for duplicate set */
  animation: scroll 50s linear infinite;
}

.slide {
  height: 100px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Silver Effect */
.slide img {
  filter: grayscale(100%);
  transition: filter 0.3s ease-in-out;
}

/* Colored on Hover */
.slide img:hover {
  filter: grayscale(0%);
}

/* stats */

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 90%;
  height: 160px;
  background: linear-gradient(to right, #019ee2, #a9dcf8);
  border-radius: 50px;
  padding: 20px;
  color: white;
  margin: 60px auto;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
  flex: 1;
  min-width: 150px;
}
.stat h2 {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
}
.stat p {
  margin: 5px 0 0;
  font-size: 16px;
}

@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
    height: auto;
    padding: 30px;
  }
  .stat {
    margin-bottom: 15px;
  }
}

/* services */

.h2-service {
  color: #019ee2;
  text-align: center;
  padding: 20px;
  font-size: 2rem;
}

.h1-service {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  padding: 20px;
}

.highlight {
  background: linear-gradient(to right, #1a365d, #019ee2);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  margin-top: 20px;
}

#wsb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  margin-top: 20px;
}

.service-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 270px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  text-align: center;
  transition: 0.3s;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
  margin-top: 10px;
}

.service-card p {
  position: absolute;
  top: 195px;
}

.icon {
  font-size: 30px;
  margin-bottom: 10px;
  width: 60px;
  padding: 10px;
  border-radius: 50%;
}

.pink {
  background-color: #ff80bf;
}
.blue {
  background-color: #80cfff;
}
.purple {
  background-color: #c080ff;
}
.light-pink {
  background-color: #ffb3e6;
}

@media (max-width: 768px) {
  .services-container {
    flex-direction: column;
    align-items: center;
  }
}

.web-services-main {
  width: 90%;
  margin: 60px auto;
  padding-bottom: 20px;
}

.web-services-main h2 {
  color: #019ee2;
  text-align: center;
  font-size: 2rem;
}

.web-services-main h1 {
  text-align: center;
  margin-top: 5px;
  font-size: 2rem;
}

.site1 {
  width: 100%;
  height: 350px;
  margin-top: 50px;
  display: flex;
  align-items: center;
}

.site1 .web1 {
  width: 35%;
  height: 300px;
}

.site1 .web2 {
  width: 65%;
  height: 300px;
  display: flex;
  justify-content: flex-end;
}

.web1 h2 {
  text-align: left;
  font-size: 2rem;
}

.web1 p {
  color: silver;
  margin-top: 40px;
  font-size: 19px;
}

.pst2 {
  margin-left: 0;
  height: 50px;
}

.web-logo {
  width: 70%;
  height: 300px;
  background-color: lavender;
  border-radius: 50px;
  background-size: 100% 100%;
  background-position: center;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.wl2 {
  width: 100%;
}

/* Responsive Styles */
@media (max-width: 833px) {
  .site1 {
    flex-direction: column;
    height: auto;
  }

  .site1 .web1,
  .site1 .web2 {
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  .web-logo {
    width: 80%;
    height: 250px;
  }

  .web1 p {
    text-align: left;
  }
}

.logo-icon {
  width: 50px;
  height: 50px;
  overflow: hidden;
  padding-top: -5px;
}

.l2 {
  background-color: rgb(255, 255, 255);
  display: flex;
  justify-content: center;
  align-items: center;
}

.l3 {
  background: none;
  border-radius: 0;
}

.l4 {
  width: 53px;
  height: 53px;
  border-radius: 50%;
}

/* courses */

/* contact */

.subtitle-service {
  font-size: 1rem;
  color: #019ee2;
}

.show-more {
  width: 90%;
  height: 30px;
  border: none;
  outline: none;
  border-radius: 50px;
  background-color: #019ee2;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.show-more:hover {
  transform: scale(1.05);
  background-color: #0178a8;
}

.show-more2 {
  margin-top: 80px;
}

#detailing-main {
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  gap: 50px;
  z-index: 1000;
}

#details-white {
  width: 90%;
  max-width: 600px;
  height: 80vh;
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  overflow-y: auto;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.top-part {
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: flex-end;
}

.top-part span {
  font-size: 24px;
  color: #019ee2;
  cursor: pointer;
  transition: 0.3s;
  position: fixed;
}

.top-part span:hover {
  color: #ffc107;
}

.course-details {
  text-align: center;
}

.course-image {
  width: 100%;
  max-height: 200px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
}

.course-image img {
  width: 120px;
  height: 120px;
}

.course-details h2 {
  color: #019ee2;
  margin: 10px 0;
  font-size: 1.8rem;
}

.course-details h3 {
  color: #ffc107;
  margin: 5px 0;
  font-size: 1.2rem;
}

.course-details p {
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
}

.details-section {
  margin-top: 20px;
  text-align: left;
}

.details-section p {
  color: #333;
  font-size: 1rem;
  margin: 10px 0;
}

.details-section ul {
  list-style-type: none;
  padding: 0;
}

.details-section ul li {
  background-color: #ffc107;
  color: #333;
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  #details-white {
    width: 95%;
    height: 90vh;
  }

  .course-details h2 {
    font-size: 1.5rem;
  }

  .course-details h3 {
    font-size: 1.1rem;
  }

  .course-details p {
    font-size: 0.9rem;
  }

  .details-section p {
    font-size: 0.9rem;
  }

  .details-section ul li {
    font-size: 0.8rem;
  }
}

/* reg form */

.registration-form {
  margin-top: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.registration-form h3 {
  color: #019ee2;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.input-field {
  width: 98%;
  height: 35px;
  margin: 8px 0;
  padding: 5px 15px;
  border: 2px solid #019ee2;
  border-radius: 10px;
  outline: none;
  font-size: 1rem;
  background-color: white;
  color: #333;
  transition: 0.3s;
}

.input-field::placeholder {
  color: #888;
  font-size: 0.9rem;
}

.input-field:focus {
  border-color: #0178a8;
  box-shadow: 0 0 5px rgba(1, 158, 226, 0.5);
}

.show-more {
  width: 100%;
  height: 35px;
  border: none;
  outline: none;
  background-color: #019ee2;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  font-size: 1rem;
  border-radius: 10px;
  transform: scale(1.05);
}

.show-more:hover {
  transform: scale(1.05);
  background-color: #0178a8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .registration-form h3 {
    font-size: 1.1rem;
  }

  .input-field {
    height: 28px;
    font-size: 0.9rem;
  }

  .show-more {
    height: 32px;
    font-size: 0.9rem;
  }
}

/* contact */

.contact-main {
  width: 100%;
  height: 440px;
  background: linear-gradient(to right, #0077b6, #48cae4, #ffdd57, #ffb703);
  background: linear-gradient(to right, #019ee2, #a9dcf8);

  margin-top: 130px;
  display: flex;
  justify-content: space-around;
}

.half1_contact {
  width: 40%;
  height: 400px;
}

.half2_contact {
  width: 25%;
  height: 550px;
  background-color: rgba(255, 255, 255, 0.6);
  position: relative;
  top: -75px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1156px) {
  .half2_contact {
    width: 30%;
  }
}

@media (max-width: 924px) {
  .half2_contact {
    width: 40%;
  }
}

.contact_title {
  padding: 50px 30px;
  padding-bottom: 0;
  color: whitesmoke;
}

.contact_title2 {
  padding: 30px;
  padding-bottom: 0;
}

.contact-p {
  padding: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  padding-top: 40px;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  background-color: #019ee2;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 30px;
  width: 100%;
  margin-left: 0;
}

.contact-form button:hover {
  background-color: #005f87;
}

@media (max-width: 800px) {
  .contact-main {
    flex-direction: column;
    align-items: center;
    height: 850px;
  }
  .half1_contact {
    width: 90%;
    height: 280px;
  }
  .half2_contact {
    width: 90%;
    position: none;
    height: 510px;
    top: 0px;
  }
  .contact-p {
    padding-top: 50px;
  }
}

@media (max-width: 500px) {
  .contact_title {
    font-size: 1.2rem;
    padding-left: 0;
  }
  .contact_title2 {
    padding-left: 0;
    font-size: 1.4rem;
  }
}

.footer {
  background-color: #ffffff;
  border-top: 3px solid #019ee2;
  color: #019ee2;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo {
  font-size: 30px;
  font-weight: bold;
  color: #019ee2;
  margin-bottom: 10px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: black;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-links a {
  color: #019ee2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffc107;
}

.footer-social a {
  color: #019ee2;
  font-size: 22px;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #ffc107;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
}

/* Responsive Design */
@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-col {
    width: 30%;
  }

  .footer-col p {
    font-size: 14px;
  }
}


/* web sites */

#wsb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
  padding: 20px;
}

.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  padding-bottom: 20px;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
  transform: scale(0.8);
}

.card:hover .card-image img {
  transform: scale(0.9);
}

.card-content {
  padding: 20px;
  text-align: center;
  color: #333;
}

.card-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #019ee2; /* Dark blue color for the title */
}

.card-content p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #666;
  height: 90px;
}

.btn {
  display: inline-block;
  width: 90%;
  padding: 10px 20px;
  background: linear-gradient(135deg, #50d6ff, #019ee2); /* Yellow gradient */

  color: black; /* Dark blue color for the text */
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: absolute;
  color: white;
  bottom: 20px;
  left: 0;
  right: 0;
  margin: auto;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(43, 199, 255, 0.5);
}

#sub-detail-popup {
  display: none;
  width: 300px;
  background: white;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  width: 30%;
  transition: all 0.3s ease;
  height: 600px;
  overflow-y: scroll;
}

#sub-detail-popup h4 {
  color: #019ee2;
  font-size: 25px;
}

#sub-detail-popup ul li {
  background-color: #019ee2;
  margin-top: 2px;
  height: 30px;
  list-style: none;
  display: flex;
  align-items: center;
  padding-left: 5px;
  border-radius: 5px;
  color: white;
}

@media (max-width: 1000px) {
  #detailing-main{
    flex-wrap: wrap;
    padding-top: 10px;
    gap: 10px;
    overflow-y: scroll;
  }
  #details-white {
    width: 95%;
    height: 90vh;
  }
  #sub-detail-popup {
    width: 73%;
    height: 90vh;
  }
}
