* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: white;
  color: black;
}
header {
  display: flex;
  background: linear-gradient(90deg, #fff 20%, #df295e,#4054b2 120%);
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.logo img {
  height: 7rem;
  margin-left: 100px;
}
.menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
}
/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 50px;
  margin-right: 250px;
}
nav ul li a {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}
nav ul li a:hover {
  color: #4054b2;
}
.menu-icon {
  display: none;
  font-size: 24px;
  color: black;
}
@media (max-width: 1024px) {
  .logo img {
    margin-left: 10px;
    height: 5rem;
  }
  nav {
    display: none;
    position: relative;
    z-index: 9999;
  }
  .menu-icon {
    display: block;
    padding: 0 5px;
    margin-right: 20px;
  }
  nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0px;
    align-items: center;
    justify-content: center;
    background-color: rgba(80, 80, 80, 0.85);
    width: 50%;
    border-radius: 15px;
  }
  nav ul {
    flex-direction: column;
    margin: 20px 0;
    text-align: center;
    line-height: 8px;
  }
  nav ul li a {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s ease;
  } 
}

.about-hero {
background: #f7fafd;
padding: 60px 0 80px 0;
text-align: center;
}
.about-hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(135deg,#df295e 40%, #4054b2 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.course-area {
background: #f7fafd;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
margin: 0 auto;
}

.courses-btns {
display: flex;
flex-direction: column;
gap: 15px;
margin-bottom: 30px;
width: 90%;
max-width: 1200px;
}

.course-block {
  width: 100%;
  transition: all 0.3s ease;
}

.tab-btn {
width: 100%;
padding: 14px 20px;
border: none;
border-radius: 8px;
background: #4054b2;
color: #fff;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-align: center;
}

.tab-btn:hover {
  background: #df295e;
}

.course-detail {
  display: none;
  background: url('/assest/images/bg.webp') no-repeat center center;
  background-size: cover;
  border-radius: 8px;
  margin-top: 8px;
  padding: 16px 40px;
  animation: fadeIn 0.4s ease;
  width: 100%;
  min-height: 400px;
  color: #fff;
  backdrop-filter: blur(2px);
}

.course-detail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
}

.course-detail * {
  position: relative;
  z-index: 2;
}

.course-detail.active {
  display: block;
}

.course-detail h2 {
  color: #4054b2;
  margin-bottom: 10px;
}
.course-detail h3 {
  color: #df295e;
}
.course-detail p {
  color: #fff;
  line-height: 1.6;
}

@media (max-width:1024px){
  .courses-btns {
    padding: 15px;
  }
}

@keyframes fadeIn {
from { opacity: 0; transform: translateY(-5px); }
to { opacity: 1; transform: translateY(0); }
}

.contact-section {
  background: #f7fafd;
  padding: 50px 0;
  font-size: 1.09rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: center;
}
.contact-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-left: 100px;
}
.contact-logo {
  height: 80px;
  margin-bottom: 15px;
}
.contact-details {
  color: #4054b2;
  line-height: 1.6;
}
.contact-details a { 
  color: #4054b2; 
  text-decoration: none; 
}

.contact-middle {
  text-align: center;
}
.contact-middle h3 {
  color: #df295e;
  font-size: 1.09rem;
  margin-bottom: 15px;
  margin-top: -90px;
}
.contact-middle ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.contact-middle li {
  margin-bottom: 10px;
}
.contact-middle a {
  color: #4054b2;
  text-decoration: none;
  font-weight: 600;
}
.contact-middle a:hover { text-decoration: underline; }

.contact-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  margin-top: 20px;
}
.contact-right .certified-logo {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.contact-right .certified-logo img {
  width: 80px;
  height: auto;
  border-radius: 8px;
}

.contact-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 12px;
}
.contact-social a img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}
.contact-social a:hover img {
  transform: scale(1.2);
}

.whatsapp { filter: invert(27%) sepia(82%) saturate(1358%) hue-rotate(108deg) brightness(90%) contrast(90%);}
/* .facebook { filter: invert(34%) sepia(92%) saturate(2257%) hue-rotate(203deg) brightness(96%) contrast(101%); } */
.linkedin { filter: invert(38%) sepia(95%) saturate(2783%) hue-rotate(185deg) brightness(91%) contrast(104%); }
.instagram { filter: invert(27%) sepia(86%) saturate(3209%) hue-rotate(308deg) brightness(96%) contrast(101%); }
.youtube { filter: invert(22%) sepia(100%) saturate(3720%) hue-rotate(354deg) brightness(92%) contrast(110%); }

@media (max-width:1024px){
  .contact-details {
    text-align: center;
    padding: 0 5px;
  }
  .contact-grid { 
    grid-template-columns: 1fr;
    text-align: center;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    gap: 28px; 
  }
  .contact-grid img { 
    display: flex;
    margin: 0;
    max-width: 180px;
    height: auto;
  }
  .contact-left {
    align-items: center;
    justify-content: center;
    margin-left: -25px;
    text-align: center;
  }
  .contact-right {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
  }
  .contact-middle {
    margin-top: 90px;
  }
  .contact-social {
    justify-content: center;
  }
  .whatsapp-btn img {
    height: 20px;
  }
}

footer {
  background-color: #222a54;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9rem;
  color: white;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 600px) {
  .courses-panel { width: 99%; padding: 12px 4px;}
  .tab-btn, .courses-btns { width: 100%; }
  .about-hero-content h1 { font-size: 2rem; }
}