/* =========================================================
   Author: Ryan Roy Aranas
   Project: Hive Digital Solution Website
   Description: Core Stylesheet for Landing Page & CRM Sections
   Version: 1.0.0
   Last Updated: December 2025
   ========================================================= */


/* ===============================
   1. GLOBAL VARIABLES & BASE STYLES
   =============================== */

@import url("animate.css");
@import url("owl.css");
@import url("jquery.fancybox.min.css");

* {
  font-family: 'Avenir', 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:root {
  --primary: #6366f1;
  --secondary: #8b5cf6;
  --dark: #1e1b4b;
  --light: #f8fafc;
}

body {
  background: #6366f1;
  overflow-x: hidden;
}

ul, li {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

/* Background shapes */
.bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}
.shape-1 { width: 300px; height: 300px; background: white; top: -100px; left: -100px; }
.shape-2 { width: 200px; height: 200px; background: white; bottom: -50px; right: -50px; animation-delay: 5s; }
.shape-3 { width: 150px; height: 150px; background: white; top: 50%; right: 10%; animation-delay: 10s; }

@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
}

/* ===============================
   2. SECTION TRANSITIONS
   =============================== */

.content-section {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(20px);
  visibility: hidden;
  transition: all 0.6s ease-in-out;
}

.content-section.active {
  max-height: 2500px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}


/* ===============================
   3. NAVBAR STYLES
   =============================== */

.navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand i {
  color: var(--primary);
}

.nav-link {
  color: var(--dark) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

.nav-link.active {
  font-weight: 700;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: solid 1px var(--primary);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary-custom-outline {
  background: transparent;
  border: solid 1px var(--primary);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  color: var(--primary);
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary-custom-outline:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.text-gradient {
  background: linear-gradient(90deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.btn-gradient {
  background: linear-gradient(90deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  transition: 0.3s ease;
}
.btn-gradient:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.bg-gradient {
  background: linear-gradient(90deg, #667eea, #764ba2);
}
.step {
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.badge.bg-gradient {
  background: linear-gradient(90deg, #667eea, #764ba2);
}

#planSummary {
  background: #fff;
  border-left: 4px solid #764ba2;
}
#planSummary h5 {
  font-weight: 700;
  letter-spacing: 0.3px;
}
#planFeatures li {
  padding: 4px 0;
  color: #444;
}

/* Step 4 layout & button animation */
#planSummary {
  background: #fff;
  border-left: 4px solid #764ba2;
  border-radius: 16px;
}
#planFeatures li {
  padding: 3px 0;
  color: #444;
}
#submitPaymentBtn {
  transition: all 0.3s ease;
}
#submitPaymentBtn.btn-success {
  background: #28a745 !important;
  border-color: #28a745 !important;
}
#submitPaymentBtn .checkmark {
  font-size: 1.3rem;
  line-height: 1;
  color: #fff;
  animation: pop 0.3s ease;
}
@keyframes pop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* --- Step 4 Success Animation --- */
.progress-bar-success {
  background: linear-gradient(90deg, #28a745, #3cd27c) !important;
  box-shadow: 0 0 12px rgba(40, 167, 69, 0.6);
}
.fade-success {
  color: #28a745 !important;
  transition: color 0.6s ease, transform 0.6s ease;
  transform: scale(1.02);
}
.fade-out {
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* Smooth progress transition */
#progressBar {
  transition: width 1s ease;
}

/* Success check pop */
#submitPaymentBtn .checkmark {
  font-size: 1.4rem;
  color: #fff;
  animation: pop 0.4s ease-in-out;
}

@keyframes pop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

#confirmDetails li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  color: #444;
}
#confirmDetails li strong {
  color: #333;
  width: 160px;
  display: inline-block;
}



/* ===============================
   4. MODALS & ANIMATIONS
   =============================== */

.modal-content {
  animation: fadeInUp 0.3s ease;
}

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

/* ========================================
   Section Slide-Up Animation when Activated
   ======================================== */
.content-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
  display: none;
  visibility: hidden;
}

.content-section.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

.content-section.showing {
  animation: fadeSlideUp 0.6s ease both;
}

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



/* ===============================
   5. LAYOUT SECTIONS
   =============================== */

.hero,
.services,
.portfolio,
.stats,
.testimonials,
.contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 0;
}

.hero .container {
    min-height: calc(100vh - 120px); /* full height minus navbar */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .row,
.about .row {
    align-items: center;
    text-align: left;
}

.content-section { display: none; }
.content-section.active { display: block; }


/* ===============================
   6. HERO SECTION
   =============================== */

.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 0;
}

.hero::before {
  content: '';
  position: absolute;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  top: -250px;
  right: -250px;
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text .highlight {
  background: linear-gradient(135deg, var(--light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}

.hero-text p {
  font-size: 1.15rem;
  color: white;
  margin-bottom: 2rem;
}

.hero-form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-social-links {
  position: absolute;
  left: -100px;
  top: 50%;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.banner-social-links li {
  position: relative;
  margin: 0 15px;
}
.banner-social-links li a {
  position: relative;
  padding: 0 10px;
  color: var(--light);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.banner-social-links li a:before {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  border-bottom: 1px solid var(--dark);
  content: "";
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
.banner-social-links li a:hover:before {
  width: 100%;
  left: 0;
}

.lead-form {
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-width: 520px;
  width: 100%;
  text-align: left;
}

.lead-form h4 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.lead-form p {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.lead-form .form-control {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s;
}

.lead-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.lead-form button {
  border-radius: 50px;
  font-weight: 600;
}

.lead-form .form-note {
  display: block;
  text-align: center;
  color: #94a3b8;
  font-size: 0.8rem;
  margin-top: 0.75rem;
}


/* ===============================
   7. CTA & BADGES
   =============================== */

.cta-buttons .btn-outline-dark {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  border: solid 1px #fff;
  color: white;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
}

.trust-badges i {
  color: var(--light);
  margin-right: 0.4rem;
}

/* ===============================
   ABOUT SECTION
   =============================== */
.about {
  background: #f9fafc;
  padding: 150px 0;
  position: relative;
}

.about:before {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50%;
  background-repeat: no-repeat;
  background-position: center right;
  background-image: url(../images/shape.png);
  content: "";
}

.about .image-column {
    position: relative;
}

.about .image-column .inner-column {
  position: relative;
  padding-bottom: 90px;
}
.about .image-column .bg-shape-1 {
  position: absolute;
  left: -80px;
  top: -40px;
  width: 540px;
  height: 540px;
  background-image: url(../images/shape-1.png);
  -webkit-animation: fa-spin 60s infinite linear;
          animation: fa-spin 60s infinite linear;
}
.about .image-column .image-1 {
  position: relative;
  height: 495px;
  width: 495px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 0px;
  border: 5px solid #ffffff;
}
.about .image-column .image-1 img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.about .image-column .image-2 {
  position: absolute;
  right: 0;
  bottom: 0px;
  margin-bottom: 0;
  border-radius: 50%;
  overflow: hidden;
  height: 309px;
  width: 309px;
  border: 5px solid #ffffff;
}
.about .image-column .image-2 img {
  width: 100%;
}

.overlay-anim {
  position: relative;
}
.overlay-anim:after {
  background: rgba(255, 255, 255, 0.3);
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  opacity: 1;
  z-index: 9;
  pointer-events: none;
}
.overlay-anim:hover:after {
  height: 100%;
  opacity: 0;
  -webkit-transition: all 400ms linear;
  transition: all 400ms linear;
}

.btn-about {
  background:linear-gradient(90deg,#667eea,#764ba2);
  border:none; color:#fff; font-weight:600;
  border-radius:50px; box-shadow:0 4px 12px rgba(102,126,234,0.4);
  transition:all 0.3s ease;
}
/*
.about img {
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.about img:hover {
  transform: scale(1.03);
}
*/

.about p {
  color: #475569;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ===============================
   8. SERVICES SECTION
   =============================== */

.services {
  background: #fff;
  padding: 100px 0;
  position: relative;
  z-index: 1;
  counter-reset: count;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  color: #64748b;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 2rem;
}

/*
.service-card {
  padding: 2.5rem;
  border-radius: 20px;
  background: white;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.8rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.service-card p {
  color: #64748b;
  line-height: 1.7;
}
*/
.service-block-three {
  position: relative;
  margin-bottom: 70px;
  z-index: 1;
}
.service-block-three .inner-box {
  position: relative;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

.service-block-three .inner-box:before {
  position: absolute;
  width: 124px;
  height: 121px;
  left: 0;
  top: 0;
  background-image: url(../images/dots.png);
  content: "";
}

.service-block-three .inner-box:hover {
  background-color: var(--secondary);
}
.service-block-three .inner-box:hover .text,
.service-block-three .inner-box:hover .title,
.service-block-three .inner-box:hover i {
  color: #ffffff;
}
.service-block-three .inner-box:hover .icon-box:before {
  color: var(--light);
}
.service-block-three .inner-box:hover .read-more i {
  color: #ffffff;
  background-color: var(--primary);
}
.service-block-three .content {
  position: relative;
  padding: 40px 35px 70px;
  overflow: hidden;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  -webkit-box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
          box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
}
.service-block-three .content::before {
  position: absolute;
  right: -60px;
  top: -100px;
  height: 230px;
  width: 230px;
  background-color: #ffffff;
  border-radius: 50%;
  opacity: 0.08;
  content: "";
}
.service-block-three .content::after {
  position: absolute;
  left: -60px;
  top: -100px;
  height: 230px;
  width: 230px;
  background-color: #ffffff;
  border-radius: 50%;
  opacity: 0.08;
  content: "";
}
.service-block-three .icon-box {
  position: relative;
  margin-bottom: 25px;
}
.service-block-three .icon-box:before {
  position: absolute;
  right: -10px;
  top: 20px;
  font-size: 52px;
  color: #edf0f5;
  counter-increment: count;
  content: "0" counter(count);
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
.service-block-three .icon-box i {
  display: inline-block;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  color: var(--secondary);
  font-size: 34px;
}
.service-block-three .title {
  font-weight: 800;
  line-height: 30px;
  margin-bottom: 30px;
}
.service-block-three .title:hover {
  color: var(--secondary);
}
.service-block-three .text {
  position: relative;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  margin-bottom: 0px;
}
.service-block-three .read-more {
  position: absolute;
  left: 35px;
  bottom: -32px;
  text-decoration: none;
}
.service-block-three .read-more i {
  background-color: #ffffff;
  height: 64px;
  width: 64px;
  font-size: 18px;
  color: var(--dark);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 50%;
  -webkit-transition: all 100ms ease;
  transition: all 100ms ease;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}


/* ===============================
   PRICING SECTION
   =============================== */
.pricing {
  background: #f8fafc;
  padding: 100px 0;
}

.pricing-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 520px; /* ensures consistent height */
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
}

/* Title and Price */
.plan-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.plan-price span {
  font-size: 1rem;
  color: #64748b;
}

/* Features */
.plan-features {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  flex-grow: 1;
}

.plan-features li {
  margin-bottom: 0.75rem;
  color: #475569;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.plan-features i {
  color: var(--primary);
  margin-right: 0.5rem;
}

/* Button alignment at bottom */
.pricing-card .btn {
  margin-top: auto;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pricing-card .btn:hover {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scale(1.05);
}

/* Highlighted Middle Plan */
.popular {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, #eef2ff, #fff);
  box-shadow: 0 15px 45px rgba(99, 102, 241, 0.15);
  transform: scale(1.04);
  z-index: 2;
  position: relative;
}

.popular:hover {
  transform: scale(1.06) translateY(-5px);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
}

/* Badge */
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1.1rem;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

/* Responsive */
@media (max-width: 991px) {
  .pricing-card {
    min-height: auto;
  }
  .popular {
    transform: scale(1);
  }
}


/* ===============================
   9. PORTFOLIO SECTION
   =============================== */

.portfolio {
  position: relative;
  padding: 100px 0;
  background: var(--light);
}

/* ===============================
   PORTFOLIO FILTER BUTTONS (Pill Design)
   =============================== */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.filter-btn {
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  border-radius: 50px; /* pill shape */
  padding: 10px 26px;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.08);
}

.filter-btn:hover {
  background: linear-gradient(90deg, #667eea, #764ba2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.filter-btn.active {
  background: linear-gradient(90deg, #667eea, #764ba2);
  color: #fff;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  border-color: transparent;
}

/* ==============================
   Owl Carousel Core Transitions
   ============================== */
.projects-carousel {
  transition: opacity 0.5s ease;
}
.projects-carousel.owl-loaded {
  opacity: 1;
}
.projects-carousel.owl-loading {
  opacity: 0;
}

/* ==============================
   Project Card
   ============================== */
.projects-carousel .project-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.5s ease;
  background: #fff;
  transform-origin: center;
}

.projects-carousel .project-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: transform 0.8s ease;
  filter: brightness(0.95);
}

/* Overlay Gradient Info */
.projects-carousel .project-card .info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(to top, rgba(10,10,25,0.85) 0%, rgba(0,0,0,0.1) 80%);
  color: #fff;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.5s ease;
  text-align: left;
  backdrop-filter: blur(2px);
}

/* Hover Effects */
.projects-carousel .project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.25);
}
.projects-carousel .project-card:hover img {
  transform: scale(1.1);
  filter: brightness(1);
}
.projects-carousel .project-card:hover .info {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   Text Styling + Animated Arrow
   ============================== */
.projects-carousel .info h5 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.projects-carousel .info h5::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.9rem;
  color: #9f7aea;
  transform: translateX(-12px);
  opacity: 0;
  transition: all 0.4s ease;
}

.projects-carousel .project-card:hover .info h5::after {
  transform: translateX(0);
  opacity: 1;
}

.projects-carousel .info p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

/* ==============================
   Navigation Arrows
   ============================== */
.projects-carousel .owl-nav {
  position: absolute;
  top: 40%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none; /* prevent blocking cards */
}

.projects-carousel .owl-nav button {
  pointer-events: all;
  background: #6366f1;
  color: #fff !important;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  border: none;
  transition: 0.3s;
}

.projects-carousel .owl-nav button:hover {
  background: #4f46e5;
}

.projects-carousel .owl-nav i {
  font-size: 18px;
  line-height: 45px;
}

/* ===============================
   10. STATS SECTION
   =============================== */

.stats {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ===============================
   TESTIMONIALS SECTION
   =============================== */
.testimonials {
  background: #f8fafc;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.05rem;
  color: #475569;
}

/* ===============================
   11. CONTACT SECTION
   =============================== */

.contact {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  padding-bottom: 5rem;
}

.contact-btn {
  background:linear-gradient(90deg,#667eea,#764ba2);
  border:none; 
  border-radius:12px;
  font-weight:600; 
  letter-spacing:0.3px;
  transition:all 0.3s ease;
}

.text-gradient {
  background: linear-gradient(90deg,#667eea,#764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-form .form-control {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102,126,234,0.15);
}

.contact-info .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info .contact-item i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 0.5rem;
  background: linear-gradient(135deg,#667eea,#764ba2);
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(102,126,234,0.4);
}

/* ===============================
   12. FOOTER SECTION
   =============================== */

footer {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 1rem 0;
}

footer p {
  margin: 0;
}

footer a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

footer a:hover {
  opacity: 1;
}

.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);*/
  color: white;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}


/* ===============================
   13. MEDIA QUERIES
   =============================== */

@media (max-width: 992px) {
  .hero-text { text-align: center; }
  .trust-badges { justify-content: center; }
  .floating-badge { display: none; }
  .hero .row { text-align: center; }
  .hero .col-lg-6 { margin-bottom: 2rem; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
}

/* =========================================
   📱 MOBILE OPTIMIZATION PATCH (DEC 2025)
   ========================================= */
@media (max-width: 767px) {

  /* Global */
  body {
    font-size: 15px;
    overflow-x: hidden;
  }

  section {
    padding: 150px 0 !important;
  }

  h1, h2, h3 {
    line-height: 1.3;
  }

  .navbar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn-primary-custom {
    width: 100%;
  }

  /* HERO SECTION */
  .hero {
    text-align: center;
    padding: 80px 0 40px;
  }

  .hero-text {
    margin-bottom: 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .banner-social-links {
        display: none;
  }

  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .cta-buttons a {
    width: 100%;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
  }

  /* HERO FORM */
  .hero-form-wrapper {
    border-radius: 18px;
    padding: 25px 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  }

  .lead-form {
    padding: 1.8rem 1.5rem;
  }

  .lead-form h4 {
    font-size: 1.25rem;
    text-align: center;
  }

  .lead-form h5 {
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 0.3rem;
  }

  .lead-form p {
    text-align: center;
    font-size: 0.85rem;
  }

  .lead-form input {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .lead-form button {
    font-size: 1rem;
    padding: 10px;
  }

  .form-note {
    font-size: 0.8rem;
    text-align: center;
  }

  /* ABOUT SECTION */
  .about .section-title,
  .about .section-subtitle,
  .about p {
    text-align: center !important;
  }

  .about img {
    width: 100%;
    border-radius: 16px;
  }

  /* SERVICES SECTION */
  .services .service-card {
    text-align: center;
    padding: 1.5rem;
  }

  .services .service-icon {
    margin: 0 auto 1rem;
  }

  /* PRICING SECTION */
  .pricing-card {
    padding: 2rem 1.5rem;
    min-height: auto !important;
  }

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

  .plan-price {
    font-size: 2rem;
  }

  .plan-features li {
    font-size: 0.9rem;
  }

  .popular-badge {
    top: -10px;
    font-size: 0.7rem;
  }

  /* PORTFOLIO */
  .portfolio-item {
    height: 220px;
    font-size: 1.2rem;
  }

  /* TESTIMONIALS */
  .testimonial-card {
    margin-bottom: 1rem;
  }

  /* CONTACT */
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 0.9rem;
  }

  .contact-info {
    margin-top: 2rem;
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .contact-item {
    justify-content: center;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  /* FOOTER */
  footer {
    text-align: center;
    font-size: 0.9rem;
    padding: 15px 0;
  }
}

@media only screen and (max-width: 1596px) {
  .banner-social-links {
    display: none;
  }
}

/* ===============================
   SCROLL ANIMATION – STAGGERED FADE-UP
   =============================== */
.content-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
  visibility: visible;
}

.content-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered fade for child elements */
.content-section .fade-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.content-section.visible .fade-item {
  opacity: 1;
  transform: translateY(0);
}

/* Optional slight delay per child */
.fade-item:nth-child(1) { transition-delay: 0.1s; }
.fade-item:nth-child(2) { transition-delay: 0.2s; }
.fade-item:nth-child(3) { transition-delay: 0.3s; }
.fade-item:nth-child(4) { transition-delay: 0.4s; }
.fade-item:nth-child(5) { transition-delay: 0.5s; }

.projects-section {
  position: relative;
  padding: 120px 0;
}
.projects-section.pull-up {
  padding-top: 200px;
  margin-top: -100px;
}
.projects-section.pull-up .bg {
  max-height: 490px;
}

.projects-section .carousel-outer {
  margin: 0 -260px;
}
.projects-section .owl-item:nth-child(even) .project-block .inner-box {
  margin-top: 30px;
}
.projects-section.style-two .carousel-outer {
  position: relative;
  z-index: 2;
  margin: 0;
  margin-right: -530px;
}
.projects-section.style-two .owl-item:nth-child(even) .project-block .inner-box {
  margin-top: 0;
}
.projects-section.style-two .owl-nav {
  position: absolute;
  right: 530px;
  top: -120px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 9;
}
.projects-section.style-two .owl-nav .owl-next,
.projects-section.style-two .owl-nav .owl-prev {
  display: block;
  margin: 0px 5px;
  height: 52px;
  width: 52px;
  color: var(--theme-color1);
  border-radius: 50%;
  background-color: rgb(255, 255, 255);
  font-size: 16px;
  line-height: 52px;
  font-weight: 700;
  text-align: center;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}
.projects-section.style-two .owl-nav .owl-next:hover,
.projects-section.style-two .owl-nav .owl-prev:hover {
  background-color: var(--bg-theme-color1);
  color: #ffffff;
  opacity: 1;
}

.project-block {
  position: relative;
}
.project-block .inner-box {
  position: relative;
}
.project-block .inner-box:hover .image-box .image img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
  opacity: 0.4;
}
.project-block .inner-box:hover .info-box {
  opacity: 1;
  visibility: visible;
  bottom: 20px;
}
.project-block .image-box {
  position: relative;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
.project-block .image-box .image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 0;
  background-color: var(--bg-theme-color1);
}
.project-block .image-box .image img {
  width: 100%;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
.project-block .info-box {
  position: absolute;
  left: 0px;
  bottom: 0px;
  padding: 25px 30px;
  min-width: 270px;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  border-radius: 0 10px 10px 0;
  background-color: #ffffff;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
}
.project-block .info-box .title {
  margin-bottom: 0;
}
.project-block .info-box .title:hover {
  color: var(--bg-theme-color2);
}
.project-block .read-more {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  right: 20px;
  top: -26px;
  height: 52px;
  width: 52px;
  font-size: 18px;
  background-color: var(--bg-theme-color2);
  border-radius: 50%;
  color: #fff;
  z-index: 3;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
.project-block .read-more:hover {
  color: #ffffff;
  background-color: var(--bg-theme-color1);
}