/* =========================================
   BRAND COLORS
========================================= */
:root {
  --primary-blue: #0046b8;
  --secondary-orange: #f58220;
  --dark-blue: #022b6b;
  --light-gray: #f5f7fb;
  --text-dark: #222;
  --text-light: #fff;
}

/* =========================================
   RESET
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  background: linear-gradient(to bottom, #e8f0ff, #f7f9fc);
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================================
   HEADER + NAVIGATION
========================================= */
header {
  background: #183762; 
  backdrop-filter: blur(10px) saturate(160%);
  color: #ffffff;
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
}


nav {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
  height: 50px;
  background: #f8faff;
  border-radius: 8px;
  padding: 4px;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color .3s;
}

.nav-links a:hover {
  color: var(--secondary-orange);
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 26px;
  background: #fff;
  margin-bottom: 5px;
  border-radius: 5px;
}

/* MOBILE NAVIGATION */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--dark-blue);
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 1rem 0;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* =========================================
   FULL-WIDTH HERO IMAGE
========================================= */
.hero-full {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-image {
  width: 100%;
  height: 380px;
  background: url('../img/hero-tech.jpg') center/cover no-repeat;
}

@media (max-width: 768px) {
  .hero-image {
    height: 250px;
  }
}

/* =========================================
   MAIN HOMEPAGE MESSAGE SECTION
========================================= */
.hero-content {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  text-align: left;
}

.hero-content h1 {
  font-size: 2.2rem;
  color: var(--dark-blue);
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #333;
  line-height: 1.7;
}

/* QUOTE */
.homepage-quote {
  margin-top: 2rem;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--primary-blue);
  text-align: center;
}

.quote-author {
  font-size: 1rem;
  color: #555;
}

/* BUTTONS */
.hero-buttons {
  text-align: center;
  margin-top: 2rem;
}

.hero-buttons .btn {
  margin: 0.5rem;
}

/* =========================================
   BUTTON STYLES
========================================= */
.btn {
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: transform .2s, box-shadow .2s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-primary {
  background: var(--secondary-orange);
  color: #fff;
}

.btn-outline {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}

/* =========================================
   PAGE CONTAINER
========================================= */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1rem;
}

/* =========================================
   CONTACT PAGE
========================================= */
.contact-hero {
  background: url('../img/contact-bg.jpg') center/cover no-repeat;
  padding: 4rem 1rem;
  text-align: center;
  color: #fff;
}

/* Contact form wrapper */
.contact-form-section {
  max-width: 600px;
  margin: auto;
  padding: 2rem 1rem;
}

/* CONTACT FORM INPUTS */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.85);
  color: #0b1f3b;
  font-family: inherit;
  font-size: 1rem;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

/* Focus effect */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f58220;
  background: #fff;
  outline: none;
  box-shadow: 0 0 8px rgba(245,130,32,0.35);
}

/* Message box */
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Contact section container */
.contact-section {
  background: rgba(255,255,255,0.55); /* softer, blends with home */
  backdrop-filter: blur(8px);
  padding: 2.5rem;
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: 2rem auto;
}

/* Center all main contact text */
.contact-title,
.contact-intro,
.contact-list {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  color: #0b1f3b;
}

.contact-title {
  font-size: 2rem;
  font-weight: 700;
}

.contact-intro {
  font-size: 1.15rem;
}

.contact-list li {
  font-size: 1.1rem;
}

.contact-form input,
.contact-form textarea {
  font-size: 1.05rem;
}


/* Bullet list alignment */
.contact-list {
  list-style: disc;
  padding-left: 1.5rem;
  max-width: 600px;
  display: inline-block;
  text-align: left;
}

.contact-list li {
  margin: 0.3rem 0;
  color: #0b1f3b;
}

/* Limit width of entire contact block */
.contact-section .container {
  max-width: 900px;
  margin: 0 auto;
}

/* =========================================
   BLOG PAGE
========================================= */
.blog-post {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  border: 1px solid #ddd;
}

.blog-post h2 {
  color: var(--primary-blue);
  margin-bottom: .5rem;
}

.blog-post small {
  color: #777;
}

/* =========================================
   FOOTER
========================================= */
footer {
  background: var(--dark-blue);
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
}

/* NATURAL WATER-GLASS EFFECT */
.nav-links a {
  position: relative;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  overflow: hidden;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.05); /* subtle glass base */
  backdrop-filter: blur(3px) saturate(140%);
}

/* Water refraction animation */
.nav-links a::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(255,255,255,0.25),
    rgba(255,255,255,0.05)
  );
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.6s ease;
  border-radius: 50%;
  mix-blend-mode: screen; /* makes it adapt to header color */
}

/* Hover = soft ripple + adaptive color */
.nav-links a:hover::before {
  opacity: 1;
  transform: scale(1.2);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px) saturate(180%);
  box-shadow: 0 0 10px rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ACTIVE TAB (stabilized water effect) */
.nav-links a.active {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px) saturate(200%);
  box-shadow: 0 0 14px rgba(255,255,255,0.35);
  color: var(--secondary-orange);
  transform: translateY(-2px);
}

/* Active tab keeps the water glow */
.nav-links a.active::before {
  opacity: 1;
  transform: scale(1.4);
}

/* =========================================
   PROFESSIONAL LOCATIONS CARDS
========================================= */
.contact-locations h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 1.5rem;
}

.location-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}

.location-cards div {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  padding: 1.8rem 2rem;
  flex: 1 1 280px; /* responsive card width */
  max-width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.location-cards div:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.location-cards div h3 {
  font-size: 1.4rem;
  color: var(--primary-blue);
  margin-bottom: 0.8rem;
}

.location-cards div p {
  font-size: 1rem;
  color: #1a1a1a;
  margin: 0.4rem 0;
}

.location-cards div a {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 600;
  color: var(--secondary-orange);
  text-decoration: none;
  transition: color 0.3s;
}

.location-cards div a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}