/* Base Reset & Typography */
* {
  box-sizing: border-box !important;
}

html {
  scroll-behavior: smooth;
}

body {
  /* Softer, more professional background */
  background: #f8f9fa; /* A very light, almost white background */
  font-family: 'Open Sans', sans-serif; /* Modern, readable sans-serif font */
  margin: 0;
  padding: 0;
  color: #343a40; /* Dark gray for better readability */
  padding-top: 20px; /* IMPORTANT: Increased to prevent content from hiding under sticky header */
}

/* --- Header & Navigation --- */
header.main-header { /* Changed selector to match new HTML class */
  margin: 0 10px; /* Full width, remove previous 10px margin */
  position: sticky; /* Make it sticky */
  top: 0; /* Sticks to the very top */
  border-radius: 5px; /* No rounded corners for full width */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 15px 2%; /* Adjusted padding for content inside full-width header */
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Softer, more pronounced shadow */
}

#welcome, #projects, #services, #services, #quote, #about {
  scroll-margin-top: 80px;
}

/* Specific adjustments for logo */
.logo {
  width: 150px; /* Fixed width for better control */
  height: auto; /* Maintain aspect ratio */
  border-radius: 50%;
  object-fit: cover; /* Ensures image covers the area without distortion */
  margin-left: 0; /* Ensure no extra left margin if it was applied before */
}

.navbar {
    margin-right: 0; /* Ensure no extra right margin if it was applied before */
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px; /* Increased gap for better spacing */
  padding: 0;
  margin: 0;
}

/* Default styling for individual nav links on desktop */
.navbar li {
  padding: 0;
  border: none;
}

.navbar a {
  text-decoration: none;
  color: #343a40; /* Darker text for contrast */
  font-weight: 600; /* Slightly bolder */
  padding: 8px 15px; /* Padding for click area */
  border-radius: 8px; /* Slightly rounded corners for links */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.navbar a:hover {
  background-color: #e9ecef; /* Light background on hover */
  color: #2a9d8f; /* Primary accent color on hover */
}

/* Hamburger menu icon */
.hamburger {
  display: none; /* Hidden by default on desktop */
  font-size: 28px; /* Larger icon */
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
  position: relative;
  color: #2a9d8f; /* Primary accent color */
}

/* Hide navigation grouping elements on desktop */
@media (min-width: 769px) {
    .nav-group,
    .nav-separator {
        display: contents; /* Makes children participate in flex layout, but hides container */
    }

    .navbar ul.nav-links .nav-group-title {
      display: none;
    }

    /* Ensure regular list items are displayed as flex items on desktop */
    .navbar ul.nav-links li {
        display: list-item; /* Or initial, or block, depending on desired spacing */
    }
}


/* --- Mobile Specific Styles (Hamburger Menu) --- */
@media (max-width: 768px) {
  .logo {
    width: 100px; /* Adjust logo size for smaller screens */
  }

  /* Hamburger menu becomes visible on mobile */
  .hamburger {
    display: block;
    
  }

  /* Navigation links container on mobile - SLIDE-IN FROM RIGHT */
  .navbar ul.nav-links {
    display: flex; /* Always flex so transition works, hidden by right position */
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align content to the left within the menu */
    gap: 0;
    position: fixed; /* Use fixed for slide-out drawer relative to viewport */
    top: 80px; /* Start from the very top of the viewport */
    right: -40%; /* Initial position: 40% off-screen to the right */
    width: 40%; /* Desired width: 40% of the screen */
    height: calc(100vh - 80px); /* Full viewport height */
    background-color: white;
    padding: 20px 0; /* Vertical padding for the overall menu */
    margin: 30px 5px;
    border-radius: 5px;
    box-shadow: -4px 6px 15px rgba(0, 0, 0, 0.3); /* Shadow to make it look like it slides over content */
    z-index: 999;
    transition: right 0.3s ease-in-out; /* Smooth slide-in/out transition */
    overflow-y: auto; /* Enable scrolling if menu content exceeds height */
    /* border-left: 1px solid #e0e0e0; / / Optional: subtle border on the left edge */
  }

  /* When active, slide into view */
  .navbar ul.nav-links.active {
      right: 0; /* Slide into view */
  }

  /* Navigation Grouping for Mobile Menu */
  .nav-group {
      width: 100%; /* Ensure each group takes full width */
      padding: 10px 20px; /* Padding for the group content */
      margin-bottom: 15px; /* Space between groups */
      border-bottom: 1px solid #e9ecef; /* Subtle separator line for groups */
  }

  .nav-group:last-of-type {
      border-bottom: none; /* No border for the last group */
      margin-bottom: 0;
  }

  .nav-group-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 0.9em; /* Slightly smaller for group titles */
      font-weight: 700; /* Bold */
      color: #6c757d; /* Muted color for headings */
      text-transform: uppercase; /* All caps for clarity */
      margin-bottom: 10px; /* Space below title */
      padding: 0 0 5px 0; /* Small padding at bottom */
      border-bottom: 1px solid #f1f3f5; /* Very subtle line under title */
      list-style: none; /* Remove bullet if any */
      display: block; /* Ensure it behaves as a block */
  }

  /* Style the actual navigation links within the groups on mobile */
  .nav-group li {
      width: 100%; /* Make links take full width of their group */
      margin-bottom: 5px; /* Space between links in a group */
      padding: 0; /* Reset padding from general li rules */
      list-style: none; /* Ensure no bullets */
  }

  .nav-group li:last-child {
      margin-bottom: 0;
  }

  .nav-group li a {
      padding: 8px 0; /* Adjust padding for mobile links */
      display: block; /* Make the whole link area clickable */
      text-align: left; /* Align text to the left */
      font-size: 1.1em; /* Make link text larger for mobile */
      font-weight: 400; /* Regular weight for main links */
      color: #343a40; /* Standard link color */
      border-radius: 4px; /* Slightly rounded for individual links */
  }

  .nav-group li a:hover {
      background-color: #f1f3f5; /* Light hover effect */
      color: #2a9d8f; /* Accent color on hover */
  }

  /* Styles for the separator line between groups on mobile */
  .nav-separator {
      display: block; /* Ensure it's visible */
      width: calc(100% - 40px); /* Adjust width to match content padding */
      height: 1px;
      background-color: #e9ecef; /* Light gray line */
      margin: 10px auto 25px auto; /* Centered with vertical spacing */
      list-style: none; /* Remove any default list styling */
  }
}

/* --- Intro Section --- */
.intro {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: nowrap;
  padding: 60px 20px; /* More vertical padding */
  min-height: 60vh; /* Increased height */
  margin: 30px 2%;
  border-radius: 16px;
  position: relative;
  background: linear-gradient(
    to right,
    #e0f2f7,
    #c2e9fb
  ); /* Subtle blue gradient */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Refined shadow */
  overflow: hidden; /* Ensures icon doesn't overflow rounded corners */
}

.introduction {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #212529; /* Darker text for headings */
  text-align: center;
  z-index: 1; /* Ensure text is above potential background elements */
}

.introduction h1 {
  font-family: 'Montserrat', sans-serif; /* Professional heading font */
  font-size: 4em; /* Larger heading */
  margin-bottom: 0;
  color: #2a9d8f; /* Primary accent color */
}

.introduction h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8em;
  margin-top: 5px;
  color: #495057;
}

.introduction p {
  font-size: 1.1em;
  margin-top: 15px;
  max-width: 500px;
  line-height: 1.6;
}

.hire-me {
  background-color: #f4a261; /* Accent orange/gold */
  color: white; /* White text for contrast */
  padding: 14px 28px; /* Larger button */
  font-weight: bold;
  font-size: 1.1em;
  border: none;
  border-radius: 30px; /* More rounded, pill-like */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 25px;
}

.hire-me:hover {
  background-color: #e78e4d; /* Slightly darker orange on hover */
  transform: translateY(-2px); /* Subtle lift */
}

.tech-genius-icon {
  font-size: 15vw; /* Slightly larger on desktop for impact */
  color: #6c757d; /* Muted gray for a sophisticated tech vibe */
  text-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  opacity: 0.2; /* Make it subtle, almost like a watermark */
  position: absolute; /* Position freely */
  right: 5%;
  bottom: 5%;
  z-index: 0; /* Keep it behind text */
}

.tech-genius-icon:hover {
  transform: scale(1.05); /* Gentle scale on hover */
}

@media (max-width: 768px) {
  .intro {
    flex-direction: column;
    min-height: auto;
    padding: 40px 20px;
  }

  .introduction {
    margin-bottom: 20px;
  }

  .introduction h1 {
    font-size: 2.8em;
  }

  .introduction h3 {
    font-size: 1.4em;
  }

  .tech-genius-icon {
    font-size: 40vw; /* Larger on mobile to fill space if needed */
    right: auto;
    bottom: auto;
    position: relative; /* Revert to relative for stacking */
    margin-top: 20px; /* Add space below text */
    opacity: 0.1; /* Keep it subtle */
  }
}

/* --- Welcome Section & General Section Styling --- */
.s-welcome,
.projects,
.services,
.quote-section,
.faq-section {
  padding: 60px 20px; /* Consistent padding for sections */
  margin: 30px auto; /* Centered with consistent margin */
  max-width: 1200px; /* Max width for readability */
  background: white; /* White background for sections */
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Lighter shadow */
  text-align: center;
}

.s-welcome {
  padding-bottom: 40px; /* Less padding at the bottom for welcome */
}

h2,
.special {
  font-family: 'Montserrat', sans-serif; /* Consistent heading font */
  font-size: 2.8em; /* Slightly smaller for section headers */
  margin-bottom: 30px; /* More space below headings */
  color: #2a9d8f; /* Primary accent color */
  letter-spacing: normal; /* Remove excessive letter spacing */
}

p {
  font-size: 1.05em; /* Slightly larger body text */
  line-height: 1.7; /* Improved line height for readability */
  max-width: 800px;
  margin: 0 auto 20px auto; /* Centered paragraphs with bottom margin */
  color: #495057; /* Slightly darker body text */
}

.bold {
  font-weight: 700; /* Use numerical weight for consistency */
  font-family: 'Montserrat', sans-serif; /* Apply heading font for bold phrases */
  color: #343a40;
}

/* --- Project Cards (Horizontal Scroll on Mobile) --- */
.project-query {
  display: flex; /* Changed to flexbox for horizontal layout */
  overflow-x: auto; /* Enable horizontal scrolling */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  scroll-snap-type: x mandatory; /* Optional: Snap to cards when scrolling */
  gap: 20px; /* Gap between cards */
  padding-bottom: 20px; /* Add some padding for the scrollbar */
  width: 90%; /* Keep width for the container on desktop */
  margin: 0 auto; /* Center the container on desktop */
  max-width: none; /* Allow it to stretch if needed for scroll */
  justify-content: flex-start; /* Align items to the start */
}

.project-card {
  min-width: 280px; /* Ensure cards have a minimum width on desktop/tablet */
  flex-shrink: 0; /* Prevent cards from shrinking */
  scroll-snap-align: start; /* Optional: Align cards to the start when snapping */
  background: #fdfdfd; /* Very light background */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Softer shadow */
  padding: 25px; /* More padding */
  text-align: center;
  border-left: 6px solid #f4a261; /* Accent color for the border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; /* Flexbox for internal alignment */
  flex-direction: column;
  justify-content: space-between;
}

.project-card h3 {
  font-family: 'Montserrat', sans-serif;
  color: #2a9d8f; /* Primary accent for project titles */
  margin-top: 0;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 0.95em;
  color: #6c757d; /* Muted text for descriptions */
  flex-grow: 1; /* Allows paragraph to take available space */
}

.project-card img {
  width: 100%;
  height: 200px; /* Fixed height for image consistency */
  object-fit: cover; /* Ensures images fit without distortion */
  border-radius: 8px;
  margin-top: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px); /* Lift on hover */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

.project-card img:hover {
  transform: scale(1.02); /* Subtle scale on image hover */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Specific media query for project cards on mobile */
@media (max-width: 768px) {
  .project-query {
    padding-left: 20px; /* Add some padding on the left for better visual */
    padding-right: 20px; /* Add some padding on the right */
    width: auto; /* Let it stretch horizontally if needed */
  }

  .project-card {
    min-width: 80vw; /* Make cards take up 80% of the viewport width */
    max-width: 80vw; /* Ensure they don't get too big */
    margin-right: 15px; /* Space between cards */
  }
  .project-card:last-child {
    margin-right: 20px; /* Ensures the last card has padding at the end */
  }
}


/* --- Services --- */
.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
  gap: 30px;
  padding: 20px 0;
}

.service-card {
  background: #fdfdfd; /* Light background */
  border-radius: 12px;
  padding: 30px; /* More padding */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-bottom: 6px solid #2a9d8f; /* Primary accent for border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card i {
  font-size: 3.5rem; /* Larger icons */
  margin-bottom: 20px;
  color: #f4a261; /* Accent color for icons */
}

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #343a40;
}

.service-card .service-description {
  font-size: 0.95em;
  color: #6c757d;
  margin-bottom: 0; /* Remove bottom margin if last element in card */
}

/* --- Quote Section (Reverted to original structure with new colors) --- */
.quote-section {
  padding: 40px 20px;
  background: #f9f9f9;
}

.quote-container {
  background: white;
  max-width: 1000px;
  margin: auto;
  border-radius: 16px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.quote-left h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #2a9d8f; /* Using the new accent color */
  text-align: left; /* Ensure it aligns left as per original */
}

.quote-left form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote-left label {
  font-weight: 600;
  color: #343a40; /* Using the new text color */
}

.quote-left input,
.quote-left textarea {
  padding: 12px;
  font-size: 14px;
  border: 1px solid #ced4da; /* Lighter border from new palette */
  border-radius: 8px;
  outline: none;
  resize: vertical;
}

.quote-left button[type="submit"] { /* Targeted specifically for submit */
  background-color: #2a9d8f; /* Primary accent for submit button */
  color: white;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 120px;
  transition: background-color 0.3s ease;
}

.quote-left button[type="submit"]:hover {
  background-color: #217e74; /* Darker primary on hover */
}

.quote-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.quote-right h3 {
  font-size: 24px;
  color: #343a40; /* Using the new text color */
  margin-bottom: 10px;
}

.quote-right p {
  color: #6c757d; /* Using the new muted text color */
  font-size: 16px;
  margin: 1px; /* Reverted original margin for p */
  line-height: 1.5; /* Reverted original line-height for p */
  letter-spacing: 0.5px; /* Reverted original letter-spacing for p */
}

/* Original contact buttons with new colors */
.whatsapp-btn, .email-btn {
  display: inline-block; /* Original display */
  background-color: #25D366; /* Kept original WhatsApp green */
  color: white;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  margin: 10px 0;
  transition: background-color 0.3s ease;
}

.email-btn {
  background-color: #007bff; /* Changed to a standard blue for email */
}

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

.email-btn:hover {
  background-color: #0056b3;
}

.whatsapp-btn i, .email-btn i {
  margin-right: 8px;
}

/* Original media query for quote section */
@media (max-width: 768px) {
  .quote-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 20px;
  }

  .quote-right {
    align-items: center;
  }
}

/* Lightbox Fix (ensure it's above everything) */
/* Important! Lightbox's own CSS already includes high z-indexes.
   Only override if you find specific conflicts. */
.lightboxOverlay {
  z-index: 2000 !important;
}
.lb-outerContainer {
  z-index: 2001 !important;
}


/* --- FAQ Section --- */
.faq-btn {
  border-radius: 30px; /* Pill shape */
  margin: 30px auto; /* Centered with more margin */
  padding: 15px 30px; /* More padding */
  text-align: center;
  background: #f4a261; /* Accent color */
  color: white; /* White text */
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block; /* Make it a block element to center with margin auto */
  max-width: 300px; /* Limit width */
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.faq-btn:hover {
  background: #e78e4d; /* Darker accent on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.faq-section {
  max-width: 900px; /* Slightly wider FAQ section */
  margin: 30px auto; /* Consistent margin */
  padding: 40px; /* More padding */
  font-family: 'Open Sans', sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  background-color: white;
  display: none; /* Controlled by JavaScript */
}

.faq-section h2 {
  font-size: 2.2em;
  margin-bottom: 40px; /* More space below main FAQ heading */
  color: #2a9d8f;
}

.faq-category {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6em; /* Larger category headings */
  color: #343a40;
  margin-top: 35px; /* Space above category */
  margin-bottom: 20px;
  border-bottom: 2px solid #e9ecef; /* Subtle separator */
  padding-bottom: 10px;
  text-align: left; /* Align category to left */
}

.faq-item {
  margin-bottom: 10px;
  border: 1px solid #e9ecef; /* Light border around each item */
  border-radius: 8px;
  overflow: hidden; /* Ensures inner elements respect border-radius */
}

.faq-question {
  background: #fdfdfd; /* Very light background for questions */
  border: none;
  width: 100%;
  text-align: left;
  padding: 18px 25px; /* More padding */
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  font-weight: 600;
  color: #343a40;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '\002B'; /* Plus sign unicode character */
  font-size: 1.5em;
  color: #2a9d8f; /* Accent color for the icon */
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  content: "\2212"; /* Minus sign unicode character */
  transform: rotate(180deg); /* Rotate for animated effect */
}

.faq-question:hover {
  background: #eef7f9; /* Subtle hover background */
  color: #2a9d8f; /* Change text color on hover */
}

.faq-question.active {
  background: #eef7f9;
  color: #2a9d8f;
}

.faq-answer {
  display: none;
  padding: 15px 25px 20px 25px; /* Adjust padding for answer */
  background: #fafbff; /* Slightly different background for answer */
  font-size: 1.0em;
  line-height: 1.7;
  color: #495057;
  border-top: 1px solid #e9ecef; /* Separator from question */
}

.faq-question.active + .faq-answer {
  display: block;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 30px 0; /* More padding */
  font-size: 0.9em;
  color: #6c757d; /* Muted color for footer text */
  background-color: #f1f3f5; /* Light gray background */
  margin-top: 50px; /* Space above footer */
}

/* Services Page Specific Styles (Refined) */
/* Note: These rules are relevant if you also have a services.html page,
   and they should ideally be in a separate CSS file for that page,
   or clearly commented if kept here for a single-page portfolio. */
.services-hero {
    padding-bottom: 60px;
}

.services-detail-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 30px auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-category {
    background: #fdfdfd;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 30px;
    text-align: left;
    border-left: 6px solid #2a9d8f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Use flexbox for internal layout */
    flex-direction: column; /* Stack content vertically */
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-category h3 {
    font-family: 'Montserrat', sans-serif;
    color: #2a9d8f;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.service-category h3 i {
    font-size: 1.5em;
    margin-right: 15px;
    color: #f4a261;
}

.service-category p {
    font-size: 1em;
    line-height: 1.6;
    color: #495057;
    margin: 0 0 15px 0; /* Ensure consistent spacing for paragraphs */
    max-width: none; /* Override general p max-width */
}

.service-category ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px 0;
    flex-grow: 1; /* Allows list to take up available space */
}

.service-category ul li {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5; /* Ensure good line height for list items */
}

.service-category ul li::before {
    content: '\2713'; /* Checkmark unicode */
    color: #2a9d8f;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Style the bold text within list items */
.service-category ul li strong {
    font-weight: 600; /* Slightly less bold than 700 for better readability in lists */
    color: #343a40; /* Darker color for emphasis */
}

.service-benefit {
    font-style: italic;
    font-weight: 600;
    color: #343a40;
    margin-top: 20px;
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
}

.services-cta {
    margin-top: 60px;
}

/* Mobile Responsiveness for Services Page (Refined) */
@media (max-width: 768px) {
 .services-detail-section {
        grid-template-columns: 1fr; /* Stack services on mobile */
        padding: 20px;
        gap: 30px;
    }

 .service-category {
        padding: 25px;
        text-align: center; /* Center text for better mobile appearance */
    }

 .service-category h3 {
        font-size: 1.5em;
        flex-direction: column; /* Stack icon and text on small screens */
        text-align: center;
        margin-bottom: 15px;
    }

 .service-category h3 i {
        font-size: 2em; /* Larger icon on mobile */
        margin-right: 0;
        margin-bottom: 10px;
    }

 .service-category p {
        text-align: center; /* Ensure paragraphs are centered */
    }

 .service-category ul {
        text-align: left; /* Keep list items left-aligned for readability */
        padding-left: 0; /* Remove padding from ul itself */
        margin-left: auto; /* Center the ul block */
        margin-right: auto; /* Center the ul block */
        max-width: 280px; /* Constrain width of ul for better centering */
    }

 .service-category ul li {
        padding-left: 0;
        text-align: left; /* Ensure list items are left-aligned */
        display: flex; /* Use flex to align checkmark and text */
        align-items: flex-start; /* Align to top if text wraps */
        margin-bottom: 8px;
    }

 .service-category ul li::before {
        position: static; /* Remove absolute positioning for checkmark */
        margin-right: 8px; /* Add space after checkmark */
        flex-shrink: 0; /* Prevent checkmark from shrinking */
    }

  .service-benefit {
        text-align: center;
    }
}