* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #e8eef7;
  background: #0a1628;
}

/* Bold headers for visual hierarchy */
h1,
h2,
h3 {
  font-weight: 700;
}

/* Smooth scrolling with offset for fixed navbar */
html {
  scroll-padding-top: 90px;
}

header {
  background: linear-gradient(
    135deg,
    rgba(232, 244, 248, 0.97) 0%,
    rgba(220, 240, 247, 0.97) 100%
  );
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid rgba(26, 95, 122, 0.3);
  box-shadow: 0 4px 20px rgba(26, 95, 122, 0.15);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.logo:hover {
  opacity: 0.85;
}

.logo:focus {
  outline: 2px solid #2d8ba6;
  outline-offset: 4px;
  border-radius: 4px;
}

.logo img {
  height: 90px;
  width: auto;
  display: block;
  background: transparent;
  margin: -0.3rem 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
}

nav a {
  color: #0d5f7a;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

nav a:hover {
  color: #2d8ba6;
  transform: translateY(-1px);
}

nav a:focus {
  outline: 2px solid #2d8ba6;
  outline-offset: 4px;
  border-radius: 4px;
}

.referral-link {
  background: linear-gradient(135deg, #2d8ba6 0%, #3da9c9 100%);
  color: #ffffff !important;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 600 !important;
}

.referral-link:hover {
  background: linear-gradient(135deg, #3da9c9 0%, #2d8ba6 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 139, 166, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #0d5f7a;
  margin: 3px 0;
  transition: all 0.3s;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.hero {
  margin-top: 70px;
  background: linear-gradient(180deg, #0a1f2e 0%, #1a5f7a 100%);
  color: white;
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(45, 139, 166, 0.15) 0%,
    transparent 70%
  );
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.cta-button {
  display: inline-block;
  background: #2d8ba6;
  color: white;
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 400;
  font-size: 1rem;
  transition: all 0.3s;
  border: 2px solid #2d8ba6;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.cta-button:hover {
  background: transparent;
  border-color: #3da9c9;
  transform: translateY(-2px);
}

.cta-button:focus {
  outline: 3px solid #3da9c9;
  outline-offset: 4px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

section {
  margin-bottom: 6rem;
  padding-top: 3rem;
}

h2 {
  font-size: 2.5rem;
  color: #e8eef7;
  margin-bottom: 3.5rem;
  text-align: center;
  letter-spacing: 0.5px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: rgba(26, 95, 122, 0.2);
  padding: 2.25rem;
  border-radius: 16px;
  border: 1px solid rgba(45, 139, 166, 0.25);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2d8ba6, #3da9c9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(45, 139, 166, 0.5);
  background: rgba(26, 95, 122, 0.3);
  box-shadow: 0 12px 24px rgba(26, 95, 122, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #2d8ba6 0%, #3da9c9 100%);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(45, 139, 166, 0.3);
  transition: all 0.3s ease;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: #ffffff;
  stroke-width: 2;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, #3da9c9 0%, #2d8ba6 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(45, 139, 166, 0.4);
}

.service-card h3 {
  color: #e8eef7;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  line-height: 1.25;
  letter-spacing: 0.3px;
}

.service-card p {
  color: #cbd5e1;
  font-weight: 300;
  line-height: 1.65;
  font-size: 0.98rem;
  margin-bottom: 0;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.15rem;
  color: #cbd5e1;
  font-weight: 300;
  line-height: 1.8;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 3.5rem auto 0;
}

.equipment-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #ffffff;
  border: 1px solid rgba(45, 139, 166, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.equipment-card:hover {
  transform: scale(1.02);
  border-color: rgba(61, 169, 201, 0.4);
  box-shadow: 0 16px 40px rgba(26, 95, 122, 0.35);
}

.equipment-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.equipment-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.equipment-card:hover .equipment-image img {
  transform: scale(1.05);
}

.equipment-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(10, 22, 40, 0.95) 0%,
    rgba(10, 22, 40, 0.85) 50%,
    rgba(10, 22, 40, 0) 100%
  );
  padding: 2rem 1.75rem 1.5rem 1.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.equipment-card:hover .equipment-overlay {
  background: linear-gradient(
    to top,
    rgba(26, 95, 122, 0.95) 0%,
    rgba(26, 95, 122, 0.85) 50%,
    rgba(26, 95, 122, 0) 100%
  );
  padding: 2.25rem 1.75rem 1.75rem 1.75rem;
}

.equipment-category-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(45, 139, 166, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(61, 169, 201, 0.3);
  transition: all 0.3s ease;
  z-index: 2;
}

.equipment-card:hover .equipment-category-badge {
  background: rgba(61, 169, 201, 1);
  box-shadow: 0 4px 12px rgba(45, 139, 166, 0.4);
}

.equipment-details {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.equipment-card:hover .equipment-details {
  transform: translateY(-4px);
}

.equipment-details h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  letter-spacing: 0.3px;
  font-weight: 600;
}

.equipment-details p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 300;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 4rem auto;
}

.contact-card {
  background: rgba(26, 95, 122, 0.2);
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(61, 169, 201, 0.3);
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(61, 169, 201, 0.6);
  background: rgba(26, 95, 122, 0.3);
}

.contact-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(45, 139, 166, 0.15) 0%,
    rgba(61, 169, 201, 0.15) 100%
  );
  border-radius: 50%;
  border: 2px solid rgba(45, 139, 166, 0.25);
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
}

.contact-icon svg {
  width: 40px;
  height: 40px;
  stroke: #3da9c9;
  stroke-width: 2;
}

.contact-card:hover .contact-icon {
  background: linear-gradient(
    135deg,
    rgba(45, 139, 166, 0.25) 0%,
    rgba(61, 169, 201, 0.25) 100%
  );
  border-color: rgba(61, 169, 201, 0.5);
  transform: scale(1.08);
}

.contact-card h3 {
  color: #3da9c9;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  letter-spacing: 0.3px;
}

.contact-card a {
  color: #e8eef7;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 400;
}

.contact-card a:hover {
  color: #3da9c9;
}

.contact-card p {
  color: #cbd5e1;
  font-weight: 300;
  line-height: 2;
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.contact-card p strong {
  color: #3da9c9;
  font-weight: 400;
}

.download-section {
  background: linear-gradient(135deg, #1a5f7a 0%, #2d8ba6 100%);
  color: white;
  padding: 3.5rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 3rem;
  border: 1px solid rgba(45, 139, 166, 0.3);
}

.download-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

.download-section p {
  font-weight: 300;
  opacity: 0.9;
}

.download-button {
  display: inline-block;
  background: white;
  color: #1e3a8a;
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 400;
  font-size: 1rem;
  margin-top: 1.5rem;
  transition: all 0.3s;
  border: 1px solid white;
  letter-spacing: 0.5px;
}

.download-button:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
}

.download-button:focus {
  outline: 3px solid white;
  outline-offset: 4px;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-content p {
  color: #cbd5e1;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: rgba(26, 95, 122, 0.25);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(45, 139, 166, 0.3);
  text-align: center;
  transition: all 0.3s;
}

.value-card:hover {
  border-color: rgba(45, 139, 166, 0.6);
  transform: translateY(-5px);
}

.value-icon {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(
    135deg,
    rgba(45, 139, 166, 0.2) 0%,
    rgba(61, 169, 201, 0.2) 100%
  );
  border-radius: 50%;
  border: 2px solid rgba(45, 139, 166, 0.3);
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
}

.value-icon svg {
  width: 36px;
  height: 36px;
  stroke: #3da9c9;
  stroke-width: 2;
}

.value-card:hover .value-icon {
  background: linear-gradient(
    135deg,
    rgba(45, 139, 166, 0.3) 0%,
    rgba(61, 169, 201, 0.3) 100%
  );
  border-color: rgba(61, 169, 201, 0.6);
  transform: scale(1.1);
}

.value-card h3 {
  color: #3da9c9;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  letter-spacing: 0.3px;
}

.value-card p {
  color: #cbd5e1;
  font-weight: 300;
  line-height: 1.6;
}

.contact-form {
  max-width: 600px;
  margin: 3rem auto;
  background: rgba(26, 95, 122, 0.25);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid rgba(45, 139, 166, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #3da9c9;
  font-weight: 400;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: rgba(10, 22, 40, 0.5);
  border: 1px solid rgba(45, 139, 166, 0.3);
  border-radius: 6px;
  color: #e8eef7;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2d8ba6;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-button {
  width: 100%;
  background: #2d8ba6;
  color: white;
  padding: 1rem;
  border: 2px solid #2d8ba6;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.submit-button:hover {
  background: transparent;
  border-color: #3da9c9;
}

.submit-button:focus {
  outline: 3px solid #3da9c9;
  outline-offset: 4px;
}

.hamburger:focus {
  outline: 2px solid #2d8ba6;
  outline-offset: 4px;
  border-radius: 4px;
}

footer {
  background: #0a1628;
  color: #cbd5e1;
  text-align: center;
  padding: 2.5rem;
  border-top: 2px solid rgba(45, 139, 166, 0.3);
  font-weight: 300;
}

/* Skip to content link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 0;
  background: #2d8ba6;
  color: white;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  z-index: 10001;
  border-radius: 0 0 4px 0;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s;
}

.skip-link:focus {
  top: 0;
  opacity: 1;
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
  .services-grid {
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.75rem;
  }

  .equipment-tabs {
    min-width: 300px;
  }

  .equipment-image-large {
    height: 380px;
  }

  .equipment-details {
    padding: 2rem 2.5rem;
  }

  .equipment-details h3 {
    font-size: 1.65rem;
  }

  .tab-thumbnail {
    width: 70px;
    height: 52px;
  }

  .tab-button {
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 5rem 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .container {
    padding: 2rem 1rem;
  }

  nav {
    padding: 0 1rem;
  }

  .logo img {
    height: 70px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 72px;
    flex-direction: column;
    background: linear-gradient(
      135deg,
      rgba(232, 244, 248, 0.98) 0%,
      rgba(220, 240, 247, 0.98) 100%
    );
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    transition: left 0.3s;
    box-shadow: 0 10px 27px rgba(26, 95, 122, 0.2);
    gap: 0;
    padding: 2rem 0;
    border-top: none;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(26, 95, 122, 0.2);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    font-size: 1.2rem;
    display: block;
    width: 100%;
    color: #0d5f7a;
  }

  .nav-menu .referral-link {
    display: inline-block;
    width: auto;
    margin: 0.5rem auto;
  }

  .services-grid,
  .contact-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-grid {
    max-width: 100%;
  }

  .equipment-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .equipment-card {
    aspect-ratio: 3 / 2;
  }

  .equipment-image {
    padding: 0;
  }

  .equipment-overlay {
    padding: 1.75rem 1.5rem 1.25rem 1.5rem;
  }

  .equipment-details h3 {
    font-size: 1.2rem;
  }

  .equipment-details p {
    font-size: 0.9rem;
  }

  .equipment-category-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.85rem;
    top: 1rem;
    left: 1rem;
  }

  .service-card,
  .contact-card,
  .value-card {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .download-section {
    padding: 2rem 1.5rem;
  }

  .download-section h3 {
    font-size: 1.5rem;
  }

  .cta-button,
  .download-button {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .logo img {
    height: 65px;
  }

  .service-card {
    padding: 1.5rem;
    min-height: auto;
  }

  .service-card h3,
  .contact-card h3,
  .value-card h3 {
    font-size: 1.15rem;
  }

  .equipment-info h3 {
    font-size: 1.1rem;
  }

  .equipment-info p {
    font-size: 0.9rem;
  }

  .service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
  }

  .service-icon svg {
    width: 28px;
    height: 28px;
  }

  .value-icon {
    width: 64px;
    height: 64px;
  }

  .value-icon svg {
    width: 32px;
    height: 32px;
  }

  .contact-icon {
    width: 70px;
    height: 70px;
  }

  .contact-icon svg {
    width: 36px;
    height: 36px;
  }

  .service-card p {
    font-size: 0.92rem;
  }

  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .equipment-card {
    aspect-ratio: 3 / 2;
  }

  .equipment-image {
    padding: 0;
  }

  .equipment-overlay {
    padding: 1.5rem 1.25rem 1rem 1.25rem;
  }

  .equipment-details h3 {
    font-size: 1.1rem;
  }

  .equipment-details p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .equipment-category-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
    top: 0.85rem;
    left: 0.85rem;
  }
}
