
/*---------------------------------------------

[Tables of CSS Content]

+ body

    - 01.0 Index CSS
    - 02.0 Mobile Optimization


  --------------------------------------------- */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* :: 1.0 Index CSS */

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
  background-color: #03040c;
  color: white;
  overflow-x: hidden;
  position: relative;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  position: relative;
  z-index: 2;
}

.logo img {
  height: 100px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.quote-button {
  background-color: white;
  color: #000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.hamburger {
  display: none; /* hidden on desktop */
}

.close-menu {
  display: none; /* Hidden by default */
}

/* Hero Section */
.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('Images/index_hero_banner.jpg') no-repeat center center;
  background-size: cover;
  opacity: 0.8;
  z-index: 0;
}

.tagline {
  font-family: 'Roboto Slab', serif;
  color: #00D6DF;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  padding-left: 20px;
  margin: 150px 0 10px 20px;
}

.tagline::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #00D6DF;
  font-size: 1.2rem;
  line-height: 1;
}

.hero-section {
  position: relative;
  z-index: 1;
  padding: 0 100px;
  height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(60px);
  overflow: hidden;
}

.hero-section h1 {
  font-family: 'Roboto Slab', serif;
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 10px 0 30px 20px;
  max-width: 1200px;
}

.subtext-container {
  position: fixed;
  bottom: 200px;
  right: 200px;
  max-width: 450px;
  z-index: 2;
}

.subtext {
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  text-align: left;
}

.hero-section,
.services-overview {
  margin: 0;
}

/* Services Section */
.services-overview {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #00d6df;
  color: #000;
  padding: 100px 80px;
  gap: 60px;
  flex-wrap: wrap;
}

.services-left {
  flex: 1;
  min-width: 300px;
  max-width: 1000px;
}

.services-left h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.4;
}

.services-left p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.services-right a {
  text-decoration: none;
  display: block;
  position: relative;
}

.services-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-right li {
  margin-bottom: 60px; /* was 60px – increase as needed */
  margin-right: 150px;
}

.services-right button {
  all: unset;
  font-size: 3rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  width: 100%;
  cursor: pointer;
  color: black;
  position: relative;
  padding-bottom: 5px; /* space for underline */
}

.services-right button::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 0;
  background-color: black;
  transition: width 0.5s ease;
}

.services-right button:hover::before {
  width: 100%;
}

/*=== About Us Page ===*/
.about-us {
  background-color: #eaf7f7; /* light blue/green background */
  padding: 80px 40px;
  font-family: 'Roboto Slab', sans-serif;
  color: #1e1e1e;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-us h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #111827; /* dark gray/navy */
}

.about-us p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #374151; /* muted dark text */
}

.about-subsection h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.about-subsection p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 60px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.project-section {
  background-color: #0c1022;
  color: white;
  padding: 100px 40px;
  font-family: 'Roboto Slab', sans-serif;
}

.project-top {
  display: flex;
  align-items: stretch;
  gap: 0; /* 🔥 REMOVE the space between columns */
}

.project-info {
  flex: 0 0 38%; /* Info box takes 35% of the row */
  background-color: #00e0e0;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-image {
  flex: 1; /* Image takes remaining 65% */
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-info h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
}

.project-info p {
  font-size: 1.1rem;
  color: #1e1e1e;
  margin-bottom: 40px;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  padding: 12px 20px;
  border: 1px solid #111827;
  color: #111827;
  text-decoration: none;
  transition: all 0.3s ease;
  width: auto;
  max-width: max-content;
}

.project-btn:hover {
  background-color: #111827;
  color: #00e0e0;
}

.project-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
  margin-top: 100px;
}

.project-bottom h2 {
  flex: 1 1 40%;
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
}

.project-bottom p {
  flex: 1 1 50%;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #e5e7eb;
}

.team-section {
  background-color: #eaf7f7;
  padding: 80px 40px;
  font-family: 'Roboto Slab', serif;
  color: #1e1e1e;
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
}

.team-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.team-text {
  flex: 1 1 500px;
}

.team-text small {
  font-weight: 600;
  color: #374151;
}

.team-text h2 {
  font-size: 3rem;
  font-weight: bold;
  margin: 10px 0;
  color: #111827;
  padding-right: 80px;
}

.team-description {
  flex: 1 1 400px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #374151;
}

.team-gallery {
  display: flex;
  gap: 5px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 80px;
  flex-wrap: nowrap;
}

.team-gallery img {
  width: 350px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.why-choose {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  padding-left: 1px;
}

.why-choose h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111827;
}

.why-choose .highlight {
  font-weight: 600;
  margin-bottom: 20px;
  color: #1f2937;
}

.why-choose p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #374151;
}

/* Footer */

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 40px;
  background-color: #00D6DF;
  color: #ffffff;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-left {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-center {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
}

.footer-nav,
.footer-legal,
.footer-socials {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin-top: 30px; /* 👈 This adds space below the logo & nav */
}

.footer-nav li a,
.footer-legal li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-socials {
  margin-top: 16px;
}

.footer-socials li i {
  font-size: 1rem;
  color: #ffffff;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  background-color: #00D6DF;
}

/* 2.0 Mobile Optimization */
@media (max-width: 768px) {
  header, .blog-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px;
    position: relative;
  }

header .hamburger,
.blog-header .hamburger {
  display: block;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  position: absolute;
  top: 30px;
  right: 20px;
  z-index: 10;
}

  .logo img {
    height: 80px;
  }

@media (max-width: 768px) {
  .container {
    padding: 0;
    max-width: 100%;
  }

  .project-top {
    flex-direction: column;
    width: 100%;
  }

  .project-info,
  .project-image {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }

  .project-info {
    padding: 40px 20px;
    box-sizing: border-box;
    text-align: center;
  }

  .project-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .project-btn {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .team-gallery {
    flex-wrap: wrap;
    justify-content: center;
  }

  .team-gallery img {
    display: none;
  }

  .team-gallery img:first-child {
    display: block;
    width: 100%;
    max-width: 95%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    margin-bottom: 20px;
    margin-left: 90px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
  }

  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }

  .footer-socials {
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
  }
}

/* Mobile full-screen hamburger menu styles */
.header-right {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: #00D6DF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
  transition: right 0.3s ease-in-out;
  z-index: 9999;
  overflow-y: auto; /* allows scrolling inside the menu if needed */
}

.header-right.active {
  right: 0;
}

.header-right a,
.header-right nav ul li a {
  color: black;
  font-size: 1.8rem;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.2s;
}

.header-right a:hover,
.header-right nav ul li a:hover {
  color: #222;
}

/* Prevent page scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

.close-menu {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 2.5rem;
  color: black;
  cursor: pointer;
  font-weight: bold;
  z-index: 10000;
}

.close-menu {
  display: block;
}

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .quote-button {
    margin-top: 10px;
  }

  .hero-section {
    padding: 0 20px;
    height: 90vh;
    transform: translateX(0);
  }

  .tagline {
    margin: 100px 0 10px 0;
    padding-left: 20px;
    font-size: 1rem;
  }

  .hero-section h1 {
    font-size: 2.5em;
    margin-left: 0;
    max-width: 100%;
  }

  .subtext-container {
    position: static;
    margin: 40px 0;
    padding: 0 20px;
    max-width: 100%;
  }

  .subtext {
    font-size: 1rem;
    text-align: left;
  }

  .services-overview {
    flex-direction: column;
    padding: 60px 20px;
    gap: 40px;
  }

  .services-left {
    max-width: 100%;
  }

  .services-left h2 {
    font-size: 2rem;
  }

  .services-left p {
    font-size: 1rem;
  }

  .services-right {
    flex: 1 1 100%;
    margin-right: 0;
  }

  .services-right li {
    font-size: 2rem;
    margin-bottom: 40px;
    justify-content: space-between;
    gap: 20px;
  }

  .services-right span {
    font-size: 2rem;
  }

  .background-overlay {
    background-position: center top;
    background-size: cover;
  }
}

.services-section {
  background-color: #00D6DF;
  color: #001f2f;
  text-align: center;
  padding: 120px 20px; /* Increased vertical spacing */
}

.services-section h2 {
  font-size: 3rem; /* Match site-wide H2 size */
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Force 4 cards side by side */
  gap: 50px;
}

.service-card {
  background: transparent;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px; /* Adjust based on how tall you want them */
}

.service-card h3 {
  font-size: 2.0rem;
  margin-bottom: 2px;
}
.service-card p {
  margin: 20px 0;
  line-height: 1.8;
  font-size: 1rem;
}
.service-card .btn {
  display: inline-block;
  border: 2px solid #000;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
}

.services-section .container {
  max-width: 1400px; /* Increased from 1300px */
  margin: 0 auto;
  width: 100%;
}

.btn {
  background-color: transparent;
  color: #000; /* black text */
  border: 2px solid #000; /* black border */
  padding: 12px 24px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn:hover {
  background-color: #0c1b2c; /* or any dark color like black */
  color: #00D6DF; /* light text on hover */
}

/* === BENEFITS SECTION === */
.benefits-section {
  background-color: #ffffff;
  color: #111;
  padding: 120px 20px;
  text-align: center;
}
.benefits-section h2 {
  font-size: 3rem;
  margin-bottom: 60px;
}

.benefit {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  min-height: 150px; /* tweak as needed */
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 2fr); /* Force 4 cards side by side */
  gap: 50px;
}
.benefit h4 {
  font-size: 2.0rem;
  margin-bottom: 15px;
}
.benefit p {
  font-size: 1.2rem;
  line-height: 1.75;
}

.benefits-section .container {
  max-width: 1400px;   /* Match the services container width */
  margin: 0 auto;
  width: 100%;
}

/* === RETAINER SECTION === */
.retainer-section {
  background-color: #0c1b2c;
  color: #fff;
  padding: 100px 40px;
  width: 100%;
  box-sizing: border-box;
}

.retainer-container {
  display: flex;
  max-width: 1300px;
  margin: 0 auto;
  gap: 80px;
  flex-wrap: wrap;
}

.retainer-left {
  flex: 0 0 40%; /* Reduce from maybe 50% to 40% */
  max-width: 40%; /* Ensures it doesn’t stretch too wide */
}

.retainer-left h2 {
  font-size: 2.8rem;
  margin-bottom: 25px;
}

.retainer-left p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
}

.retainer-right {
  flex: 1;
  min-width: 320px;
}

.accordion-item {
  margin-bottom: 55px;
  border-bottom: 1px solid #444;
}

.accordion-header {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: left;
  width: 100%;
  padding: 10px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-header.active::before {
  content: "– ";
}
.accordion-header::before {
  content: "+ ";
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content p {
  margin: 10px 0 20px;
  line-height: 1.7;
  font-size: 1.2rem;
}

/* === FOOTER SECTION === */
.site-footer {
  background-color: #00D6DF;
  padding: 80px 20px;
  text-align: center;
  color: #000;
}
.footer-nav {
  margin: 30px 0;
}
.footer-nav a {
  margin: 0 15px;
  color: #000;
  text-decoration: none;
  font-size: 1rem;
}
.social-icons i {
  margin: 10px;
  font-size: 1.3rem;
}

/* === Blog Page ===*/
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background-color: #000; /* global dark tone */
  color: #fff;
}

.blog-heading {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 2rem;
    background-color: #eaf6f8;
}

.blog-heading h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #11111d;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.blog-heading p {
  font-size: 1.5rem;
  color: #444;
  font-family: 'Poppins', sans-serif;
}

/* Search Section */
.search-section {
  display: flex;
  justify-content: center;
  padding: 2rem;
  background-color: #eaf6f8;
}

.search-section input {
  width: 50%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
}

.search-section button {
  padding: 0.8rem 1.5rem;
  background-color: #00D6DF;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

/* Blog Content Layout */
.blog-content {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  background-color: #eaf6f8;
  color: #000;
  margin: 0 auto;
}

/* Sidebar Styling */
.sidebar {
  width: 200px;
  margin-left: 160px;
  flex-shrink: 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.sidebar li:hover {
  color: #00D6DF;
}

.sidebar li span {
  color: gray;
  margin-left: 10px;
  white-space: nowrap;
}

/* Articles Grid */
.articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;

}

/* Individual Article Card */
.article {
  background: white;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  transition: box-shadow 0.2s ease;
  overflow: hidden;
  text-decoration: none;
}

.article-image-container {
  position: relative;
  width: 100%;
  height: 250px; /* fixed height */
  overflow: hidden;
  border-radius: 6px;
}

.article img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article:hover img {
  transform: scale(1.1); /* this will zoom in */
}

.article h3 {
  font-size: 1rem;
  margin-top: 1rem;
  color: #222;
  transition: color 0.3s ease;
  text-decoration: none;
}

.article:hover h3 {
  color: #00D6DF;
}

.cta-section {
  position: relative;
  background: url('Images/CTA background.jpg') no-repeat center center;
  background-size: cover;
  padding: 6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: #00D6DF;
  overflow: hidden;
}

/* Dark overlay */
.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(34, 34, 34, 0.90); /* This is the overlay */
  z-index: 0;
  pointer-events: none; /* Optional: allow clicks through overlay */
}

/* Make sure content is on top */
.cta-content, .cta-button {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0rem 10rem 1rem;
}

.cta-content p {
  font-size: 1rem;
  color: #00D6DF;
  max-width: 500px;
  margin: 0rem 10rem 1rem;
}

.cta-button a {
  display: inline-block;
  background-color: #0F172A;
  color: #00D6DF;
  padding: 1.5rem 3rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1.3rem;
  transition: background-color 0.3s ease;
  margin-right: 350px;
}

.cta-button a:hover {
  background-color: #003366;
}

.cta-button i {
  margin-right: 0.5rem;
}

/* === About Us Page ===*/

body {
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0;
}

/* Specific background and text styles only for content sections */
.about,
.values,
footer {
  background-color: #00D6DF;
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
}

.hero-subtext {
  font-size: 1.5rem;
  color: #ccc;
  max-width: 720px;
  margin-top: 1rem;
  margin-left: 1rem;
}

.hero-subtext {
  animation: fadeIn 1s ease 0.3s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

section.about p.highlight {
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 1rem;
}

section.about p {
  margin-bottom: 0.5rem;
  color: #444;
}

section.values {
  padding-top: 0.5rem;
}

section.values h2 {
  font-size: 2.1rem;
  font-weight: bold;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.2rem;
}

section.values ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

section.values ul li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

section.testimonials {
  background-color: #e6f6f7;
  padding: 4rem 0;
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
}

section.testimonials h2 {
  text-align: center;
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 2rem;
  color: #111;
}

.testimonial {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.client {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.client img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 0.75rem;
}

.cta-content, .cta-button {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.7rem;
  font-weight: 700;
  margin: 0rem 10rem 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  color: #00D6DF;
  max-width: 500px;
  margin: 0rem 10rem 1rem;
}

.cta-button a {
  display: inline-block;
  background-color: #0F172A;
  color: #00D6DF;
  padding: 1.5rem 3rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1.3rem;
  transition: background-color 0.3s ease;
  margin-right: 350px;
}

.cta-button a:hover {
  background-color: #003366;
}

.cta-button i {
  margin-right: 0.5rem;
}

/* === CONTACT US PAGE === */
.contact-body {
  background-color: #36a5b5;
  padding: 4rem 1rem;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: center;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  color: #111;
}

.contact-info h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

.contact-info p {
  font-size: 1.2rem;
  color: #333;
  max-width: 450px;
  margin-bottom: 5rem;
}

.contact-social h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  margin-left: 0.7rem;
  padding-top: 3rem;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none; /* Removes bullet points */
}

.social-icons li {
  list-style: none; /* Ensures no bullets per item */
}

.social-icons a {
  color: #000;        /* Makes icons black */
  font-size: 1.5rem;  /* Optional: adjust size */
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #555; /* Slight color on hover */
}

.contact-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  flex: 1;
  min-width: 350px;
}

.contact-form h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #111;
}

form .form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

form input,
form textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 1rem;
}

form button {
  background: #fff;
  color: #000;
  border: 2px solid #000;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

form button:hover {
  background: #000;
  color: #fff;
}

/*=== SEO SERVICES PAGE ===*/
.seo-body {
  background-color: #00D6DF;
  padding: 4rem 2rem;
  width: 100%;
}

.seo-section-title {
  text-align: center;
  font-size: 3.5rem;
  font-family: 'Roboto Slab', sans-serif;
  color: #000;
  margin-bottom: 0.5rem;
}

.seo-services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: #00D6DF;
  width: 100%;
  max-width: 1300px; /* Enough for 3 cards per row with spacing */
  margin: 0 auto;
  box-sizing: border-box;
}

.seo-service-card {
  background-color: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  width: 380px;
  flex: 0 0 auto; /* prevent stretching */
}

.seo-service-card .category {
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.seo-service-card h2 {
  font-family: 'Roboto Slab', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.seo-service-card p {
  color: #333;
  font-size: 1.2rem;
}

.why-clickavate {
  background-color: #ffffff;
  padding: 5rem 2rem;
  text-align: center;
}

.why-clickavate h2 {
  font-family: 'Roboto Slab', sans-serif;
  font-size: 3.5rem;
  margin-bottom: 3rem;
  color: #1a1a1a;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1500px;
  margin: 0 auto;
  text-align: left;
}

.why-card {
  background-color: #f8f8f8;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
}

.why-card h3 {
  font-family: 'Roboto Slab', sans-serif;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.why-card p {
  font-size: 1.2rem;
  color: #444;
}

/* Responsive: Mobile Optimization */
@media screen and (max-width: 768px) {
  /* HERO section */
  .hero-section {
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .hero-section h1 {
    font-size: 1.8rem;
  }

  .hero-subtext {
    font-size: 1rem;
  }

  /* SEO Section Title */
  .seo-section-title {
    font-size: 2rem;
    padding: 0 1rem;
    text-align: center;
  }

  /* SEO Services Grid */
  .seo-services-grid {
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .seo-service-card {
    width: 100%;
    max-width: 350px;
  }

  /* Why Clickavate Section */
  .why-clickavate {
    padding: 3rem 1rem;
  }

  .why-clickavate h2 {
    font-size: 2rem;
    text-align: center;
  }

  .why-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .why-card {
    width: 100%;
    max-width: 350px;
    text-align: center;
  }

  /* CTA Section */
.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  width: 100%;
  max-width: 600px; /* limits width on large screens */
  margin: 0 auto;
  box-sizing: border-box;
}

.cta-content h2,
.cta-content p {
  width: 100%;
  max-width: 100%;
  word-break: normal;
  white-space: normal;
  hyphens: auto;
}

  .cta-button {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .cta-button a {
    margin: 1rem auto;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .footer-nav {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
    gap: 1rem;
  }

  .footer-bottom {
    text-align: center;
    font-size: 0.9rem;
  }
}

/*=== SOCIAL MEDIA SERVICES PAGE ===*/
.social-body {
  background-color: #00D6DF;
  padding: 4rem 2rem;
  width: 100%;
}

.social-section-title {
  text-align: center;
  font-size: 3.5rem;
  font-family: 'Roboto Slab', sans-serif;
  color: #000;
  margin-bottom: 0.5rem;
}

.social-services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: #00D6DF;
  width: 100%;
  max-width: 1100px; /* Enough for 3 cards per row with spacing */
  margin: 0 auto;
  box-sizing: border-box;
}

.social-service-card {
  background-color: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  width: 380px;
  flex: 0 0 auto; /* prevent stretching */
}

.social-service-card .category {
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.social-service-card h2 {
  font-family: 'Roboto Slab', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.social-service-card p {
  color: #333;
  font-size: 1.2rem;
}

/*=== The Power Of Email Marketing ===*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.blog_body {
  font-family: 'Segoe UI', sans-serif;
  color: #111;
  line-height: 1.6;
  background: #f9f9f9;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background-color: #00b3b3; /* Teal background */
  position: relative;
  z-index: 2;
  font-family: 'Segoe UI', sans-serif;
}

.blog-header .logo img {
  height: 100px;
}

.blog-header .header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.blog-header nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.blog-header nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.blog-header .quote-button {
  background-color: white;
  color: #000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.blog-header .hamburger {
  display: none; /* hidden on desktop */
}

.blog-header .close-menu {
  display: none; /* hidden by default */
}

/* Blog Main */
.blog-main {
  padding: 3rem 0;
}

.breadcrumb {
  font-size: 0.95rem;
  color: #555;
}

.breadcrumb a {
  color: #007c91;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #222;
}

.blog-post h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.meta {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.author-img {
  width: 64px;           /* or adjust to desired size */
  height: 64px;          /* keep height equal to width */
  border-radius: 50%;    /* makes it a perfect circle */
  object-fit: cover;     /* ensures the image fills the circle */
  margin-right: 1rem;
}

.intro {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.intro p {
  margin-bottom: 1rem; /* Adjust spacing as needed */
}

.blog-img img {
  width: 100%;
  margin: 2rem 0;
}

/* Table of Contents */
.toc {
  background: #fff;
  padding: 1rem;
  border-left: 4px solid #00b3b3;
  margin: 2rem 0;
}

.toc h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.toc ul {
  list-style: none;
  padding-left: 0;
}

.toc li {
  margin-bottom: 0.5rem;
}

.toc a {
  text-decoration: none;
  color: #00b3b3;
}

/* Key Takaways */
.key-takeaways ul {
  padding-left: 1.5rem; /* space for bullets */
  list-style-type: disc; /* bullet style */
  font-size: 1.25rem
}

.key-takeaways ul li {
  margin-bottom: 1.5rem; /* spacing between bullets */
  line-height: 1.6;
}

/* Blog Sections */
.blog-post section {
  margin-bottom: 2rem;
}

.blog-section p {
  margin-bottom: 1.2rem;
  line-height: 1.6;
  font-size: 1.25rem;
}

.blog-post h2 {
  font-size: 1.75rem;
  color: #000;
  margin-bottom: 0.5rem;
}

/*=== Terms and Conditions ===*/

.terms-body {
  background-color: #f4f9fb;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: #333;
}

.terms-container {
  background: #ffffff;
  max-width: 960px;
  margin: auto;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.terms-title {
  font-size: 2.6rem;
  color: #ffffff;
  border-bottom: 2px solid #00D6DF;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.terms-date {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 32px;
}

.terms-section {
  margin-bottom: 36px;
}

.terms-heading {
  font-size: 1.5rem;
  color: #00b3b3;
  margin-bottom: 12px;
}

.terms-paragraph {
  font-size: 1rem;
  margin-bottom: 16px;
}

.terms-list {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}

.terms-list li {
  margin-bottom: 10px;
}

strong {
  color: #001f2f;
}

/*=== PRIVACY POLICY ===*/
.privacy-body {
  background-color: #f4f9fb;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: #ffffff;
}

.privacy-container {
  background: #ffffff;
  max-width: 960px;
  margin: auto;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.privacy-title {
  font-size: 2.5rem;
  color: #001f2f;
  border-bottom: 2px solid #00D6DF;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.privacy-date {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 32px;
}

.privacy-section {
  margin-bottom: 36px;
}

.privacy-heading {
  font-size: 1.5rem;
  color: #00b3b3;
  margin-bottom: 14px;
}

.privacy-paragraph {
  font-size: 1rem;
  color: #333;
  margin-bottom: 16px;
}

.privacy-list {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
  color: #333;
}

.privacy-list li {
  margin-bottom: 10px;
}

a {
  color: #007cae;
  text-decoration: underline;
}

@media (max-width: 768px) {
  /* === .project-section === */
  .project-section {
    padding: 40px 20px;
    text-align: center;
  }

  /* === .contact-form === */
  .contact-form {
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-form h2 {
    font-size: 1.4rem;
    white-space: nowrap;
  }

  /* === .seo-service-card === */
  .seo-service-card {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  /* === .privacy-container === */
  .privacy-container {
    padding: 20px;
    box-sizing: border-box;
  }

  .privacy-title {
    font-size: 1.8rem;
    text-align: center;
  }

  /* === .terms-container === */
  .terms-container {
    padding: 20px;
    box-sizing: border-box;
  }

  .terms-title {
    font-size: 1.8rem;
    text-align: center;
  }

  /* === .about-us === */
  .about-us {
    padding: 60px 20px;
    text-align: center;
  }

  .about-us h2 {
    font-size: 2rem;
  }

  .about-us p {
    font-size: 1rem;
  }

  /* === .about-container === */
  .about-container {
    padding: 0;
    width: 100%;
  }

  /* === .header === */
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  /* === .team-section === */
  .team-section {
    padding: 60px 20px;
  }

  /* === .testimonial === */
  .testimonial {
    padding: 1.5rem;
    font-size: 1rem;
  }

  /* === .values === */
  .values {
    padding: 2rem 1rem;
    text-align: left;
  }

  .values h2 {
    font-size: 1.5rem;
  }

  .values ul {
    padding-left: 1.2rem;
  }

  .values ul li {
    font-size: 1rem;
  }

 /* Blog Heading */
  .blog-heading h1 {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .blog-heading p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  /* Search Bar */
  .search-section {
    flex-direction: column;
    padding: 1rem;
  }

  .search-section input {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
  }

  .search-section button {
    width: 100%;
    border-radius: 5px;
  }

  /* Blog Content Layout */
  .blog-content {
    flex-direction: column;
    padding: 1rem;
  }

  /* Sidebar */
  .sidebar {
    width: 100%;
    margin-left: 0;
    padding: 0 1rem;
  }

  .sidebar li {
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1rem;
    border-bottom: 1px solid #ccc;
  }

  .sidebar li span {
    margin-left: auto;
    font-size: 1rem;
    color: #666;
  }

  /* Articles Grid */
  .articles {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .article {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .article h3 {
    font-size: 1.1rem;
  }

    /* Services Section */
  .services-section {
    padding: 60px 20px;
    text-align: center;
  }

  .services-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr; /* Stack one per row */
    gap: 30px;
  }

  .service-card {
    padding: 20px;
    min-height: auto;
  }

  .service-card h3 {
    font-size: 1.5rem;
  }

  .service-card p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .service-card .btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

    /* Benefits Section */
  .benefits-section {
    padding: 60px 20px;
  }

  .benefits-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .benefit {
    padding: 20px 10px;
    text-align: center;
  }

  .benefit h4 {
    font-size: 1.5rem;
  }

  .benefit p {
    font-size: 1rem;
    line-height: 1.6;
  }

    /* Retainer Section */
  .retainer-section {
    padding: 60px 20px;
  }

  .retainer-container {
    flex-direction: column;
    gap: 40px;
  }

  .retainer-left {
    max-width: 100%;
    width: 100%;
  }

  .retainer-left h2 {
    font-size: 2rem;
    line-height: 1.4;
    text-align: center;
  }

  .retainer-left p {
    font-size: 1rem;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .retainer-right {
    width: 100%;
  }

  .accordion-header {
    font-size: 1.2rem;
    padding: 0.75rem 0;
  }

  .accordion-content p {
    font-size: 1rem;
    line-height: 1.5;
  }

    .blog-hero {
    padding: 2rem 1rem;
    text-align: center;
  }

  .blog-hero h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .blog-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
  }

  .blog-author img {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
  }

  .blog-author-details {
    font-size: 0.9rem;
  }

  .blog-content {
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
  }

  .blog-content h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
  }

  .blog-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

.seo-cta-section {
  position: relative;
  background: url('Images/CTA background.jpg') no-repeat center center;
  background-size: cover;
  padding: 6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: #00D6DF;
  overflow: hidden;
}

/* Dark overlay */
.seo-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(34, 34, 34, 0.90); /* Overlay darkness */
  z-index: 0;
  pointer-events: none;
}

/* Ensure content sits above the overlay */
.seo-cta-content,
.seo-cta-button {
  position: relative;
  z-index: 1;
}

.seo-cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0rem 10rem 1rem;
}

.seo-cta-content p {
  font-size: 1rem;
  color: #00D6DF;
  max-width: 500px;
  margin: 0rem 10rem 1rem;
}

.seo-cta-button a {
  display: inline-block;
  background-color: #0F172A;
  color: #00D6DF;
  padding: 1.5rem 3rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1.3rem;
  transition: background-color 0.3s ease;
  margin-right: 350px;
}

.seo-cta-button a:hover {
  background-color: #003366;
}

.seo-cta-button i {
  margin-right: 0.5rem;
}

/* Mobile Optimisation */
@media (max-width: 768px) {
.seo-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  width: 100%;
  max-width: 600px; /* limits width on large screens */
  margin: 0 auto;
  box-sizing: border-box;
}

.seo-cta-content h2,
.seo-cta-content p {
  width: 100%;
  max-width: 100%;
  word-break: normal;
  white-space: normal;
  hyphens: auto;
}

.seo-cta-button {
  display: flex;
  justify-content: center;
  width: 100%;
}

.seo-cta-button a {
  margin: 1rem auto;
}
}

/* Modal background */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 600px;
  background: rgba(0,0,0,0.6);
  justify-content:center;
  align-items:flex-start;   /* top-align inside */
  padding-top: 12vh;  
}

/* Modal content box */
.modal-content {
  background: #111;
  color: white;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  height: 300px;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  box-shadow: 0 0 15px #00D6DF; /* turquoise glow */
}

.modal-content h2 {
  text-align: center;     /* centers the text */
  margin-top: 20px;       /* pushes it down from the very top */
  margin-bottom: 20px;    /* space below before 'Email address' */
}

/* Close button */
.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

/* Input styling */
.modal-content input[type="email"] {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Checkbox and label */
.checkbox-group {
  display: flex;
  align-items: center; /* align vertically in middle */
  gap: 8px; /* space between checkbox and text */
  font-size: 14px;
}

.checkbox-group input {
  margin-right: 0;
}

/* Submit button */
#quote-submit {
  width: 100%;
  background: #333;
  color: #00D6DF;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}

#quote-submit:hover {
  background: #003366;
}

#quote-submit:disabled {
  background-color: #555;
  color: #999;
  cursor: not-allowed;
}

/* keep the top "Email address" label block-level */
#quoteModal .modal-content > label { display:block; margin-bottom:6px; }

/* Checkbox + label layout that wraps inside the modal */
#quoteModal .checkbox-group{
  display: grid;
  grid-template-columns: auto 1fr; /* checkbox | text */
  column-gap: 8px;
  align-items: center;
  margin: 12px 0 18px;
}

#quoteModal .checkbox-group input[type="checkbox"]{
  margin: 0;           /* no weird offset */
}

#quoteModal .checkbox-group label{
  display: block !important; /* override Mailchimp's rules safely */
  margin: 0;
  line-height: 1.3;
  word-break: break-word;    /* allow long links to wrap */
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .modal {
    height: 100vh;                 /* fill viewport */
    padding-top: 30vh;              /* push box down a bit */
    align-items: center;       /* start from top */
  }

  .modal-content {
    width: 94%;
    max-width: 420px;
    margin: 0 auto;               /* ignore the desktop margin */
    padding: 16px 16px 20px;
    border-radius: 12px;
    height: auto;                  /* let it grow naturally */
    max-height: 90vh;/* never exceed screen */
    overflow-y: auto;              /* scroll inside if needed */
    overscroll-behavior: contain;  /* prevent background scroll bounce */
  }

  .modal-content h2 {
    margin: 8px 0 12px;
    font-size: 1.25rem;
    text-align: center;
  }

  .modal-content input[type="email"] {
    font-size: 16px;               /* avoid iOS zoom */
    padding: 12px 14px;
    margin: 10px 0 14px;
  }

  #quoteModal .checkbox-group {
    column-gap: 10px;
    row-gap: 6px;
    font-size: 14px;
  }

  #quote-submit {
    font-size: 16px;
    padding: 14px;
    margin-top: 12px;
  }
}

/* Extra-tight phones */
@media (max-width: 380px) {
  .modal-content h2 { font-size: 1.1rem; }
  #quoteModal .checkbox-group { font-size: 13px; }
}

@media (max-width: 768px) {
  #quoteModal .checkbox-group a {
    color: #00D6DF !important;  /* keep turquoise */
    font-size: 14px !important;
    font-weight: normal !important;
    text-decoration: underline;
  }

  #quoteModal .checkbox-group label {
    font-size: 14px !important;
    font-weight: normal !important;
    color: #fff !important; /* white text */
  }
}

/** Cookie Banner **/
.cookie-banner {
  position: fixed; inset-inline: 0; bottom: 0;
  z-index: 9999;
  background: #0F172A; /* slate-900 */
  color: #E5E7EB;      /* gray-200 */
  box-shadow: 0 -8px 24px rgba(0,0,0,.25);
  font: 16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
}
.cookie-banner__content {
  max-width: 1100px; margin: 0 auto; padding: 16px 20px; display: grid; gap: 10px;
}
.cookie-banner__title { margin: 0; font-size: 18px; }
.cookie-banner__text { margin: 0; font-size: 14px; color: #CBD5E1; }
.cookie-banner__link { color: #00D6DF; text-decoration: underline; }

.cookie-banner__buttons {
  display: flex;
  flex-direction: row;   /* force row layout */
  justify-content: flex-start;
  align-items: center;
  gap: 12px;             /* space between buttons */
  margin-top: 6px;
}

.cookie-banner__buttons .btn {
  flex: 1;             /* make all buttons equal width */
  min-width: 150px;    /* stops them getting too small */
  text-align: center;
  white-space: nowrap;
}

.btn { cursor: pointer; border: 0; border-radius: 8px; padding: 10px 14px; font-weight: 600; }
.btn-primary { background: #00D6DF; color: #001018; }
.btn-primary:hover { filter: brightness(0.95); }
.btn-secondary { background: #1F2937; color: #E5E7EB; }
.btn-secondary:hover { filter: brightness(1.1); }
.btn-link { background: transparent; color: #9CA3AF; text-decoration: underline; padding: 8px 4px; }

.cookie-prefs { background: #0B1221; border: 1px solid #1F2A44; border-radius: 10px; padding: 12px; margin-top: 8px; }
.cookie-prefs__title { margin: 0 0 8px; font-size: 16px; }
.cookie-prefs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;            /* inline, side by side */
  gap: 16px;                /* space between each */
  flex-wrap: wrap;          /* wrap if too many */
}

.cookie-prefs__item {
  display: flex;
  align-items: center;
  background: #1F2937;       /* dark pill background */
  border-radius: 20px;       /* rounded pill look */
  padding: 6px 12px;
  font-size: 14px;
  gap: 8px;
}

.cookie-prefs__item span {
  color: #E5E7EB;    /* light gray text */
}
.cookie-prefs__item strong {
  color: #00D6DF;    /* brighter white for the bold part */
}

.cookie-prefs__item input[type="checkbox"] {
  accent-color: #00D6DF;     /* turquoise tick color */
  width: 16px;
  height: 16px;
  margin: 0;
}

.cookie-prefs__actions { display: flex; gap: 8px; margin-top: 8px; }

@media (min-width: 768px) {
  .cookie-banner__content { grid-template-columns: 1fr auto; align-items: center; }
  .cookie-banner__text { font-size: 15px; }
}

/* === Mobile optimisation for cookie banner === */

/* Small phones */
@media (max-width: 480px) {
  /* Use the device safe-area so it doesn't clash with iOS home indicator */
  .cookie-banner {
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }

  .cookie-banner__content {
    display: grid;
    grid-template-columns: 1fr;   /* stack title/text/buttons */
    gap: 12px;
    padding: 14px 12px;           /* tighter padding on mobile */
  }

  .cookie-banner__title {
    font-size: 16px;
    line-height: 1.2;
  }

  .cookie-banner__text {
    font-size: 13px;
    line-height: 1.4;
  }

  /* Buttons: full-width, single column with consistent height */
  .cookie-banner__buttons {
    display: grid;
    grid-template-columns: 1fr;   /* vertical, full-width */
    gap: 10px;
  }
  .cookie-banner__buttons .btn {
    width: 100%;
    min-height: 44px;             /* touch target */
    min-width: 0;                 /* let them shrink to container */
    white-space: nowrap;          /* avoid multi-line labels if possible */
    text-align: center;
  }

  /* Preferences panel: compact spacing */
  .cookie-prefs {
    padding: 10px;
  }

  /* Preference “pills”: wrap neatly, larger tap targets */
  .cookie-prefs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .cookie-prefs__item {
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 16px;
  }
  .cookie-prefs__item input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }

  /* Footer link in the banner text stays tappable */
  .cookie-banner__link {
    text-underline-offset: 2px;
  }
}

/* Medium phones / small tablets */
@media (min-width: 481px) and (max-width: 767px) {
  .cookie-banner__content {
    grid-template-columns: 1fr;   /* stack on narrow tablets too */
    gap: 14px;
    padding: 16px 14px;
  }
  .cookie-banner__title { font-size: 17px; }
  .cookie-banner__text  { font-size: 14px; }

  /* Two buttons side-by-side, third wraps if needed */
  .cookie-banner__buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .cookie-banner__buttons .btn {
    min-height: 44px;
    text-align: center;
    white-space: nowrap;
  }
}

/* Optional: make banner less tall on very short landscapes */
@media (max-height: 420px) and (orientation: landscape) {
  .cookie-banner__content {
    padding: 10px 12px;
    gap: 8px;
  }
  .cookie-banner__text { font-size: 12px; }
  .cookie-banner__buttons .btn { min-height: 40px; }
}