/* style.css */

/* Global Styles */
.section-wrapper {
  max-width: 1300px;
  margin: 0 auto;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  background:
    linear-gradient(to bottom, transparent 80%, #EFF4FD 100%),
    url('../images/hero index-01.webp') no-repeat center center;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  margin-top: 0px;
}

/* Mobile-friendly */
@media (max-width: 768px) {
  .hero-section {
    /* keep full-screen height and center on mobile too */
    /* if you really want height:auto, you could uncomment: */
    /* height: auto; */
    /* but generally 100vh + centered feels great */
    background-position: top center; /* pin SVG top on mobile */
  }
  
  .hero-heading {
    margin-bottom: 0.75rem;
  }


  .hero-services {
    gap: 0.5rem;
  }
}

/* Hero Content */
.hero-content {
  text-align: center;
}

/* All fade-in from heading */
.hero-heading {
  opacity: 0;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-logo {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-services {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-content.reveal .hero-heading {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.hero-content.reveal .hero-logo {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}

.hero-content.reveal .hero-services {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.0s;
}

/* Logo */
.hero-logo img {
  max-width: 250px;
  margin: 10px auto;
}

/* Heading */
.hero-heading {
  font-size: clamp(1.8rem, 8vw, 66px);
  color: #001a40;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* Services */
.hero-services {
  font-size: clamp(0.9rem, 4vw, 33px);
  font-weight: 500;
  text-transform: uppercase;
  color: #001a40;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-content {
  animation: none; /* Prevents stale animations from sticking */
}

/* Scroll Animation */
@keyframes slideFromTop {
  0% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}


@keyframes slideFromBottom {
  0% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}



.hero-content.settle-up {
  animation: slideFromBottom 0.5s ease-out forwards;
}

.hero-content.settle-down {
  animation: slideFromTop 0.5s ease-out forwards;
}



/* Welcome Section */
.welcome-section {
  text-align: center;
  padding: 80px 5vw 0; /* Left/Right padding with vw units */
}

.welcome-section h1 {
  font-size: 37px;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #001a40;
  line-height: 52px;
}

.welcome-section p {
  max-width: 800px;
  margin: 0 auto 1rem;
  font-size: 20px;
  font-weight: 400;
  line-height: 36px;
  color: #001a40b0;
}

/* Welcome Highlights - Horizontal distribution */
.welcome-highlights {
  display: flex;
  justify-content: space-between;
  gap: 3.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Highlight Boxes */
.highlight-box {
  flex: 1 1 calc(25% - 3.5rem);
  min-width: 220px; /* Slightly bigger for better alignment */
  text-align: center;
  padding: 1.5rem;
  background-color: #f9fcff;
  border-top-left-radius: 35px;
  border-bottom-right-radius: 35px;
  box-shadow: 0 0 10px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

/* Hover effect */
.highlight-box:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.highlight-box i {
  font-size: 30px;
  color: #005dd6;
  margin-bottom: 1rem;
}

.highlight-box h4 {
  font-size: 18px;
  font-weight: 600;
  color: #001a40;
  margin-bottom: 0.5rem;
}

.highlight-box p {
  font-size: 14px;
  color: #001a40b0;
  line-height: 22px;
}

/* Mobile-responsive tweaks for the Welcome Section */
@media (max-width: 768px) {
  .welcome-section h1 {
    font-size: 28px; /* Smaller heading font for mobile */
  }
  
  .welcome-section p {
    font-size: 16px; /* Adjust paragraph font size */
  }

  .btn, .btn-secondary {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .services-section {
    padding: 3rem 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr; /* Stack services in one column */
  }

  .service-box {
    padding: 1.5rem; /* Less padding on smaller screens */
  }
}

/* Mobile responsive layout */
@media (max-width: 768px) {
  .welcome-highlights {
    flex-direction: column;
    align-items: center;
  }

  .highlight-box {
    width: 100%;
    max-width: 400px;
  }
}

/* Services Section */
.services-section {
  padding: 80px 5vw 0;
  background-color: none ;
  text-align: center;
}

.services-heading h1 {
  font-size: 37px;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #001a40;
  line-height: 52px;
}

.services-heading p {
  font-size: 18px;
  color: #001a40b0;
  margin-bottom: 3rem;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5rem;
  justify-content: space-between;
}

.service-card {
  flex: 1 1 calc(33% - 3.5rem);
  text-decoration: none;
  color: inherit;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 35px;
  border-bottom-right-radius: 35px;
}

.image-wrapper img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #54d2ff59;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.image-wrapper:hover .image-overlay {
  opacity: 1;
}

.dots {
  font-size: 2rem;
  color: white;
  font-weight: bold;
  font-family: 'Times New Roman', Times, serif;
}

.services-section h3 {
  margin: 1.5rem 0;
}

.services-section h3 a {
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 18px;
  color: #001a40;
  text-decoration: none;
}

.services-section h3 a:hover {
  text-decoration: underline;
  text-decoration-color: #001a4070;
  background: none;
}

.learn-more a {
  margin-top: 0.5rem;
  font-weight: 300;
  font-size: 14px;
  color: #001a40b0;
  transition: color 0.3s ease;
}

.learn-more a:hover{
  color: #001a40;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .service-card {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .service-card {
    flex: 1 1 100%;
  }

  .services-heading h2 {
    font-size: 28px;
  }

  .services-heading p {
    font-size: 16px;
  }
}


/* CTA */
/* CTA Section */
.cta-section {
  padding: 80px 5vw 0;
  background-color: none;
}

.cta-box {
  background-image: url('../images/1411.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  background-attachment: center;
  border-top-left-radius: 35px;
  border-bottom-right-radius: 35px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem;
  color: white;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
}

.cta-text {
  flex: 0 0 65%; /* 👈 Adjust this width */
}

.cta-action {
  flex: 0 0 30%; /* 👈 Adjust this width */
  text-align: right;
}

.cta-text small {
  font-size: 25px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: 0.5px;
  color: #0068ff;
}

.cta-text h2 {
  font-size: 37px;
  font-weight: 600;
  margin-top: 0.5rem;
  line-height: 52px;
  color:#001a40;
}

.cta-action .cta-btn {
  background-color: #0068ff;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-action .cta-btn:hover {
  background-color: #0099b1;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-box {
    background-size: cover;               /* Ensures it stretches top-to-bottom */
    background-position: top center;      /* Focus more on top for mobile view */
    border-radius: 25px;                  /* Slightly smaller border curves */
    padding: 2rem 1.5rem;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-text h2 {
    font-size: 26px;
  }

  .cta-action .cta-btn {
    width: 100%;
    max-width: 280px;
  }
  .cta-section {
    background-position: top center; /* pin SVG top on mobile */
    background-attachment: center ;
  }
}




/* Button Styles */
.btn, .btn-secondary {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  margin: 0.5rem;
}

.btn {
  background: #00bcd4;
  color: white;
}

.btn-secondary {
  background: transparent;
  border: 2px solid #00bcd4;
  color: #00bcd4;
}







/* Reviews Section */
.reviews-section {
  padding: 80px 5vw 0;
  background: none;
  text-align: center;
  align-items: center;
}

.section-title {
  font-size: 37px;
  font-weight: 600;
  margin: 0.75rem 0;
  line-height: 52px;
  color:#001a40;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn {
  background: transparent;
  border: none; /* remove red border in final */
  padding: 0; /* removes the oversized click area */
  font-size: 0; /* removes any space from line-height/font issues */
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn i {
  font-size: 28px;
  color: #001a40;
  transition: transform 0.2s ease, color 0.3s ease;
}

.carousel-btn i:hover {
  transform: scale(1.15);
  color: #001a40b0; /* optional: darker on hover */
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  max-width: 1150px;
  scroll-behavior: smooth;
  user-select: none !important;
  -webkit-user-drag: none !important;
  -webkit-touch-callout: none !important;
  cursor: grab; /* Shows hand cursor for dragging */
}

.carousel-viewport.grabbing {
  cursor: grabbing;
}

.no-select {
  user-select: none !important;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 30px; /* keeps spacing BETWEEN cards */
  padding: 0 25px; /* slight inner spacing, optional */
  touch-action: pan-y; /* Allows horizontal swipe */
}

.review-card {
  background: none;
  padding: 20px;
  min-width: calc(50% - 25px); /* 50% width minus the gap */
  box-sizing: border-box;
}

.review-card.clone {
  opacity: 0;
  pointer-events: none;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.review-top img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.client-info h3 {
  margin-top: 0.5rem;
  font-size: 21px;
  font-weight: 500;
  line-height: 32px;
  color: #001a40;
  text-decoration: none;
  text-align: left;
}

.client-info p {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #001a4070;
}

.review-content {
  font-size: 20px;
  font-weight: 400;
  line-height: 36px;
  color: #001a40;
  margin-bottom: 10px;
  text-align: left;
}

.review-link {
  text-align: left;
}

.review-link a {
  margin-top: 0.5rem;
  font-weight: 500;
  color: #00bcd4;
  transition: color 0.3s ease;
  text-align: left;
}

.review-link a:hover{
  color: #001a40;
}




@media (max-width: 768px) {
  .review-card {
    min-width: 100%;
    border: #0068ff solid 1px;
  }

  .client-info h3 {
    text-align: center;
  }
  
  .client-info p {
    text-align: center;
  }
  
  .review-content {
    text-align: center;
    font-size: 17px;
  }
  
  .review-link {
    text-align: center;
  }

  .carousel-track {
    padding: 0 8px; /* slight inner spacing, optional */
  }
  
}


/* Selected Cases Section */
.selected-cases {
  padding: 80px 5vw 0;
  background-color: none;
}

.cases-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-card {
  text-decoration: none;
  color: inherit;
  display: block;
  background-color: none;
  overflow: hidden;
}

.image-link-wrapper {
  display: block;
}

.image-wrapper {
  position: relative;
  height: 250px; /* Extra height compared to service card */
  overflow: hidden;
  background-color: #ddd;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.image-wrapper:hover img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #54d2ff59;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.image-wrapper:hover .image-overlay {
  opacity: 1;
}

.dots {
  color: #fff;
  font-size: 30px;
  font-weight: bold;
}

.selected-cases h3 {
  margin: 1.35rem 0;
}

.selected-cases h3 a {
  font-size: 25px;
  font-weight: 500;
  line-height: 32px;
  color: #001a40;
  text-decoration: none;
  text-align: left;
}

.selected-cases h3 a:hover {
  text-decoration: underline;
  text-decoration-color: #001a4070;
}

.service-type a {
  font-size: 12px;
  font-weight: 500;
  line-height: 17px;
  text-decoration: none;
  text-transform: uppercase;
  text-align: left;
  color: #001a40b0;
}

.service-type a:hover {
  text-decoration: none;
}

.selected-cases .view-all-cases {
  text-align: right;
  margin-top: 2rem;
  }

.selected-cases .view-all-cases a {
  margin-top: 0.5rem;
  font-weight: 500;
  color: #00bcd4;
  transition: color 0.3s ease;
}

.selected-cases .view-all-cases a:hover {
  color: #001a40;
}

@media (max-width: 768px) {
  .cases-container {
    grid-template-columns: 1fr;
  }
}

/* Working Process */
.working-process {
  padding: 80px 5vw 0;
  background: none;
  text-align: center;
}

.working-process h1 {
  font-size: 37px;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #001a40;
  line-height: 52px;
}

.working-process .subtitle {
  max-width: 800px;
  margin: 0 auto 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 36px;
  color: #001a40b0;
}

/* Wrapper for all steps */
.process-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 80px;
}

/* Single step layout */
.process-step {
  display: flex;
  align-items: center;
  text-align: left;
  position: relative;
}

/* Number column */
.step-number {
  min-width: 60px;
  font-size: 50px;
  font-weight: 600;
  line-height: 50px;
  color: #005dd6;
  position: relative;
  padding-right: 30px;
  text-align: left;
  display: flex;
}


/* Content column */
.step-content {
  align-items: center;
  position: relative;
  padding-left: 30px;
}

/* Add vertical border before content */
.step-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: #acacac75;
}

.step-content h3 {
  font-size: 25px;
  font-weight: 550;
  line-height: 38px;
  color: #001a40;
  margin-bottom: 10px;
}

.step-content p {
  color: #001a40b0;
  font-size: 18px;
  line-height: 29px;
  font-weight: 400;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .process-step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .process-wrapper {
    padding: 20px;
  }

  .step-number {
    padding-right: 0;
    margin-bottom: 10px;
    position: relative;
  }

  /* Horizontal line under number */
  .step-content::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 100%;
    height: 2px;
    background-color: #acacac75;
  }


  .step-content {
    padding-left: 0;
  }

  .step-content h3 {
    margin-top: 20px;
  }
}

/* Clients Section */
.clients-section {
  padding: 80px 5vw 0;
  background-color: none;
  text-align: center;
}

.clients-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

/* Slider container */
.slider {
  background: none;
  height: 100px;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* Fade edges with gradient */
.slider::before,
.slider::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 100px;
  z-index: 2;
  pointer-events: none;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

/* Sliding track */
.slide-track {
  display: flex;
  width: calc(250px * 12); /* 6 original + 6 duplicate */
  animation: scroll 20s linear infinite;
}

/* Slide item */
.slide {
  width: 250px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  height: 100px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.slide img:hover {
  transform: scale(1.05);
}

/* Hover pause (only for devices that support hover) */
@media (hover: hover) {
  .slider:hover .slide-track {
    animation-play-state: paused;
  }
}

/* Scroll animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 6));
  }
}


/* Blog Section */

.blog-section {
  padding: 80px 5vw 0;
  background-color: none;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
}


/* Blog grid: 2 per row */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 40px;
}

.blog-card {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: flex-start;
}

/* Image section */
.blog-section .image-link-wrapper {
  flex: 1;
  max-width: 250px;
  max-height: 250px;
  display: block;
}

.blog-section .image-wrapper {
  position: relative;
  height: 250px; /* Extra height compared to service card */
  width: 250px; /* Fixed width for consistency */
  overflow: hidden;
  background-color: #ddd;
}

.blog-section .image-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 15px 20px;
  background: #54d2ff59;
  text-align: right;
  border-top-left-radius: 8px;
  color: #fff;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.image-wrapper:hover .image-overlay {
  opacity: 1;
}

.dots {
  font-size: 2rem;
  color: #fff;
}

/* Right-side blog content */
.blog-content {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center */
  align-items: flex-start;
}

.blog-title {
  font-size: 25px;
  font-weight: 600;
  line-height: 38px;
  color: #001a40;
  text-decoration: none;
  text-align: left;
  display: inline-block;
}

.blog-title:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #001a4070;
}

.blog-content h3 {
  width: 100%;
  text-align: left; /* ✅ Ensures the heading itself aligns left */
  margin: 0;         /* Optional: Clean up default margin if needed */
}

.meta {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #001a40b0;
  text-transform: uppercase;
}

.blog-content .service-type {
  color: #001a40b0;
  text-decoration: none;
}

.blog-content .service-type:hover {
  text-decoration: underline;
}

/* Visit blog link */
.blog-footer {
  text-align: right;
  margin-top: 50px;
}

.visit-blog-link {
  margin-top: 0.5rem;
  font-weight: 500;
  color: #00bcd4;
  transition: color 0.3s ease;
}

.visit-blog-link:hover {
  color: #001a40;
}

/* Responsive - stack cards on mobile */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    flex-direction: column;
    gap: 20px;
  }

  .blog-content,
  .blog-title,
  .blog-title h3 {
    align-items: center; /* Center align text on mobile */
    text-align: center;
  }

  .image-link-wrapper {
    max-width: 100%;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 30px;
  left: 2.5vh;
  width: 45px;
  height: 45px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 26px;
  line-height: 45px;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float-btn {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-float-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.whatsapp-float-btn:hover {
  background-color: #1ebe5d;
  transform: scale(1.1);
}
