/* =========================================
   Global Variables & Theme
   ========================================= */
:root {
  --primary-color: #27ae60;
  /* Green */
  --secondary-color: #2ecc71;
  /* Light Green */
  --accent-color: #f1c40f;
  /* Yellow Accent */
  --text-dark: #0F57C5;
  --text-light: #8d99ae;
  --bg-light: #f8f9fa;
  --bg-dark: #121420;
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-secondary:  linear-gradient(135deg, #00ff6c 0%, #00ff6c 100%);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
  --border-radius: 12px;
}

/* =========================================
   Base Styles
   ========================================= */
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================================
   Typography & Utilities
   ========================================= */
.text-gradient {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

/* =========================================
   Buttons
   ========================================= */
.btn-primary-custom {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

/* =========================================
   Navbar (Sticky)
   ========================================= */
.navbar {
  transition: var(--transition);
  padding: 10px 0;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
  background-color: #ffffff;
  padding: 10px 0;
}

.navbar-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color) !important;
}

.nav-link {
  font-weight: 500;
  color: #000 ;
  margin: 0 10px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  color: var(--primary-color) !important;
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 20, 32, 0.7), rgba(18, 20, 32, 0.4));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 300;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-btns {
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* =========================================
   Service Cards
   ========================================= */
.service-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gradient-primary);
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

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

.service-card:hover .service-icon,
.service-card:hover .service-title,
.service-card:hover .service-text {
  color: #fff;
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: var(--transition);
  display: inline-block;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  transition: var(--transition);
}

.service-text {
  color: var(--text-light);
  transition: var(--transition);
}

/* =========================================
   Pricing Cards
   ========================================= */
.pricing-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.pricing-header {
  margin-bottom: 30px;
}

.pricing-title {
  font-size: 1.5rem;
  color: var(--text-dark);
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 15px 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.pricing-features li {
  padding: 10px 0;
  color: var(--text-light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-popular {
  background: var(--bg-dark);
  color: #fff;
}

.pricing-popular .pricing-title,
.pricing-popular .pricing-price,
.pricing-popular .pricing-features li {
  color: #fff;
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--accent-color);
  color: #fff;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-weight: 600;
  font-size: 0.8rem;
}

/* =========================================
   About / Why Us section
   ========================================= */
.about-img-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.feature-list i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-right: 15px;
}

/* =========================================
   Testimonials Slider
   ========================================= */
.testimonial-card {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--border-radius);
  margin: 20px;
  box-shadow: var(--shadow-sm);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.testimonial-role {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin: 0;
}

/* =========================================
   Contact Form Elements
   ========================================= */
.form-control {
  padding: 15px 20px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(2, 170, 176, 0.25);
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 80px 0 30px;
}

.footer-title {
  color: #fff;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 25px;
  font-weight: 600;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-light);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-right: 10px;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* =========================================
   Back to Top
   ========================================= */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  cursor: pointer;
}

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

#back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* =========================================
   Animations (Scroll Reveal)
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .navbar-collapse {
    background: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-top: 10px;
  }
}