:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #242424;
  --link-color: #077b83;
  --header-bg-color: #f6f6f6e6;
  --font-family: system-ui;
  --nav-link-color: #000000;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffffff;
}
html {
  overflow-x: hidden;
}
body {
  background-color: var(--body-bg-color);
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2rem) !important;
}
h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}

section {
  padding: 15px 0;
  scroll-margin-top: 70px;
}

h2,
h3 {
  color: var(--heading-color) !important;
}

.content-area a {
  color: var(--link-color) !important;
  text-decoration: none !important;
}

.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

.twitter-tweet {
  width: 279px !important;
}

.x {
  display: flex;
  justify-content: center;
}
.error_page {
  min-height: 70vh;
}

.footer-news {
  background: var(--footer-bg-color);
  border-top: 3px solid var(--link-color);
  padding: 2.5rem 1rem;
  border-radius: 12px 12px 0 0;
  position: relative;
  overflow: hidden;
  color: var(--footer-text-color);
}

.footer-news a {
  color: var(--link-color);
  text-decoration: none;
  position: relative;
}

.footer-news a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--link-color);
  transition: width 0.3s ease;
}

.footer-news a:hover::after {
  width: 100%;
}

.footer-newsletter h3 {
  color: var(--footer-text-color) !important;
  margin-bottom: 1rem;
  font-weight: 600;
}

.newsletter-form input {
  padding: 0.6rem 1rem;
  border: 1px solid var(--link-color);
  border-radius: 5px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 0.6rem 1.5rem;
  border: none;
  background: var(--link-color);
  color: #fff;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 143, 106, 0.2);
}
.footer-social .social-icon {
  font-size: 1.5rem;
  margin: 0 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--link-color);
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: 2px solid var(--link-color);
  border-radius: 50%;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.footer-social .social-icon:hover {
  transform: scale(1.2) rotate(-10deg);
  background: var(--link-color);
  color: #fff;
}

.footer-news::after {
  right: 10px;
  top: auto;
  bottom: 10px;
  left: auto;
}

/* Responsive */
@media (max-width: 767px) {
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

.navbar {
  background-color: var(--header-bg-color) !important;
  position: sticky;
  top: 0;
  z-index: 1020;
}

.hero-section {
  padding: 55px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

.hero-section.with-bg {
  background-image: url("/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section.with-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgb(0, 0, 0));
  opacity: 0.5;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
}
.navbar-light .navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: bold;
}
/* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(
      in srgb,
      var(--header-bg-color) 65%,
      transparent
    );
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 7px 0;
  }

  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }

  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}

.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 65%,
    transparent
  ) !important;
  backdrop-filter: blur(12px);
}

.custom-dropdown .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}
.dropdown-menu {
  display: none;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}
.nav-item.dropdown > .nav-link {
  display: flex;
  align-items: center;
}

.nav-item.dropdown > .nav-link .arrow {
  position: relative;
  margin-left: auto;
  border: solid var(--nav-link-color, #141414);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.dropdown.open .dropdown-menu {
  display: block;
}

@media (min-width: 1200px) {
  .nav-item.dropdown {
    position: relative;
  }
  .nav-item.dropdown > .nav-link .arrow {
    margin-left: 7px;
  }
  .custom-dropdown.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 1000;
  }

  .nav-item.dropdown:hover > .nav-link .arrow {
    transform: rotate(-135deg);
  }
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}
@media (max-width: 1199px) {
  .nav-item.dropdown > .nav-link .arrow {
    padding: 4px;
  }
}

.contact-container {
  width: 500px;
  margin: 100px auto 35px;
  padding: 15px 21px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  color: black !important;
}

@media screen and (max-width: 768px) {
  .contact-container {
    width: 100%;
    padding: 15px;
  }
}
.contact-header {
  text-align: center;
  margin-bottom: 20px;
}

.contact-header i {
  font-size: 2rem;
  color: #0d6efd;
  margin-bottom: 10px;
}

.email-link {
  display: block;
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  color: #0d6efd;
  text-decoration: none;
}
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--link-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: var(--footer-bg-color);
  line-height: 0;
}
.scroll-top:hover {
  background-color: color-mix(in srgb, var(--link-color), transparent 20%);
  color: var(--footer-bg-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}
.heading {
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  margin: 15px 0;
}

/* Title */
.heading h2 {
  position: relative;
  margin: 0 0 1rem;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #022325;
  display: inline-block; /* so the accent bar centers */
}

/* Accent bar */
.heading h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -0.4rem;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: #077b83;
}

/* Optional IoT glow on hover */
.heading h2:hover {
  text-shadow: 0 0 12px rgba(7, 123, 131, 0.35);
}

/* Paragraph */
.heading p {
  font-size: 0.98rem;
  line-height: 1.7;
}
.box {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 21px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  height: 100%;
}
.img-section {
  border-radius: 14px;
  overflow: visible;
  margin-bottom: 1.5rem;
  position: relative;
}
.img-section .section-top-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
}
.img-section__content {
  background: linear-gradient(180deg, #fff 0, #b8d8f9 100%);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  padding: 1.25rem 17px;
  margin-top: -6px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.04);
}
.img-section__content h2 {
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.12),
    rgba(16, 185, 129, 0.04)
  );
  color: #0f172a;
  padding: 0.4rem 5px;
  border-radius: 8px;
  margin-bottom: 0.4rem;
  box-shadow: 0 4px 12px rgba(2, 6, 23, 0.03);
}
.img-section__content h3 {
  color: #0b1220;
  font-weight: 600;
}
.flex-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 25px;
  list-style-position: inside;
}
.regulations {
  margin: 2rem auto;
  padding: 30px 21px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #022325;
  border-radius: 18px;
  border: 1px solid rgba(7, 123, 131, 0.12);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.04);
  background: radial-gradient(
      circle at top left,
      rgba(7, 123, 131, 0.06),
      transparent 55%
    ),
    #ffffff;
}

/* Main section heading */
.regulations h2 {
  position: relative;
  margin: 0 0 1.6rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

/* Accent bar under H2 */
.regulations h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.6rem;
  width: 80px;
  height: 3px;
  border-radius: 999px;
  background: #077b83;
}

/* Subheading (H3) */
.regulations h3 {
  margin: 0.6rem 0 0.3rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #05575d;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Small accent dot for h3 */
.regulations h3::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #077b83;
  box-shadow: 0 0 10px rgba(7, 123, 131, 0.5);
}

/* Paragraphs */
.regulations p {
  margin: 0.75rem 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #42575b;
}
.regulations ul li {
  color: #42575b;
}

/* Links */
.regulations a {
  color: #077b83;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px dashed rgba(7, 123, 131, 0.6);
  transition: border-color 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
}

.regulations a:hover {
  color: #05575d;
  border-bottom-color: transparent;
  text-shadow: 0 0 8px rgba(7, 123, 131, 0.35);
}

/* Flex list (GDPR bullets) */
.regulations .flex-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.regulations .flex-list li {
  flex: 1 1 180px;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(7, 123, 131, 0.2);
  font-size: 0.9rem;
  line-height: 1.4;
  color: #064147;
  background: rgba(7, 123, 131, 0.04);
  backdrop-filter: blur(4px);
}

/* Slight hover lift on pills */
.regulations .flex-list li:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(7, 123, 131, 0.12);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .regulations h2::after {
    width: 60px;
  }
}
.cust-bg {
  background: #f0f8ff;
  padding: 15px 19px;
  border-radius: 21px;
}
.modern-links {
  background: #ffffff;
  padding: 21px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  font-family: "Inter", sans-serif;
  width: 270px;
  margin-bottom: 15px;
}

.modern-links h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.sidebar-page-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-page-list li {
  position: relative;
  padding-left: 1rem;
}

.sidebar-page-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #4f8bff, #7b60ff);
  border-radius: 50%;
}

.sidebar-page-list a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.25s ease;
}

.sidebar-page-list a:hover {
  background: #f2f6ff;
  color: #2a62ff;
  transform: translateX(4px);
}

.sidebar-page-list a:active {
  background: #e8eefc;
}
/* --- Footer Wrapper --- */
.footer-news {
  padding: 3rem 0;
  background: linear-gradient(135deg, #0f0f11, #1a1d21);
  color: #e5e5e7;
  font-family: "Inter", sans-serif;
}

.footer-news a {
  color: #e5e5e7;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-news a:hover {
  color: #8ab4ff;
  opacity: 0.9;
}

/* --- Top row: contact + links --- */
.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.5rem;
}

/* --- Newsletter --- */
.footer-newsletter h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #ffffff;
}

/* Newsletter form */
.newsletter-form input {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: none;
  width: 260px;
  background: #24262b;
  color: #ffffff;
  outline: none;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.newsletter-form input::placeholder {
  color: #7b7d82;
}

.newsletter-form input:focus {
  background: #2e3036;
  box-shadow: 0 0 0 2px #4d6dff;
}

/* Button */
.newsletter-form button {
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  border: none;
  background: #4d6dff;
  color: #fff;
  font-weight: 600;
  cursor: not-allowed;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

/* Enable button styling (when JS enabled later) */
.newsletter-form button.enabled {
  cursor: pointer;
  opacity: 1;
}

/* --- Social Icons --- */
.footer-social {
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #24262b;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
  background: #4d6dff;
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(77, 109, 255, 0.4);
}
/* --- Contact Container --- */
.contact-container {
  max-width: 650px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-family: "Inter", sans-serif;
}

/* --- Header --- */
.contact-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.contact-header i {
  font-size: 2.2rem;
  color: #4d6dff;
  margin-bottom: 0.3rem;
  display: block;
}

.contact-header p {
  margin: 0;
  font-size: 0.95rem;
  color: #6c757d;
}

/* --- Form Title --- */
.contact-container h2 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  text-align: center;
}

/* --- Inputs & Labels --- */
.contact-container .form-label {
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-container .form-control {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  background: #f9f9fb;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-container .form-control:focus {
  background: #fff;
  border-color: #4d6dff;
  box-shadow: 0 0 0 3px rgba(77, 109, 255, 0.2);
}

/* --- Textarea --- */
.contact-container textarea.form-control {
  resize: vertical;
}

/* --- Submit Button --- */
.contact-container .btn {
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.contact-container .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Enabled (when JS used later) */
.contact-container .btn.enabled {
  opacity: 1 !important;
  cursor: pointer;
}

.contact-container .btn.enabled:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(77, 109, 255, 0.3);
}

/* --- Email Link at bottom --- */
.email-link {
  margin-top: 1.8rem;
  text-align: center;
  color: #6c757d;
  font-size: 0.95rem;
}

.email-link i {
  color: #4d6dff;
  margin-right: 4px;
}

.email-link:hover {
  color: #4d6dff;
}
/* --- Main Error Page Wrapper --- */
.error-page {
  max-width: 700px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 4rem 2rem !important;
  background: linear-gradient(135deg, #ffffff, #f6f7fb);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-family: "Inter", sans-serif;
  animation: fadeIn 0.6s ease;
}

/* --- Icon --- */
.error-page i.bi-emoji-frown-fill {
  font-size: 3.8rem;
  color: #ff6b6b;
  animation: floatEmoji 3s ease-in-out infinite;
}

/* --- Title & Text --- */
.error-page h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #202020;
}

.error-page p {
  color: #6b6c70;
}

/* --- Buttons --- */
.error-page .btn {
  padding: 0.8rem 1.6rem;
  font-size: 1.05rem;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.error-page .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(77, 109, 255, 0.25);
}

/* Secondary button hover */
.error-page .btn-outline-secondary:hover {
  box-shadow: 0 8px 20px rgba(145, 145, 145, 0.25);
}

/* --- Stars Decoration --- */
.error-page .bi-stars {
  color: #4d6dff;
  opacity: 0.7;
  animation: twinkle 2s infinite;
}

.error-page .bi-stars:nth-child(2) {
  animation-delay: 0.4s;
}

.error-page .bi-stars:nth-child(3) {
  animation-delay: 0.8s;
}

/* --- Animations --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatEmoji {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}
