.aa {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  display: flex;
}

.bb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 64, 255, 0.85),
      rgba(0, 64, 255, 0.65));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

}

.hero-subtitle {
  color: white;
  font-weight: 700;
  font-size: clamp(22px, 4vw, 50px);
}

.hero-title {
  color: white;
  font-weight: 800;
  font-size: clamp(32px, 6vw, 80px);
}



.about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 60px 10%;
  align-items: center;
}

.about1 img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.about2 h4 {
  display: inline-block;
  border-bottom: 2px dotted red;
  margin-bottom: 15px;
  /* width: 19%; */
  color: red;
}

.about2 h1 {
  font-weight: 800;
}

.about2 p {
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.7;
  color: #444;
  font-weight: 700;
}

@media (max-width: 768px) {
  .about {
    grid-template-columns: 1fr;
    padding: 40px 6%;
    text-align: center;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 25px 15px;
  text-align: center;
  color: #fff;
}

.stat h2 {
  font-size: 36px;
  font-weight: 700;
}

.stat span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

.green {
  background: #28a745;
}

.blue {
  background: #0d6efd;
}

.red {
  background: #dc3545;
}

.yellow {
  background: #ffc107;
  color: #000;
}

@media (max-width: 992px) {
  .about {
    flex-direction: column;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .about2 h1 {
    font-size: 30px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat h2 {
    font-size: 28px;
  }
}

.courses {
  padding: 80px 5%;
  background: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h5 {
  color: red;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: inline-block;
  border-bottom: 2px dotted red;
  margin-bottom: 15px;
  /* width: 19%; */
  color: red;
}

.section-title h1 {
  font-size: 42px;
  font-weight: 800;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.course-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.course-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.course-overlay h3 {
  font-size: 18px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.course-card:hover img {
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title h1 {
    font-size: 34px;
  }
}

@media (max-width: 576px) {
  .course-grid {
    grid-template-columns: 1fr;
  }

  .section-title h1 {
    font-size: 28px;
  }
}



.works {
  padding: 80px 20px;
  background: #f9fafb;
  text-align: center;
}

.works h1 {
  font-size: 36px;
  font-weight: 700;
  display: inline-block;
  border-bottom: 2px dotted red;
  color: red;
}

.span {
  color: blue;
  font-weight: 800;
}


.sub-text {
  color: #6b7280;
  margin-bottom: 50px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.step {
  background: #fff;
  padding: 35px 25px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.number {
  display: inline-block;
  font-size: 42px;
  font-weight: 800;
  color: #4f46e5;
  margin-bottom: 15px;
}

.step h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
}

.step p {
  color: #6b7280;
  font-size: 15px;
  font-weight: 800;
}








button {
  margin-top: 30px;
  padding: 14px 40px;
  background: #2563eb;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
}

button:hover {
  background: #1e40af;
}




html,
body {
  width: 100%;
  overflow-x: hidden;
}

.contact-section {
  padding: 80px 20px;
  background: #fff;
}

.contact-container {

  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: flex-start;
  /* 🔥 FIX */


}

.contact-info {
  background: #f1f6ff;
  padding: 40px;
  border-radius: 12px;
}

.info-box {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.icon {
  width: 55px;
  height: 55px;
  border-radius: 8px;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blue1 {
  background: #000000;
}

.red1 {
  background: #000000;
}

.yellow1 {
  background: #000000;
}

.info-box h4 {
  margin: 0;
  font-size: 18px;
}

.info-box p {
  margin: 5px 0 0;
  color: #555;
}

.contact-form .help-text {
  color: #ef4444;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 14px;
}

.contact-form h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 10px 0 30px;
}

form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* 🔥 */
  gap: 20px;
}


input,
textarea {
  width: 100%;
  min-width: 0;
  /* 🔥 IMPORTANT */
  max-width: 100%;
  padding: 14px;
  border: none;
  border-bottom: 1px solid #ccc;
  font-size: 15px;
  outline: none;
  background: transparent;
}


textarea {
  margin-top: 20px;
  resize: none;
  height: 120px;
}

button {
  margin-top: 30px;
  padding: 14px 40px;
  background: #2563eb;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
}

button:hover {
  background: #1e40af;
}

@media (max-width: 768px) {

  .contact-section {
    padding: 50px 15px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-info {
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }
}

.footer {
  background: radial-gradient(circle at top, #1e1b4b, #020617);
  color: #c7d2fe;
  padding: 70px 20px 0;
}

.footer-container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 2fr 1.5fr 1.5fr 1.5fr;
  gap: 40px;
}

.footer h2,
.footer h3 {
  color: #fff;
}

.footer-brand p {
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.7;
}

.footer-newsletter form {
  display: flex;
  margin-top: 20px;
}

.footer-newsletter input {
  flex: 1;
  padding: 14px;
  border: none;
  outline: none;
}

.footer-newsletter button {
  padding: 14px 25px;
  background: #2563eb;
  border: none;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.footer-links ul li {
  margin-bottom: 12px;
  font-size: 15px;
  cursor: pointer;
}

.footer-links ul li:hover {
  color: #fff;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  margin-right: 12px;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 14px;
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-newsletter form {
    flex-direction: column;
  }

  .footer-newsletter button {
    margin-top: 10px;
  }
}


#preloader{
position:fixed;
width:100%;
height:100%;
background:white;
top:0;
left:0;
display:flex;
justify-content:center;
align-items:center;
z-index:9999;
}

/* Loader animation */
.loader{
width:50px;
height:50px;
border:5px solid #ddd;
border-top:5px solid #2d6cdf;
border-radius:50%;
animation:spin 1s linear infinite;
}

@keyframes spin{
0%{transform:rotate(0deg);}
100%{transform:rotate(360deg);}
}




.popup{
position:fixed;
top:20px;
right:20px;
background:#28a745;
color:white;
padding:15px 25px;
border-radius:8px;
font-size:16px;
display:none;
box-shadow:0 5px 15px rgba(0,0,0,0.2);
animation:slideIn 0.4s ease;
}

@keyframes slideIn{
from{
transform:translateX(100%);
opacity:0;
}
to{
transform:translateX(0);
opacity:1;
}
}
.successPopup{
position:fixed;
top:20px;
right:20px;
background:#28a745;
color:white;
padding:15px 25px;
border-radius:8px;
font-size:15px;
display:none;
box-shadow:0 8px 20px rgba(0,0,0,0.2);
z-index:9999;
animation:slideIn 0.4s ease;
}

@keyframes slideIn{
from{
transform:translateX(120%);
opacity:0;
}
to{
transform:translateX(0);
opacity:1;
}
}
.success-popup{
position:fixed;
top:20px;
right:20px;
background:#28a745;
color:white;
padding:15px 25px;
border-radius:8px;
font-size:15px;
display:none;
box-shadow:0 8px 20px rgba(0,0,0,0.2);
z-index:9999;
animation:slideIn 0.4s ease;
}

@keyframes slideIn{
from{
transform:translateX(120%);
opacity:0;
}
to{
transform:translateX(0);
opacity:1;
}
}

.sent-message{
display:none;
}