:root {
  --primary: #4361ee;
  --primary-dark: #3a0ca3;
  --secondary: #f72585;
  --accent: #4cc9f0;
  --dark: #14213d;
  --light: #f8f9fa;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
}

body {
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 0 auto;
  border-radius: 2px;
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: fixed;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.logo-text span {
  color: var(--secondary);
  margin-left: 4px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--dark);
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #4361ee, #3a0ca3);
  color: white;
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1579389083078-4e7018379f7e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80")
    no-repeat center center/cover;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* About Section */
.about {
  background-color: var(--light);
  position: relative;
}

.about-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.about-text p {
  margin-bottom: 20px;
  color: var(--gray);
}

.about-image {
  flex: 1;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.about-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

/* Services Section */
.services {
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--light);
  z-index: -1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background-color: white;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
  height: 10px;
}

.service-icon {
  font-size: 50px;
  margin-bottom: 25px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.service-card p {
  color: var(--gray);
}

/* Why Us Section */
.why-us {
  background-color: var(--light);
  position: relative;
}

.benefits-list {
  max-width: 900px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.check-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.benefit-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.benefit-content p {
  color: var(--gray);
}

/* Stats Section */
.stats {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 80px 0;
  text-align: center;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-item {
  padding: 30px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, white, var(--light-gray));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* CTA Section */
.cta {
  background-color: var(--dark);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("assets/img/meeting_bav.jpg") no-repeat center center/cover;
  opacity: 0.15;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Contact Section */
.contact {
  position: relative;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.contact-card {
  background-color: white;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 28px;
}

.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.contact-card p {
  color: var(--gray);
}

.contact-link {
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
  z-index: 999;
  animation: float 3s ease-in-out infinite;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-logo span {
  color: var(--secondary);
}

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-links i {
  font-size: 12px;
  color: var(--primary);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Animations */
.animate-up {
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.animate-up.animated {
  transform: translateY(0);
  opacity: 1;
}

.animate-left {
  transform: translateX(-30px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.animate-left.animated {
  transform: translateX(0);
  opacity: 1;
}

.animate-right {
  transform: translateX(30px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.animate-right.animated {
  transform: translateX(0);
  opacity: 1;
}

.animate-scale {
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.animate-scale.animated {
  transform: scale(1);
  opacity: 1;
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image {
    margin-top: 40px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .hero {
    padding: 150px 0 80px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .benefit-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .check-icon {
    margin-bottom: 15px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .service-card,
  .contact-card {
    padding: 30px 20px;
  }

  .logo-text {
    font-size: 24px;
  }

  .logo-img {
    height: 30px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
  .btn-primary {
    background-color: var(--primary);
    color: white !important; /* This ensures it overrides any other styles */
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
  }
}

.highlight-pulse {
  color: #fff;
  background: linear-gradient(90deg, #ff9800 0%, #ffc107 100%);
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 0 8px #ffc10780;
  animation: pulse 1.2s infinite;
  display: inline-block;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 8px #ffc10780, 0 0 0 0 #ffc10740;
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 24px #ffc107cc, 0 0 16px 8px #ffc10740;
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 8px #ffc10780, 0 0 0 0 #ffc10740;
    transform: scale(1);
  }
}

/* Enhanced SocialPet.id Section */
.socialpet-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #cbebff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #4a5568;
  text-align: center;
  margin-top: 10px;
  font-weight: 400;
}

.socialpet-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  gap: 40px;
}

.socialpet-logo-block {
  flex: 0 0 40%;
  text-align: center;
}

.socialpet-logo-large {
  max-width: 280px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}

.download-buttons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.download-buttons .btn i {
  font-size: 1.2rem;
}

.socialpet-content-block {
  flex: 0 0 55%;
}

.socialpet-title {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.3;
}

.socialpet-desc-container {
  margin-bottom: 25px;
}

.socialpet-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 15px;
}

.socialpet-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #2d3748;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
  transform: translateY(-3px);
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item i {
  color: #3182ce;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.official-certifications {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.certification-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 12px 15px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.certification-logo {
  width: 40px;
  height: auto;
}

.certification-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.certification-text span {
  font-size: 0.75rem;
  color: #718096;
}

.certification-text strong {
  font-size: 0.95rem;
  color: #2d3748;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
  .socialpet-container {
    flex-direction: column;
    gap: 40px;
  }

  .download-buttons {
    flex-direction: row;
    max-width: 100%;
    justify-content: center;
  }

  .download-buttons .btn {
    flex: 1;
    max-width: 220px;
  }

  .official-certifications {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .download-buttons {
    flex-direction: column;
  }

  .download-buttons .btn {
    max-width: 100%;
  }

  .socialpet-features {
    grid-template-columns: 1fr;
  }

  .official-certifications {
    flex-direction: column;
    gap: 12px;
  }

  .socialpet-title {
    font-size: 1.5rem;
  }
}
