/* Basic Body Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #f8f8f8; /* Light background for the header */
  border-bottom: 1px solid #ddd;
}

header .logo img {
  height: 50px; /* Match SVG height */
}

/* Main Navigation Styles */
header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

header nav ul li {
  margin-left: 20px;
}

header nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

header nav ul li a:hover {
  color: #007bff; /* Example hover color */
}

/* Header CTA Button Styles */
.cta-button {
  padding: 10px 20px;
  background-color: #007bff; /* Example CTA color */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.cta-button:hover {
  background-color: #0056b3; /* Darker shade on hover */
}

/* Footer Styles */
footer {
  background-color: #333; /* Dark background for footer */
  color: #f8f8f8; /* Light text color for footer */
  padding: 2rem;
  text-align: center;
}

footer .footer-logo img {
  height: 50px; /* Match SVG height */
  margin-bottom: 1rem;
}

footer .tagline {
  font-style: italic;
  margin-bottom: 1.5rem;
}

footer .social-media a {
  color: #f8f8f8;
  text-decoration: none;
  margin: 0 10px;
  font-size: 1.2rem; /* Slightly larger for icon placeholders */
}

footer .social-media a:hover {
  color: #007bff; /* Example hover color */
}

footer .footer-links {
  display: flex;
  justify-content: space-around;
  text-align: left;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap; /* Allow sections to wrap on smaller screens */
}

footer .footer-links section {
  margin: 1rem;
  min-width: 200px; /* Minimum width for each section */
}

footer .footer-links h4 {
  color: #fff;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #555;
  padding-bottom: 0.3rem;
}

footer .footer-links ul {
  list-style: none;
  padding: 0;
}

footer .footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  line-height: 1.8;
}

footer .footer-links ul li a:hover {
  color: #fff;
}

footer .contact-details address a {
  color: #ccc;
  text-decoration: none;
}
footer .contact-details address a:hover {
  color: #fff;
}


footer .copyright-legal {
  margin-top: 2rem;
  font-size: 0.9rem;
  border-top: 1px solid #555;
  padding-top: 1rem;
}

footer .copyright-legal p {
  margin: 0.5rem 0;
}

footer .copyright-legal a {
  color: #ccc;
  text-decoration: none;
}

footer .copyright-legal a:hover {
  color: #fff;
}

/* Basic Responsive Rules */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1rem;
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
  }

  header nav ul li {
    margin-left: 0;
    margin-bottom: 10px;
  }

  .cta-button {
    margin-top: 1rem;
  }

  footer .footer-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .footer-links section {
    min-width: auto; /* Allow sections to take full width */
    width: 100%;
    margin: 1rem 0;
  }
   footer .footer-links section ul {
    text-align: center;
  }
}

/* --- Root Variables (Added for consistency) --- */
:root {
  --primary-color: #007bff; /* Blue, similar to existing .cta-button */
  --primary-hover-color: #0056b3; /* Darker blue */
  --secondary-color: #6c757d; /* Grey */
  --light-bg-color: #f8f8f8;
  --dark-bg-color: #333;
  --text-color-light: #f8f8f8;
  --text-color-dark: #333;
  --border-color: #ddd;
  --section-padding: 3rem 2rem;
  --card-padding: 1.5rem;
  --card-border-radius: 8px;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* --- General Section Styles --- */
.hero-section, /* services.html */
.core-offerings, /* services.html */
.our-process, /* services.html */
.why-partner-with-us, /* services.html */
.secondary-cta, /* services.html */
.individual-service-hero, /* seo-services.html */
.seo-services-include, /* seo-services.html */
.key-benefits, /* seo-services.html */
.seo-process, /* seo-services.html */
.case-study-link, /* seo-services.html */
.faqs-seo, /* seo-services.html */
.testimonial-seo, /* seo-services.html */
.final-cta /* seo-services.html */ {
  padding: var(--section-padding);
  text-align: center; /* Default to center, can be overridden */
}

.hero-section h1,
.individual-service-hero h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  color: var(--text-color-dark);
}

.hero-section p,
.individual-service-hero p.sub-headline {
  font-size: 1.1em;
  color: #555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

.individual-service-hero img {
  max-width: 100%;
  height: auto;
  border-radius: var(--card-border-radius);
  margin-bottom: 1.5em;
  box-shadow: var(--box-shadow);
}

h2 {
  font-size: 2em;
  color: var(--text-color-dark);
  margin-bottom: 1em;
  text-align: center;
}

/* --- Services Overview Page (services.html) --- */

.core-offerings {
  background-color: var(--light-bg-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: left;
}

.service-card {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 50px; /* As per HTML */
  height: 50px; /* As per HTML */
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 0.5em;
}

.service-card p {
  font-size: 1em;
  color: #555;
  margin-bottom: 1em;
  flex-grow: 1; /* Allows description to take available space */
}

.service-card ul {
  list-style: disc;
  margin-left: 1.2em;
  margin-bottom: 1.5em;
  padding-left: 0;
  font-size: 0.95em;
}

.service-card ul li {
  margin-bottom: 0.5em;
}

.service-card .cta-button { /* Use existing .cta-button and modify if needed, or use a secondary */
  margin-top: auto; /* Pushes button to the bottom of the card */
  text-align: center;
}

/* "Our Process (General)" on services.html */
.our-process {
  background-color: #fff;
}
.our-process ol {
  list-style: none;
  padding-left: 0;
  max-width: 800px;
  margin: 2rem auto 0 auto;
  text-align: left;
}

.our-process ol li {
  background-color: var(--light-bg-color);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: var(--card-border-radius);
  border-left: 5px solid var(--primary-color);
}

.our-process ol li h4 {
  font-size: 1.2em;
  color: var(--primary-color);
  margin-bottom: 0.5em;
}

.why-partner-with-us {
  background-color: var(--light-bg-color);
}

.why-partner-with-us ul {
  list-style: disc;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  padding-left: 1.5em;
}

.why-partner-with-us ul li {
  margin-bottom: 0.75em;
}

.secondary-cta {
   background-color: var(--primary-color);
   color: var(--text-color-light);
}

.secondary-cta h2 {
  color: var(--text-color-light);
}

.secondary-cta p {
  color: var(--text-color-light);
  opacity: 0.9;
  margin-bottom: 1.5em;
}

.secondary-cta .cta-button {
  background-color: #fff;
  color: var(--primary-color);
}
.secondary-cta .cta-button:hover {
  background-color: #eee;
}


/* --- Individual Service Page (services/seo-services.html) --- */

.individual-service-hero {
  background-color: var(--light-bg-color);
}

.seo-services-include {
  background-color: #fff;
}

.seo-services-include > div { /* Direct div children for each service inclusion */
  background-color: var(--light-bg-color);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--card-border-radius);
  text-align: left;
  border-left: 5px solid var(--secondary-color);
}

.seo-services-include h3 {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 0.5em;
}

.key-benefits {
  background-color: var(--light-bg-color);
}

.key-benefits ul {
  list-style: disc; /* Or use custom icons/styling */
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  padding-left: 1.5em; /* For bullet points */
}

.key-benefits ul li {
  margin-bottom: 0.75em;
  font-size: 1.05em;
}

/* "Our SEO Process" on seo-services.html */
.seo-process {
  background-color: #fff;
}
.seo-process ol {
  list-style: none;
  padding-left: 0;
  max-width: 800px;
  margin: 2rem auto 0 auto;
  text-align: left;
}

.seo-process ol li {
  background-color: var(--light-bg-color);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: var(--card-border-radius);
  border-left: 5px solid var(--primary-color); /* Consistent with general process */
}

.seo-process ol li h3 { /* Specific h3 inside li for steps */
  font-size: 1.2em;
  color: var(--primary-color);
  margin-bottom: 0.5em;
}

.case-study-link {
  background-color: var(--light-bg-color);
}
.case-study-link img {
  max-width: 300px; /* As per HTML */
  height: auto;
  border-radius: var(--card-border-radius);
  margin: 1em auto 1.5em auto;
  display: block;
  box-shadow: var(--box-shadow);
}
.cta-button-secondary { /* Style for secondary buttons like "View Full Case Study" */
  padding: 10px 20px;
  background-color: var(--secondary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block; /* To allow margin auto if needed and padding */
}

.cta-button-secondary:hover {
  background-color: #545b62; /* Darker shade of secondary color */
}


.faqs-seo {
  background-color: #fff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  text-align: left;
  border: 1px solid var(--border-color);
  border-radius: var(--card-border-radius);
  padding: 1rem;
}

.faq-item h3 {
  font-size: 1.2em;
  color: var(--text-color-dark);
  margin-bottom: 0.5em; /* Reduced margin */
  cursor: pointer; /* Indication that it might be clickable */
}

.faq-item p { /* Assuming answers are in p tags directly after h3 */
  margin-bottom: 0; /* Remove bottom margin from answer paragraph */
  padding-left: 1em; /* Indent answer slightly */
  border-left: 3px solid var(--primary-color);
  font-size: 0.95em;
  color: #555;
}

.testimonial-seo {
  background-color: var(--light-bg-color);
}

.testimonial-seo blockquote {
  font-size: 1.2em;
  font-style: italic;
  color: #555;
  max-width: 700px;
  margin: 0 auto 1em auto;
  padding: 1em;
  border-left: 5px solid var(--primary-color);
  background-color: #fff;
  border-radius: var(--card-border-radius);
}

.testimonial-seo cite {
  font-size: 1em;
  color: var(--text-color-dark);
  font-weight: bold;
  display: block; /* Makes it appear on its own line */
}

.final-cta {
  background-color: var(--primary-color); /* Prominent CTA background */
  color: var(--text-color-light);
}
.final-cta h2 {
  color: var(--text-color-light);
}
.final-cta p {
  color: var(--text-color-light);
  opacity: 0.9;
}

.cta-button-prominent { /* For the final CTA on service page */
  background-color: #fff; /* White button on colored background */
  color: var(--primary-color);
  padding: 12px 25px;
  font-size: 1.1em;
}
.cta-button-prominent:hover {
  background-color: #eee; /* Slightly off-white on hover */
}


/* --- Responsive Adjustments for New Sections --- */
@media (max-width: 768px) {
  .hero-section h1,
  .individual-service-hero h1 {
    font-size: 2em;
  }

  .hero-section p,
  .individual-service-hero p.sub-headline {
    font-size: 1em;
  }

  h2 {
    font-size: 1.8em;
  }

  .services-grid {
    grid-template-columns: 1fr; /* Single column on smaller screens */
  }

  .our-process ol,
  .seo-process ol,
  .key-benefits ul,
  .why-partner-with-us ul {
    padding-left: 1rem; /* Adjust padding for smaller screens */
  }

  .our-process ol li,
  .seo-process ol li {
    padding: 1rem;
  }

  .seo-services-include > div {
    padding: 1rem;
  }

  .faq-item {
    padding: 0.75rem;
  }
  .faq-item p {
    padding-left: 0.5em;
  }

  .testimonial-seo blockquote {
    font-size: 1.1em;
    padding: 0.75em;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 2rem 1rem; /* Reduce padding on very small screens */
  }
  .hero-section h1,
  .individual-service-hero h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.6em;
  }
  .service-card h3 {
    font-size: 1.3em;
  }
  .our-process ol li h4,
  .seo-process ol li h3,
  .seo-services-include h3,
  .faq-item h3 {
    font-size: 1.1em;
  }
}
