/* New Color Palette: Dark background, orange accent */

@import url("https://fonts.googleapis.com/css?family=Exo:400,700");

:root {
  --dark-bg: #1c1e22;
  --dark-header-bg: #111315;
  --light-text: #f0f2f5;
  --accent-orange: #f5a623;
  --footer-text: #9ca3af;
  --gray-light: #6b7280;
}
html,
body {
  font-family: "ProximaNovaRegular", sans-serif !important;
  width: 100%;
  overflow-x: hidden;
  /* Already in your CSS, good */
}

/* Prevent images or divs from causing overflow */
img,
video,
iframe,
.container,
.section {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Handle misbehaving sections */
* {
  box-sizing: border-box;
}
body {
  font-family: "Lato", sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  overflow-x: hidden; /* Prevents horizontal scrolling on small screens */
  scroll-behavior: smooth;
  overflow-y: hidden;
}

.whatsapp-float {
  position: fixed;
  /* width: 50px;
  height: 50px; */
  bottom: 40px;
  right: 50px;
  background-color: #25d366 !important;
  color: #fff;
  border-radius: 50% !important;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: phonePulse 2s infinite;
}

.whatsapp-float img {
  width: 35px !important;
  height: 35px;
}

/* Bounce animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    background-color: #25d366;
  }
  50% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    background-color: #20ba5a;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    background-color: #25d366;
  }
}

/* Hover effect */
.whatsapp-float:hover {
  transform: scale(1.1);
  transition: 0.3s;
}


.phone-float {
  position: fixed;
  /* width: 50px;
  height: 50px; */
  bottom: 110px; /* keep it above WhatsApp */
  right: 50px;
  background-color: var(--accent-orange); /* Blue */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  box-shadow:var(--accent-orange);
  animation: phonePulse 2s infinite;
}

.phone-float img {
  width: 35px;
  height: 35px;
}

/* Pulse animation */
@keyframes phonePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.6);
    background-color: var(--accent-orange);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(0, 123, 255, 0);
    background-color: var(--accent-orange);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    background-color: #007bff;
  }
}

/* Hover effect */
.phone-float:hover {
  transform: scale(1.1);
  transition: 0.8s;
}


/* Custom styles for animations and specific elements */
.header-top {
  background-color: var(--dark-header-bg);
  color: var(--light-text);
}

.header-main {
  background-color: var(--dark-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accent-orange {
  color: var(--accent-orange);
}

@import url(//fonts.googleapis.com/css?family=Lato:300:400);
.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  min-height: 100px;
  max-height: 150px;
}

/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
}

.btn-primary-orange {
  background-color: var(--accent-orange);
  border: none;
  color: #111;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.3);
}

.btn-primary-orange:hover {
  background-color: #e5941c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.5);
}

.btn-outline-orange:hover {
  background-color: var(--accent-orange);
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-services {
  background-color: var(--accent-orange);
  border: none;
  color: #111;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.2);
}
@media (min-width: 350px) {
  .btn-services {
    padding: 0.5rem 1rem;
  }
}

.btn-services:hover {
  background-color: #e5941c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.3);
}

.btn-services .arrow {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn-services:hover .arrow {
  transform: translateX(5px);
}

.services-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 1rem;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  cursor: pointer;
}

.services-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.services-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(28, 30, 34, 0.9) 0%,
    rgba(28, 30, 34, 0.1) 100%
  );
  z-index: 1;
}

.services-card:hover::before {
  background: linear-gradient(
    to top,
    rgba(28, 30, 34, 0.95) 0%,
    rgba(28, 30, 34, 0.2) 100%
  );
}

.service-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 2;
}

.service-icon {
  color: var(--accent-orange);
  background-color: rgba(245, 166, 35, 0.1);
  border: 2px solid rgba(245, 166, 35, 0.3);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  transition: all 0.3s ease-in-out;
}

.services-card:hover .service-icon {
  background-color: var(--accent-orange);
  color: #111;
}

.animate-fade-in-up {
  animation: fadeInUp 1s ease-in-out forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-200 {
  animation-delay: 0.2s;
}
.delay-400 {
  animation-delay: 0.4s;
}
.delay-600 {
  animation-delay: 0.6s;
}
.delay-800 {
  animation-delay: 0.8s;
}

.hero-section {
  background-color: var(--dark-bg);
  position: relative;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-shapes .circle {
  position: absolute;
  background-color: rgba(245, 166, 35, 0.2);
  border-radius: 50%;
  animation: moveUpDown 4s infinite ease-in-out;
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.15);
}

/* Animation: move up and down */
@keyframes moveUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Individual shapes with different sizes, speeds, and positions */
.hero-shapes .shape-1 {
  width: 12px;
  height: 12px;
  top: 30%;
  left: 10%;
  animation-duration: 3s;
}

.hero-shapes .shape-2 {
  width: 10px;
  height: 10px;
  top: 50%;
  left: 20%;
  animation-duration: 4s;
}

.hero-shapes .shape-3 {
  width: 14px;
  height: 14px;
  top: 40%;
  right: 15%;
  animation-duration: 5s;
}

.hero-shapes .shape-4 {
  width: 8px;
  height: 8px;
  top: 60%;
  right: 20%;
  animation-duration: 2s;
}

.hero-shapes .shape-5 {
  width: 10px;
  height: 10px;
  top: 25%;
  left: 35%;
  animation-duration: 6s;
}

.hero-shapes .shape-6 {
  width: 16px;
  height: 16px;
  top: 45%;
  left: 50%;
  animation-duration: 3.5s;
}

.hero-shapes .shape-7 {
  width: 10px;
  height: 10px;
  top: 55%;
  right: 30%;
  animation-duration: 4.5s;
}

.hero-shapes .shape-8 {
  width: 12px;
  height: 12px;
  top: 35%;
  right: 5%;
  animation-duration: 5.5s;
}

.hero-shapes .shape-9 {
  width: 200px;
  height: 200px;
  top: 75%;
  left: 5%;
  animation-duration: 3.5s;
}

.hero-shapes .shape-4 {
  width: 100px;
  height: 100px;
  right: 400px;
  top: 10%;
  transform: translateY(-50%);
  animation-duration: 1s;
}

.hero-shapes .shape-1 {
  width: 450px;
  height: 450px;
  top: 40%;
  left: 80%;
  transform: translateY(-50%);
  animation-duration: 3s;
}

.hero-shapes .shape-2 {
  width: 150px;
  height: 150px;
  top: 20%;
  right: 40%;
  background-color: rgba(245, 166, 35, 0.05);
  animation-duration: 3s;
}

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

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, #0F1419 0%, #1a1f2e 100%); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: all 0.8s ease;
}

#loading-screen.fade-out {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}

#main-content.show {
  display: block !important;
  opacity: 1;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, #0F1419 0%, #1a1f2e 100%); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: all 0.8s ease;
}
#loading-screen.fade-out {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}
#main-content.show {
  display: block !important;
  opacity: 1;
}

.luxury-loader {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-ring {
  position: absolute;
  border: 3px solid transparent;
  border-radius: 50%;
  animation: luxuryRotate 2s linear infinite;
}

.loader-ring:nth-child(1) {
  width: 170px;
  height: 170px;
  border-top: 3px solid #d4af37;
  animation-delay: 0s;
  top: 0;
  left: 0;
}

.loader-ring:nth-child(2) {
  width: 130px;
  height: 130px;
  border-right: 3px solid #ff8c42;
  top: 20px;
  left: 20px;
  animation-delay: -0.5s;
  animation-direction: reverse;
}

.loader-ring:nth-child(3) {
  width: 90px;
  height: 90px;
  border-bottom: 3px solid #ffd700;
  top: 40px;
  left: 35px;
  animation-delay: -1s;
}

/* Logo Container - Centered in the middle of all rings */
.logo-container {
  position: absolute;
  top: 57.5%;
  left: 58%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-container img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.logo-fallback {
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: rgba(212, 175, 55, 0.1); */
  border-radius: 50%;
  /* border: 2px solid #D4AF37; */
  color: #d4af37;
  font-weight: bold;
  font-size: 24px;
}

@keyframes luxuryRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  margin-top: 2.5rem;
  color: #d4af37;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 2px;
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.content {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.content.show {
  opacity: 1;
}

.hero-shapes1 {
  position: absolute;
  top: 0;
  left: 30;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.about-us-container {
  background-color: #212428;
  position: relative;
  z-index: 10;
}

.about-us-container::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background-color: rgba(245, 166, 35, 0.05);
  border-radius: 50%;
  z-index: -1;
}

.about-us-section-2-bg {
  background-color: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.about-us-section-2-bg::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background-color: rgba(245, 166, 35, 0.05);
  border-radius: 50%;
  z-index: -1;
}

.guidance-section {
  background-image: url("https://placehold.co/1200x800/1e2125/f5a623?text=Guidance+Meeting");
  background-size: cover;
  background-position: center;
  position: relative;
}

.guidance-overlay {
  background-color: rgba(28, 30, 34, 0.85);
}

.progress-bar-container {
  width: 100%;
  background-color: #333;
  border-radius: 9999px;
  height: 8px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: #007bff;
  width: 0;
  transition: width 1s ease-in-out;
}

.progress-bar.animate {
  animation: fill-bar 1s ease-in-out forwards;
}

@keyframes fill-bar {
  from {
    width: 0;
  }
}

.footer-bg-dark {
  background-color: var(--dark-header-bg);
}

.request-callback-bg {
  background-color: var(--dark-header-bg);
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #4a5568;
  background-color: #2d3748;
  color: #ffffff;
}

.form-btn-blue {
  background-color: #007bff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

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

.footer-nav a {
  color: #9ca3af;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #ffffff;
}

.social-icon-dark {
  color: #9ca3af;
  transition: color 0.3s;
}

.social-icon-dark:hover {
  color: #ffffff;
}

.page-link.active {
  color: var(--accent-orange);
  font-weight: 700;
}

.page-link {
  transition: color 0.3s;
}

.page-link:hover {
  color: var(--accent-orange);
}

.card-service-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background-color: #2d3748; /* Dark gray for the icon background */
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--accent-orange);
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-service-icon:hover {
  background-color: var(--accent-orange);
  color: #111;
}

.about-image {
  border-radius: 1rem;
  /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); */
  transition: transform 0.3s ease-in-out;
}

.about-image:hover {
  transform: scale(1.05);
}

* {
  margin: 0px;
  padding: 0px;
}

body {
  font-family: "Exo", sans-serif;
}

.context {
  width: 100%;
  /* position: absolute; */
  /* top: 50vh; */
}

.context h1 {
  text-align: center;
  color: #fff;
  font-size: 50px;
}

.area {
  background: var(--dark-header-bg);
  background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);
  width: 100%;
  /* height: 100vh; */
}

.circles {
  /* position: absolute; */
  top: 0;
  left: 0;
  width: 100%;
  /* height: 100%; */
  overflow: hidden;
}

.circles li {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background: rgba(245, 139, 46, 0.2);
  animation: animate 25s linear infinite;
  bottom: -150px;
}

.circles li:nth-child(1) {
  left: 25%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.circles li:nth-child(2) {
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.circles li:nth-child(3) {
  left: 70%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
}

.circles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.circles li:nth-child(5) {
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
}

.circles li:nth-child(6) {
  left: 75%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
}

.circles li:nth-child(7) {
  left: 35%;
  width: 150px;
  height: 150px;
  animation-delay: 7s;
}

.circles li:nth-child(8) {
  left: 50%;
  width: 25px;
  height: 25px;
  animation-delay: 15s;
  animation-duration: 45s;
}

.circles li:nth-child(9) {
  left: 20%;
  width: 15px;
  height: 15px;
  animation-delay: 2s;
  animation-duration: 35s;
}

.circles li:nth-child(10) {
  left: 85%;
  width: 150px;
  height: 150px;
  animation-delay: 0s;
  animation-duration: 11s;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }

  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}
@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.1);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.1);
  }
  70% {
    transform: scale(1);
  }
}

.animate-heartbeat {
  animation: heartbeat 8s ease-in-out infinite;
}

.section-title {
  text-align: center;
  /* font-size: 2.5rem; */
  font-weight: bold;
  margin-bottom: 3rem;
  color: var(--light-text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  /* padding: 8rem 8rem 8rem 8rem; */
}
.services-grid1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  /* margin-bottom: 4rem; */
  padding: 0rem 4rem 4rem 4rem;
}

.service-card-link {
  display: block;
  padding: 1.5rem;
  background: var(--dark-header-bg);
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card-link1 {
  display: block;
  padding: 1.5rem;
  background: var(--dark-header-bg);
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.service-card-link2 {
  display: block;
  padding: 1.5rem;
  background: var(--dark-header-bg);
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.service-card-link3 {
  display: block;
  padding: 1.5rem;
  background: var(--dark-header-bg);
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
  border-color: var(--accent-orange);
}
.service-card-link1:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
  border-color: var(--accent-orange);
}
.service-card-link2:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
  border-color: var(--accent-orange);
}
.service-card-link3:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
  border-color: var(--accent-orange);
}

.service-card-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 53, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.service-card-link:hover::before {
  left: 100%;
}

.service-card-link1::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 53, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.service-card-link1:hover::before {
  left: 100%;
}

.service-card-link2::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 53, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.service-card-link2:hover::before {
  left: 100%;
}
.service-card-link3::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 53, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.service-card-link3:hover::before {
  left: 100%;
}

.card-service-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: var(--accent-orange);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.service-card-link:hover .card-service-icon {
  background: var(--accent-orange);
  color: #000;
  transform: scale(1.1);
}

.service-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--light-text);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.service-description {
  color: var(--secondary-text);
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;

  /* Initially hidden but still in layout */
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px);

  /* Smooth animation settings */
  transition: opacity 2s ease, max-height 2s ease, transform 2s ease;
}

.service-description1 {
  color: var(--secondary-text);
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;

  /* Initially hidden but still in layout */
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px);

  /* Smooth animation settings */
  transition: opacity 2s ease, max-height 2s ease, transform 2s ease;
}
.service-description2 {
  color: var(--secondary-text);
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;

  /* Initially hidden but still in layout */
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px);

  /* Smooth animation settings */
  transition: opacity 2s ease, max-height 2s ease, transform 2s ease;
}
.service-description3 {
  color: var(--secondary-text);
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;

  /* Initially hidden but still in layout */
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px);

  /* Smooth animation settings */
  transition: opacity 2s ease, max-height 2s ease, transform 2s ease;
}

.service-card-link:hover .service-description {
  opacity: 1;
  max-height: 300px; /* enough to fit text */
  transform: translateY(0);
}

.service-card-link1:hover .service-description1 {
  opacity: 1;
  max-height: 300px; /* enough to fit text */
  transform: translateY(0);
}

.service-card-link2:hover .service-description2 {
  opacity: 1;
  max-height: 300px; /* enough to fit text */
  transform: translateY(0);
}

.service-card-link3:hover .service-description3 {
  opacity: 1;
  max-height: 300px; /* enough to fit text */
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main Services Section */
.main-services {
  margin-bottom: 4rem;
}

.main-services .services-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Security & Automation Services */
.security-services {
  position: relative;
}

.security-services::before {
  content: "";
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: var(--accent-orange);
}

.security-services .services-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1rem;
}

.security-services .service-card-link {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--light-text);
  transition: all 0.3s ease;
}

.security-services .service-card-link:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.security-services .card-service-icon {
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 0;
  margin: 0;
  font-size: 1.5rem;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.security-services .service-title {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  flex: 1;
}

.security-services .service-description {
  display: none;
}

.subsection-title {
  text-align: center;
  /* font-size: 2rem; */
  font-weight: bold;
  margin-bottom: 2rem;
  color: var(--accent-orange);
  position: relative;
}

/* .subsection-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-orange);
} */

/* Responsive Design */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .security-services .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .section-title {
    font-size: 2rem;
  }

  .subsection-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
  }

  .security-services .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card-link {
    padding: 1.25rem;
  }

  .card-service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

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

  .subsection-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .security-services .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card-link {
    padding: 1rem;
  }

  .security-services .service-card-link {
    padding: 0.8rem 1rem;
    gap: 0.8rem;
  }

  .security-services .card-service-icon {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }

  .security-services .service-title {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .subsection-title {
    font-size: 1.2rem;
  }
}

/* Hover effects for mobile */
@media (hover: none) {
  .service-card-link:active {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.3);
  }
}
