@charset "UTF-8";
/* CSS Reset */
html {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito", sans-serif;
  color: #222;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--light-bg);
}

main {
  flex: 1;
}

.container {
  width: 90%;
  margin: 0 auto;
}

:root {
  --primary-color: #223063;
  --secondary-color: #1D7735;
  --accent-color: #003366;
  --light-bg: #f9f9f9;
  --white: #ffffff;
  --dark-gray: #444;
  --light-gray: #F5F7FA;
  --dark-blue: #001a33;
  --link-color: #66ccff;
  --hover-green: #155e2a;
  --card-bg: #e0f7fa;
  --card-bg-hover: #b2ebf2;
  --industry-bg: #e6f2ff;
  --transparent-bg: rgba(255, 255, 255, 0.85);
  --strong: #1D7735;
  --Dark-charcoal: #333;
  --Davy-grey: #555;
  --Gray88: #e0e0e0;
  --very-dark-gray: #222;
  --Black: #000000;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

/* Sticky Header */
.site-header {
  font-family: "Nunito", sans-serif !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--light-gray);
  z-index: 999;
  border-bottom: 2px solid rgba(34, 48, 99, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 0 0 20px 20px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Header Container */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  padding: 0.75rem 0rem;
  height: 94px;
}

.logo img {
  display: flex;
  height: 60px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav ul li {
  position: relative;
  margin: 0 0.75rem;
}

.desktop-nav ul li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.desktop-nav ul li a:hover {
  text-shadow: 0 2px 8px rgba(29, 119, 53, 0.25);
}

.desktop-nav ul li a .nav-icon {
  width: 16px;
  height: 16px;
}

.desktop-nav ul li a .dropdown-arrow {
  width: 10px;
}

/* Mega Dropdown */
.has-dropdown {
  position: relative;
}

.mega-dropdown {
  display: none;
  position: fixed;
  margin-top: 7px;
  padding: 0 5rem;
  left: 0;
  width: 100vw;
  background-color: var(--light-gray);
  border-bottom: 2px solid rgba(34, 48, 99, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 0 0 20px 20px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.mega-dropdown.show {
  display: block;
  opacity: 1;
  visibility: visible;
}

.mega-dropdown-inner {
  margin: 10px auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem;
}

.mega-dropdown-column {
  flex: 1 1 220px;
}

.mega-dropdown-column ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 30px 0;
  margin: 0;
  max-height: 400px;
  overflow-y: auto;
}

.mega-dropdown-column li a {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  background-color: #f7f9fc;
  color: #2e3a59;
  transition: color 0.3s ease;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.mega-dropdown-column li a:hover {
  color: #0077cc;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.mega-dropdown-column .mega-menu-title {
  top: 60px;
  font-size: 20px;
  font-weight: 500;
  padding-left: 10px;
}

.mega-dropdown-column .mega-menu-title a {
  color: var(--very-dark-gray);
  text-decoration: none;
  font-size: inherit;
}

.mega-dropdown-column .mega-menu-title a:hover {
  color: #0077cc;
}

/* Hide dropdown by default */
.desktop-nav ul li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--light-gray);
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
  min-width: 220px;
}

/* Show dropdown on hover */
.desktop-nav ul li.has-dropdown:hover > .dropdown {
  display: block;
}

.desktop-nav ul li .dropdown li {
  margin: 0;
}

.desktop-nav ul li .dropdown li a {
  padding: 0.75rem 1rem;
  display: block;
  color: #333;
  white-space: nowrap;
}

.desktop-nav ul li .dropdown li a:hover {
  background: rgba(0, 123, 255, 0.1);
}

.login-btn {
  background-color: #0077cc;
  color: #fff !important;
  border-radius: 20px;
  padding: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
}

.login-btn:hover {
  background-color: #005fa3;
}

.login-btn img {
  filter: brightness(0) invert(1);
  width: 16px;
  height: 16px;
}

/* Mobile Hamburger Toggle */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  z-index: 1100;
}

.menu-toggle .icon {
  width: 24px;
  height: 2px;
  background: #333;
  display: block;
  position: relative;
}

.menu-toggle .icon::before,
.menu-toggle .icon::after {
  content: "";
  width: 24px;
  height: 2px;
  background: #333;
  position: absolute;
  left: 0;
  transition: 0.3s ease;
}

.menu-toggle .icon::before {
  top: -8px;
}

.menu-toggle .icon::after {
  top: 8px;
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 75px;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background-color: var(--light-gray);
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1rem 0rem 1.5rem;
  z-index: 999;
  border-radius: 0 0 20px 20px;
}

.mobile-nav.open {
  max-height: 80vh;
  overflow-y: auto;
  padding: 1rem;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #ccc transparent;
}

.mobile-nav.open::-webkit-scrollbar {
  width: 6px;
}

.mobile-nav.open::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

.mobile-nav ul.menu {
  list-style: none;
  padding: 30px 0 0 0;
  margin: 0;
  display: none;
}

.mobile-nav ul.menu.active {
  display: block;
}

.mobile-nav ul.menu li {
  margin-bottom: 1rem;
}

.mobile-nav ul.menu li a,
.mobile-nav ul.menu li button {
  width: 100%;
  display: block;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0;
}

.mobile-nav ul.menu li a:hover,
.mobile-nav ul.menu li button:hover {
  color: #007bff;
}

.mobile-nav ul.menu li .back-btn {
  font-weight: bold;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .logo {
    position: relative;
    z-index: 1101;
  }
  .mobile-nav .login-btn {
    color: #000 !important;
    background-color: #f7f7f7;
  }

  .mobile-nav .login-btn img {
    filter: none;
  }  
}
@media (min-width: 993px) {
  .desktop-nav {
    display: block;
  }
  .mobile-nav {
    display: none !important;
  }
  .menu-toggle {
    display: none;
  }
}
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .mobile-nav {
    transform: translateY(-100%);
  }
  .mobile-nav.open {
    transform: translateY(0);
  }
}
.main-heading {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--secondary-color);
  font-weight: 700;
}

.back-link-wrapper {
  text-align: center;
}

.back-link {
  display: inline-block;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  color: #6366f1;
  font-size: large;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}
.back-link:hover {
  text-decoration: underline;
}

/* Modal Container */
.modal {
  display: block; /* Always block; visibility is controlled by .hidden */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.6);
}

/* Hides modal when class is present */
.hidden {
  display: none !important;
}

/* Modal Inner Content */
.modal-content {
  background: #fff;
  margin: 1% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  position: relative;
  animation: 0.3s ease-in-out fadeIn;
}

/* Headings and Text */
h2, p {
  text-align: center;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Close Button */
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Form Styling */
.enquiry-form label {
  font-weight: 600;
  display: block;
  margin-top: 1rem;
}

.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.25rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.enquiry-form textarea {
  resize: vertical;
}

/* Grid Layout */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

/* Submit Button (inside form) */
.enquiry-form .submit-btn {
  background: #0056b3;
  font-size: 1rem;
  border-radius: 6px;
  margin-top: 1.5rem;
  float: right;
  padding: 0.75rem 1.5rem;
  border: none;
  color: #fff;
  cursor: pointer;
}

.enquiry-form .submit-btn:hover {
  background: #004296;
}

/* External Trigger Button (if used separately) */
.open-enquiry-btn {
  background: #0069d9;
  border-radius: 5px;
  padding: 0.75rem 1.5rem;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Submit Wrapper */
.enquiry-btn-wrapper {
  text-align: right;
  margin-top: 20px;
}

/* Submit Button (bottom of form) */
.submit-enquiry-btn {
  background-color: #007bff;
  color: #fff;
  padding: 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.submit-enquiry-btn:hover {
  background-color: #0056b3;
}

.email-verification-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.email-verification-overlay .overlay-content {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.email-verification-overlay .overlay-content h2 {
  color: #223063;
  margin-bottom: 1rem;
}

.email-verification-overlay .overlay-content button {
  background: #6366f1;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
}

.email-verification-overlay .overlay-content button:hover {
  background: #4338ca;
}

.email-verification-overlay .overlay-content a button {
  margin-top: 0.75rem;
  background: #1d7735;
}

.email-verification-overlay .overlay-content a button:hover {
  background: #145d28;
}

/* Sidebar Wrapper */
.sidebar-section {
  position: sticky;
  top: 6.5rem;
  z-index: 100;
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
  max-width: 300px;
}

/* Section Title */
.sidebar-section h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.3rem;
}

/* General Labels */
.sidebar-section label {
  font-weight: 600;
  color: #333;
}

/* Search Input */
.sidebar-section input[type=search] {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

/* Buttons */
.sidebar-section button {
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  margin-top: 0.5rem;
  border: none;
  border-radius: 6px;
  background: #007bff;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.sidebar-section button:hover {
  background: #0056b3;
}

.sidebar-section button:last-child {
  background: #6c757d;
}

.sidebar-section button:last-child:hover {
  background: #5a6268;
}

/* Latest Posts List */
.sidebar-section ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sidebar-section ul li {
  margin-bottom: 0.5rem;
}

.sidebar-section ul li a {
  color: #333;
  text-decoration: none;
}

.sidebar-section ul li a:hover {
  color: #007bff;
}

/* Dropdown Style */
.custom-dropdown {
  position: relative;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f9f9;
}

.custom-dropdown .dropdown-toggle {
  padding: 0.6rem 1rem;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border-radius: 8px;
  background: #f0f0f0;
  font-size: 1rem;
}

.custom-dropdown .dropdown-toggle::after {
  content: "▼";
  float: right;
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.custom-dropdown .dropdown-options {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  max-height: 250px;
  overflow-y: auto;
  width: 100%;
}

.custom-dropdown.open .dropdown-options {
  display: block;
}

/* Checkbox Labels inside dropdown */
.custom-dropdown .dropdown-options .checkbox-option {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
}

.custom-dropdown .dropdown-options .checkbox-option input[type=checkbox] {
  margin-right: 0.5rem;
  transform: scale(1.1);
}

.custom-dropdown .dropdown-options .checkbox-option label {
  margin: 0;
  font-size: 0.95rem;
  cursor: pointer;
  flex: 1;
}

.custom-dropdown .dropdown-options .checkbox-option:hover {
  background-color: #f1f1f1;
}

/* Fieldset Styling (optional but improves grouping) */
.sidebar-section fieldset {
  border: none;
  margin-bottom: 1rem;
  padding: 0;
}

.sidebar-section legend {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #444;
}

.footer {
  background: linear-gradient(135deg, var(--light-bg), #ffffff);
  color: var(--primary-color);
  font-family: "Nunito", sans-serif;
  padding: 3rem 3rem 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 0 auto;
  gap: 2rem;
}

.footer-left {
  flex: 1;
  min-width: 250px;
}

.footer-logo-img {
  max-width: 220px;
  margin-bottom: 1rem;
}

.footer-logo-img:hover {
  transform: scale(1.05); /* Slightly enlarge logo on hover */
  transition: color 0.3s ease, transform 0.4s;
}

.footer-info p {
  margin: 0.4rem 0;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
}

.footer-info a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
}

.footer-info a:hover {
  color: var(--secondary-color);
  transform: scale(1.12);
  text-shadow: 0 2px 8px rgba(29, 119, 53, 0.25);
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.footer-middleheading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--secondary-color);
}

.footer-rightheading {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: right;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.footer-middle {
  text-align: center;
}
.footer-middle .footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.footer-middle .footer-social-icons img {
  transition: transform 0.3s ease;
}
.footer-middle .footer-social-icons img:hover {
  transform: scale(1.15);
}

.footer-right {
  flex: 1;
  min-width: 250px;
  text-align: right;
}

.footer-right h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 0.5rem 0;
}

.footer-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #444;
  border-top: 1px solid #ccc;
  padding-top: 1rem;
}

.cache-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  z-index: 10000;
  box-sizing: border-box;
}
.cache-banner .cache-banner-inner {
  padding: 1rem;
  text-align: center;
}
.cache-banner .cache-banner-inner .btn-accept,
.cache-banner .cache-banner-inner .btn-reject {
  margin-top: 0.75rem;
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  border: none;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
}
.cache-banner .cache-banner-inner .btn-accept {
  background: #4CAF50;
}
.cache-banner .cache-banner-inner .btn-reject {
  background: #f44336;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-left, .footer-middle, .footer-right, .footer-rightheading {
    text-align: center;
  }
  .footer-info p, .footer-info a {
    text-align: center;
  }
  .footer-right {
    margin-top: 1rem;
  }
  .footer-logo-img {
    max-width: 180px;
  }
}
html, body {
  height: 100%;
  margin: 0;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.btn {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 14px 28px;
  text-decoration: none;
  font-weight: 600;
  font-family: "Inter", "Segoe UI", sans-serif;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--hover-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input[type=password],
.password-wrapper input[type=text] {
  width: 100%;
  padding-right: 2.5rem; /* space for the eye icon */
  box-sizing: border-box;
}

.password-wrapper .toggle-password {
  position: absolute;
  right: 0.75rem;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  width: 1.5rem;
  height: 1.5rem;
  transition: fill 0.3s ease;
}

.password-wrapper .toggle-password:hover {
  fill: #000;
}

body.dark-mode {
  background: #121212;
  color: #e0e0e0;
}
body.dark-mode header, body.dark-mode footer {
  background: #1f1f1f;
}