* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.header {
  width: 100%;
  background: #0d1625;
  padding: 15px 5%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 80px;
}


.header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo img {
  width: 150px;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  margin-top: 15px;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #00aaff;
}


.loginbtn {
  background: #007bff;
  border: none;
  padding: 3px 18px;
  color: #fff;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
}

.loginbtn:hover {
  background: #005fcc;
  transform: scale(1.05);
}


.menu-icon {
  display: none;
  font-size: 28px;
  color: #ffffff;
  cursor: pointer;
}


.dropdown-menu {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: auto !important;
}


.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
}


.dropdown:hover .dropdown-menu {
  display: block;
}


.dropdown-menu li a {
  color: #fff;
  padding: 5px 0 !important;
  display: block;
  text-decoration: none;
  background: transparent !important;
}

.dropdown-menu li a:hover {
  color: #0db2ff;
  background: transparent !important;
}


@media (max-width: 768px) {

  .menu-icon {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: -600px;
    left: 0;
    width: 100%;
    background: #0d1625;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 40px 0 30px 0;
    transition: 0.4s ease;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25);
  }

  .nav-links.active {
    top: 60px;
  }

  .nav-links li a {
    font-size: 18px;
  }

  .loginbtn {
    font-size: 18px;
    padding: 10px 28px;
  }
}

@media (max-width: 480px) {
  .logo img {
    width: 130px;
  }

  .nav-links li a {
    font-size: 17px;
  }
}


/* section main */
.main {
  background: linear-gradient(135deg, rgba(53, 41, 130, 0.8), rgba(32, 9, 150, 0.8)),
    url("./image/contact.webp") 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 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: #111;
  color: #ccc;
  padding: 60px 0 20px;
  font-family: 'Arial', sans-serif;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #007bff;
}


.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}


.footer-logo img {
  width: 150px;
  margin-bottom: 15px;
}

.footer-logo p {
  font-size: 15px;
  line-height: 1.6;
  color: #aaa;
}


.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}


.footer-contact p {
  margin-bottom: 10px;
  font-size: 15px;
  color: #aaa;
}


.footer-social .social-icons {
  display: flex;
  gap: 15px;
}

.footer-social .social-icons img {
  width: 25px;
  height: 25px;
  transition: transform 0.3s;
}

/* .footer-social .social-icons img:hover {
  transform: scale(1.2);
} */


.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  margin-top: 30px;
  font-size: 14px;
  color: #666;
}


@media(max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
}