/* ===================================
   HOPECON 2025 - Modern Medical Conference
   Modern Design with Red & Yellow Theme
   ==================================== */

/* Color Palette */
:root {
  --primary-red: #DC143C;
  --secondary-red: #E74C3C;
  --accent-yellow: #FFD700;
  --accent-yellow-light: #FFC107;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --text-muted: #999999;
  --bg-light: #f8f9fa;
  --bg-lighter: #ffffff;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body {
  font-family: 'Inter', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-lighter);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-dark);
}

h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.2rem; }
h3 { font-size: 1.8rem; margin-bottom: 1rem; }
h4 { font-size: 1.3rem; margin-bottom: 0.8rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; color: var(--text-light); }

a {
  text-decoration: none;
  color: var(--primary-red);
  transition: all 0.3s ease;
}

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

/* Container & Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
  position: relative;
}

section.section-alt {
  background-color: var(--bg-light);
  position: relative;
  overflow: visible;
}

#features {
  position: relative;
  overflow: visible;
}

#features .hero-doctor-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 400px;
  height: auto;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

#features .container {
  position: relative;
  z-index: 2;
}

#features .row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 70%;
}

/* ===== NAVBAR ===== */
.navbar {
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 253, 231, 0.95) 100%);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(220, 20, 60, 0.12), inset 0 1px 0 rgba(255, 215, 0, 0.5);
  padding: 12px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--primary-red) 0%, var(--accent-yellow) 100%) 1;
}

.navbar.scrolled {
  box-shadow: 0 12px 40px rgba(220, 20, 60, 0.15);
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 253, 231, 0.95) 100%);
}

.navbar > .container {
  display: contents;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

.navbar-logo img {
  height: 90px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: all 0.3s ease;
  display: block;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
  flex-wrap: nowrap;
}

.navbar-menu li {
  position: relative;
}

.navbar-menu a {
  display: block;
  padding: 12px 18px;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  text-decoration: none;
  border-radius: 8px;
  margin: 0 4px;
  background: transparent;
}

.navbar-menu a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red) 0%, var(--accent-yellow) 100%);
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 2px;
}

.navbar-menu a:hover {
  color: #1a1a1a;
}

.navbar-menu a:hover::before {
  width: 70%;
}

.navbar-menu a.active {
  color: var(--primary-red);
}

.navbar-menu a.active::before {
  width: 100%;
}

.nav-btn {
  margin-left: 10px !important;
  padding: 10px 28px !important;
  font-size: 12px !important;
  background: #FFD700 !important;
  color: #1a1a1a !important;
  border-radius: 25px !important;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease !important;
}

.nav-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.3) !important;
  color: #1a1a1a !important;
}

.navbar-menu .btn-primary {
  background: #FFD700 !important;
  color: #1a1a1a !important;
}

.navbar-menu .nav-register-item {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.navbar-menu .nav-register-btn {
  display: block;
  margin-left: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(211, 25, 65, 0.35);
  background: linear-gradient(135deg, #ffd9df 0%, #ff8e96 100%);
  color: #4b0713;
  box-shadow: 0 8px 20px rgba(211, 25, 65, 0.25);
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.navbar-menu .nav-register-btn::before {
  display: none;
}

.navbar-menu .nav-register-btn:hover {
  color: #4b0713;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(211, 25, 65, 0.34);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.navbar-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-red);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ===== HERO SECTION ===== */
.hero {
  margin-top: 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../assets/hero_area/banner_bg.jpg') center/cover no-repeat;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
  z-index: 0;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 10;
  animation: slideInDown 1s ease-out;
  max-width: 900px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
  animation: scaleIn 1s ease-out 0.2s both;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  animation: fadeIn 1s ease-out 0.4s both;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero p:last-of-type {
  font-size: 1.1rem;
  opacity: 0.9;
  animation: fadeIn 1s ease-out 0.6s both;
}

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
  animation: slideUp 1s ease-out 0.8s both;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 30px 20px;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.countdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  border-radius: 15px;
}

.countdown-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.countdown-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: #FFD700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.countdown-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

/* CTA Button Group */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
  animation: fadeIn 1s ease-out 1s both;
}

.hero-buttons .btn {
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 30px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-primary {
  background: linear-gradient(135deg, white 0%, #f0f0f0 100%);
  color: var(--primary-red);
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
  color: var(--primary-red);
}

.hero-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

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

/* Floating shapes/elements */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  z-index: 1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 20%;
  left: 10%;
  background: rgba(255, 255, 255, 0.5);
  animation: float 15s infinite ease-in-out;
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 15%;
  background: rgba(255, 215, 0, 0.6);
  animation: float 20s infinite ease-in-out reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 15%;
  left: 20%;
  background: rgba(255, 255, 255, 0.4);
  animation: float 18s infinite ease-in-out;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  outline: none;
}

.btn-primary {
  background: #FFD700;
  color: #1a1a1a;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  color: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
  background: var(--accent-yellow);
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--accent-yellow-light);
  color: var(--text-dark);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 12px;
}

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

.subtitle {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-red);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red) 0%, var(--accent-yellow) 100%);
  border-radius: 2px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 30px;
}

/* ===== FEATURES SECTION ===== */
.features-container {
  position: relative;
  margin-top: 80px;
  padding: 40px 0;
  min-height: 850px;
  perspective: 1200px;
}

.features-container::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 60%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(220, 20, 60, 0.3) 0px,
    rgba(220, 20, 60, 0.3) 10px,
    transparent 10px,
    transparent 20px
  );
  left: 50%;
  top: 15%;
  transform: translateX(-50%);
  z-index: 1;
}

.features-container::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    rgba(220, 20, 60, 0.2) 0px,
    rgba(220, 20, 60, 0.2) 10px,
    transparent 10px,
    transparent 20px
  );
  left: 20%;
  top: 50%;
  z-index: 1;
}

.feature-card {
  position: absolute;
  width: 100%;
  max-width: 320px;
  padding: 35px 28px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  border: none;
  text-align: left;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 20px 0 12px;
  color: #1a1a1a;
}

.feature-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.feature-card:hover {
  transform: translateY(-10px) rotate(0deg) scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Card Dots */
.card-dot {
  position: absolute;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  top: -30px;
  right: 20px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 3;
}

.dot-yellow {
  background: radial-gradient(circle at 30% 30%, #FFE082, #FFD700);
}

.dot-purple {
  background: radial-gradient(circle at 30% 30%, #CE93D8, #BA68C8);
}

.dot-pink {
  background: radial-gradient(circle at 30% 30%, #F48FB1, #EC407A);
}

.dot-blue {
  background: radial-gradient(circle at 30% 30%, #64B5F6, #2196F3);
}

.dot-red {
  background: radial-gradient(circle at 30% 30%, #EF9A9A, #EF5350);
}

.dot-orange {
  background: radial-gradient(circle at 30% 30%, #FFB74D, #FFA726);
}

/* Card Icons */
.card-icon {
  position: absolute;
  font-size: 1.8rem;
  top: 25px;
  left: 25px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.feature-card:hover .card-icon {
  transform: scale(1.2);
  opacity: 1;
}

/* Card Colors */
.card-1 {
  background: linear-gradient(135deg, #FFFDE7 0%, #FFF9C4 100%);
  left: 5%;
  top: 0;
  transform: rotate(-8deg);
}

.card-2 {
  background: linear-gradient(135deg, #F3E5F5 0%, #EDE7F6 100%);
  right: 5%;
  top: 80px;
  transform: rotate(6deg);
}

.card-3 {
  background: linear-gradient(135deg, #FCE4EC 0%, #F8BBD0 100%);
  left: 10%;
  top: 220px;
  transform: rotate(5deg);
}

.card-4 {
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
  right: 8%;
  top: 300px;
  transform: rotate(-5deg);
}

.card-5 {
  background: linear-gradient(135deg, #FFE0B2 0%, #FFD699 100%);
  left: 12%;
  top: 480px;
  transform: rotate(-6deg);
}

.card-6 {
  background: linear-gradient(135deg, #F0F4C3 0%, #E6EE9C 100%);
  right: 12%;
  top: 600px;
  transform: rotate(7deg);
}

/* Responsive */
@media (max-width: 1200px) {
  .features-container {
    position: relative;
    min-height: auto;
    padding: 40px 0;
  }

  .features-container::before,
  .features-container::after {
    display: none;
  }

  .feature-card {
    position: relative;
    margin-bottom: 30px;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: rotate(0deg) !important;
    max-width: 100%;
  }

  .card-dot {
    top: -20px;
    right: 15px;
    width: 50px;
    height: 50px;
  }

  .card-icon {
    font-size: 1.5rem;
    top: 20px;
    left: 20px;
  }
}

@media (max-width: 768px) {
  .features-container {
    min-height: auto;
  }

  .feature-card {
    max-width: 100%;
    padding: 30px 25px;
    margin-bottom: 25px;
  }

  .feature-card h3 {
    font-size: 1.1rem;
  }

  .feature-card p {
    font-size: 0.85rem;
  }

  .card-dot {
    width: 45px;
    height: 45px;
    top: -15px;
  }

  .card-icon {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .feature-card {
    padding: 25px 20px;
    margin-bottom: 20px;
  }

  .feature-card h3 {
    font-size: 1rem;
    margin: 15px 0 10px;
  }

  .feature-card p {
    font-size: 0.8rem;
  }

  .card-dot {
    width: 40px;
    height: 40px;
    top: -12px;
    right: 12px;
  }

  .card-icon {
    font-size: 1.2rem;
    top: 15px;
    left: 15px;
  }
}

@keyframes float {
  0%, 100% { transform: scale(1.2) rotateZ(10deg) translateY(0); }
  50% { transform: scale(1.2) rotateZ(10deg) translateY(-12px); }
}

.feature-item h3 {
  color: var(--text-dark);
  margin: 25px 0 15px;
  font-size: 1.3rem;
  font-weight: 800;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.feature-item:hover h3 {
  color: var(--primary-red);
  letter-spacing: 0.5px;
}

.feature-item p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.feature-item:hover p {
  color: var(--text-dark);
  font-weight: 500;
}

.feature-footer {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid rgba(220, 20, 60, 0.1);
  position: relative;
  z-index: 2;
}

.feature-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
  color: white;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(8px) scale(0.8);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 5px 15px rgba(220, 20, 60, 0.2);
}

.feature-item:hover .feature-tag {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Staggered Animation */
.feature-item:nth-child(1) {
  animation: slideInUp 0.6s ease-out 0s;
}

.feature-item:nth-child(2) {
  animation: slideInUp 0.6s ease-out 0.1s;
}

.feature-item:nth-child(3) {
  animation: slideInUp 0.6s ease-out 0.2s;
}

.feature-item:nth-child(4) {
  animation: slideInUp 0.6s ease-out 0.3s;
}

.feature-item:nth-child(5) {
  animation: slideInUp 0.6s ease-out 0.4s;
}

.feature-item:nth-child(6) {
  animation: slideInUp 0.6s ease-out 0.5s;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  .feature-badge {
    width: 75px;
    height: 75px;
    font-size: 1.8rem;
  }

  .feature-icon-wrapper {
    width: 100px;
    height: 100px;
  }

  .feature-icon {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .feature-item {
    padding: 35px 25px;
    margin-top: 20px;
  }

  .feature-badge {
    width: 70px;
    height: 70px;
    font-size: 1.6rem;
    top: -15px;
    right: 20px;
  }

  .feature-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 25px auto 25px;
  }

  .feature-icon {
    font-size: 3rem;
  }

  .feature-item h3 {
    font-size: 1.2rem;
  }

  .feature-item:hover {
    transform: translateY(-12px) rotateX(3deg);
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-item {
    padding: 30px 20px;
    margin-top: 15px;
  }

  .feature-badge {
    width: 65px;
    height: 65px;
    font-size: 1.4rem;
    top: -12px;
    right: 15px;
  }

  .feature-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 20px auto 20px;
  }

  .feature-icon {
    font-size: 2.5rem;
  }

  .feature-item h3 {
    font-size: 1.1rem;
  }

  .feature-item:hover {
    transform: translateY(-8px);
  }
}

/* ===== ROW LAYOUT ===== */
.row {
  display: grid;
  gap: 40px;
}

.two-col {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* ===== COMMITTEE SECTION ===== */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

#committee .card {
  border-radius: 12px;
  max-width: 260px;
  margin: 0 auto;
}

#committee .card img {
  height: 220px;
}

#committee .card > div {
  padding: 18px;
}

#committee .card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

#committee .card p {
  font-size: 0.85rem;
}

.card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.card > div {
  padding: 25px;
}

.card h4 {
  margin-bottom: 8px;
  color: var(--text-dark);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===== STATS SECTION ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: #FFD700;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-red);
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.stat-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: 10px;
  animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
    content: '0';
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.stat-item {
  text-align: center;
  padding: 30px;
  background: #FFD700;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: 10px;
}

.stat-label {
  display: block;
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
}

/* ===== PRICING SECTION ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 25px 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red) 0%, var(--accent-yellow) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.pricing-card.featured {
  transform: scale(1.08) translateY(-20px);
  border-color: var(--primary-red);
  box-shadow: 0 20px 50px rgba(220, 20, 60, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 253, 231, 0.8) 100%);
  border: 2px solid var(--primary-red);
}

.pricing-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-15px);
}

.pricing-card.featured:hover {
  transform: scale(1.12) translateY(-25px);
  box-shadow: 0 30px 60px rgba(220, 20, 60, 0.3);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #DC143C 0%, #FFD700 100%);
  color: white;
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.25);
}

.pricing-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.pricing-title {
  font-size: 1.4rem;
  margin-bottom: 4px;
  color: var(--text-dark);
  font-weight: 800;
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
}

.pricing-subtitle {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 12px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 10px 0;
  position: relative;
  z-index: 1;
}

.pricing-price span {
  font-size: 1.2rem;
  color: var(--text-dark);
}

.pricing-features {
  list-style: none;
  margin: 12px 0;
  text-align: left;
  border-top: 1px solid #f5f5f5;
  border-bottom: 1px solid #f5f5f5;
  padding: 10px 0;
  position: relative;
  z-index: 1;
}

.pricing-features li {
  padding: 5px 0;
  color: #666;
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  line-height: 1.3;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.pricing-features li:hover {
  color: var(--primary-red);
  padding-left: 35px;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-red);
  font-weight: 900;
  font-size: 1rem;
}

.pricing-features li:hover {
  color: var(--primary-red);
  padding-left: 40px;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-red);
  font-weight: 900;
  font-size: 1.2rem;
}

/* ===== GALLERY SECTION ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 60px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  height: 250px;
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ===== SCHEDULE SECTION ===== */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 45px;
  margin-top: 70px;
}

.schedule-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  padding: 45px;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.09);
  border-left: 6px solid var(--primary-red);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.schedule-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.schedule-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #FFD700 50%, transparent 100%);
  opacity: 0.5;
}

.schedule-card > * {
  position: relative;
  z-index: 1;
}

.schedule-card:hover {
  box-shadow: 0 16px 48px rgba(220, 20, 60, 0.15);
  transform: translateY(-10px);
  border-left-color: #FFD700;
}

.schedule-card h3 {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.schedule-card ul {
  list-style: none;
  margin: 25px 0;
}

.schedule-card li {
  padding: 14px 0;
  color: var(--text-light);
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  font-weight: 500;
}

.schedule-card li:hover {
  color: var(--primary-red);
  padding-left: 8px;
  border-bottom-color: var(--primary-red);
}

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

.schedule-card li span:first-child {
  font-weight: 700;
  color: var(--primary-red);
  min-width: 80px;
  font-size: 0.95rem;
}

.schedule-card li span:last-child {
  text-align: right;
  flex: 1;
  padding-left: 20px;
}

#schedule {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 100px 0;
}

/* ===== CONTACT SECTION ===== */
.contact-info {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.contact-info h3 {
  margin-bottom: 25px;
}

.contact-item {
  margin-bottom: 25px;
}

.contact-item strong {
  display: block;
  color: var(--primary-red);
  font-weight: 700;
  margin-bottom: 5px;
}

.contact-item p {
  color: var(--text-light);
}

/* ===== CONTACT CARD STYLES ===== */
.contact-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
  border-top: 4px solid var(--primary-red);
}

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

.contact-card h3 {
  color: var(--text-dark);
  margin-bottom: 15px;
}

/* ===== FORM STYLES ===== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* ===== MODAL/REGISTER ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 15px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: slideUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: var(--primary-red);
  transform: rotate(90deg);
}

.modal-title {
  margin-bottom: 30px;
  color: var(--text-dark);
}

/* ===== FOOTER ===== */
footer {
  background:
    radial-gradient(circle at 18% 10%, rgba(111, 113, 255, 0.18), transparent 22%),
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(180deg, #191c4f 0%, #17193e 45%, #151734 100%);
  color: white;
  padding: 80px 0 26px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 32%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 36px;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.footer-section h4 {
  color: var(--accent-yellow);
  margin-bottom: 18px;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding-bottom: 14px;
  position: relative;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent-yellow);
}

.footer-section p {
  color: rgba(220, 224, 255, 0.72);
  margin-bottom: 14px;
  line-height: 1.7;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: rgba(220, 224, 255, 0.72);
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  text-align: center;
  color: rgba(220, 224, 255, 0.62);
  position: relative;
  z-index: 1;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }

  section { padding: 60px 0; }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-shape {
    display: none;
  }

  .features-grid,
  .pricing-grid,
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }

  .navbar-logo img {
    height: 75px;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 253, 231, 0.95) 100%);
    width: 100%;
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.12);
    padding: 15px 0;
    gap: 0;
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-menu a {
    padding: 12px 20px;
  }

  .navbar-menu .nav-register-item {
    margin-left: 0;
  }

  .navbar-menu .nav-register-btn {
    margin: 8px 16px;
    text-align: center;
    border-radius: 14px;
  }

  .navbar-menu a::after {
    display: none;
  }

  .navbar-menu a.active {
    background: rgba(220, 20, 60, 0.08);
    color: var(--primary-red);
  }

  .nav-btn {
    margin-left: 20px !important;
    margin-top: 10px;
    margin-bottom: 5px;
  }

  .hero {
    min-height: 70vh;
    margin-top: 120px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }

  .features-grid,
  .pricing-grid,
  .stats-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 50px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }

  .footer-grid {
    gap: 30px;
  }

  .modal-content {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 12px 0;
  }

  .navbar-logo img {
    height: 70px;
  }

  .hero {
    min-height: 60vh;
    margin-top: 100px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .countdown-item {
    padding: 20px 15px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 12px 30px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 12px;
  }

  .feature-item {
    padding: 25px 20px;
  }

  .contact-form {
    padding: 25px;
  }

  .modal-content {
    padding: 20px;
  }
}

/* ===== CONTACT PAGE RESPONSIVE ===== */
@media (max-width: 768px) {
  #contact {
    padding: 60px 0;
  }

  #contact > .container > div:nth-child(2) {
    grid-template-columns: 1fr !important;
  }
}

/* ===== FRESH CONTACT PAGE STYLES ===== */

/* Hero Section */
.contact-hero-fresh {
  background: linear-gradient(135deg, #fff5f5 0%, #fffef0 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  margin-top: 120px;
}

.contact-hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.contact-shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-red);
  top: -50px;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}

.contact-shape-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-yellow);
  bottom: -50px;
  right: -50px;
  animation: float 10s ease-in-out infinite reverse;
}

.contact-hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-hero-badge {
  display: inline-block;
  background: rgba(220, 20, 60, 0.1);
  color: var(--primary-red);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.contact-hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-hero-quick-links {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.quick-link-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.phone-btn {
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
  color: white;
  box-shadow: 0 8px 20px rgba(220, 20, 60, 0.25);
}

.phone-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(220, 20, 60, 0.35);
}

.email-btn {
  background: var(--accent-yellow);
  color: var(--text-dark);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.25);
}

.email-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.35);
}

.quick-link-icon {
  font-size: 1.3rem;
}

.contact-hero-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.highlight-box {
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: slideInUp 0.6s ease-out 0.2s both;
}

.highlight-yellow {
  background: linear-gradient(135deg, #FFF9C4, #FFE082);
  border: 2px solid rgba(255, 215, 0, 0.5);
}

.highlight-red {
  background: linear-gradient(135deg, #FFCDD2, #EF9A9A);
  border: 2px solid rgba(220, 20, 60, 0.3);
}

.highlight-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.highlight-label {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}

/* Contact Info Section */
.contact-info-section {
  padding: 80px 0;
  background: white;
}

.contact-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.contact-section-header h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-red), var(--accent-yellow));
  border-radius: 3px;
}

.contact-section-header p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-top: 30px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.contact-info-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-red);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent);
  border-radius: 50%;
}

.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.card-phone { border-top-color: #DC143C; }
.card-email { border-top-color: #FFD700; }
.card-location { border-top-color: #E74C3C; }
.card-hours { border-top-color: #FFC107; }

.contact-info-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.contact-info-card h3 {
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
}

.card-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px !important;
  position: relative;
  z-index: 1;
}

.card-value {
  display: block;
  color: var(--primary-red);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card-value:hover {
  color: var(--secondary-red);
}

.card-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Form and Sidebar Wrapper */
.contact-form-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.contact-form-section {
  background: linear-gradient(135deg, #fafafa, #ffffff);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(220, 20, 60, 0.1);
}

.form-header {
  margin-bottom: 40px;
}

.form-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.form-header p {
  font-size: 1.05rem;
  color: var(--text-light);
}

.fresh-contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(220, 20, 60, 0.1);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  padding-top: 20px;
  border-top: 2px solid rgba(220, 20, 60, 0.1);
}

.btn-lg {
  padding: 16px 50px !important;
  font-size: 1.05rem !important;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

/* Sidebar */
.contact-sidebar-fresh {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-block {
  background: white;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--primary-red);
}

.sidebar-block h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.help-list {
  list-style: none;
}

.help-list li {
  padding: 12px 0;
  color: var(--text-light);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-item strong {
  color: var(--primary-red);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-hero-title {
    font-size: 2.5rem;
  }

  .contact-form-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero-fresh {
    padding: 60px 0;
  }

  .contact-hero-title {
    font-size: 2rem;
  }

  .contact-hero-quick-links {
    flex-direction: column;
  }

  .quick-link-btn {
    width: 100%;
    justify-content: center;
  }

  .contact-hero-highlights {
    grid-template-columns: 1fr;
  }

  .contact-section-header h2 {
    font-size: 2rem;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-section {
    padding: 35px 25px;
  }

  .form-row-2col {
    grid-template-columns: 1fr;
  }

  .fresh-contact-form {
    gap: 20px;
  }

  .form-footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .contact-hero-fresh {
    padding: 40px 0;
    margin-top: 100px;
  }

  .contact-hero-title {
    font-size: 1.8rem;
  }

  .contact-section-header h2 {
    font-size: 1.5rem;
  }

  .contact-info-card {
    padding: 30px 20px;
  }

  .contact-form-section {
    padding: 25px 20px;
  }

  .sidebar-block {
    padding: 25px 20px;
  }
}

/* ===== GLOBAL MOBILE FIXES (ALL PAGES) ===== */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  #features .row.two-col {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
    gap: 28px !important;
  }

  #features .hero-doctor-image {
    width: 260px;
    opacity: 0.25;
  }

  .pricing-card.featured,
  .pricing-card.featured:hover {
    transform: none;
  }

  .schedule-left .schedule-title {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    letter-spacing: 1px !important;
    margin-top: 18px !important;
    font-size: 1.25rem !important;
  }
}

@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }

  .hero {
    min-height: auto;
    margin-top: 100px;
    padding: 70px 0 50px;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    letter-spacing: 0.5px;
  }

  .hero p {
    font-size: 1rem;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 30px;
  }

  .countdown-item {
    padding: 12px 6px;
    border-radius: 10px;
  }

  .countdown-number {
    font-size: 1.5rem;
    margin-bottom: 4px;
  }

  .countdown-label {
    font-size: 0.65rem;
    letter-spacing: 0.8px;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-buttons .btn {
    width: auto;
    min-width: 140px;
    padding: 11px 18px;
    font-size: 0.78rem;
  }

  .navbar-menu {
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-menu a {
    margin: 0;
    border-radius: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .pricing-grid,
  .gallery-grid,
  .schedule-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .schedule-card,
  .pricing-card,
  .modal-content {
    padding: 24px;
  }

  .schedule-card li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .schedule-card li span:last-child {
    text-align: left;
    padding-left: 0;
  }

  .schedule-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .tab-btn {
    flex: 0 0 auto;
  }

  .contact-content-wrapper,
  .register-content-wrapper,
  .schedule-card-container {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .contact-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 576px) {
  .container,
  .contact-container,
  .register-container,
  .schedule-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .navbar-logo img {
    height: 65px;
  }

  .hero-buttons .btn {
    width: auto;
    min-width: 130px;
  }

  .btn-schedule {
    width: 100%;
  }

  .stats-grid,
  .contact-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .tab-btn {
    white-space: nowrap;
  }

  .modal-content {
    width: calc(100% - 20px);
    max-height: 85vh;
    overflow-y: auto;
  }
}

@media (max-width: 420px) {
  .countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .countdown-item {
    padding: 10px 4px;
  }

  .countdown-number {
    font-size: 1.2rem;
  }

  .countdown-label {
    font-size: 0.56rem;
    letter-spacing: 0.4px;
  }

  .register-page-hero h1,
  .schedule-hero h1,
  .contact-page-hero h1 {
    font-size: 1.5rem !important;
  }
}

/* ===== SECTION-BY-SECTION MOBILE SCALING: ABOUT ===== */
@media (max-width: 768px) {
  #about .features-container {
    min-height: 640px;
    max-width: 360px;
    margin: 24px auto 0;
    padding: 10px 0;
  }

  #about .features-container::before,
  #about .features-container::after {
    display: block;
  }

  #about .feature-card {
    position: absolute !important;
    max-width: 155px;
    padding: 16px 12px;
    margin-bottom: 0;
  }

  #about .feature-card h3 {
    font-size: 0.72rem;
    margin: 8px 0 6px;
    line-height: 1.35;
  }

  #about .feature-card p {
    font-size: 0.62rem;
    line-height: 1.35;
  }

  #about .card-dot {
    width: 28px;
    height: 28px;
    top: -10px;
    right: 10px;
  }

  #about .card-icon {
    font-size: 0.9rem;
    top: 12px;
    left: 12px;
  }

  #about .card-1 { left: 0 !important; top: 0 !important; transform: rotate(-8deg) !important; }
  #about .card-2 { right: 0 !important; top: 55px !important; transform: rotate(6deg) !important; }
  #about .card-3 { left: 10px !important; top: 190px !important; transform: rotate(5deg) !important; }
  #about .card-4 { right: 10px !important; top: 250px !important; transform: rotate(-5deg) !important; }
  #about .card-5 { left: 15px !important; top: 385px !important; transform: rotate(-6deg) !important; }
  #about .card-6 { right: 15px !important; top: 455px !important; transform: rotate(7deg) !important; }
}

@media (max-width: 420px) {
  #about .features-container {
    min-height: 565px;
    max-width: 320px;
  }

  #about .feature-card {
    max-width: 138px;
    padding: 14px 10px;
  }

  #about .feature-card h3 {
    font-size: 0.66rem;
  }

  #about .feature-card p {
    font-size: 0.58rem;
  }

  #about .card-2 { top: 48px !important; }
  #about .card-3 { top: 170px !important; }
  #about .card-4 { top: 224px !important; }
  #about .card-5 { top: 338px !important; }
  #about .card-6 { top: 396px !important; }
}

/* ===== SECTION-BY-SECTION MOBILE SCALING: STATS ROW ===== */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 28px;
  }

  .stat-item {
    padding: 14px 6px;
    border-radius: 8px;
  }

  .stat-number {
    font-size: 1.2rem;
    margin-bottom: 4px;
    line-height: 1.1;
  }

  .stat-label {
    font-size: 0.62rem;
    line-height: 1.25;
  }
}

@media (max-width: 420px) {
  .stats-grid {
    gap: 6px !important;
  }

  .stat-item {
    padding: 11px 4px;
  }

  .stat-number {
    font-size: 1.05rem;
  }

  .stat-label {
    font-size: 0.52rem;
  }
}

/* ===== SECTION-BY-SECTION MOBILE SCALING: HOME SCHEDULE ===== */
@media (max-width: 768px) {
  #schedule .schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 24px;
  }

  #schedule .schedule-card {
    padding: 18px 12px;
    border-radius: 12px;
  }

  #schedule .schedule-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  #schedule .schedule-card ul {
    margin: 14px 0;
  }

  #schedule .schedule-card li {
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px;
    padding: 9px 0;
  }

  #schedule .schedule-card li span:first-child {
    min-width: 58px;
    font-size: 0.72rem;
  }

  #schedule .schedule-card li span:last-child {
    text-align: right;
    padding-left: 8px;
    font-size: 0.72rem;
  }

  #schedule .schedule-card .btn {
    width: auto;
    padding: 8px 12px;
    font-size: 0.65rem;
    margin-top: 10px !important;
  }
}

@media (max-width: 420px) {
  #schedule .schedule-grid {
    gap: 8px !important;
  }

  #schedule .schedule-card {
    padding: 14px 10px;
  }

  #schedule .schedule-card h3 {
    font-size: 0.88rem;
  }

  #schedule .schedule-card li {
    padding: 7px 0;
  }

  #schedule .schedule-card li span:first-child,
  #schedule .schedule-card li span:last-child {
    font-size: 0.64rem;
  }

  #schedule .schedule-card li span:first-child {
    min-width: 52px;
  }
}

