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

body {
  font-family: "Arial", sans-serif;
  position: relative;
  z-index: 0;
}

html {
  scroll-behavior: smooth;
}

/* Hide mobile nav by default */
.mobile-nav {
  display: none;
}

/* ---------------------- HEADER STYLES ---------------------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px; /* Increased height to allow big logo */
  padding: 0 5rem;
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  overflow: visible; /* CRITICAL: Allows content (logo) to extend outside the header's height */
}

/* LOGO CONTAINER */
.logo {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
  width: 300px; /* NEW WIDTH: This controls the overall horizontal space the logo takes */
  overflow: visible; /* CRITICAL: Allows the logo image to extend outside this container */
}

/* LOGO IMAGE */
.logo img {
  margin-top: 20px; /* Push it down */
  margin-bottom: -20px; /* Let it hang below header */
  object-position: left; /* Aligns the image content to the left within its box */

  height: 250px;
  width: auto;
  object-fit: contain;
  /* padding-right: 2rem; */
  cursor: pointer;
  max-height: none; /* ✅ override any default cap */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  margin-left: auto;
  height: 100%;
}

nav a {
  text-decoration: none;
  color: #222;
  font-size: 1.3rem; /* Increased size (~18px) */
  font-family: Verdana, Geneva, Tahoma, sans-serif; /* Classic serif font */
  padding: 1rem 0;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 0%;
  height: 2px;
  background: green;
  transition: width 0.3s ease;
}

nav a:hover {
  color: green;
}

nav a:hover::after {
  width: 100%;
}

/* nav .contact-btn {
  border: 2px solid green;
  background-color: transparent;
  padding: 6px 16px;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.3s ease;
}

nav .contact-btn:hover {
  background-color: green;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 128, 0, 0.2);
} */

nav .active a {
  color: green;
}

nav .active a::after {
  width: 100%;
}

/* Hide hamburger by default */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 10001;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s ease;
}


/* ---------------------- HOME STYLES ---------------------- */

.home {
  position: relative;
  height: calc(100vh - 100px);
  margin-top: 100px; /* Push the slider below the fixed header */
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 100% 100%; /* <-- THIS IS THE KEY CHANGE */
  background-position: center center; /* You can keep this, but with 100% 100%, it won't matter much */
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.overlay {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.5); /* Slightly darker for better text contrast */
  padding: 4rem 5rem; /* Increased padding */
  border-radius: 16px; /* Softer corners */
  max-width: 1000px; /* Larger max width */
  width: 60%;
  /* z-index: 1; */
  /* Responsive width */
}

.overlay::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(rgba(0, 255, 128, 0.15), transparent 80%);
  z-index: -1;
  border-radius: 20px;
  filter: blur(30px);
}

.overlay h1 {
  font-size: 60px;
  margin-bottom: 1.5rem;
  font-family: "Georgia", serif;
}
.overlay p {
  font-size: 24px;
  margin-bottom: 2.5rem;
}
.button-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background-color: green;
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid green;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background-color: white;
  color: green;
  box-shadow: 0 0 10px rgba(0, 128, 0, 0.6), 0 4px 15px rgba(0, 128, 0, 0.3);
  transform: translateY(-2px);
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

/* Fade-in from bottom */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typing-style fade-in for each text block */
@keyframes fadeText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-text {
  opacity: 0;
  animation: fadeText 1.2s ease forwards;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.fade-text:hover {
  transform: scale(1.02);
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.fade-text.delay-1 {
  animation-delay: 0.5s;
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.fade-up.delay-2 {
  animation-delay: 1.2s;
}

.fade-up.delay-3 {
  animation-delay: 1.6s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.fade-up.delay-2,
.fade-up.delay-3 {
  animation: fadeUp 0.8s ease forwards, pulse 1s ease 1.8s forwards;
}

/* Social Icons */

.social-icon-wrapper {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-top: 30px;
  z-index: 10;
}

.icon-circle {
  background-color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.icon-circle i {
  font-size: 30px;
}

/* Branded colors */
.icon-circle i.fa-instagram {
  color: #e4405f;
}

.icon-circle i.fa-linkedin-in {
  color: #0077b5;
}

.icon-circle:hover {
  transform: scale(1.1);
}

/* Slide Controller */

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
}
.slider-controls button {
  background: #0c301a;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}

/* Hide cursor only on spotlight target */
.spotlight-area {
  cursor: none;
  position: relative;
}

/* Spotlight circle */
.custom-cursor {
  position: fixed;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: whitesmoke;
  box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.1);
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
  display: none;
  transition: transform 0.1s ease-out;
  filter: blur(2px);
}



/* -----------===== Appointment Section ===== */

#appointment {
  background-image: url("Appointment-bg/Appointment-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  z-index: 1;
  scroll-margin-top: 100px;
}

.appointment-section {
  margin-top: 100px;
  background: #f7f9fc;
  padding: 4rem 1.5rem;
  display: flex;
  justify-content: center;
}

.appointment-box {
  background: #ffffff;
  padding: 2rem;
  max-width: 450px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.appointment-box h3,
.appointment-box p {
  text-align: center;
}

.appointment-box h3 {
  font-size: 1.1rem;
  color: #007bff;
  margin-bottom: 0.8rem;
}

.appointment-box p {
  font-weight: bold;
  margin-bottom: 1.2rem;
  color: #333;
}

.appointment-box form {
  display: flex;
  flex-direction: column;
}

.appointment-box label {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.appointment-box input,
.appointment-box textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.appointment-box button.btn {
  background-color: #0b5ed7;
  color: white;
  padding: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.appointment-box button.btn:hover {
  background-color: #084cbd;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  text-align: center;
}

.stats div {
  flex: 1;
}

.stats div strong {
  display: block;
  font-size: 1.3rem;
  color: #0b5ed7;
}

.date-time-wrapper {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.date-time-wrapper .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Date & Time aligned horizontally */

.date-time-wrapper {
  margin-top: 10px;
  display: flex;
  gap: 20px;
  margin-bottom: 1rem;
}

.date-time-wrapper .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.date-time-wrapper input {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* -------------------- About Section -------------- */

.about-section {
  padding: 5rem 2rem;
  background-color: #ffffff;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.about-left {
  flex: 1;
  min-width: 300px;
}

.subtitle {
  color: green;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.about-left h2 {
  font-size: 2.2rem;
  color: #111;
  margin-bottom: 1.2rem;
  font-weight: bold;
}

.about-left .description {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 2rem;
}

.about-link {
  text-decoration: underline;
  font-weight: 900;
  color: #111;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.about-link:hover {
  color: green;
}

.about-right {
  flex: 1;
  text-align: center;
  min-width: 300px;
}

.about-right img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.scroll-fade {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease, transform 1s ease;
}

.scroll-fade.active {
  opacity: 1;
  transform: translateY(0);
}

/*-------------- Equipment Section----- */

.equipment-section {
  padding: 6rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.equipment-section .section-subtitle {
  color: #666;
  font-weight: 600;
  letter-spacing: 1.2px;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.equipment-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #222;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* wider cards */
  gap: 2.5rem;
  justify-items: center;
}

.equipment-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1.5rem;
  text-align: center;
  max-width: 100%;
}

.equipment-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

/* Enlarge slider inside equipment card */
.equipment-slider {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.equipment-slider img,
.equipment-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.equipment-slider img.active-slide {
  opacity: 1;
  z-index: 1;
  transition: opacity 1s ease-in-out;
}

.equipment-slider img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.equipment-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #222;
  margin-top: 0.5rem;
}

/* ===----------------- Services Section -------------=== */
.services-section {
  scroll-margin-top: 30px; /* ✅ Prevents crop from fixed header */

  padding: 5rem 2rem;
  background-color: #f4f7f9;
}

.services-section .container {
  max-width: 1300px;
  margin: auto;
  text-align: center;
}

.section-subtitle {
  text-transform: uppercase;
  color: green;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.4rem;
  color: #111;
  margin-bottom: 3rem;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ✅ Center all rows, including last */
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden; /* ✅ Prevents image overflow */
  cursor: pointer;
  transition: transform 0.3s ease;
  flex: 1 1 300px;
  max-width: 300px;
  width: 100%;
  text-decoration: none; /* ✅ Remove underline from <a> */
  color: inherit; /* ✅ Prevent blue link color */
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 200px; /* or adjust based on your design */
  object-fit: cover; /* ✅ Ensures full coverage without distortion */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.card-content {
  padding: 1.2rem;
}

.card-content h3 {
  font-size: 1.7rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #0d9488; /* ✅ Change this to the color you want */
}

.card-content p {
  font-size: 0.95rem;
  color: #4b5563; /* ✅ Change this to your desired text color */
}

/* === Service Detail Section === */
.service-detail-section {
  padding: 5rem 2rem;
  background-color: #fff;
  border-top: 1px solid #ddd;
  scroll-margin-top: 100px;
}

.detail-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
}

.detail-container img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.detail-text {
  flex: 1;
}

.detail-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: green;
}

.detail-text p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.btn-link {
  display: inline-block;
  font-weight: bold;
  color: #0b5ed7;
  text-decoration: underline;
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* ===------------  Team Section -----------=== */

#team {
  scroll-margin-top: 30px; /* For smooth scroll links */
  padding-top: 6rem; /* Adjust based on header height */
}

.team-section {
  padding: 4rem 1rem;
  background-color: #fff;
  text-align: center;
}

.section-subtitle {
  color: #2dbb4e;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.team-grid.single {
  display: flex;
  justify-content: center;
  margin: auto;
  padding: 0 0 40px 0; /* 0 top padding */
}

.team-grid.single .team-member {
  max-width: 400px; /* increased from 300px */
  width: 100%;
  text-align: center;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.team-grid.single .team-member img {
  width: 100%;
  height: auto;
  max-height: 350px; /* increased from 280px */
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
}

.team-grid.single .team-member h4 {
  font-size: 24px; /* bigger name */
  font-weight: bold;
  margin: 10px 0 5px;
}

.team-grid.single .team-member p {
  font-size: 16px; /* slightly bigger description */
  line-height: 1.6;
  margin: 8px 0;
}

.team-grid.single .team-member a {
  display: inline-block;
  margin-top: 12px;
  color: #007bff;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
}

/* ===------------  Testimonals Section -----------=== */

.testimonial-section {
  background-color: #f4f6f4; /* Light grey-green tint */
  padding: 4rem 1.5rem;
  text-align: center;
  scroll-margin-top: 80px; /* Adjust to your header height */
}

.section-subtitle {
  color: #2dbb4e;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  text-align: left;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.testimonial-card h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

/* -------------Footer Styles------------ */
.footer-section {
  background-color: hsl(210, 8%, 72%);
  color: #fff;
  padding: 40px 20px 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 220px;
}

.footer-logo {
  width: 120px; /* Keep original image dimensions */
  height: auto;
  margin-bottom: 10px;

  transform: scale(1.9); /* Makes logo look 60% bigger */
  transform-origin: top left; /* Keeps position fixed */
  display: inline-block;
}

.footer-tagline {
  font-style: italic;
  color: black !important;
  padding-top: 40px; /* Try 30px–50px for subtle spacing */
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: black;
}

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

.footer-column ul li {
  margin: 6px 0;
}

.footer-column ul li a {
  color: hsl(229, 77%, 60%);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: hsl(229, 77%, 60%);
}

.footer-column p {
  margin: 6px 0;
  color: hsl(229, 77%, 60%);
}

.footer-column i {
  margin-right: 8px;
}

.social-icons a {
  display: inline-block;
  color: #ff0008;
  font-size: 18px;
  margin-right: 12px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: blueviolet;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: black;
}
