@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #1f4874; /* Primary Blue from old site */
  --primary-light: #00cfff; /* Accent Light Blue */
  --primary-dark: #102a45;
  --secondary-color: #440e67; /* Purple accent from old site */
  --secondary-light: #7b47bb;
  --text-dark: #333333; /* Dark gray for text */
  --text-light: #666666;
  --bg-color: #ffffff; /* White background */
  --bg-light: #f4f6f9; /* Light gray background */
  --border-color: #e2e8f0;
  
  --font-heading: 'Outfit', 'Montserrat', sans-serif;
  --font-body: 'Inter', 'Roboto', sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

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

a:hover {
  color: var(--primary-light);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

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

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s ease;
  background: transparent;
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.text-primary {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-links {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

.nav-scrolled .nav-links {
  color: var(--text-dark);
}

.menu-icon {
  display: none;
}

/* Mobile responsive */
@media screen and (max-width: 960px) {
  .nav-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: -100%;
    opacity: 1;
    transition: all 0.5s ease;
    background: white;
    box-shadow: var(--shadow-md);
    padding: 2rem 0;
  }

  .nav-menu.active {
    background: white;
    left: 0;
    opacity: 1;
    transition: all 0.5s ease;
    z-index: 1000;
  }

  .nav-links {
    text-align: center;
    padding: 1rem;
    width: 100%;
    display: table;
  }

  .nav-btn-item {
    padding-top: 1rem;
  }

  .menu-icon {
    display: block;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--primary-dark);
  }
}
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-light) 100%);
  overflow: hidden;
  padding-top: 80px; /* Accounts for fixed navbar */
}

/* Decorative background shapes */
.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}

.hero-section::before {
  width: 400px;
  height: 400px;
  background: var(--primary-light);
  opacity: 0.1;
  top: -100px;
  right: -50px;
}

.hero-section::after {
  width: 500px;
  height: 500px;
  background: var(--secondary-color);
  opacity: 0.05;
  bottom: -150px;
  left: -100px;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  max-height: 600px;
  border: 4px solid var(--bg-white);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  bottom: 20px;
  left: 20px;
  border-radius: var(--radius-xl);
  border: 2px dashed var(--primary-color);
  opacity: 0.3;
  z-index: -1;
  transform: rotate(-2deg);
}

.hero-badge {
  display: inline-block;
  background: rgba(31, 72, 116, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(31, 72, 116, 0.2);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 5px;
  left: 0;
  background-color: var(--primary-light);
  opacity: 0.4;
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

@media screen and (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-image-wrapper {
    justify-content: center;
    width: 100%;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 100%;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
  }
  
  .hero-btn {
    text-align: center;
    width: 100%;
  }
  
  .hero-image {
    transform: rotate(0);
  }
  .hero-image-wrapper::before {
    display: none;
  }
}
.bg-light {
  background-color: var(--bg-white);
}

.services-intro {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--primary-color);
  opacity: 0.03;
  z-index: -1;
  transition: height 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(44, 122, 123, 0.3);
}

.service-card:hover::before {
  height: 100%;
}

.service-img-wrapper {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-bottom: 4px solid;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-desc {
  color: var(--text-light);
  line-height: 1.7;
}
.team-intro {
  max-width: 800px;
  margin: 0 auto 4rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  transition: transform 0.3s ease;
  max-width: 250px;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-img-container {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-light); /* in case image doesn't load */
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img {
  transform: scale(1.05);
}

.team-info {
  padding: 0;
}

.team-name {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.team-role {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.testimonials-section {
  background-color: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border-top: 4px solid var(--primary-color);
}

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 6rem;
  color: var(--primary-light);
  opacity: 0.15;
  font-family: serif;
  line-height: 1;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.testimonial-stars {
  color: #fbbf24; /* Gold color for stars */
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-name {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.testimonial-text {
  color: var(--text-light);
  font-style: italic;
  line-height: 1.7;
  font-size: 1rem;
}
.products-section {
  background-color: var(--bg-white);
  position: relative;
}

.products-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.products-badge {
  display: inline-block;
  background: rgba(31, 72, 116, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.products-intro {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.product-img-wrapper {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.product-desc-text {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.add-to-cart-btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Floating Cart Button */
.floating-cart-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(31, 72, 116, 0.4);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-cart-btn:hover {
  transform: scale(1.1);
  background-color: var(--primary-light);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ef4444; /* Red badge */
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* Shopping Cart Sidebar */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px; /* Hidden off-screen initially */
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 1001;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.close-cart-btn {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-cart-btn:hover {
  color: #ef4444;
}

.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-light);
  text-align: center;
}

.empty-cart i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-details h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--text-dark);
}

.cart-item-price {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.cart-item-controls button {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  width: 25px;
  height: 25px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-dark);
  transition: background-color 0.2s;
}

.cart-item-controls button:hover {
  background-color: var(--border-color);
}

.cart-item-remove {
  margin-left: auto;
  color: #ef4444 !important;
  background: transparent !important;
  border: none !important;
}

.cart-item-remove:hover {
  background-color: rgba(239, 68, 68, 0.1) !important;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-light);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.checkout-wa-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  background-color: #25D366; /* WhatsApp green */
  border-color: #25D366;
}

.checkout-wa-btn:hover {
  background-color: #128C7E;
  border-color: #128C7E;
}

/* Pagination Styles */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--primary-color);
  color: white;
}

.pagination-btn:disabled {
  border-color: #ccc;
  color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.pagination-info {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}
.game-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
  min-height: 80vh;
}

.game-header {
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.game-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat-box {
  background: white;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
}

.stat-value {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.2rem;
}

.reset-btn {
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  perspective: 1000px; /* Gives 3D depth to cards */
}

.memory-grid.game-won-fade {
  opacity: 0.5;
  pointer-events: none;
}

.memory-card {
  height: 150px;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s;
}

.memory-card:hover:not(.flipped):not(.matched) {
  transform: scale(1.05);
}

.memory-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
  transform-style: preserve-3d; /* Allows flipping */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.memory-card.flipped .memory-card-inner,
.memory-card.matched .memory-card-inner {
  transform: rotateY(180deg);
}

.memory-card-front,
.memory-card-back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden; /* Hides back of card when flipped */
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.memory-card-front {
  background-color: var(--primary-color);
  color: white;
}

/* Card pattern overlay */
.card-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%),
    linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.3;
}

.card-logo {
  position: relative;
  z-index: 2;
  font-size: 2rem;
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.2) !important;
}

.memory-card-back {
  background-color: white;
  transform: rotateY(180deg);
  border: 3px solid var(--primary-color);
}

.memory-card.matched .memory-card-back {
  background-color: #f0fdf4; /* Light green */
  border-color: #22c55e;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

.card-emoji {
  font-size: 4rem;
  line-height: 1;
}

.card-word {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  padding: 0 10px;
  width: 100%;
  word-wrap: break-word;
}

/* Ancla el mensaje de victoria sobre el tablero (antes quedaba al inicio de la página) */
.game-board {
  position: relative;
}

.game-won-message {
  background-color: white;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  width: calc(100% - 2rem);
  max-width: 500px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  border: 2px solid var(--primary-light);
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.confetti-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.game-won-message h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.game-won-message p {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

@keyframes scaleUp {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Responsive Grid */
@media screen and (max-width: 900px) {
  .memory-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 1rem;
  }
}

@media screen and (max-width: 600px) {
  .memory-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .memory-card {
    height: 130px;
  }
  .card-emoji {
    font-size: 3rem;
  }
  .card-word {
    font-size: 1.2rem;
  }
  .game-stats {
    flex-direction: column;
    gap: 1rem;
  }
}
.video-section {
  padding: 5rem 0;
}

.video-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  background: var(--bg-white, #ffffff);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.video-info {
  flex: 1;
}

.video-info .section-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.video-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.video-action-btn {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  padding: 12px 28px;
  background-color: #ff0000;
  color: #fff;
}

.video-action-btn:hover {
  background-color: #cc0000;
  transform: translateY(-2px);
  color: #fff;
}

.video-player {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* 9:16 aspect ratio specifically for shorts */
.shorts-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--border-color, #e2e8f0);
}

.shorts-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .video-container {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  
  .video-info .section-title {
    text-align: center !important;
  }
  
  /* En columna, el contenedor se encogía y el video quedaba en 0 px de ancho */
  .video-player {
    width: 100%;
  }

  .shorts-wrapper {
    max-width: 280px;
  }
}
.booking-section {
  background-color: var(--primary-light);
  background: linear-gradient(135deg, rgba(79,209,197,0.1) 0%, rgba(44,122,123,0.05) 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.booking-container {
  display: block;
  max-width: 1000px;
  margin: 0 auto;
}

.booking-info {
  margin-bottom: 2rem;
}

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

.text-center::after {
  margin: 1rem auto 0;
}

.booking-title {
  margin-bottom: 1.5rem;
}

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

.booking-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 600px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.booking-form {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 3rem;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 2rem;
  text-align: left;
}

.booking-label {
  display: block;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.booking-date-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-family: inherit;
  color: var(--text-color);
  transition: all 0.3s ease;
  background-color: var(--bg-light);
}

.booking-date-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.2);
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.time-slot-btn {
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.8rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.time-slot-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(79, 209, 197, 0.05);
}

.time-slot-btn.selected {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(79, 209, 197, 0.3);
}

.slide-in {
  animation: slideDown 0.4s ease forwards;
}

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

.whatsapp-action-btn {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
  justify-content: center;
}

.disabled-link {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.help-text-small {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #888;
}

@media screen and (max-width: 768px) {
  .booking-section {
    padding: 3rem 0;
  }
  
  .booking-form {
    padding: 1.5rem;
    border-radius: var(--radius-md);
  }
  
  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-item.active {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-dark);
  padding-right: 2rem;
}

.faq-icon {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-family: monospace;
  transition: transform 0.3s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-answer {
  color: var(--text-light);
  line-height: 1.6;
  opacity: 0;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  opacity: 1;
}
.privacy-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease-out;
}

.privacy-modal-content {
  background-color: var(--bg-white, #ffffff);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideIn 0.3s ease-out;
}

.privacy-modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-light);
}

.privacy-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.privacy-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s;
}

.privacy-close-btn:hover {
  color: #ef4444;
}

.privacy-modal-body {
  padding: 2rem;
  overflow-y: auto;
  color: var(--text-dark);
}

.privacy-modal-body p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.privacy-modal-body h3 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.privacy-modal-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.privacy-modal-body li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.privacy-date {
  margin-top: 3rem;
  font-style: italic;
  color: var(--text-light);
  font-size: 0.9rem;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@media screen and (max-width: 768px) {
  .privacy-modal-overlay {
    padding: 1rem;
  }
  .privacy-modal-content {
    max-height: 95vh;
  }
  .privacy-modal-header {
    padding: 1rem 1.5rem;
  }
  .privacy-modal-body {
    padding: 1.5rem;
  }
}
.footer-section {
  background-color: var(--bg-color, #ffffff);
  color: var(--text-dark);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.footer-logo img {
  height: 60px;
  width: auto;
}

.text-secondary {
  color: var(--secondary-color);
}

.footer-about {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: var(--primary-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--secondary-color);
}

.footer-heading {
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 1rem;
}

.footer-links a,
.footer-contact a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-contact strong {
  color: var(--primary-dark);
  display: block;
  margin-bottom: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.privacy-link {
  margin-top: 0.5rem;
}

.privacy-btn {
  background: none;
  border: none;
  color: var(--secondary-color);
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.privacy-btn:hover {
  color: var(--primary-color);
}
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}
