/* General Body Styling */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #dcdcdc;
    background-image: radial-gradient(circle, rgba(255,255,255,0.4) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Top Navigation */
.top-nav {
    background: #333;
    color: white;
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    text-align: center;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav Slide-in */
.nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    background: #333;
    position: absolute;
    top: 50px;
    right: 0;
    width: 180px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.nav-links.mobile-active.show {
    transform: translateX(0);
}

/* position and resize hero image */

.hero-image {
  width: 150px;        /* set width (auto keeps proportions) */
  height: auto;        /* keep aspect ratio */
  margin-right: 1rem;
  
  position: absolute;  /* lets you place it anywhere */
  top: 0px;           /* distance from top of container */
  left: 0px;          /* distance from left of container */
}
/* Layout Container & Columns */
.container {
    display: flex;
    min-height: 100vh;
    box-sizing: border-box;
    padding: 10px 0;
}

.col {
    box-sizing: border-box;
}

.left, .right {
    width: 10%;
}

.middle {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Realistic Paper Styling */
.paper {
    position: relative;
    background: white;
    width: 100%;
    max-width: 800px;
    min-height: 1000px;
    padding: 20px;
    border-radius: 6px;
    background-image: linear-gradient(white, #f9f9f9);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.15),
        inset 0 0 1px rgba(0, 0, 0, 0.1),
        inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.paper::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 15%, rgba(0,0,0,0.05) 0, transparent 60%),
        radial-gradient(1px 1px at 70% 40%, rgba(0,0,0,0.04) 0, transparent 60%),
        radial-gradient(1px 1px at 35% 75%, rgba(0,0,0,0.04) 0, transparent 60%),
        radial-gradient(1px 1px at 85% 85%, rgba(0,0,0,0.03) 0, transparent 60%);
    background-size: 200px 200px, 220px 220px, 240px 240px, 260px 260px;
    opacity: 0.4;
    pointer-events: none;
}

/* Bottom Mobile Nav */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    z-index: 1000;
}

.bottom-nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

/* Mobile (<768px) */
@media (max-width: 767px) {
    body {
        padding: 3px;
    }
    .left, .right {
        display: none;
    }
    .middle {
        width: 100%;
    }
    .nav-links {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .bottom-nav {
        display: flex;
    }
    .hero-image {
      width: 87px;        /* set width (auto keeps proportions) */
      height: auto;        /* keep aspect ratio */
      margin-right: 1rem;
    }
}

/* Tablet (≥768px and <1024px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .left, .right {
        display: none;
    }
    .middle {
        width: 100%;
    }
    .container {
        margin: 3px;
        padding: 0;
    }
    .bottom-nav {
        display: none;
    }
}

/* Laptop/Desktop (≥1024px) */
@media (min-width: 1024px) {
    .left, .right {
        display: block;
    }
    .middle {
        width: 80%;
    }
    .container {
        padding: 10px 0;
        margin: 0;
    }
    .bottom-nav {
        display: none;
    }
}
.service {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.service:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

.service h2 {
  color: #222;
  margin-top: 0;
}

.service p {
  line-height: 1.6;
  margin-top: 10px;
}

@media (min-width: 768px) {
    .services-container {
       flex: 1 1 calc(50% - 1.5rem) !important;
    }
  }

  @media (min-width: 1024px) {
    .services-container {
       flex: 1 1 calc(33.333% - 1.5rem) !important;
    }
  }

  /* Headline + Tagline Styling */
  .hero {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #0066cc, #003366);
    color: #fff;
    border-radius: 8px;
    margin-bottom: 2rem;
  }

  .hero .headline {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    letter-spacing: 1px;
  }

  .hero .tagline {
    font-size: 1.25rem;
    margin-top: 0.5rem;
    font-weight: 300;
    opacity: 0.9;
    color: white;
  }

  /* Section Titles */
  h2 {
    font-size: 1.5rem;
    margin-top: 0;
    color: #333;
  }

  /* Paragraph Styling */
  section p {
    color: #555;
    line-height: 1.6;
  }

.footer {
   max-height: 250px; 
  background: #222;
  color: white;
  text-align: center;
  padding: 5px 10px;
  font-size: 0.9em;
  position: relative;
}
.btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out,
              background-color 0.15s ease-in-out,
              border-color 0.15s ease-in-out,
              box-shadow 0.15s ease-in-out;
}
.btn:hover {
  color: #212529;
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}
.btn-primary:hover {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
}
.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}
.btn-primary:not(:disabled):not(.disabled):active {
  color: #fff;
  background-color: #0062cc;
  border-color: #005cbf;
}
.align-center {
    text-align: center;
}


 /* Styling for cookie pop up */

  .cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 420px;
    background: #fff;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    font-size: 0.9rem;
    line-height: 1.4;
    display: none; /* hidden until triggered */
    z-index: 9999;
  }

  .cookie-popup p {
    margin: 0;
  }

  .cookie-popup a {
    color: #0073e6;
    text-decoration: underline;
  }

  .cookie-popup a:hover {
    color: #005bb5;
  }

  .cookie-popup button {
    margin-top: 0.8rem;
    padding: 0.5rem 1rem;
    border: none;
    background: #0073e6;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
  }

  .cookie-popup button:hover {
    background: #005bb5;
  }
