/* === Hero Section Styling === */
#hero {
  background: linear-gradient(135deg, #1e3c72, #2a5298); /* gradient blue */
  color: #141414;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}


#hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}


#hero h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 35px;
  color: #141414;
}

#hero .btn {
  background: #128fff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

#hero .btn:hover {
  background: #141414;
  transform: translateY(-3px);
}

/* Smooth fade-in */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-fade {
  animation: fadeInUp 1s ease-out forwards;
}

.animate-fade-delay {
  opacity: 0;
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.5s;
}

/* Bounce effect for button */
@keyframes bounceIn {
  0%, 20%, 40%, 60%, 80%, 100% { transform: translateY(0); }
  30% { transform: translateY(-15px); }
  50% { transform: translateY(-7px); }
  70% { transform: translateY(-5px); }
}

.animate-bounce {
  animation: bounceIn 2s ease infinite;
}

/* Subtle floating effect for container */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.hero-content {
  animation: float 6s ease-in-out infinite;
}


/* === Course Cards === */
.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  background: #fff;
}

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

.card img {
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4); /* fallback gradient */
}

.card-title {
  color: #1e3c72;
  font-size: 1.4rem;
  font-weight: 700;
}

.card-text ul li {
  margin-bottom: 8px;
  color: #444;
}

/* === Section Titles === */
#course-details h2,
#contact h2 {
  color: #141414;
  font-weight: 700;
  margin-bottom: 15px;
}

#course-details p,
#contact p {
  color: #141414;
}

.card .btn {
  background: #128fff;
  border: none;
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.card .btn:hover {
  background: #141414;
  transform: translateY(-3px);
}


/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #141414;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px 0 32px 0;
  border-radius: 4px;
}

.contact .info-box i {
  font-size: 32px;
  color: #128fff;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #141414;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #141414;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
    color: #141414;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
  border-radius: 4px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: red;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form .form-group {
  margin-bottom: 25px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #111111;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #128fff;
  border: 0;
  padding: 10px 32px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #141414;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* === Footer Styling === */
#footer {
  background: #141414;
  color: #ccc;
}

#footer h4 {
  color: #fff;
  margin-bottom: 15px;
}

#footer a {
  color: #ccc;
  transition: 0.3s;
}

#footer a:hover {
  color: #128fff;
}

#footer .social-links a {
  font-size: 20px;
  display: inline-block;
  background: #141414;
  color: #fff;
  line-height: 1;
  padding: 10px;
  margin-right: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

#footer .social-links a:hover {
  background: #128fff;
  transform: scale(1.1);
}
