@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap");

/* variables */
:root {
  --primary-color: rgb(0 86 210);
  --secondary-color: rgb(233, 238, 255);
  --text-color: rgb(21, 21, 21);
  --text-color-2: rgb(106, 106, 106);
  --field-color: rgb(255, 255, 255);
  --primary: #2563eb;
  --secondary: #1e40af;
  --accent: #dbeafe;
}
body {
  font-family: "Jost";
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  background: linear-gradient(to right, #f8fafc, #eef2f7); /* Subtle gradient */
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 769px) {
  main {
    /* height: 90vh; Fixed height for desktop */
    overflow: hidden; /* Prevent scrolling on desktop */
  }
}

@media (max-width: 768px) {
  main {
    height: auto; /* Allow content to expand naturally on mobile */
    overflow: auto; /* Ensure scrolling is enabled on mobile */
    padding: 20px; /* Add some spacing for mobile view */
  }
}

.sideArea,
.formContent {
  /* width: 80%; */
  margin: 0 auto;
  text-align: center;
}
.avatar {
  background-color: rgb(70, 70, 70);
  width: 340px;
  height: 415px;
  border-radius: 175px;
  overflow: hidden;
  margin: 0 auto;
  margin-bottom: 30px;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mainHeading {
  font-size: 38px;
  color: var(--text-color);
  font-weight: 900;
  margin-bottom: 15px;
}
.mainDesc,
.formContent p {
  font-size: 20px;
  font-weight: normal;
  color: var(--text-color-2);
}

.socialMedia {
  display: flex;
  justify-content: center;
  gap: 30px;
  /* margin-top: 40px; */
}
.socialMedia li a {
  font-size: 19px;
  color: var(--text-color);
}
.socialMedia li a img {
  width: 40px;
}
/* Form Area */
.formArea {
  /* width: 45%; Adjust form width */
  /* background-color: white; Form card background */
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  padding: 30px;
  text-align: left;
  background-image: url(../images/bg-1.jpg);
}

/* Form Heading */
.formArea h1 {
  font-size: 36px;
  font-weight: 700;
  color: rgb(255 255 255);
  text-align: center;
  margin-bottom: 20px;
}

/* Input Fields */
.textField {
  margin-bottom: 20px;
}
.textField label {
  font-size: 16px;
  font-weight: 500;
  color: rgb(255 255 255);
  display: block;
  margin-bottom: 8px;
}
.textField input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
}
.textField input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 5px var(--primary-color);
}

/* Submit Button */
#sub {
  width: 100%;
  height: 50px;
  background: linear-gradient(to right, #ff9800, rgb(242 185 29));
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}
#sub:hover {
  background: rgb(255, 94, 0);
}
#sub img {
  width: 25px;
}
#error {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
}

.invalid {
  border: solid 2px #ff4444 !important;
  position: relative;
}

.thankyou-page {
  background-image: url(../images/bg.jpg);
  background-size: cover;
  text-align: center;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  padding: 100px 0;
  padding-top: 0;
}
.show-thankyou {
  display: block !important;
}
.thankyou-page .parent-wrap {
  padding-top: 150px;
}
.check-img {
  position: relative;
}
.thankyou-page img {
  width: 200px;
  filter: invert(51%) sepia(60%) saturate(1301%) hue-rotate(62deg)
    brightness(92%) contrast(101%);
}
.thankyou-page h1 {
  font-size: 70px;
  color: var(--field-color);
  font-weight: bold;
  margin-top: 50px;
}

.thankyou-page p {
  font-size: 18px;
  font-family: "Roboto";
  color: var(--field-color);
  margin-top: 30px;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}
.contact-info {
  margin-top: 100px;
}
.contact-info h5 {
  font-size: 20px;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 20px;
}
.social-btn a {
  border-radius: 50%;
  background-color: rgb(237, 237, 237);
  width: 55px;
  height: 55px;
  color: #fff;
  line-height: 55px;
  display: inline-block;
  border: 0;
  margin: 0 3px;
}
.social-btn .facebook {
  background-color: rgb(64, 100, 172);
}
.social-btn .twitter {
  background-color: rgb(30, 155, 235);
}
.social-btn .linkedin {
  background-color: rgb(14, 114, 163);
}
.social-btn .youtube {
  background-color: rgb(247, 0, 0);
}
.social-btn button i {
  font-size: 15px;
  color: rgb(255, 255, 255);
}
.logo {
  text-align: center; /* Center the logo */
  margin: 5px 0; /* Space above and below the logo */
}

.logo img {
  max-width: 100%; /* Ensure the logo scales down on smaller screens */
  height: auto; /* Maintain aspect ratio */
  width: 300px; /* Set a specific width for larger screens */
}

/* Responsive styles */
@media (max-width: 768px) {
  .logo img {
    width: 250px; /* Adjust width for mobile */
  }
}
.message-box {
  transition: all 0.3s ease;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Call to Action */
.whatsapp-button .cc-whatsapp-action-ripple {
  z-index: 99999;
  position: fixed;
  right: 2rem;
  bottom: 8rem;
  background: #27de63;
  width: 2rem;
  height: 2rem;
  padding: 6px;
  border-radius: 100%;
  box-sizing: border-box;
  color: #ffffff;
  -webkit-animation: cc-whatsapp-action-ripple 0.6s linear infinite;
  animation: cc-whatsapp-action-ripple 0.6s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.whatsapp-button .cc-whatsapp-action-ripple i {
  transition: 0.3s ease;
  font-size: 22px;
}

.whatsapp-button .cc-whatsapp-action-ripple:hover i {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
}

@-webkit-keyframes cc-whatsapp-action-ripple {
  0% {
    box-shadow: 0 4px 10px #27de63, 0 0 0 0 #27de63, 0 0 0 5px #27de63,
      0 0 0 10px #27de63;
  }
  100% {
    box-shadow: 0 4px 10px #27de63, 0 0 0 5px #27de63, 0 0 0 10px #27de63,
      0 0 0 20px rgba(0, 123, 255, 0);
  }
}

@keyframes cc-whatsapp-action-ripple {
  0% {
    box-shadow: 0 4px 10px #27de63, 0 0 0 0 #27de63, 0 0 0 5px #27de63,
      0 0 0 10px #27de63;
  }
  100% {
    box-shadow: 0 4px 10px #27de63, 0 0 0 5px #27de63, 0 0 0 10px #27de63,
      0 0 0 20px rgba(0, 123, 255, 0);
  }
}
@media (max-width: 991px) {
  .display-none-md {
    display: none !important;
  }
}
.call-button .cc-call-action-ripple {
  z-index: 99999;
  position: fixed;
  right: 2rem;
  bottom: 14rem;
  background: #0056d2;
  width: 2rem;
  height: 2rem;
  padding: 6px;
  border-radius: 100%;
  box-sizing: border-box;
  color: #ffffff;
  -webkit-animation: cc-call-action-ripple 0.6s linear infinite;
  animation: cc-call-action-ripple 0.6s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.call-button .cc-call-action-ripple i {
  transition: 0.3s ease;
  font-size: 22px;
}

.call-button .cc-call-action-ripple:hover i {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
}

@-webkit-keyframes cc-call-action-ripple {
  0% {
    box-shadow: 0 4px 10px #0056d2, 0 0 0 0 #0056d2, 0 0 0 5px #0056d2,
      0 0 0 10px #0056d2;
  }
  100% {
    box-shadow: 0 4px 10px #0056d2, 0 0 0 5px #0056d2, 0 0 0 10px #0056d2,
      0 0 0 20px rgba(0, 123, 255, 0);
  }
}

@keyframes cc-call-action-ripple {
  0% {
    box-shadow: 0 4px 10px #0056d2, 0 0 0 0 #0056d2, 0 0 0 5px #0056d2,
      0 0 0 10px #0056d2;
  }
  100% {
    box-shadow: 0 4px 10px #0056d2, 0 0 0 5px #0056d2, 0 0 0 10px #0056d2,
      0 0 0 20px rgba(0, 123, 255, 0);
  }
}
@media (max-width: 991px) {
  .display-none-md {
    display: none !important;
  }
}
.hero-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 3rem;
}

.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero-section p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.courses-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.course-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid #e5e7eb;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card h2 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.features-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.1);
  background: var(--primary);
}

.social-links img {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .courses-container {
    grid-template-columns: 1fr;
  }
}
