/* Base Styles */
:root {
  --background: #ffffff;
  --foreground: #121212;
  --card: #ffffff;
  --card-foreground: #121212;
  --popover: #ffffff;
  --popover-foreground: #121212;
  --primary: #d56804;
  --primary-foreground: #ffffff;
  --secondary: #171717;
  --secondary-foreground: #ffffff;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --accent: #ff8000;
  --accent-foreground: #ffffff;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --border: #e5e5e5;
  --input: #e5e5e5;
  --ring: #ff8000;
  --radius: 0.5rem;
  --container-width: 1400px;
  --whatsapp: #25d366;
  --whatsapp-hover: #128c7e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

.icon-primary {
  color: var(--primary);
  width: 20px;
  height: 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--primary);
  opacity: 0.9;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background-color: var(--secondary);
  opacity: 0.9;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
}

.full-width {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 3rem;
  width: auto;
}

.desktop-nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.desktop-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
  color: var(--muted-foreground);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--primary);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 60;
}

.hamburger {
  position: relative;
  width: 24px;
  height: 2px;
  background-color: var(--foreground);
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--foreground);
  transition: all 0.3s ease;
}

.hamburger::before {
  transform: translateY(-8px);
}

.hamburger::after {
  transform: translateY(8px);
}

/* Mobile Navigation - Fixed */
.mobile-nav {
  display: none;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100vh - 4rem);
  background-color: var(--background);
  z-index: 55;
  overflow-y: auto;
  padding: 0;
}

.mobile-nav.show {
  display: block;
}

.mobile-nav .container {
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 1rem 2rem;
}

.mobile-nav a {
  display: block;
  width: 100%;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.mobile-nav a:last-of-type {
  border-bottom: none;
}

.mobile-nav a.active {
  color: var(--primary);
  font-weight: 600;
}

.mobile-nav a:hover {
  color: var(--primary);
}

.mobile-nav .btn {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

/* Hamburger Open State */
.hamburger.open {
  background: transparent;
}

.hamburger.open::before {
  transform: rotate(45deg);
  top: 0;
}

.hamburger.open::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Video Hero */
.video-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Hero Text */
.hero-text {
  padding: 3rem 0;
  background-color: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
}

.hero-text h1 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-text p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.25rem;
}

.hero-text .btn {
  margin-top: 1rem;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.image {
  position: relative;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
}

.image {
  position: relative;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cards */
.card {
  padding: 1rem;
  background-color: var(--card);
  color: var(--card-foreground);
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  margin-bottom: 1.5rem;
}

.card-image {
  position: relative;
  height: auto;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image img.object-top {
  object-position: top;
}

.tall-image {
  height: 24rem;
}

.card-header {
  padding: 1.5rem 1.5rem 0.5rem;
}

.card-title {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.card-content {
  padding: 0 1.5rem 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  padding: 0 1.5rem 1.5rem;
}

/* Sections */
.intro-section,
.wellness-programs,
.resources-research,
.company-overview,
.mission-vision,
.services-intro,
.experience-section,
.leadership-section,
.contact-section {
  padding: 4rem 0;
}

.wellness-programs,
.mission-vision,
.event-highlights {
  padding:1rem;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.cta {
  padding: 4rem 0;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* Core Values Grid */
.core-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Service Sections */
.service-section {
  margin-bottom: 5rem;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-cards .card {
  padding: 1.5rem;
}

.programs-section {
  margin-top: 5rem;
}

.programs-section .card {
  padding: 1.5rem;
}

.programs-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Experience Page */
.event-flyer {
  max-width: 800px;
  margin: 0 auto 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.event-description {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.event-details {
  font-weight: 600;
  margin: 2rem 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.highlights-grid .card {
  padding: 1.5rem;
}

/* Leadership Page */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  cursor: pointer;
}

.member-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.member-company {
  color: var(--muted-foreground);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.modal-content {
  background-color: var(--background);
  margin: 10% auto;
  padding: 2rem;
  max-width: 600px;
  position: relative;
  border-radius: var(--radius);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.modal-image {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact Page */
.contact-info,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info .card,
.contact-form .card {
  padding: 2rem;
}

.contact-details {
  margin: 1.5rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.whatsapp-contact {
  margin-top: 1.5rem;
}

.whatsapp-contact h3 {
  margin-bottom: 0.75rem;
}

/* Form Styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background-color: var(--background);
  font-family: inherit;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.radio-group {
  margin-top: 0.5rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.radio-option input {
  width: auto;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  transform: translateY(200%);
  transition: transform 0.3s ease;
}

.toast.show {
  transform: translateY(0);
}

.toast-content {
  background-color: var(--background);
  color: var(--foreground);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 1rem 1.5rem;
  max-width: 300px;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toast-message {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Social Links */
.social-links {
  position: fixed;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 40;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid var(--primary);
  color: var(--foreground);
  transition: all 0.3s ease;
}

.social-btn:hover {
  background-color: var(--background);
  color: var(--primary);
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
}

.whatsapp-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--whatsapp);
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.whatsapp-button a:hover {
  background-color: var(--whatsapp-hover);
  transform: scale(1.05);
}

/* Footer */
.site-footer {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  padding: 3rem 0;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-logo {
  height: 3rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* Animations */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Order for mobile */
.order-mobile-last {
  order: 1;
}

/* Media Queries */
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-body {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .two-column {
    grid-template-columns: 1fr 1fr;
  }

  .service-cards {
    grid-template-columns: 1fr 1fr;
  }

  .core-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .order-mobile-last {
    order: 0;
  }
}

@media (min-width: 1024px) {
  .core-values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1600px) {
  :root {
    --container-width: 1600px;
  }
}

@media (max-width: 767px) {
  .social-links {
    display: none;
  }

  body.menu-open {
    overflow: hidden;
  }

  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .card-header,
  .card-content,
  .card-body,
  .card-footer {
    padding: 1rem;
  }

  .intro-section,
  .wellness-programs,
  .resources-research,
  .company-overview,
  .mission-vision,
  .services-intro,
  .experience-section,
  .leadership-section,
  .contact-section {
    padding: 2rem 0;
  }

  .two-column {
    gap: 1.5rem;
  }

  .tall-image {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  /* Fix member images on mobile */
  .member-image {
    width: 100%;
    aspect-ratio: 3 / 4;
  }

  /* Ensure images don't overflow their containers */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Fix the video hero section on mobile */
@media (max-width: 767px) {
  .video-hero {
    height: 50vh;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

/* Ensure proper spacing for content sections on mobile */
@media (max-width: 767px) {
  .service-section {
    margin-bottom: 3rem;
  }

  .service-header {
    margin-bottom: 1.5rem;
  }

  .programs-section {
    margin-top: 3rem;
  }

  .cta {
    padding: 2.5rem 0;
  }
}
