/* Setting the default font for the entire page */
body {
    font-family: 'Inter', sans-serif; /* clean body */
    background-color: #F8FAFC;
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif; /* bold headings */
    font-weight: 600;
  }

/* NEW color variables from the provided image */
:root {
    --brand-darkest: #2f4770;
    --brand-dark: #34658d;
    --brand-primary: #018ABE;
    --brand-light: #97CADB;
    --brand-lightest: #D6E8EE;
}
header {
    background: linear-gradient(to right, var(--brand-darkest), var(--brand-primary));
}
header.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Extending Tailwind's color palette */
.bg-brand-darkest { background-color: var(--brand-darkest); }
.bg-brand-dark { background-color: var(--brand-dark); }
.bg-brand-primary { background-color: var(--brand-primary); }
.bg-brand-light { background-color: var(--brand-light); }
.bg-brand-lightest { background-color: var(--brand-lightest); }

.text-brand-darkest { color: var(--brand-darkest); }
.text-brand-dark { color: var(--brand-dark); }
.text-brand-primary { color: var(--brand-primary); }
.text-brand-light { color: var(--brand-light); }

.border-brand-primary { border-color: var(--brand-primary); }

/* --- ENHANCEMENT: Animated Hero Gradient --- */
.hero-gradient {
    /* We add more color stops for a richer gradient and a larger background size for the animation */
    background: linear-gradient(135deg, #FFFFFF 0%, var(--brand-lightest) 50%, var(--brand-light) 100%);
    background-size: 200% 200%;
    animation: gradient-flow 15s ease infinite;
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Styles for the fade-in-on-scroll animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient background for the hero section */
.hero-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--brand-lightest)50%, var(--brand-light)100%);
    background-size: 200% 100%;
    animation: gradient-flow 10s ease infinite;
    }

/* Frosted Glass Effect */
.frosted-glass {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: box-shadow 0.3s ease, border-color 0.3s ease; /* Added for smooth hover transition */
}

/* --- NEW HOVER EFFECTS --- */

/* Add a more pronounced shadow and border to frosted glass cards on hover */
.frosted-glass:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 27, 72, 0.1), 0 10px 10px -5px rgba(0, 27, 72, 0.04);
    border-color: var(--brand-light);
}

/*
 * Introduction Section Styling
 */
.intro-section {
    background-color: #ffffff;
    color: var(--brand-darkest);
    padding: 6rem 1.5rem;
    text-align: center;
}

.intro-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--brand-darkest);
     position: relative;
  z-index: 1;  
}

.intro-section p {
    font-size: 1.130rem;
    line-height: 1.75;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    color: #4a5568;
     position: relative;
  z-index: 1;  
}
/*
 * Introduction Section Gradient Background
 */
.intro-gradient{
  position: relative;
  background: linear-gradient(135deg,white,var(--brand-light),white);
  color: white;
  overflow: hidden;
}

.intro-gradient::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,var(--brand-lightest) 0%, transparent 70%);
  animation: wave 10s infinite linear;
  z-index: 0;   /* put background below */
}

@keyframes wave {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Updated styling for .intro-section to work with the new gradient */
.intro-section {
    padding: 6rem 1.5rem;
}

/* Main container for the entire section */
.process-container {
    max-width: 1100px;
    margin: 0 auto; /* Center the container on the page */
    padding: 30px 0 60px 0;
    
    
}
/* --- Top Section: Intro Text and "Our Process" Box --- */

/* Flex container for the top section */
/* Start hidden */
.process-header {
    display: flex;
    justify-content: space-between; /* Text left, image right */
    align-items: center;            /* Vertically centered */
    max-width: 1200px;
    margin: 0 auto 20px auto;
    padding: 0 20px;
}
/* When JS adds .visible */
.process-header.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Left side: "Our Proven Software Development Process" data */
.process-intro {
    flex: 1; /* Allows this element to grow and take available space */
    max-width: 80%;
    font-weight: bold; 
    font-size: 1.1rem; /* slightly bigger */
    line-height: 1.6; /* improves readability */
}

.process-intro h2 {
    font-size: 2.4rem;
    color: #1c3d5a; /* Dark blue color for the heading */
    margin-bottom: 15px;
}

.process-intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* Bigger font sizes only for Our Process section */
.process-container h2 {
    font-size: 2.2rem; /* Bigger main heading */
}

.process-container p {
    font-size: 1.05rem; /* Slightly bigger paragraph text */
}

.process-steps .step-details h3 {
    font-size: 1.3rem; /* Bigger step titles */
}

.process-steps .step-details p {
    font-size: 1.05rem; /* Bigger step descriptions */
}

/* Right side: The "Our Process" box */
/* Your existing style (unchanged) */
.process-title-box {
    width: 400px;
    height: auto;
    background-color: #d6e8ef;
    padding: 5px 5px;
    border-radius: 8px;
    font-size: 1.8rem;
    font-weight: 500;
    color: #1c3d5a;
    flex-shrink: 0;
    box-shadow: none;
}

/* Adjusted */
.process-image {
    max-width: 540px;   /* Keep it proportional */
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.4s ease-in-out;
    flex-shrink: 0;     /* Prevent shrinking */
}
.process-image:hover {
    /* Scale the image up slightly on hover */
    transform: scale(1.05);
    
    /* Add a glow effect using box-shadow */
    /* You can change the color (rgba) to anything you like */
    /* A purple glow */
}
/* --- Container for Steps --- */
.process-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-steps li {
  flex: 0 0 200px;
  height: 220px; 
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.process-steps ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 30px; /* Space between boxes */
  width: 100%;
  position: relative;
}
.process-steps li:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* === ARROW FIX START === */

/* The ::before pseudo-element creates the line of the arrow */
.process-steps li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 100%;
    margin-left: 2px;
    width: 18px; 
    height: 3px; 
    background-color: var(--brand-primary);
    z-index: 1;
}

/* The ::after pseudo-element creates the head of the arrow */
.process-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 100%;
    margin-left: 18px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 9px solid var(--brand-primary);
    z-index: 2;
}

/* === ARROW FIX END === */

.process-steps li:hover .step-number {
  transform: scale(1.2) rotate(5deg); /* Circle grows & rotates slightly */
  transition: transform 0.3s ease;
}

.process-steps li:hover .step-details h3 {
  transform: translateY(-3px); /* Title shifts up */
  transition: transform 0.3s ease;
}

.process-steps li:hover .step-details p {
  transform: translateY(3px); /* Subtitle shifts down */
  opacity: 0.9; /* Slight fade effect */
  transition: all 0.3s ease;
}

/* Add a transition effect for the intro text and image changing */
.process-intro, .process-image {
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.process-content-swapping {
    opacity: 0;
    transform: translateY(10px);
}
.step-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Step number circle */
.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
  margin: 0 auto 12px auto;
}

.process-steps li:hover .step-number {
  transform: scale(1.2);
}
.step-details h3 {
  font-size: 1rem;
  font-weight: bold; /* heading bold */
  margin-bottom: 8px;
}

.step-details p {
  font-size: 1rem;
  font-weight: normal; /* subheading normal */
  opacity: 0.85;
}


/* START: Updated Core Services Section CSS */
/* START: Updated Core Services Section CSS */
.services-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, var(--brand-lightest) 100%);
    overflow: hidden;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 2rem; /* Adjusted gap for cards */
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.service {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(47, 71, 112, 0.08);
    width: 100%;
    max-width: 380px;
    text-align: left;
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
}

.service:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(47, 71, 112, 0.15);
}

.service .icon {
    color: var(--brand-darkest);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--brand-lightest);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 2rem;
    box-shadow: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service p {
    margin: 0;
    padding: 0;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--brand-darkest);
    transition: color 0.3s ease;
}

.service.active .icon {
    background: var(--brand-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 12px 28px rgba(1, 138, 190, 0.3);
}

.service.active p {
    color: var(--brand-primary);
}

.description-box {
    --arrow-left: 50%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--brand-light);
    background: #fff;
    text-align: left;
    position: relative;
    box-shadow: 0 10px 30px rgba(47, 71, 112, 0.12);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* Class added by JS to handle animation */
.description-box.is-updating {
    opacity: 0;
    transform: translateY(15px);
}

.description-box::before {
    content: "";
    position: absolute;
    top: -12px;
    left: var(--arrow-left, 50%);
    transform: translateX(-50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #fff;
    z-index: 20;
    transition: left 220ms ease;
}

.description-box::after {
    content: "";
    position: absolute;
    top: -13px;
    left: var(--arrow-left, 50%);
    transform: translateX(-50%);
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-bottom: 13px solid var(--brand-light);
    z-index: 10;
    transition: left 220ms ease;
}

.description-box h3 {
    color: var(--brand-darkest);
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 700;
}

.description-box p {
    color: #4a5568;
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

/* --- NEW STYLES for Description Box Layout --- */

.description-content {
    display: flex;
    align-items: center; /* Vertically align text and image */
    gap: 2.5rem; /* Space between text and image */
}

.description-text {
    flex: 1; /* Allow text content to take up available space */
    min-width: 0; /* Prevents text from overflowing */
}

.description-image {
    flex-basis: 40%;
    flex-shrink: 0;
    
    /* Set a fixed size for the container */
    width: 180px;
    height: 230px;
}

.description-image img {
    /* Make the image fill the container */
    width: 100%;
    height: 100%;
    
    border-radius: 12px;
    
    /* --- NEW: Ensure the full image is visible, even if it adds whitespace --- */
    object-fit: contain; /* Changed from 'cover' to 'contain' */
    
    box-shadow: 0 8px 24px rgba(47, 71, 112, 0.12);
}

/* Responsive styles for tablet and mobile screens */
@media (max-width: 820px) {
    .description-content {
        flex-direction: column; /* Stack text and image vertically */
        align-items: flex-start; /* Align items to the left */
        gap: 1.5rem;
    }

    .description-image {
        width: 100%;
        max-width: 100%; /* Allow image to take full width */
        flex-basis: auto;
    }
}
/* END: Updated Core Services Section CSS */

/* --- FAQ Accordion Section --- */
.faq-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--brand-lightest)50%, var(--brand-light)100%);
  animation: gradient-flow 15s ease infinite;
}
.faq-accordion details {
    transition: background 0.3s ease;
    border-bottom: 1px solid var(--brand-light);
}

.faq-accordion details:hover {
    background: rgba(255, 255, 255, 0.5); 
}


.faq-accordion summary {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--brand-darkest);
    cursor: pointer;
    list-style: none; /* remove default arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
    padding: 1.5rem 1.5rem;
}

.faq-accordion summary:hover { color: var(--brand-primary); }

/* Remove default arrow in Chrome/Safari */
.faq-accordion summary::-webkit-details-marker { display: none; }

.faq-accordion summary::after {
    content: '+';
    font-size: 2rem;
    font-weight: 300;
    color: var(--brand-primary);
    transform-origin: center;
    transition: transform 0.2s ease-out;
}

.faq-accordion details[open] > summary {
    color: var(--brand-primary);
}

.faq-accordion details[open] > summary::after { 
    transform: rotate(45deg); 
}

.faq-accordion details[open] .faq-answer {
    animation: fadeIn 0.5s ease;
    padding-bottom: 1rem;
}

@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}

/* --- Responsive Design Adjustments --- */
@media (max-width: 768px) {
    .section-title { font-size: 1.875rem; }
    .section-subtitle { font-size: 1rem; }
    .process-header { flex-direction: column; text-align: center; align-items: center; }
    .process-intro { max-width: 100%; }
    .process-steps ul { flex-wrap: wrap; justify-content: center; }
    .process-steps li { flex-basis: 48%; margin-bottom: 2rem; } /* Changed to 48% to fit two items per row */
    .testimonial-card { flex-direction: column; text-align: center; }
    .testimonial-divider { display: none; }
    .testimonial-card blockquote { margin-top: 1rem; }
    
    /* Hides arrows when the layout wraps */
    .process-steps li::before,
    .process-steps li::after {
        display: none;
    }
}

@media (max-width: 640px) {
  h1 { font-size: 2.2rem !important; line-height: 2.5rem; }
  h2 { font-size: 1.8rem !important; }
  p  { font-size: 1rem !important; }
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }

  .process-title-box {
    width: 100% !important;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
    .project-cards { flex-direction: column; align-items: center; }
    .project-card { width: 90%; flex-basis: auto; }
}

/* Add a subtle scale effect to footer social icons on hover */
footer a svg {
    transition: transform 0.3s ease;
}

footer a:hover svg {
    transform: scale(1.2);
}


/* Add a subtle underline effect for navigation links in the header */
header nav a {
    position: relative;
    text-decoration: none;
}

header nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: white;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

header nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Exclude the button from the nav link underline effect */
header nav a.bg-brand-primary::after {
    display: none;
}

/* Prevent horizontal scroll on mobile */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

 /* Scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s ease;
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }

  /* Counters */
  .odometer {
    font-variant-numeric: tabular-nums;
  }

  /* Marquee logos (if you need the tech logo animation) */
  .marquee {
    --gap: 3rem;
    display: flex;
    overflow: hidden;
    gap: var(--gap);
  }
  .marquee__track {
    display: flex;
    align-items: center;
    gap: var(--gap);
    animation: marquee 20s linear infinite;
  }
  /* Marquee container */
.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

/* --- Technology Stack Section --- */
.tech-stack {
    background: linear-gradient(135deg, var(--brand-lightest) 0%, #ffffff 50%, var(--brand-lightest) 100%);
    padding: 60px 50px;
    text-align: center;
}

.tech-stack h2 {
  font-size: 2rem;
  margin-bottom: 60px;
  color: var(--brand-dark);
}

/* Marquee container */
.marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}


/* Scrolling track (This is the key fix) */
/* Scrolling track (This is the key fix) */
.marquee__track {
    display: flex;
    align-items: center;
    gap: 5rem; /* Increased gap for more space */
    width: fit-content;
    animation: scroll 10s linear infinite;
}


/* Logo wrapper box */
.logo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease-in-out;
}
/* Logo image itself */
.logo-box img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    margin-bottom: 0.5rem;
}
/* Logo label */
.logo-box .logo-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #4a5568;
    white-space: nowrap;
}

/* Hover effect on the whole logo box */
.logo-box:hover {
    transform: scale(1.1);
}

/* Scrolling animation */
@keyframes scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 5%;
  background: linear-gradient(to bottom right, #f0f9ff, #e0eff5);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
}

/* --- FINAL FIX: Shift hero text to the left --- */
.hero-gradient .container > div:first-child {
    margin-left: 80px;
    margin-top: -40px;
}
.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  color: #1d3c6a;
}

.hero-content p {
  margin: 20px 0;
  color: #2f4f7f;
  font-size: 1.1rem;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  background: #008fd1;
  color: #fff;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 143, 209, 0.3);
  transition: 0.3s;
}

.btn-primary:hover {
  background: #006fa1;
}
/* style.css */
/* style.css */

/* --- Advanced 3D Tilt Hero Image Collage --- */
/* --- UPDATED: Responsive 3D Tilt Hero Image Collage --- */
  /* === HERO IMAGES === */
.hero-images {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 520px;
  min-height: 400px;
  margin-right: 110px;

  transform: translateY(-40px);
  }

@media (min-width: 1024px) {
  .hero-images {
    margin-top: 0;
    margin-left: 3rem;
  }
}

.hero-images img {
  position: absolute;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: all 0.5s ease;
}

/* === Main large image === */
.hero-image-main {
  width: 85%;
  height: auto;
  z-index: 1;
  transform: rotate(-2deg);
  
}

/* === Small image below main (bottom-right overlap) === */
.hero-image-tertiary {
  width: 40%;
  bottom: -12%;
  right: -10%;
  background: #000;
  z-index: 2;
  transform: rotate(3deg);
}

/* Hover animation for subtle movement */
.hero-images:hover img {
  transform: scale(1.03);
}

/* Reduce the overall main hero image size */


.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* subtle gradient highlight */
.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-dark),var(--brand-darkest));
  transition: all 0.4s ease;
}

/* Avatar */
.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a90e2, #00c6ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s ease, background 0.35s ease;
  flex-shrink: 0;
}

/* Hover Effects */
.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-card:hover::before {
  left: 0;
}

/* Text */
.testimonial-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.testimonial-content p.role {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin: 2px 0 8px 0;
}

.testimonial-content p.quote {
  font-size: 0.95rem;
  color: #34495e;
  font-style: italic;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-content p.quote {
  color: #2c3e50;
}


/* --- HERO SECTION RESPONSIVE FIX --- */
@media (max-width: 768px) {
  .hero-gradient {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .hero-gradient .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-gradient h1 {
    font-size: 2rem;
    line-height: 2.6rem;
  }

  .hero-gradient p {
    font-size: 1rem;
    line-height: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .hero-images {
    margin: 2rem auto 0;
    max-width: 90%;
    min-height: 250px;
    transform: none;
  }

  .hero-images img {
    position: relative;
    width: 100%;
    height: auto;
    transform: none !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  }

  .hero-image-tertiary {
    display: none; /* hide small overlap image on small screens for clarity */
  }

  .hero-gradient .container > div:first-child {
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  .hero-gradient a {
    display: inline-block;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-gradient h1 {
    font-size: 1.7rem;
    line-height: 2.2rem;
  }

  .hero-gradient p {
    font-size: 0.95rem;
  }
}

/* --- OUR PROCESS SECTION MOBILE RESPONSIVE FIX --- */
@media (max-width: 1024px) {
  .process-header {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .process-intro {
    max-width: 100%;
    font-size: 1rem;
    text-align: center;
  }

  .process-title-box {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .process-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .process-container {
    padding: 3rem 1rem;
  }

  .process-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
  }

  .process-intro h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .process-intro p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .process-title-box {
    width: 100%;
    background: none;
    padding: 0;
    box-shadow: none;
  }

  .process-image {
    width: 100%;
    max-width: 360px;
    height: auto;
    margin: 0 auto;
  }

  .process-steps ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .process-steps li {
    flex: 0 0 45%;
    margin-bottom: 1rem;
  }

  /* Remove arrows between steps */
  .process-steps li::before,
  .process-steps li::after {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .process-steps li {
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .process-intro h2 {
    font-size: 1.6rem;
  }

  .process-intro p {
    font-size: 0.95rem;
  }
}



