* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(to bottom, rgb(150, 235, 235), white); 
  background-attachment: fixed;   /* important */
  background-size: cover;
}

.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 */

.digital-hero {
  padding: 100px 20px;
  background: linear-gradient(120deg, rgba(13, 15, 42, 0.8), rgba(7, 16, 31, 0.8)),
    url("./image/digital.webp") no-repeat center/cover;
  color: #ffffff;
}

.hero-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.hero-text h1 {
  font-size: 44px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-text p {
  color: #b7c0d6;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-btn {
  background: #00aaff;
  padding: 14px 26px;
  color: #00121c;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  display: inline-block;
}

.hero-btn:hover {
  background: #32c8ff;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .digital-hero {
    padding: 80px 20px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 16px;
  }
}


/* section services */

.services {
  padding: 80px 20px;
  text-align: center;
  /* background: #ffffff; */
}

.services-header span {
  color: #2b60ff;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 14px;
}

.services-header h2 {
  font-size: 42px;
  font-weight: 700;
  margin-top: 10px;
  color: #021a36;
}

.services-container {
  max-width: 1200px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background: #ffffff;
  padding: 40px 25px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  background: #007bff;
}


.service-card p:hover {
  color: white;
}

.icon-box {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f6fa;
}

.icon-box i {
  font-size: 36px;
  color: #007bff;
}


.blue {
  background: #e8f0ff;
}

.light-blue {
  background: #eef6ff;
}

.yellow {
  background: #fff6dc;
}

.red {
  background: #ffe9e9;
}

.service-card h3 {
  font-size: 20px;
  margin: 15px 0 10px;
  font-weight: 700;
  color: #021a36;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}


@media (max-width: 992px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-container {
    grid-template-columns: 1fr;
  }

  .services-header h2 {
    font-size: 32px;
  }
}

/* section features */

.core-features {
  padding: 60px 20px;
  /* background-color: #f9f9f9; */
  font-family: 'Arial', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.features-image {
  flex: 1 1 45%;
}

.features-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.features-text {
  flex: 1 1 50%;
}

.features-text h2 {
  color: #ff5722;
  font-size: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.features-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #222;
}

.features-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}



.latest-services {
  padding: 60px 20px;
  /* background-color: #fff; */
  font-family: 'Arial', sans-serif;
}

.services-header {
  text-align: center;
  margin-bottom: 40px;
}

.services-header h2 {
  font-size: 22px;
  color: #ff5722;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.services-header h3 {
  font-size: 28px;
  color: #222;
  line-height: 1.4;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}


.service-card {
  padding: 25px 20px;
  border-radius: 12px;
  background-color: #f9f9f9;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}


.service-icon {
  font-size: 40px;
  color: #ff5722;
  margin-bottom: 15px;
}


.service-card h4 {
  font-size: 20px;
  color: #333;
  margin-bottom: 12px;
}


.service-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}


@media (max-width: 992px) {
  .features-content {
    flex-direction: column;
    gap: 30px;
  }

  .features-image,
  .features-text {
    flex: 1 1 100%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}


@media (max-width: 768px) {
  .features-text h3 {
    font-size: 24px;
  }

  .features-text p {
    font-size: 15px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service-card h4 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 14px;
  }

  .service-icon {
    font-size: 35px;
  }
}


/* section latest */

.digital-services-case {
  padding: 60px 20px;
  /* background-color: #0056d2; */
  color: #fff;
  font-family: 'Arial', sans-serif;
}

.section-header {
  text-align: left;
  margin-bottom: 40px;
}

.section-header span {
  font-size: 14px;
  text-transform: uppercase;
  opacity: 0.7;
  color: #00121c;
}

.section-header h2 {
  font-size: 36px;
  margin-top: 10px;
  font-weight: bold;
  color: mediumblue;
}


.services-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}


.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.service-card img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}

.service-card:hover img {
  transform: scale(1.1);
}


.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  color: #fff;
}

.service-overlay span {
  font-size: 12px;
  opacity: 0.8;
}

.service-overlay h3 {
  font-size: 18px;
  margin: 5px 0 10px 0;
}

.service-link {
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}


@media (max-width: 768px) {
  .section-header h2 {
    font-size: 28px;
  }
}

/* section news */


.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}


.latest-news .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.latest-news .section-header h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.latest-news .section-header p {
  color: #ee0909;
  font-size: 16px;
}


.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}


.news-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}


.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}


.news-content {
  padding: 20px;
}

.news-content .author {
  font-size: 15px;
  color: #888;
  display: block;
  margin-bottom: 10px;
}

.news-content h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}


.read-more {
  text-decoration: none;
  color: #fff;
  background: #007bff;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 15px;
  transition: back 0.3s;
}

.read-more:hover {
  background: #0056b3;
}



/* 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: 18px;
  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: 15px;
  color: #666;
}


@media(max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
}