:root {
  /* Colour palette for the refreshed design */
  --primary: #3a7bd5;
  --primary-light: #00d2ff;
  --secondary: #ffffff;
  --text: #333333;
  --background: #f9f9f9;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

header {
  background-color: var(--secondary);
  /* add a subtle shadow instead of a solid border */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  /* Allow the header to scroll with the page instead of staying fixed */
  position: static;
  width: 100%;
  z-index: auto;
}

/* Navigation bar layout */
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

/* Align logo and tagline nicely */
.logo-tagline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Tagline text below or next to logo */
.tagline {
  font-size: 0.8rem;
  color: var(--primary);
  margin-left: 0;
  margin-top: -5px;
  letter-spacing: 2px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Logo size */
/* Logo size */
.logo {
  /* Increase the logo height slightly as requested */
  height: 100px;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav li {
  margin-left: 20px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: bold;
  transition: color 0.3s;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
}

/* underline effect on hover/active */
nav a:hover,
nav a:focus {
  color: var(--primary);
}

/* Hero section */
.hero {
  /* Hero uses a gradient background instead of an image */
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  padding: 160px 0 120px;
}

/* Dark overlay to improve text contrast */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* No overlay required for gradient background */
  background: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Primary button style */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
}

.primary-btn {
  background-color: var(--primary);
  color: #fff;
}

.primary-btn:hover {
  background-color: var(--primary-light);
}

/* Offset the scroll position for anchor links so that content isn't hidden behind the fixed header */
/* No scroll offset needed since the header is not fixed */
html {
  scroll-padding-top: 0;
}


/* Floating WhatsApp contact button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 1001;
}

.whatsapp-float:hover {
  background-color: #1DA851;
}

/* Services section */
.services {
  background-color: var(--background);
  padding: 80px 0;
}

/* Grid layout for the service cards */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Individual service card */
.service-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

/* Circular icon box */
.icon-box {
  font-size: 2rem;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
}

.service-card h3 {
  margin: 10px 0;
  color: var(--primary);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text);
}

/* About section */
.about {
  padding: 80px 0;
  background-color: var(--background);
}

.about h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Contact section */
.contact {
  padding: 80px 0;
  background-color: var(--secondary);
}

.contact h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.contact-details {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
}

.contact-details p {
  margin: 5px 0;
}

.contact-details a {
  color: var(--primary);
  text-decoration: none;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.contact form label {
  font-weight: bold;
  margin-bottom: 5px;
}

.contact form input,
.contact form textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact form button {
  padding: 10px;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.contact form button:hover {
  background-color: var(--primary-light);
}

/* CTA section: summary bar with contact info and call to action */
.cta {
  background-color: var(--primary);
  color: #fff;
  padding: 50px 0;
}

.cta-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-info {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.info-item {
  font-size: 1rem;
  line-height: 1.5;
}

.info-item .icon {
  font-size: 1.4rem;
  margin-right: 6px;
}

.cta-text {
  max-width: 400px;
}

.cta-text h3 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.cta-text p {
  margin: 0 0 20px;
  font-size: 1rem;
}

.cta-btn {
  background-color: var(--secondary);
  color: var(--primary);
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
  display: inline-block;
}

.cta-btn:hover {
  background-color: #e8f0fe;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .nav-bar {
    flex-direction: column;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  nav li {
    margin: 10px 0;
  }
  /* Adjust hero padding for smaller screens */
  .hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }
}
