:root {
  --primary-color: #0f172a; /* Deep Navy */
  --primary-dark: #020617;
  --accent-color: #0d9488; /* Sophisticated Teal */
  --accent-hover: #0f766e;
  --platinum: #f1f5f9; /* Platinum Silver */
  --secondary-color: #f1f5f9;
  --light-bg: #ffffff;
  --light-gray-bg: #f8fafc;
  --text-color: #1e293b;
  --text-muted: #64748b;
  --heading-color: #0f172a;
  --card-bg: #ffffff;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --heading-font: "Outfit", sans-serif;
  --body-font: "Plus Jakarta Sans", sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --teal-gradient: linear-gradient(135deg, #0d9488 0%, #2dd4bf 100%);
  --platinum-gradient: linear-gradient(
    135deg,
    #e2e8f0 0%,
    #f8fafc 50%,
    #cbd5e1 100%
  );
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--light-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
}

.bg_secondary {
  background-color: var(--primary-color);
}

/* Navbar */
.navbar {
  background-color: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  background-color: rgba(255, 255, 255, 0.9);
}

.navbar-brand {
  font-family: var(--heading-font);
  font-weight: 800;
  color: var(--primary-color) !important;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.navbar-brand i {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.8rem;
}

.nav-link {
  color: var(--text-color) !important;
  font-weight: 600;
  margin-left: 20px;
  opacity: 0.8;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.nav-link:hover {
  opacity: 1;
  color: var(--primary-color) !important;
}

.nav-link:hover::after {
  width: 100%;
}

.process-icon-placeholder i {
  color: var(--accent-color);
  font-size: 2rem;
}

.process-step .flaticon-wrapper img {
  height: 200px;
  border-radius: 20px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.btn-primary {
  background: var(--teal-gradient);
  border: none;
  font-weight: 700;
  padding: 14px 35px;
  border-radius: 50px;
  transition: var(--transition);
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: 0.5s;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-outline-dark {
  border-color: var(--heading-color);
  color: var(--heading-color);
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
}
.btn-outline-dark:hover {
  background-color: var(--heading-color);
  color: #fff;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.8) 0%,
    rgba(15, 23, 42, 0.5) 50%,
    rgba(15, 23, 42, 0.9) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  backdrop-filter: brightness(0.8);
}

.hero-content {
  max-width: 900px;
  z-index: 2;
}

.hero-content h1 {
  font-family: var(--heading-font);
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  letter-spacing: -2px;
  line-height: 1.1;
  color: #fff;
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: 1.4rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slick-prev,
.slick-next {
  z-index: 10;
  width: 50px;
  height: 50px;
}

.slick-prev:before,
.slick-next:before {
  font-size: 40px;
  opacity: 0.8;
  color: #fff; /* Arrows white on hero */
}

/* Section Common */
section {
  padding: 80px 0;
}

.section-title.side_sect h2::after {
  display: none;
}

.section-title {
  margin-bottom: 50px;
  text-align: center;
}

.section-title h2 {
  font-family: var(--heading-font);
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  color: var(--heading-color);
}

.section-title h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Services */
.services-section {
  background-color: var(--light-gray-bg);
}

.service-card {
  background-color: var(--card-bg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
  border-color: var(--accent-color);
}

.service-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.service-body {
  padding: 25px;
}

.service-title {
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 15px;
}

.card-text {
  color: var(--text-muted);
}

/* About */
.about-section {
  background-color: #fff;
}

.about-img img {
  border-radius: 20px;
  box-shadow: 20px 20px 0 var(--accent-color);
  transition: var(--transition);
}

.about-img img:hover {
  transform: translate(-10px, -10px);
  box-shadow: 30px 30px 0 var(--accent-color);
}

.about-text {
  color: var(--text-muted);
}

.checklist {
  list-style: none;
  padding: 0;
  color: var(--heading-color);
}

.checklist li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-weight: 500;
}

.checklist li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
}

/* Gallery */
.gallery-section {
  background-color: var(--light-gray-bg);
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  transition: transform 0.4s ease;
  width: 100%;
  height: 250px; /* Uniform height for grid */
  object-fit: cover;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Overlay Effect */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: #fff;
  font-size: 2rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
  transform: translateY(0);
}

/* Testimonials */
.testimonials-section {
  background-color: #fff;
}

.testimonial-card {
  text-align: center;
  padding: 30px;
  background: var(--light-gray-bg);
  margin: 10px;
  border-radius: 10px;
  border: 1px solid #eee;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.client-name {
  margin-top: 20px;
  font-weight: 700;
  color: var(--heading-color);
}

/* Contact */
.contact-section {
  background-color: var(--light-gray-bg);
}

.contact-form .form-control {
  background-color: #fff;
  border: 1px solid #ddd;
  color: var(--heading-color);
  padding: 15px;
}

.contact-form .form-control:focus {
  background-color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.25);
}

.map-container {
  height: 100%;
  min-height: 400px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  padding: 50px 0 20px;
  color: rgba(255, 255, 255, 0.8);
}

/* Bootstrap Overrides for Brand Consistency */
.bg-dark {
  background-color: var(--primary-dark) !important;
}

.bg-dark-premium {
  background-color: var(--primary-color);
  background-image:
    radial-gradient(
      circle at 20% 30%,
      rgba(13, 148, 136, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(13, 148, 136, 0.08) 0%,
      transparent 50%
    );
  color: #fff;
}

.bg-dark-premium .section-title h2 {
  color: #fff;
}

.bg-dark-premium .text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

.bg-dark-premium .card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.bg-dark-premium .card-title,
.bg-dark-premium .service-title,
.bg-dark-premium h5,
.bg-dark-premium h3 {
  color: #fff;
}

.footer-social-v2 a {
  transition: var(--transition);
  font-size: 1.1rem;
}

.footer-social-v2 a:hover {
  color: var(--accent-color) !important;
  transform: translateY(-3px);
  display: inline-block;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-icon-circle {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 0.9rem;
}

.tracking-wider {
  letter-spacing: 2px;
  font-size: 0.8rem;
}

/* Responsive */

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .process-step {
    margin-bottom: 30px;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.2rem;
  }

  .hero-slide {
    height: 60vh;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .flaticon-wrapper {
    width: 70px;
    height: 70px;
  }

  .flaticon-wrapper i {
    font-size: 28px;
  }

  .process-step h5 {
    font-size: 1.1rem;
  }

  /* Stats Bar Mobile */
  .py-5.bg-primary .display-4 {
    font-size: 2.5rem;
  }
}
