* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
  background-color: #f8f9fa;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ----------------------------
   HEADER
---------------------------- */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: hsl(0, 0%, 99%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 32px;
  font-weight: bold;
  color: #0c0b0bb2;
}

/* ----------------------------
   NAVIGATION
---------------------------- */
.navmenu ul {
  display: flex;
  gap: 20px;
}

.navmenu li a {
  font-weight: 500;
  color: #0a0a0ac7;
  transition: color 0.3s;
}

.navmenu li a.active,
.navmenu li a:hover {
  color: #65b0ee;
}

/* ----------------------------
   MOBILE MENU
---------------------------- */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navmenu ul {
    flex-direction: column;
    background-color: #2b2a78;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    display: none;
    padding: 15px;
    border-radius: 8px;
  }

  .navmenu ul.show {
    display: flex;
  }

  .navmenu li {
    margin: 10px 0;
  }
}

/* ----------------------------
   HERO SECTION
---------------------------- */
.hero {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-text {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 118px;
}

.hero-text h1 {
  margin-bottom: 20px;
  font-size: 38px;
}

.hero-text i {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

.hero-img {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img img {
  max-width: 100%;
  height: auto;
}

/* Animate-charcter text animation */
.animate-charcter {
  text-transform: uppercase;
  background-image: linear-gradient(
    -225deg,
    #0c0a09 0%,
    #182122c4 29%,
    rgb(48, 40, 40) 67%,
    #272727 100%
  );
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 5s linear infinite;
  display: inline-block;
  font-size: 40px;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

/* ----------------------------
   SECTION BASE STYLES
---------------------------- */
section {
  padding: 60px 20px;
}

.section-title h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #333;
  text-decoration: underline;
}

/* ----------------------------
   CORE MODULES SECTION
---------------------------- */
#core-modules-heading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background-image: url("assets/img/back.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  z-index: 1;
}

#core-modules-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

#core-modules-heading > * {
  position: relative;
  z-index: 2;
}

.sol_heading {
  background-image: linear-gradient(45deg, #155aa3, #479fff61);
  padding: 8px 12px;
  font-size: 18px;
  color: #ece1e1;
  text-shadow: 1px 1px 3px rgba(82, 81, 81, 0.8);
}

#core-modules-heading li {
  color: #2e2e2e;
  font-size: 17px;
}

#core-modules-heading .section-title h2 {
  color: #d5e9e9;
  text-decoration: underline;
  font-size: xx-large;
}

.services .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service-item {
  background-color: #eff0f0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(210, 244, 247, 0.05);
  transition: background-color 0.3s ease, transform 0.3s ease;
  flex: 1 1 calc(33.33% - 20px);
  max-width: calc(33.33% - 20px);
}

.service-item:hover {
  background-color: #f7fafa;
  transform: translateY(-5px);
  box-shadow: 0 22px 30px rgba(78, 34, 5, 0.4);
}

.service-item h4 {
  margin-bottom: 15px;
  font-size: 20px;
}

.service-item ul li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #ece1e1;
}

/* Responsive Grid */
@media (max-width: 1200px) {
  .service-item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .service-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ----------------------------
   KEY BENEFITS SECTION
---------------------------- */
#key-benefits {
  background: linear-gradient(135deg, #d5e9e9, #ecfcfb);
  padding: 100px 50px;
  text-align: center;
}

.custom-benefits-box {
  width: 100%;
  max-width: 900px;
  margin: auto;
  padding: 35px;
  background: rgb(238, 238, 236);
  border-radius: 20px;
  box-shadow: 3px 8px 25px rgba(243, 239, 26, 0.15);
  backdrop-filter: blur(10px);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.5s ease;
}

.custom-benefits-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 30px rgba(248, 144, 47, 0.4);
}

.custom-benefits-box ul li {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 500;
  color: #422020;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 28px;
}

.custom-benefits-box ul li::before {
  content: "*";
  position: absolute;
  left: 0;
  color: #fd9f82;
  font-weight: bold;
  font-size: 25px;
}

/* ----------------------------
   SCROLL TO TOP
---------------------------- */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  background: #171596ad;
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
}

/* ----------------------------
   FOOTER
---------------------------- */
.footer {
  text-align: center;
  background-color: hsl(0, 0%, 99%);
  padding: 20px;
  color: #131212de;
}

.footer a {
  color: #111010dc;
  text-decoration: underline;
}
