*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*Section Header */

.header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #2c3e50, #3498db);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

nav {
  max-width: 1200px;
  margin: auto;
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo img {
  width: 140px;
  height: auto;
  filter: brightness(0) invert(1);
  
}


.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #f1c40f;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #f1c40f;
}

.nav-links li a:hover::after {
  width: 100%;
}


.loginbtn {
  padding: 8px 20px;
  border: none;
  border-radius: 25px;
  background: #f1c40f;
  color: #2c3e50;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;

}

.loginbtn:hover {
  
  color: #3498db;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);

}


.menu-icon {
  display: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;

}



@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    flex-direction: column;
    width: 240px;
    padding: 25px 20px;
    border-radius: 0 0 12px 12px;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }

  .nav-links.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    margin: 12px 0;
  }

  .menu-icon {
    display: block;
  }
}

/* section main */
.main {
  background: linear-gradient(135deg, rgba(53, 41, 130, 0.8), rgba(32, 9, 150, 0.8)),
              url("./image/main1.jpg") no-repeat center center/cover;
  height: 80Vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;

}

.main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;

}

.maincontent {
  text-align: center;
  color: #fff; 
  position: relative;
  z-index: 2; 

}

.maincontent h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.maincontent h4 {
  font-size: 17px;
  font-weight: 400;
  color: #ddd; 
}

.maincontent h4 a {
  color: #ffcc00; 
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.maincontent h4 a:hover {
  color: #fff; 
}

.maincontent h4 span {
  color: #aaa; 
}


/* section review */

.review-body {
  font-family: Arial, sans-serif;
  background-color: #f5f7fa;
  margin: 0;
  padding: 50px;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  
}


.left-column {
  flex: 2 1 500px;
}

.left-column h2 {
  margin-bottom: 20px;
  color: #222;
}

.review-card {
  background: linear-gradient(135deg, rgb(129, 236, 242), rgb(92, 94, 247));
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 20px;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.review-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.reviewer-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.review-comment {
  font-style: italic;
  color: #555;
  margin-bottom: 10px;
}

.review-text {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}


.right-column {
  flex: 1 1 300px;
 
}

.right-column h2 {
  margin-top: 25px;
  color: #222;
}

.course-detail {
  background: linear-gradient(135deg, rgb(100, 79, 241), rgb(155, 241, 248));
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  padding: 15px 20px;
  margin-top: 37px;
}

.course-detail h3 {
  margin-bottom: 10px;
  color: #333;
}

.course-detail ul {
  list-style: disc inside;
  color: #555;
  line-height: 1.6;
  padding-left: 0;
}

.course-detail ul li {
  margin-bottom: 6px;
}


@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }
}


/* section blog */

.content {
  padding: 60px 10%;
  background: #f9f9f9;
}

.container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}


.main-content {
  flex: 1.6; 
  background: linear-gradient(135deg, rgb(175, 228, 244), rgb(222, 242, 244));
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.img img {
  width: 100%;
  height: 280px; 
  object-fit: cover;
  border-radius: 10px;
}

.date {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777;
  margin: 15px 0;
  flex-wrap: wrap;
}

.date i {
  color: #007bff;
}

.para p {
  color: #333;
  line-height: 1.7;
}


.comment-box {
  background: #007bff;
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  margin-top: 20px;
  line-height: 1.6;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.thumb-box {
  background: #f1f5ff; 
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  margin-top: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.thumb-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}


.thumb-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #007bff; 
}


.thumb-box h5 {
  font-size: 16px;
  font-weight: 600;
  color: #007bff;
  margin-bottom: 10px;
}


.thumb-box p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}



.sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}


.sidebar-box {
  background: linear-gradient(135deg, rgb(162, 227, 240), blue);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sidebar-box h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #333;
  border-bottom: 2px solid #007bff;
  display: inline-block;
  padding-bottom: 5px;
}


.search-box {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.search-box input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px 0 0 8px;
  outline: none;
}

.search-box button {
  padding: 10px 15px;
  border: none;
  background: #007bff;
  color: white;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

.search-box button:hover {
  background: #0056b3;
}


.recent-section .post {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.recent-section .post img {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
}

.post-info .date {
  font-size: 13px;
  color:black;
  margin-bottom: 5px;
}

.date i {
  color: red;
}

.post-info .text {
  font-size: 14px;
  color: white;
}

/* Archive */

.archive-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-section ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

.course-name {
  color: #333;
  font-size: 14px;
}

.course-count {
  display: inline-block;
  background: #04db28;
  color: #fff;
  font-size: 13px;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  border-radius: 50%;
  font-weight: bold;
}



.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery img {
  width: 100%;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}


.follow-section {
  text-align: center; 
}

.follow-section h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #333;
  border-bottom: 2px solid #007bff;
  display: inline-block;
  padding-bottom: 5px;
}


.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}


.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #007bff;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  text-decoration: none;
}

.social-icons a:hover {
  transform: scale(1.2);
  background: #0056b3;
  box-shadow: 0 6px 10px rgba(0,0,0,0.2);
}


.social-icons a:nth-child(1) { background: #3b5998; }
.social-icons a:nth-child(2) { background: #00acee; } 
.social-icons a:nth-child(3) { background: #C13584; } 
.social-icons a:nth-child(4) { background: #0A66C2; } 



@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .img img {
    height: 220px;
  }
}


@media (max-width: 900px) {
  .thumb-box {
    padding: 15px;
    margin-top: 15px;
  }

  .thumb-box img {
    width: 70px;
    height: 70px;
  }

  .thumb-box h5 {
    font-size: 15px;
  }

  .thumb-box p {
    font-size: 13px;
  }
}


@media (max-width: 600px) {
  .thumb-box {
    padding: 12px;
    margin-top: 15px;
  }

  .thumb-box img {
    width: 60px;
    height: 60px;
  }

  .thumb-box h5 {
    font-size: 14px;
  }

  .thumb-box p {
    font-size: 12px;
  }
}


/* section footer */

.footer {
  background: linear-gradient(135deg, rgba(2, 25, 79, 0.8), rgba(0, 8, 19, 0.8)),
              url("./image/footer.jpg") no-repeat center center/cover;
  color: white;
  padding: 60px 20px 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
}

.footcontainer {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}


.footting img {
  width: 160px;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}

.footting p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: white;
}

.social a {
  display: inline-block;
  margin-right: 10px;
  font-size: 16px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social a:hover {
  background: rgb(5, 241, 162);
  color: #1e293b;
  transform: scale(1.1);
}


.footlink h4,
.footercol h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
  position: relative;
}


.footlink h4::after,
.footercol h4::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: rgb(5, 241, 162);
  margin-top: 6px;
  border-radius: 2px;
}


.footlink ul,
.footercol ul {
  list-style: none; 
  padding: 0;
  margin: 0;
}


.footlink ul li,
.footercol ul li {
  margin-bottom: 10px;
}


.footlink ul li a,
.footercol ul li a {
  text-decoration: none;
  color: white;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block; 
}


.footlink ul li a:hover,
.footercol ul li a:hover {
  color: rgb(5, 241, 162);
  /* text-decoration: underline; */
}

.footercol p {
  font-size: 14px;
  margin-bottom: 10px;
  color: white;
}

.footercol p i {
  margin-right: 8px;
  color: rgb(5, 241, 162);
}


.applinks {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.applinks img {
  height: 38px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.applinks img:hover {
  transform: scale(1.08);
}

.footerbottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 16px;
  color: white;
  position: relative;
  left: 390px;
}

.footerbottom span {
  color: rgb(5, 241, 162);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .footerbottom {
    left: 200px; 
    font-size: 15px;
  }
}


@media (max-width: 768px) {
  .footerbottom {
    left: 0; 
    font-size: 14px;
    text-align: center;
  }
}


@media (max-width: 992px) {
  .footcontainer {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  
}

@media (max-width: 600px) {
  .footcontainer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social a {
    margin: 5px;
  }
  .applinks {
    justify-content: center;
  }

  .footlink h4::after,
  .footercol h4::after {
 display: none;
}

  
}




