/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins";
  background-color: #f4f6fa;
  color: #333;
}

.contact-us {
  padding: 40px;
  display: flex;
  justify-content: center;
}

.contact-container {
  display: flex;
  max-width: 1250px;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

/* Left Side */
.contact-info {
  background-color: #6b7fd7;
  color: #fff;
  padding: 40px 30px;
  width: 35%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.contact-info h2 {
  font-size: 20px;
  margin: 0;
}

.contact-info p {
  font-size: 14px;
  margin: 0 0 10px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
}

.info-item img {
  width: 24px;
  height: 24px;
  margin-top: 3px;
}

.info-item.address p {
  margin: 0;
}

/* Right Side */
.contact-form {
  padding: 60px 30px;
  width: 100%;
  background-color: #fff;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  width: 100%;
}

label {
  font-size: 16px;
  margin-bottom: 6px;
  color: #7d7d7d;
}

input,
textarea {
  padding: 10px;
  border: none;
  border-bottom: 1px solid #ccc;
  font-size: 14px;
  background: transparent;
  outline: none;
  transition: border-color 0.2s ease-in-out;
}

input:focus,
textarea:focus {
  border-bottom: 1px solid #6b7fd7;
}

/* textarea {
  resize: none;
  height: 100px;
} */

.submit-btn {
  margin-left: auto;
  padding: 10px 30px;
  width: 300px;
  height: 40px;
  background-color: #6b7fd7;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  font-family: Poppins;
}

.submit-btn:hover {
  background-color: #586ac3;
}

.features-section {
  background-color: #fff;
  padding: 80px 0;
  text-align: center;
  color: #333;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.features-intro {
  align-self: center;
  margin-bottom: 80px;
}

.features-heading {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
}

.features-description {
  font-size: 20px;
  line-height: 1.6;
  color: #7d7d7d;
  width: 100%;
  padding: 0 165px 0 165px;
}

/* Grid Layout */
/* .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  justify-items: center;
} */

.features-grid {
  display: flex;
  justify-content: center;
  gap: 120px;
}

/* Feature Card */
.feature-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px 20px 30px;
  width: 100%;
  max-width: 300px;
  min-height: 330px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Icon Circle */
.feature-icon-wrapper {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #6d83f2;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon {
  width: 128px;
  height: 128px;
}

/* Titles & Text */
.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #111;
}

.feature-text {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}

.services-section {
  display: flex;
  flex-direction: column;
  gap: 50px;
  height: 100vh;
  /* padding: 60px 10%; */
  padding: 180px 244px;
  background-color: #f9f9f9;
  color: #333;
}

.services-intro {
  text-align: center;
  width: 95%;
  margin: 0 auto;
}

.services-heading {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
}

.services-description {
  font-size: 20px;
  line-height: 1.6;
  color: #7d7d7d;
}

/* CARD STYLES */
.service-container {
  background-color: #fff;
  border-radius: 30px;
  border: 1px solid #e0e0e0;
  padding: 60px;
  /* padding: 100px 244px; */

  display: flex;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  width: 95%;
  align-self: center;
}

/* FLEX layout for logo and text */
.service-highlight {
  display: flex;
  align-items: center;
  gap: 85px;
  /* flex-wrap: wrap; */
  width: 100%;
}

/* LOGO */
.service-logo {
  width: 120px;
  height: auto;
}

/* TEXT BLOCK */
.service-text {
  width: 100%;
}

.service-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #333;
}

.tagline {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 8px;
  color: #444;
}

.details {
  font-size: 20px;
  color: #7d7d7d;
  line-height: 2;
}

.about-section {
  position: relative;
  width: 100%;
  min-height: auto; /* Match the image height */
  overflow: hidden;
}

.about-background {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.about-content {
  position: absolute;
  top: 60%;
  left: 45%;
  transform: translateY(-80%);
  width: 50%; /* adjust width if needed */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  z-index: 1;
}

.about-title {
  font-size: 32px;
  line-height: 52.9px;
  font-weight: 600;
  color: #000;
  text-align: center;
}

.about-description {
  font-size: 20px;
  line-height: 42px;
  color: #7d7d7d;
  text-align: start;
}

.disabled {
  background-color: #ccc !important; /* grey background */
  color: #666 !important; /* muted text */
  cursor: not-allowed !important; /* prevent interaction cursor */
  pointer-events: none; /* disables click, hover, etc. */
  opacity: 0.6; /* slightly transparent */
}

/* Layout Container */
.landing-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f4f6fa url("../../asset/Background\ Image.svg") no-repeat center
    center;
  background-size: cover;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1200; /* higher than mobile panel & backdrop */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.isam-logo img {
  height: 25px;
}

.menu-link {
  text-decoration: none;
  color: inherit;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu-link:hover {
  color: #6d83f2; /* or your highlight color */
}

.menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: 1rem;
}

.product,
.about-us {
  cursor: pointer;
  color: #333;
}

.secondary-button {
  border: 1px solid #454f93;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  color: #454f93;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background-color: #454f93;
  color: white;
}

/* Main Flex Section */
.main-content {
  display: flex;
  flex: 1;
  padding: 17rem;
  justify-content: space-between;
  align-items: center;
}

/* Left Text Content */
.text-landing-page {
  max-width: 400px;
}

.the-isam {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.identity-and-security-access-m {
  font-size: 1.8rem;
  font-weight: 600;
  color: #5a6acf;
  margin-bottom: 1rem;
}

.system-is-a {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Right Login Box */
.login {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  width: 420px;
  height: 430px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sign-in {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 4rem;
}
.button-mydigitalid-parent {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.button-mydigitalid {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* subtle elevation */
  border: 1px solid #ccc;
}

.button-mydigitalid:hover {
  background-color: #f0f4ff;
  box-shadow: 0 4px 10px rgba(67, 57, 242, 0.15);
  border-color: #4339f2;
}

.button-mydigitalid.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.sign-in-with {
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.mydigitalid-logo-icon {
  width: 32px;
  height: 32px;
}

.sign-in-with {
  font-size: 1rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem !important;
  }

  .login {
    width: 400px;
    height: 410px;
  }

  .header-right {
    display: none;
  }
  .header {
    justify-content: space-between;
    padding: 1rem 1rem;
  }
}

@media (max-width: 1400px) {
  .main-content {
    padding: 10rem;
  }
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 1100;
}

.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.mobile-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* Make sure mobile-panel is above backdrop */
.mobile-panel {
  z-index: 1000;
}

/* === MOBILE PANEL STRUCTURE === */
.mobile-panel {
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100vh;
  background-color: white;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-panel.open {
  right: 0;
}

.mobile-panel-header {
  padding: 1.5rem;
  display: flex;
  justify-content: flex-end;
}
/* Make close icon bigger and clickable */
.mobile-panel .close-icon {
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

.close-icon {
  font-size: 1.5rem;
  cursor: pointer;
}

/* === NAVIGATION ITEMS === */
.mobile-panel-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-item {
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}
.mobile-nav a.mobile-nav-item {
  text-decoration: none; /* remove underline */
  color: #333; /* black text instead of blue */
  transition: color 0.2s; /* optional: smooth hover */
}

.mobile-nav a.mobile-nav-item:hover {
  color: #6d83f2; /* optional: hover highlight, same as desktop */
}

/* === CONTACT BUTTON === */
.mobile-panel-footer {
  margin-top: 2rem;
}

.mobile-contact-btn {
  background-color: #f0f0f0;
  padding: 0.75rem 1rem;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.mobile-contact-btn:hover {
  background-color: #e0e0e0;
}

.app-version {
  position: fixed;
  bottom: 12px;
  right: 16px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 9999;
  font-family: Poppins;
  pointer-events: none; /* so it never blocks clicks */
}

/* RESPONSIVE BEHAVIOR */
@media (max-width: 768px) {
  .header-right {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

/* =================== MACBOOK / SMALL DESKTOP =================== */
@media (max-width: 1440px) {
  .main-content {
    padding: 8rem 6rem;
  }

  .services-section {
    padding: 140px 180px;
  }

  .features-description {
    padding: 0 100px;
    font-size: 18px;
  }

  .features-grid {
    gap: 60px;
  }

  .contact-us {
    padding: 30px 20px;
  }

  .contact-container {
    flex-direction: row;
  }
}

/* =================== TABLET / LAPTOP =================== */
@media (max-width: 1024px) {
  .main-content {
    align-items: center;
    padding: 5rem 3rem;
  }

  .text-landing-page {
    max-width: 90%;
    text-align: center;
  }

  .login {
    width: 90%;
    max-width: 450px;
    height: auto;
    padding: 2rem;
  }

  .services-section {
    padding: 120px 10%;
  }

  .service-container {
    flex-direction: column;
    padding: 50px 20px;
    gap: 30px;
  }

  .service-highlight {
    flex-direction: column;
    gap: 25px;
  }

  .features-grid {
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
  }

  .features-description {
    padding: 0 50px;
  }

  .about-content {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
  }

  .about-background {
    width: auto;
  }
}

/* =================== MOBILE / PHONE =================== */
@media (max-width: 768px) {
  /* .sidebar-wrapper.minimized {
    width: 0;
  } */

  .header {
    padding: 1rem 1.5rem;
  }

  .about-background {
    width: 100%;
    height: 100vh;
    object-fit: cover;
  }

  .main-content {
    padding: 3rem 1.5rem !important;
    justify-content: space-evenly;
  }

  .sign-in {
    margin-top: 1rem;
  }

  .about-title {
    text-align: center;
  }

  .about-description {
    text-align: center;
  }

  .text-landing-page {
    max-width: 100%;
    text-align: left;
    padding: 1rem;
  }

  .login {
    width: 100%;
    max-width: 400px;
    height: 400px;
    justify-content: center;
  }

  .button-mydigitalid {
    flex-direction: row;
    padding: 0.75rem 1rem;
  }

  .services-section {
    padding: 80px 5%;
  }

  .service-container {
    flex-direction: column;
    padding: 40px 20px;
  }

  .service-highlight {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .features-section {
    padding: 80px 5%;
  }

  .features-description {
    padding: 0 20px;
    font-size: 16px;
  }

  .features-grid {
    flex-direction: column; /* stack vertically */
    gap: 30px; /* spacing between features */
    align-items: center; /* center each feature */
  }

  .feature-card {
    max-width: 90%; /* make cards fit nicely */
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    width: 100%;
    padding: 20px;
  }

  .about-content {
    width: 90%;
    align-items: center;
  }

  .details {
    text-align: center;
  }
  .service-title {
    text-align: center;
  }

  .submit-btn {
    margin-left: 20px;
  }

  .form-row {
    flex-direction: column;
  }
}

@media (min-width: 1025px) {
  .features-section {
    height: 100vh;
  }

  .services-section {
    height: 100vh;
  }
}

@media (max-width: 1024px) {
  .features-section,
  .services-section {
    height: auto; /* adapt to content */
  }
}
