/* --- Base and Fonts --- */
:root {
  /* Tailwind Color Palette Approximations */
  --color-gray-100: #f3f4f6;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-blue-100: #dbeafe;
  --color-blue-200: #bfdbfe;
  --color-blue-500: #3b82f6;
  --color-blue-600: #2563eb;
  --color-blue-700: #1d4ed8;
  --color-blue-800: #1e40af; /* Added for hover effect */
  --color-white: #ffffff;
  --color-yellow-500: #f59e0b;
  --color-yellow-600: #d97706;

  /* Sizes */
  --size-1: 0.25rem;
  --size-4: 1rem;
  --size-5: 1.25rem;
  --size-6: 1.5rem;
  --size-8: 2rem;
  --size-12: 3rem;
  --size-16: 4rem;
  --size-24: 6rem;
  --size-32: 8rem;
  --size-80: 20rem;
  --size-w-full: 100%;

  /* Responsive Breakpoints (Tailwind Defaults) */
  --bp-md: 768px;
  --bp-lg: 1024px;
}

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

html {
  scroll-behavior: smooth; /* Replicates JS smooth scroll for anchors */
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-gray-100);
  line-height: 1.6;
  color: var(--color-gray-700);
  font-size: 16px;
}

/* --- Utilities --- */
.container {
  max-width: 1140px; /* Standard container width */
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--size-4);
  padding-right: var(--size-4);
}

.hidden {
    display: none;
}

.flex { display: flex; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }

.grid { display: grid; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }

.transition { transition-property: all; }
.duration-300 { transition-duration: 300ms; }

.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }

/* Spacing utilities are handled directly where needed */
/* Responsive classes need media queries */


/* --- Header --- */
.main-header {
  background-color: var(--color-blue-600);
  color: var(--color-white);
  padding-top: var(--size-4);
  padding-bottom: var(--size-4);
}

.logo-link {
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--size-4);
  font-size: 1.25rem; /* text-xl */
}

.logo-icon-wrapper { /* Corresponds to logo-icon div */
  width: var(--size-12);
  height: var(--size-12);
  background-color: var(--color-blue-500);
  border-radius: 0.375rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-icon-wrapper img { /* Targeting the img replacing svg */
  width: 1.875rem;
  height: 1.875rem;
  color: var(--color-white); /* Will only affect SVG stroke/fill if defined as currentColor */
  display: block;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
}

.main-nav {
  display: none; /* hidden by default */
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li + li { /* space-x-6 */
  margin-left: 1.5rem;
}

.main-nav a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--color-blue-200);
}

.hamburger-button {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 0;
  display: block; /* Display by default */
}
.hamburger-button svg {
    width: 1.5rem; /* w-6 */
    height: 1.5rem; /* h-6 */
    display: block; /* Prevent extra space below inline svgs */
}


/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 24, 39, 0.9); /* gray-900 with opacity */
  z-index: 50;
  /* Starts hidden - JS toggles the .hidden class */
}

.mobile-menu-content {
  background-color: var(--color-gray-800);
  width: var(--size-80);
  height: 100%;
  position: absolute;
  right: 0;
  padding: var(--size-6);
}

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--size-4);
}

.close-menu-button {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 0;
}
.close-menu-button svg {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
}

.mobile-menu nav ul {
  list-style: none;
}

.mobile-menu nav li {
    margin-bottom: var(--size-4); /* space-y-4 approximation */
}

.mobile-menu nav a {
  display: block;
  font-size: 1.125rem; /* text-lg */
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu nav a:hover {
  color: var(--color-blue-200);
}


/* --- Hero Section --- */
.hero-section {
  background-image: linear-gradient(to bottom right, var(--color-blue-700), var(--color-blue-500));
  color: var(--color-white);
  text-align: center;
  padding-top: var(--size-16);
  padding-bottom: var(--size-16);
}

.hero-section h1 {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700;
  margin-bottom: var(--size-4);
}

.hero-section p {
  font-size: 1.125rem; /* text-lg */
  margin-bottom: var(--size-8);
}

.hero-section .cta-button {
  display: inline-block; /* To allow padding and centering */
  background-color: var(--color-yellow-500);
  color: var(--color-blue-700); /* Text color */
  padding: 0.75rem 1.5rem; /* py-3 px-6 */
  border-radius: 9999px;
  text-decoration: none;
  font-size: 1.125rem; /* text-lg */
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.hero-section .cta-button:hover {
  background-color: var(--color-yellow-600);
}


/* --- Services Section --- */
.services-section {
  background-color: var(--color-gray-100);
  padding-top: var(--size-16);
  padding-bottom: var(--size-16);
}

.services-section .section-title,
.about-section .section-title,
.contact-section .section-title {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 600;
  color: var(--color-blue-700);
  text-align: center;
  margin-bottom: var(--size-8);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Default to 1 column */
  gap: var(--size-8);
}

.service-card {
  background-color: var(--color-white);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  padding: var(--size-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Keeps content spaced */
}

.service-card h3 {
  font-size: 1.25rem; /* text-xl */
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: var(--size-4);
}

.service-card p {
  color: var(--color-gray-700);
  margin-bottom: var(--size-4);
}

.service-card ul {
  list-style-type: disc;
  list-style-position: inside;
  color: var(--color-gray-600);
  padding-left: 0; /* Reset default */
}
.service-card li {
    margin-bottom: 0.25rem; /* Small spacing */
}


/* --- About Section --- */
.about-section {
  background-color: var(--color-blue-100);
  padding-top: var(--size-16);
  padding-bottom: var(--size-16);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Default to 1 column */
  gap: var(--size-8);
  align-items: center;
}

.about-section .about-text p {
    font-size: 1.125rem; /* text-lg */
    margin-bottom: 1rem; /* Added space between paragraphs */
}

.about-section .read-more-link {
    display: inline-flex; /* Needed for icon alignment */
    align-items: center;
    margin-top: 1.5rem; /* mt-6 */
    color: var(--color-blue-600);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}
.about-section .read-more-link:hover {
    color: var(--color-blue-800);
}
.about-section .read-more-link svg {
    width: 1.25rem; /* w-5 */
    height: 1.25rem; /* h-5 */
    margin-left: 0.25rem; /* ml-1 */
}

.about-section .about-image img {
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto; /* Ensure aspect ratio */
  display: block; /* Remove extra space */
}


/* --- Contact Section --- */
.contact-section {
  background-color: var(--color-gray-100);
  padding-top: var(--size-16);
  padding-bottom: var(--size-16);
}

.contact-form-container {
  background-color: var(--color-white);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  padding: var(--size-6);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Default 1 column */
  gap: 1.5rem; /* gap-6 */
}

.contact-form label {
  display: block;
  color: var(--color-gray-700);
  font-size: 0.875rem; /* text-sm */
  font-weight: 700;
  margin-bottom: 0.5rem; /* mb-2 */
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  /* shadow appearance-none border rounded w-full py-3 px-4 text-gray-700 leading-tight focus:outline-none focus:shadow-outline */
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06); /* shadow */
  appearance: none;
  border: 1px solid #d1d5db; /* gray-300 approx for border */
  border-radius: 0.25rem;
  width: 100%;
  padding: 0.75rem 1rem; /* py-3 px-4 */
  color: var(--color-gray-700);
  line-height: 1.25;
  font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5); /* focus:shadow-outline approximation */
    border-color: var(--color-blue-500);
}

.contact-form textarea {
  height: var(--size-32); /* h-32 */
  resize: vertical;
}

.contact-form .submit-button-wrapper {
    display: flex;
    justify-content: center;
}

.contact-form button[type="submit"] {
  /* bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded-full focus:outline-none focus:shadow-outline text-lg */
  background-color: var(--color-blue-600);
  color: var(--color-white);
  font-weight: 700;
  padding: 0.75rem 1.5rem; /* py-3 px-6 */
  border: none;
  border-radius: 9999px;
  font-size: 1.125rem; /* text-lg */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button[type="submit"]:hover {
  background-color: var(--color-blue-700);
}
.contact-form button[type="submit"]:focus {
     outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5); /* focus:shadow-outline approximation */
}


/* --- Footer --- */
.main-footer {
  background-color: var(--color-gray-800);
  color: var(--color-white);
  padding-top: var(--size-6);
  padding-bottom: var(--size-6);
  text-align: center;
}

.main-footer p {
  font-size: 1rem; /* text-md approx */
}

.main-footer a {
  color: var(--color-white); /* Adjust if needed */
  text-decoration: none;
  transition: color 0.3s ease;
}

.main-footer a:hover {
  color: var(--color-blue-200);
}


/* --- Responsive --- */
@media (min-width: 768px) { /* --bp-md */
  .main-header {
      padding-top: 1.5rem; /* md:py-6 */
      padding-bottom: 1.5rem;
  }
  .logo-link {
      font-size: 1.5rem; /* md:text-2xl */
  }
  .main-nav {
      display: block;
  }
  .hamburger-button {
      display: none;
  }
  .hero-section {
      padding-top: var(--size-24); /* md:py-24 */
      padding-bottom: var(--size-24);
  }
   .hero-section h1 {
      font-size: 2.25rem; /* md:text-4xl */
      margin-bottom: 1.5rem; /* md:mb-6 */
  }
   .hero-section p {
      font-size: 1.25rem; /* md:text-xl */
       margin-bottom: var(--size-12); /* md:mb-12 */
  }
  .hero-section .cta-button {
       font-size: 1.25rem; /* md:text-xl */
  }
   .services-section,
   .about-section,
   .contact-section {
      padding-top: var(--size-24); /* md:py-24 */
      padding-bottom: var(--size-24);
   }
   .services-section .section-title,
   .about-section .section-title,
   .contact-section .section-title {
      font-size: 1.875rem; /* md:text-3xl */
      margin-bottom: var(--size-12); /* md:mb-12 */
  }
  .services-grid {
      grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
  }
   .service-card {
       padding: var(--size-8); /* md:p-8 */
   }
   .about-grid {
       grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
   }
    .about-section .section-title {
       margin-bottom: 1.5rem; /* md:mb-6 */
   }
   .contact-form {
       grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
   }
   /* Span message and button wrapper across 2 cols */
   .contact-form .form-group-span-2,
   .contact-form .submit-button-wrapper {
        grid-column: span 2 / span 2;
   }
   .contact-form-container {
        padding: var(--size-8); /* md:p-8 */
   }
    .main-footer {
        padding-top: var(--size-8); /* md:py-8 */
        padding-bottom: var(--size-8);
    }
    .main-footer p {
        font-size: 1.125rem; /* md:text-lg */
    }
}

@media (min-width: 1024px) { /* --bp-lg */
    .services-grid {
        grid-template-columns: repeat(3, 1fr); /* lg:grid-cols-3 */
    }
}
/* Basic styling for the cookie consent popup */
        .cookieConsent {
            position: fixed;
            bottom: 20px;
            left: 20px;
            right: 20px;
            background-color: #333;
            color: #fff;
            padding: 15px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            display: none;
            z-index: 1000;
        }
        .cookieConsent p {
            margin: 0 0 10px 0;
        }
        .cookieConsent button {
            background-color: #28a745;
            color: #fff;
            border: none;
            padding: 8px 15px;
            border-radius: 3px;
            cursor: pointer;
        }
        .cookieConsent button:hover {
            background-color: #218838;
        }