:root {
  /* Color Palette */
  --blue: #3f7cac;
  --blue-light: #4e93c8;
  --brand-blue-light: #12d4f4;
  --brand-blue-med: #1097ea;
  --brand-blue-dark: #0167cd;
  --brand-blue-rgb: 0, 123, 255;
  --green: #32AB58;
  --purple: #6b5da7;
  --primary-dark: #0a100d;
  --primary-white: #ffffff;
  --secondary-white: #e7e7e7;
  --tertiary-white: #f5f5f5;

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #868e96;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --black: #000000;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 400ms ease-in-out;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f0f2f5;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.03) 1px, transparent 0),
    radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.03) 1px, transparent 0);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

.main-content {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 0 10% !important;
  position: relative;
  background-color: transparent;
  color: #2c3e50;
  z-index: 1;
}

/* Pseudo-element for the background image with opacity */
.main-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('png/background_main.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -1;
}

.main-content>* {
  position: relative;
}

.container {
  background-color: transparent;
  padding: 2rem;
  /* border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  text-align: center;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.content {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px var(--primary-dark);
  text-align: center;
  max-width: 800px;
  width: 100%;
  margin-left: 1%;
  margin-right: 1%;
}

@media (max-width: 768px) {

  .main-content {
    padding: 0 3% !important;
  }

  .container,
  .content {
    padding: 0rem;
    margin: 0 0rem;
    border-radius: 4px;
  }
}

p {
  font-size: clamp(9px, 4vw, 18px);
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

pw {
  font-size: clamp(9px, 4vw, 18px);
  margin-bottom: 1rem;
  color: var(--secondary-white);
}

h1 {
  font-family: Comfortaa, Arial, display;
  font-size: clamp(20px, 4vw, 30px);
  margin-bottom: 1.25rem;
  color: var(--blue);
}

h2 {
  font-family: Comfortaa, Arial, display;
  font-size: clamp(20px, 4vw, 30px);
  margin-bottom: 1rem;
  color: var(--blue);
}

h3 {
  font-family: Comfortaa, Arial, display;
  font-size: clamp(20px, 4vw, 30px);
  margin-bottom: 1.25rem;
  color: var(--blue-light);
}

h4 {
  font-family: Comfortaa, Arial, display;
  font-size: clamp(38px, 10vw, 58px);
  margin-bottom: 1.25rem;
  color: var(--blue-light);
}

h5 {
  text-align: left;
  font-family: Comfortaa, Arial, display;
  font-size: clamp(22px, 8vw, 30px);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  color: #17232f;
}

h6 {
  font-family: Comfortaa, Arial, display;
  font-size: clamp(28px, 8vw, 40px);
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #f7f7f7;
}

pre {
  white-space: pre-wrap;
  word-break: break-word;
}

/* Modern Navbar Styles */
.navbar {
  padding: 1rem 2rem;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: top 0.3s ease-in-out;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar.hidden {
  top: -100px;
}

.nav-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  padding: 0.5rem 0;
  transition: transform 0.2s ease;
}

.navbar-brand:hover {
  transform: scale(1.02);
}

.navbar-toggler {
  border: none;
  background: rgba(70, 130, 180, 0.08);
  padding: 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 5px;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(70, 130, 180, 0.25);
}

.navbar-toggler:hover {
  background: rgba(70, 130, 180, 0.15);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(70, 130, 180, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
}

/* Nav Links */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4a5568;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--brand-blue-med);
  background-color: rgba(70, 130, 180, 0.08);
}

.nav-link.active {
  color: #ffffff;
  background-color: var(--brand-blue-med);
  font-weight: 500;
}

/* Active Link Indicator */
.nav-item .nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--blue);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  opacity: 0;
}

.nav-item .nav-link:hover::after,
.nav-item .nav-link.active::after {
  width: 30px;
  opacity: 1;
}

.nav-link.active::after {
  background-color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .navbar {
    padding: 0.75rem 1rem;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    padding: 1rem;
    z-index: 999;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .nav-item {
    width: 100%;
    margin: 4px 0;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.85rem 1.25rem;
    text-align: left;
    border-radius: 8px;
  }

  .nav-link.active {
    padding-left: 1rem;
    border-left: 4px solid var(--blue);
  }

  .nav-link {
    font-size: 1rem;
  }

  .nav-item .nav-link::after {
    display: none;
  }
}

#map {
  margin-top: 2rem;
  height: 400px;
  border-radius: 8px;
}

#ip-address {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-blue-med);
  display: block;
  margin-top: 1rem;
}

.ip-lookup-header {
  font-family: 'Roboto', sans-serif;
  color: #ffffff !important;
  font-size: clamp(26px, 5vw, 34px);
  margin-bottom: 1rem;
}

.iplookup-subtext {
  font-size: clamp(10px, 4vw, 20px);
  color: #e9e9e9;
  align-items: center;
  text-align: left;
  max-width: 100%;
  margin-bottom: 2rem;
}

#search-container {
  background-color: var(--purple);
  display: flex;
  text-align: left;
  border-radius: 8px;
  flex-direction: column;
  padding: 20px;
  margin-bottom: 2rem;
  box-shadow: 0 8px 8px rgba(1, 0, 0, 0.1);
}

#search-form {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  /* Ensure children stretch to the same height */
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

#search-form input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  flex: 1;
  /* Make the input take up the remaining space */
  margin-right: 10px;
  /* Add some spacing between the input and button */
  margin-bottom: 0;
  /* Remove the bottom margin */
}

/* COLLAPSIBLE STYLES */
.collapsible {
  background-color: var(--tertiary-white);
  color: var(--blue);
  outline: none;
  cursor: pointer;
  padding: var(--space-md);
  width: 100%;
  border: none;
  border-radius: 12px 12px;
  text-align: left;
  font-size: clamp(14px, 4vw, 28px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
  position: relative;
  z-index: 1;
}

.collapsible:hover,
.collapsible.active {
  outline: none;
  background-color: #2c6aa0;
  color: var(--white);
}

.content-collapsible {
  background-color: #f1f5f9;
  padding: var(--space-md);
  border-radius: 0 0 12px 12px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  max-height: 0;
  overflow: hidden;
  position: relative;
  top: -1px;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  padding: 0 !important;
  border-width: 0;
  margin: 0;
  transition:
    max-height var(--transition-normal),
    padding var(--transition-fast),
    opacity 0.3s ease;
}

.content-collapsible.active {
  max-height: 1000px;
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  opacity: 1;
  visibility: visible;
  border-width: 1px;
}

.content-collapsible pre:not(.vscode-json) {
  background-color: #f1f5f9;
  border-radius: 0px;
  padding: 1rem;
  margin: 0;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.95rem;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre-wrap;
  transition: color 200ms ease-in-out;
}

.content-collapsible pre:hover:not(.vscode-json) {
  color: var(--blue);
}

.collapsible,
.content-collapsible {
  border: 1px solid #d4dee8;
  box-shadow: none;
}

.collapsible::after {
  content: '+';
  float: right;
  transition: transform 0.3s;
}

.collapsible.active::after {
  content: '−';
  transform: rotate(180deg);
}

.collapsible.active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.results {
  font-size: 1.1rem;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  padding: 0.5rem 0;
  color: #1f2937;
}

.vscode-json {
  background-color: #1e1e1e;
  color: #d4d4d4;
  margin-bottom: 0rem;
  font-family: 'Fira Code', monospace;
  font-size: 0.875rem;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.vscode-json .key {
  color: #9cdcfe;
}

.vscode-json .value {
  color: #ce9178;
}

.vscode-json .number {
  color: #b5cea8;
}

.vscode-json .boolean {
  color: #569cd6;
}

.vscode-json .null {
  color: #569cd6;
  font-style: italic;
}

table {
  text-align: left;
  justify-content: center;
}

td {
  padding-right: 1rem;
}

.results-label {
  color: #ffffff;
  font-size: clamp(8px, 4vw, 16px);
}

.results {
  color: #95d4ff;
  font-size: clamp(8px, 4vw, 16px);
}

/* FAQ Formatting */
.faq {
  background-color: #ffffff;
  padding: 8rem;
  border-radius: 8px;
  text-align: left;
  max-width: 100%;
  width: 100%;
}

.faq-subtext {
  font-size: clamp(8px, 4vw, 16px);
  margin-bottom: 1rem;
  color: #2c3e50;
}

.faq-ul {
  font-size: clamp(8px, 4vw, 16px);
  margin-bottom: 1rem;
  color: #2c3e50;
}

/* Button Formatting */
button[type="submit"] {
  font-family: 'Roboto', sans-serif;
  background-color: var(--brand-blue-med);
  color: white;
  padding: 2px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
  /* No need for additional height adjustments */
}

button[type="submit"]:hover {
  background-color: var(--brand-blue-light);
}

button[type="redirect-button"] {
  background-color: var(--blue);
  color: white;
  padding: 14px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 20px;
  transition: 0.3s;
  box-shadow: 0 8px 8px rgba(1, 0, 0, 0.1);
}

button[type="redirect-button"]:hover {
  background-color: #40a9ff;
}

.redirect-button {
  padding: 10px 20px;
  background-color: #4682b4;
  /* Green background */
  color: white;
  /* White text */
  border: none;
  border-radius: 5px;
  /* Rounded corners */
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 8px 8px rgba(1, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  /* Smooth transition */
}

.redirect-button:hover {
  background-color: #589dd5;
  /* Darker green on hover */
}

/* Consolidated card styles */
.content-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
}

@media (max-width: 768px) {

  .content-card {
    padding: 1.5rem;
  }
}

/* Improved form layout */
.search-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.search-form input {
  flex: 1;
  min-width: 250px;
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
}

/* Unified button styles */
.primary-button {
  background: var(--brand-blue-med);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.primary-button:hover {
  background: var(--brand-blue-light);
  text-decoration: none;
}

/* Results styling */
.result-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(224, 224, 224, 0.4);
  position: relative;
  overflow: hidden;
}

.result-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4299e1 0%, #48bb78 50%, #4299e1 100%);
}

@media (max-width: 768px) {

  .result-container {
    padding: 1rem;
    margin: 2rem 0;
  }
}

.results-label {
  color: #ffffff;
  font-size: clamp(8px, 4vw, 16px);
}

.results {
  color: #95d4ff;
  font-size: clamp(8px, 4vw, 16px);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.result-item {
  display: flex;
  flex-direction: column;
  padding: 0.25rem;
  background: var(--tertiary-white);
  border-radius: 8px;
  transition: transform 0.2s ease, background-color 300ms ease-in-out;
}

.result-item:hover {
  background: #eff7fd;
}

.result-item:last-child {
  border-bottom: none;
}

.result-label {
  font-weight: 600;
  color: #2d3748;
  min-width: 120px;
}

.result-value {
  color: #4a5568;
  transition: color 300ms ease-in-out;
}

.result-value:hover {
  color: #004e71;
}

/* FAQ improvements */
.faq-item {
  margin: 1.5rem 0;
  padding: 1rem;
  border-left: 3px solid var(--green);
  transition: border-left 200ms ease-in-out, border-radius 200ms ease-in-out, box-shadow 200ms ease-in-out;
}

.faq-item:hover {
  border-radius: 0.5rem;
  border-left: 0.4rem solid #35b82e;
  background-color: #00ccff03;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  font-family: Comfortaa, Arial, display;
  color: #1b2535;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .search-form {
    flex-direction: column;
  }

  .result-item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .result-label {
    min-width: auto;
  }
}

/* Header Logo */
.search-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.header-logo {
  height: 50px;
  border-radius: 8px;
}

/* Map Container */
.map-container {
  height: 400px;
  margin-top: 2rem;
  border-radius: 8px;
  background: #f8fafc;
}

/* Result Grid */
.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Disclaimer Text */
.disclaimer {
  font-size: 0.9rem;
  color: #718096;
  margin-top: 1.5rem;
  text-align: center;
}

/* FAQ List */
.faq-list {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.faq-list li {
  margin-bottom: 0.5rem;
  font-size: clamp(9px, 4vw, 18px);
  margin-bottom: 1rem;
  color: #2c3e50;
}

/* Text Center Helper */
.text-center {
  text-align: center;
}

/* HOMEPAGE LAYOUT */
.dashboard {
  padding: 1rem;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 3rem;
}

.dashboard-title {
  font-size: 2.5rem;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

/* Card Container Styles */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.icon-container {
  position: relative;
  margin-bottom: 1rem;
  width: 180px;
  height: 180px;
}

.card-image {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.4s ease, transform 0.6s ease;
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
}

.default-img {
  opacity: 1;
  z-index: 1;
}

.hover-img {
  opacity: 0;
  z-index: 2;
  transform: rotate(-90deg);
  /* So it rotates into place */
}

.tool-card:hover .default-img {
  opacity: 0;
  transform: rotate(90deg);
  /* Rotates out */
}

.tool-card:hover .hover-img {
  opacity: 1;
  transform: rotate(0deg);
  /* Rotates in */
}

/* Card Styles */
.tool-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  min-height: 280px;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.tool-card *,
.tool-card:hover * {
  text-decoration: none;
}

/* Icon Styles */
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0099ff;
}

/* Title Styles */
.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #222;
}

/* Description Styles */
.card-description {
  font-family: Comfortaa, Arial, display;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #666;
  flex-grow: 1;
}

/* Call to Action Button */
.card-cta {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  color: #0099ff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tool-card:hover .card-cta {
  background-color: var(--brand-blue-med);
  color: white;
}

/* Dashboard Header Styles */
.dashboard {
  padding: 1rem 0;
  background-color: transparent;
  min-height: calc(100vh - 100px);
}

/* Make it responsive */
@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1.5rem;
  }

  .tool-card {
    padding: 1.5rem;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-description {
    font-size: 0.85rem;
  }

  .card-cta {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }
}

/* Extra small screens (<480px) */
@media (max-width: 480px) {
  .cards-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tool-card {
    padding: 1rem;
    min-height: auto;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-description {
    font-size: 0.8rem;
  }

  .card-cta {
    font-size: 0.8rem;
  }
}

/* SLICE DESKTOP PAGE */
.desktop {
  text-align: center;
  background-color: transparent;
  box-shadow: none;
}

@media (max-width: 768px) {

  .download {
    padding: 0.5rem;
    margin-bottom: 1rem;
  }
}

.container-release {
  background-color: #dbdbdb;
  text-align: left;
  margin-top: 3rem;
  padding: 0.05rem 1rem 5rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Button Formatting */
button[type="download"] {
  font-family: 'Roboto', sans-serif;
  background-color: var(--green);
  color: white;
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: clamp(1rem, 4vw, 1.5rem);
  transition: 0.3s;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

button[type="download"]:hover {
  background-color: #298241;
}

.desktop-image {
  height: 250px;
  width: 250px;
  padding-bottom: 2rem;
}

.release-notes {
  background-color: #ffffff;
  border-color: #475890;
  border: 20px;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 0rem;
}

/* SYSTEM REQUIREMENTS CONTAINER */
.requirements {
  max-width: 90%;
  margin: auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-top: 4rem;
}

@media (max-width: 768px) {

  .requirements {
    padding: 1rem;
    max-width: 100%;
    margin: 1rem auto;
    width: 100%;
  }
}

.requirements h2 {
  text-align: center;
  color: #111827;
  margin-bottom: 1.5rem;
  font-size: clamp(1.25rem, 4vw, 2rem);
}

ul.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.checklist li {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

ul.checklist li:last-child {
  border-bottom: none;
}

.check-icon {
  color: #10b981;
  margin-right: 0.75rem;
  font-size: clamp(1rem, 4vw, 1.5rem);
}

.requirement-name {
  font-weight: 600;
  font-size: clamp(0.9rem, 3.5vw, 1rem);
}

.requirement-detail {
  color: #6b7280;
  font-size: clamp(0.8rem, 3.5vw, 0.95rem);
  margin-left: auto;
}

/* WHY CHOOSE US CONTAINER */
.grid-container {
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* margin: 1.5rem 0; */
  padding: 2rem 2rem;
  margin-bottom: 0rem;
  background-color: #151727;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  width: 70%;
  max-width: 100%;
  gap: 1.5rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin: 0 auto;
}

.card {
  background-color: #ffffff;
  opacity: 0.75;
  text-align: left;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.card .icon {
  font-size: 2rem;
}

/* .card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #233d63;
} */

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: #33475b;
  line-height: 1.5;
}

/* Specific spans */
.span-4 {
  grid-column: span 4;
}

.span-8 {
  grid-column: span 8;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 1rem;
  }

  .span-4,
  .span-8 {
    grid-column: span 12;
  }
}

/* PRODUCT DEMO CONTAINER */
.feature-card {
  background-color: #ffffff;
}

.feature-block {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  gap: 2rem;
  margin-bottom: 1rem;
  padding: 1.5rem;
  background-color: transparent;
  border-radius: 1rem;
}

/* Stack on mobile/small screens */
.feature-image,
.feature-text {
  width: 100%;
}

/* Row layout starts at large screen */
@media (min-width: 1280px) {

  .feature-block:nth-child(even) {
    flex-direction: row-reverse;
  }

  .feature-block {
    flex-direction: row;
    align-items: center;
  }

  .feature-image {
    width: 66.66%;
    display: flex;
    align-items: center;
  }

  .feature-text {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 2rem;
  }
}

@media (max-width: 1279px) {
  .feature-image {
    order: 0;
  }

  .feature-text {
    order: 1;
  }
}

.feature-image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .feature-image img {
    max-width: 100%;
  }
}

/* Text styling */
.feature-text h3 {
  font-size: var(--text-2xl);
  font-family: Comfortaa, Arial, display;
  margin-bottom: 1rem;
  color: var(--blue);
}

.feature-text p {
  font-size: var(--text-xl);
  color: var(--gray-700);
}

/* Hidden state before animation */
.animate-slide-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Active state: element is visible */
.animate-slide-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* NETWORK DIAGRAM STYLES */
.diagram-container {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 5%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 1rem auto;
}

.diagram-left {
  flex: 1;
  position: relative;
  max-width: 50%;
}

.image-map-container {
  position: relative;
}

.diagram-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.info-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fbfbfb;
  border: 2px solid rgb(165, 206, 255);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
}

.info-dot:hover:not(.active) {
  background-color: var(--brand-blue-light);
  transform: scale(1.2);
}

.info-dot.active {
  background-color: var(--brand-blue);
  animation: pulse 2s infinite;
  background-color: var(--brand-blue-light);
  transform: scale(1.1);
}

.info-dot .tooltip {
  pointer-events: none;
}

.router-dot {
  top: 43%;
  left: 80%;
}

.switch-dot {
  top: 49%;
  left: 58.3%;
}

.server-dot {
  top: 23%;
  left: 29%;
}

.workstation-dot {
  top: 90%;
  left: 88%;
}

.internet-dot {
  top: 30%;
  left: 98%;
}

.slice-dot {
  top: 79%;
  left: 18%;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(var(--brand-blue-rgb), 0.7);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(var(--brand-blue-rgb), 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(var(--brand-blue-rgb), 0);
  }
}

/* DIAGRAM INFO STYLES */
.diagram-right {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 50%;
  padding: 1rem;
  margin-top: 5%;
  /* border-left: 1px solid #ddd; */
}

.diagram-right h2 {
  margin-bottom: 5%;
}

.dot-info-details {
  background-color: var(--tertiary-white);
  width: 100%;
  margin-left: 2%;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.fade-out {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.fade-in {
  opacity: 0;
  transform: translateY(10px);
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .diagram-container {
    flex-direction: column;
    padding: 1rem;
  }

  .diagram-left,
  .diagram-right {
    max-width: 100%;
    width: 100%;
  }

  .diagram-right {
    border-left: none;
    /* border-top: 1px solid #ddd; */
    padding: 1rem 0 0 0;
  }

  .dot-info-details {
    margin-left: 0%;
  }
}

/* ABOUT PAGE */
/*==============================================*/

.about-container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
  padding-bottom: 2rem;
}

p.intro {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-4px);
}

.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.team-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #1f2937;
}

.team-role {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.85rem;
  color: #4b5563;
}

/* FOOTER STYLES */
/*  ============================================== */
.footer {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e9ecef;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 0rem;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.footer-copyright {
  text-align: center;
  color: #cecece;
  font-size: 0.7rem;
  width: 100%;
  order: 2;
  margin-top: auto;
  padding-top: 0rem;

}

.footer-linkedin,
.footer-logo {
  flex: 1;
}

.footer-linkedin {
  text-align: left;
}

.footer-linkedin a {
  display: inline-block;
}

.footer-linkedin svg {
  width: 25px;
  height: 25px;
  transition: transform 0.2s ease;
}

.footer-linkedin svg:hover {
  transform: scale(1.1);
}

.footer-logo {
  text-align: right;
}

.footer-logo img {
  height: 25px;
  width: auto;
  transition: transform 0.2s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 1rem;
  }

  .footer-content {
    flex-wrap: nowrap;
    /* Prevents wrapping */
    gap: 1rem;
    /* Adds space between items */
    margin-bottom: 1.5rem;
  }

  /* Optional: Scale down logos on very small screens */
  @media (max-width: 480px) {
    .footer-linkedin svg {
      width: 25px;
      height: 25px;
    }
  }
}