/* ===== Custom Styles for Accet Counseling Services ===== */

/* Scroll behavior */
html {
  scroll-behavior: smooth;
}

/* ===== Geometric Decorative Elements ===== */
.geo-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: blobFloat 20s ease-in-out infinite;
}

.blob-burgundy {
  background: #9f1a38;
}

.blob-blush {
  background: #f22456;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

/* Geometric shapes */
.geo-shape {
  position: absolute;
  opacity: 0.08;
}

/* Hero shapes */
.shape-circle-1 {
  top: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  animation: shapeRotate 30s linear infinite;
}

.shape-circle-2 {
  top: 60%;
  right: 10%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: shapeFloat 8s ease-in-out infinite;
}

.shape-square-1 {
  bottom: 15%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transform: rotate(45deg);
  animation: shapeRotate 25s linear infinite reverse;
}

.shape-triangle-1 {
  top: 25%;
  right: 5%;
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid rgba(255, 255, 255, 0.06);
  animation: shapeFloat 10s ease-in-out infinite;
}

.shape-dots {
  top: 40%;
  left: 15%;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.3) 2px, transparent 2px);
  background-size: 15px 15px;
  animation: shapeFloat 12s ease-in-out infinite;
}

/* About section shapes */
.shape-circle-about-1 {
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  animation: shapeRotate 35s linear infinite;
}

.shape-square-about {
  bottom: 10%;
  left: 5%;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transform: rotate(30deg);
  animation: shapeRotate 20s linear infinite reverse;
}

.shape-dots-about {
  top: 30%;
  right: 15%;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.2) 2px, transparent 2px);
  background-size: 12px 12px;
  animation: shapeFloat 15s ease-in-out infinite;
}

/* Approach section shapes */
.shape-circle-approach {
  top: -50px;
  left: -50px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(159, 26, 56, 0.08);
  animation: shapeFloat 18s ease-in-out infinite;
}

.shape-square-approach {
  bottom: 10%;
  right: 5%;
  width: 120px;
  height: 120px;
  background: rgba(159, 26, 56, 0.06);
  border-radius: 24px;
  transform: rotate(20deg);
  animation: shapeRotate 28s linear infinite;
}

/* CTA section shapes */
.shape-circle-cta {
  top: -80px;
  right: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  animation: shapeRotate 22s linear infinite;
}

.shape-square-cta {
  bottom: -40px;
  left: 10%;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transform: rotate(45deg);
  animation: shapeFloat 14s ease-in-out infinite;
}

@keyframes shapeRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

/* ===== Navigation ===== */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #9f1a38;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #9f1a38, #be2548);
  color: white;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(159, 26, 56, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(159, 26, 56, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #9f1a38;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline-white:hover {
  transform: translateY(-2px);
}

/* ===== Badges ===== */
.badge-burgundy {
  display: inline-block;
  background: linear-gradient(135deg, #fce7eb, #fad0d9);
  color: #9f1a38;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-light {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== Service Cards ===== */
.service-card {
  perspective: 1000px;
}

.service-card:hover .service-card-inner {
  transform: translateY(-8px);
}

/* ===== Approach Cards ===== */
.approach-card {
  position: relative;
}

.approach-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #9f1a38, #f22456);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.approach-card:hover::before {
  opacity: 1;
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(159, 26, 56, 0.1);
}

/* ===== Form Inputs ===== */
.input-field {
  background: white;
  border: 2px solid #fce7eb;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: #1f2937;
  transition: all 0.3s ease;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.input-field:focus {
  border-color: #9f1a38;
  box-shadow: 0 0 0 4px rgba(159, 26, 56, 0.1);
}

.input-field::placeholder {
  color: #9ca3af;
}

.input-field:hover:not(:focus) {
  border-color: #fad0d9;
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ===== Navbar Scroll State ===== */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(159, 26, 56, 0.1);
}

.navbar-scrolled .nav-link {
  color: #1f2937;
}

.navbar-scrolled .nav-link:hover {
  color: #9f1a38;
}

.navbar-scrolled .font-serif {
  color: #9f1a38;
}

/* ===== Mobile Menu ===== */
.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover {
  background: rgba(159, 26, 56, 0.05);
}

/* ===== Back to Top ===== */
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background: #be2548;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .shape-circle-1,
  .shape-circle-about-1,
  .shape-circle-cta {
    display: none;
  }
  
  .shape-square-1,
  .shape-square-about,
  .shape-square-approach,
  .shape-square-cta {
    display: none;
  }
  
  .shape-triangle-1 {
    display: none;
  }
  
  .geo-blob {
    filter: blur(60px);
    opacity: 0.1;
  }
}
