/* =============================================
   CAUSE AND SOLUTION - Custom Stylesheet
   Brand Colors:
   - Primary Purple: #7B62DF
   - Dark Purple: #614DB0
   - Deep Dark: #2F2B36
   - Light BG: #F7F7F7
   - White: #FFFFFF
   ============================================= */

/* === RESET & BASE === */
:root {
  --primary: #7B62DF;
  --primary-dark: #614DB0;
  --primary-darker: #372875;
  --dark: #2F2B36;
  --light-bg: #F7F7F7;
  --text-muted: #76747B;
  --white: #FFFFFF;
  --gradient-primary: linear-gradient(135deg, #7B62DF 0%, #614DB0 100%);
  --gradient-dark: linear-gradient(135deg, #2F2B36 0%, #372875 100%);
  --shadow-sm: 0 2px 15px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(123,98,223,0.15);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-xl: 0 30px 80px rgba(123,98,223,0.2);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
}

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

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

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

.section-padding-sm {
  padding: 70px 0;
}

/* === PRELOADER === */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(123,98,223,0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* === NAVBAR === */
#mainNavbar {
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
  z-index: 9999;
}

#mainNavbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}

#mainNavbar.scrolled .nav-link,
#mainNavbar.scrolled .navbar-brand img {
  color: var(--dark) !important;
}

.navbar-logo {
  height: 45px;
  transition: var(--transition);
}

.navbar-right {
  gap: 20px;
}

.nav-phone {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  transition: var(--transition);
}

.nav-phone:hover {
  color: rgba(255,255,255,0.7);
}

.nav-phone i {
  color: var(--white);
  margin-right: 4px;
}

#mainNavbar.scrolled .nav-phone {
  color: var(--dark);
}

#mainNavbar.scrolled .nav-phone:hover {
  color: var(--primary);
}

#mainNavbar.scrolled .nav-phone i {
  color: var(--primary);
}

.btn-primary-nav {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border: none;
  transition: var(--transition);
}

.btn-primary-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.nav-link,
#mainNavbar .navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 18px !important;
  position: relative;
  transition: var(--transition);
}

.nav-link::after,
#mainNavbar .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after,
#mainNavbar:not(.scrolled) .nav-link:hover::after,
#mainNavbar:not(.scrolled) .nav-link.active::after {
  width: 60%;
}

.nav-link:hover,
.nav-link.active,
#mainNavbar:not(.scrolled) .navbar-nav .nav-link:hover,
#mainNavbar:not(.scrolled) .navbar-nav .nav-link.active {
  color: rgba(255,255,255,0.7) !important;
}

#mainNavbar:not(.scrolled) .navbar-nav .nav-link:hover::after {
  background: var(--white);
}

#mainNavbar.scrolled .nav-link,
#mainNavbar.scrolled .navbar-nav .nav-link {
  color: var(--dark) !important;
}

#mainNavbar.scrolled .nav-link::after,
#mainNavbar.scrolled .navbar-nav .nav-link::after {
  background: var(--primary);
}

#mainNavbar.scrolled .nav-link:hover,
#mainNavbar.scrolled .nav-link.active,
#mainNavbar.scrolled .navbar-nav .nav-link:hover,
#mainNavbar.scrolled .navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

/* Hamburger */
.navbar-toggler {
  border: none;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.toggler-bar {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

#mainNavbar.scrolled .toggler-bar {
  background: var(--dark);
}

.navbar-toggler[aria-expanded="true"] .toggler-bar {
  background: var(--dark) !important;
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.navbar-collapse {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-top: 15px;
  box-shadow: var(--shadow-lg);
}

.navbar-dark .navbar-nav .nav-link,
.navbar-collapse .nav-link {
  color: var(--dark) !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-collapse .nav-link:hover,
.navbar-collapse .nav-link.active {
  color: var(--primary) !important;
}

.navbar-collapse .nav-link::after {
  background: var(--primary);
}

@media (min-width: 992px) {
  .navbar-collapse {
    background: transparent;
    padding: 0;
    margin-top: 0;
    box-shadow: none;
  }
}

/* === HERO SECTION === */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(47,43,54,0.85) 0%, rgba(55,40,117,0.75) 50%, rgba(123,98,223,0.6) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, #BBA7FA, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--white);
  color: var(--primary-dark);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  color: var(--primary-dark);
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.3);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
  color: var(--white);
}

/* Hero floating shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 2;
  opacity: 0.1;
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  right: -100px;
  animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  background: var(--white);
  bottom: 100px;
  left: -50px;
  animation: float 8s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 100px;
  height: 100px;
  background: var(--primary);
  top: 40%;
  right: 20%;
  animation: float 5s ease-in-out infinite 2s;
}

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

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  color: var(--white);
}

.scroll-indicator span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.6;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.4);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--white);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 150%; }
}

/* === VIDEO SECTION (below hero) === */
.video-section {
  padding: 0;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  aspect-ratio: 16 / 9;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay-mini {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(47,43,54,0.2) 0%, rgba(55,40,117,0.1) 100%);
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.video-mute-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.video-mute-btn:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.1);
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark);
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

/* === WHO WE ARE === */
.who-we-are {
  position: relative;
  overflow: visible;
}

.who-we-are .image-stack {
  position: relative;
}

.who-we-are .main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.who-we-are .main-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.who-we-are .float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.who-we-are .float-card.card-experience {
  bottom: -30px;
  left: -30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.who-we-are .float-card .counter-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1;
}

.who-we-are .float-card .counter-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}

.who-we-are .float-card.card-badge {
  top: -20px;
  right: -20px;
  padding: 18px 24px;
}

.who-we-are .float-card.card-badge img {
  height: 40px;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.about-text .about-label {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* === SERVICES HOME SECTION === */
.services-home {
  position: relative;
}

.services-home::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--light-bg);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 0;
}

.services-home .container {
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  height: 100%;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(123,98,223,0.1), rgba(123,98,223,0.05));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-icon i {
  font-size: 1.6rem;
  color: var(--primary);
  transition: var(--transition);
}

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

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

.service-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card .learn-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-card .learn-more i {
  transition: var(--transition);
  font-size: 0.8rem;
}

.service-card:hover .learn-more i {
  transform: translateX(5px);
}

/* === WHY PARTNER === */
.why-partner {
  position: relative;
  background: var(--gradient-dark);
}

.why-partner .container {
  position: relative;
  z-index: 1;
}

.why-partner .section-title {
  color: var(--white);
}

.why-partner .section-label {
  color: rgba(255,255,255,0.6);
}

.why-partner .section-subtitle {
  color: rgba(255,255,255,0.7);
}

/* === PARTNER CARDS (3-column layout) === */
.partner-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.partner-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.2);
}

.partner-card:hover::before {
  transform: scaleX(1);
}

.partner-card-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.partner-card-title {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.partner-card-icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.partner-card-icon i {
  color: var(--primary);
  font-size: 1.3rem;
}

.partner-card-list {
  list-style: none;
  padding: 0;
}

.partner-card-list li {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.partner-card-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.partner-card-list li:last-child {
  border-bottom: none;
}

.partner-card-list li:hover {
  color: var(--white);
  padding-left: 6px;
}

/* === MANAGE / FOCUS SECTION (legacy - now in partner cards) === */

/* === TESTIMONIALS === */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-dark);
  z-index: 0;
}

.testimonials-section .container {
  position: relative;
  z-index: 1;
}

.testimonials-left {
  padding-right: 20px;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  flex: 0 0 75%;
  padding: 0 15px;
  min-width: 0;
}

@media (max-width: 991px) {
  .testimonial-slide {
    flex: 0 0 100%;
  }
}

@media (max-width: 575px) {
  .testimonial-slide {
    flex: 0 0 100%;
  }
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  height: 100%;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.testimonial-card .quote-icon {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 16px;
  opacity: 0.6;
}

.testimonial-card .testimonial-text {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 14px;
  font-style: italic;
}

.testimonial-card .client-logo {
  height: 40px;
  margin-bottom: 16px;
  margin-top: 8px;
  object-fit: contain;
}

.testimonial-card .client-name {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.testimonial-card .client-title {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  line-height: 1.5;
}

.testimonial-controls {
  display: none;
}

.testimonial-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.testimonial-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* === CTA SECTION === */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--light-bg);
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--primary);
  border-radius: 50%;
  top: -200px;
  right: -200px;
  opacity: 0.05;
}

.cta-dog-image {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 350px;
  opacity: 0.12;
  z-index: 0;
  animation: floatDog 6s ease-in-out infinite;
  pointer-events: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cta-dog-image img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes floatDog {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content .cert-badges {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.cta-content .cert-badges img {
  height: 55px;
  transition: var(--transition);
  filter: grayscale(0.3);
}

.cta-content .cert-badges img:hover {
  transform: scale(1.1);
  filter: grayscale(0);
}

/* === SERVICES PAGE === */
.services-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  padding-top: 120px;
  overflow: hidden;
}

.services-hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--primary);
  border-radius: 50%;
  top: -250px;
  right: -150px;
  opacity: 0.06;
  animation: float 8s ease-in-out infinite;
}

.services-hero::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--white);
  border-radius: 50%;
  bottom: -100px;
  left: -80px;
  opacity: 0.04;
  animation: float 10s ease-in-out infinite reverse;
}

.services-hero .container {
  position: relative;
  z-index: 2;
}

.services-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.services-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  max-width: 600px;
}

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: var(--transition);
}

.service-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-detail-card:hover::before {
  transform: scaleY(1);
}

.service-detail-card .service-area-label {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.service-detail-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.service-detail-card ul {
  list-style: none;
  padding: 0;
}

.service-detail-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--text-muted);
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-detail-card ul li:last-child {
  border-bottom: none;
}

.service-detail-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

/* === CONTACT PAGE === */
.contact-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  padding-top: 120px;
  overflow: hidden;
}

.contact-hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--primary);
  border-radius: 50%;
  top: -200px;
  right: -100px;
  opacity: 0.06;
  animation: float 8s ease-in-out infinite;
}

.contact-hero::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: var(--white);
  border-radius: 50%;
  bottom: -80px;
  left: -60px;
  opacity: 0.04;
  animation: float 10s ease-in-out infinite reverse;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  max-width: 600px;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.form-control {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.95rem;
  transition: var(--transition);
  font-family: var(--font-body);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(123,98,223,0.1);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

.btn-submit {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 14px 48px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.contact-info-card {
  background: var(--gradient-dark);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  color: var(--white);
  height: 100%;
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item .icon-wrap {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .icon-wrap i {
  color: var(--primary);
  font-size: 1.1rem;
}

.contact-info-item h5 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.contact-info-item a:hover {
  color: var(--white);
}

/* === FOOTER === */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
}

.footer-top {
  padding: 80px 0 40px;
}

.footer-logo {
  height: 45px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-style: italic;
  opacity: 0.6;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-contact-info a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-contact-info a:hover {
  color: var(--white);
}

.footer-contact-info a i {
  color: var(--primary);
  width: 20px;
}

.footer-heading {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

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

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

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-address p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-address i {
  color: var(--primary);
  margin-right: 8px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.6;
  margin: 0;
}

.footer-badges {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-badge {
  height: 35px;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: var(--transition);
}

.footer-badge:hover {
  opacity: 0.8;
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

/* === FORM SUCCESS/ERROR === */
.alert-form {
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-form.alert-success-custom {
  background: rgba(11,152,32,0.1);
  color: #0B9820;
  border: 1px solid rgba(11,152,32,0.2);
}

.alert-form.alert-error-custom {
  background: rgba(223,49,49,0.1);
  color: #DF3131;
  border: 1px solid rgba(223,49,49,0.2);
}

/* === RESPONSIVE === */

/* Laptop screens (1366x768 and similar) */
@media (max-width: 1400px) {
  .hero-section {
    min-height: 96vh;
    padding: 150px 0;
  }

  .hero-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
  }

  .hero-text {
    font-size: 1.05rem;
    max-width: 520px;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 6px 20px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 14px 30px;
    font-size: 0.92rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .partner-card {
    padding: 32px 24px;
  }

  .partner-card-title {
    font-size: 1.15rem;
  }

  .partner-card-list li {
    font-size: 0.88rem;
    padding: 7px 0;
  }

  .video-wrapper {
    max-width: 780px;
  }

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

  .services-hero,
  .contact-hero {
    min-height: 55vh;
    padding: 120px 0 80px;
  }
}

@media (max-width: 991px) {
  .hero-section {
    min-height: 90vh;
  }

  .who-we-are .float-card {
    position: relative;
    bottom: auto;
    left: auto;
    top: auto;
    right: auto;
    margin-top: 20px;
  }

  .who-we-are .float-card.card-badge {
    top: auto;
    right: auto;
  }

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

  .contact-form-wrap {
    padding: 30px;
  }

  .cta-dog-image {
    width: 200px;
    right: -30px;
    bottom: -10px;
    opacity: 0.08;
  }

  .testimonials-left {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .testimonials-left .section-title {
    text-align: center;
  }

  .testimonials-left .section-subtitle {
    text-align: center;
  }

  .testimonials-left p:last-of-type {
    text-align: center;
  }

  .testimonials-nav {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn-hero-primary,
  .hero-buttons .btn-hero-secondary {
    text-align: center;
    justify-content: center;
  }

  .service-card {
    padding: 30px 24px;
  }

  .partner-card {
    padding: 30px 24px;
  }

  .footer-top {
    padding: 50px 0 30px;
  }

  .video-container {
    border-radius: var(--radius-md);
  }

  .video-mute-btn {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
    bottom: 12px;
    right: 12px;
  }

  .cta-dog-image {
    display: none;
  }

  .marquee-content {
    gap: 40px;
  }

  .marquee-content img {
    height: 40px;
  }

  .testimonial-slide {
    flex: 0 0 100% !important;
  }
}

/* === COUNTER ANIMATION === */
.counter-section {
  text-align: center;
}

.counter-box {
  text-align: center;
  padding: 30px;
}

.counter-box .counter-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 8px;
}

.counter-box .counter-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* === CLIENT LOGOS MARQUEE === */
.client-logos-section {
  overflow: hidden;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 0 30px;
}

.marquee-content img {
  height: 55px;
  filter: grayscale(0.3);
  transition: var(--transition);
  opacity: 0.65;
  flex-shrink: 0;
  min-width: 140px;
}

.marquee-content img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.08);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === FORM ENHANCEMENTS === */
.required {
  color: #e74c3c;
  font-weight: 700;
}

.form-label {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--text);
}

.field-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: #888;
}

.form-control:focus,
.form-check-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(123, 98, 223, 0.15);
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* === PHONE INPUT GROUP === */
.phone-input-group {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dee2e6;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(123, 98, 223, 0.15);
}

.phone-country-select {
  flex: 0 0 auto;
  width: auto;
  min-width: 80px;
  border: none;
  border-right: 1px solid #dee2e6;
  border-radius: 0;
  background: #f8f9fa;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 10px;
  cursor: pointer;
}

.phone-country-select:focus {
  box-shadow: none;
  border-color: #dee2e6;
}

.phone-number-input {
  flex: 1;
  border: none;
  border-radius: 0;
  padding: 8px 12px;
  min-width: 0;
}

.phone-number-input:focus {
  box-shadow: none;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(123, 98, 223, 0.35);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.alert-form {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  animation: slideDown 0.3s ease;
}

.alert-form i {
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.alert-success-custom {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error-custom {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.is-invalid {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.12) !important;
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 4px;
  font-size: 0.82rem;
  color: #e74c3c;
}

.is-invalid ~ .invalid-feedback {
  display: block;
}
