/* 
* Epitome Engineering - Custom CSS
* www.epitomeltd.com
*/

:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --dark-color: #212529;
  --light-color: #f8f9fa;
}

/* General Styles */
body {
  font-family: "Poppins", sans-serif;
  color: #444;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.section-title {
  position: relative;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Navigation */
.navbar {
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar-brand img {
  transition: all 0.3s ease;
}

.navbar-scrolled {
  padding: 8px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled .navbar-brand img {
  height: 40px;
}

.nav-link {
  font-weight: 500;
  padding: 8px 16px !important;
  color: var(--dark-color) !important;
}

.nav-link:hover,
.nav-link.active {
  color: black;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  background-color: var(--light-color);
  padding-top: 100px;
}

/* Service Cards */
.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(13, 110, 253, 0.1);
  transition: all 0.3s ease;
}

.card:hover .service-icon {
  background-color: var(--primary-color);
  color: white;
}

.card {
  transition: all 0.3s ease;
  overflow: hidden;
}

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

/* Vision Quote */
.vision-quote {
  position: relative;
  border-radius: 10px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.4s;
  color: white;
}

.back-to-top i {
  font-size: 16px;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* Footer */
footer a {
  transition: all 0.3s ease;
}

footer a:hover {
  color: white !important;
  text-decoration: none;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero-section {
    height: auto;
    padding: 120px 0 60px;
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 1.8rem;
  }
}

/* Progress Circle Animation */
.progress-circle circle:nth-child(2) {
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 1s ease;
}

