/* ========================================
   CSS VARIABLES & RESET
   ======================================== */
:root {
  --primary: #0f172a;
  /* Slate 900 */
  --primary-light: #1e293b;
  /* Slate 800 */
  --accent: #0ea5e9;
  /* Sky 500 */
  --accent-hover: #0284c7;
  /* Sky 600 */
  --text-main: #334155;
  /* Slate 700 */
  --text-light: #64748b;
  /* Slate 500 */
  --bg-light: #f8fafc;
  /* Slate 50 */
  --white: #ffffff;
  --gold: #fbbf24;
  /* Amber 400 */

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* ========================================
   LAYOUT & UTILITIES
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 50px 0;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--white);
}

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

/* Utilities */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

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

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

.bg-light {
  background-color: var(--bg-light);
}

.w-100 {
  width: 100%;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ========================================
   CUSTOM POPUP MODAL
   ======================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-icon {
  width: 70px;
  height: 70px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.modal-icon.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 15px;
}

.modal-message {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.modal-btn {
  background: var(--accent);
  color: var(--white);
  padding: 12px 40px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
}

.modal-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
  box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.4);
}

.modal-timer {
  margin-top: 15px;
  font-size: 0.85rem;
  color: var(--text-light);
  opacity: 0.7;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  transition: color 0.3s ease;
}

.navbar.scrolled .logo {
  color: var(--primary);
}

.logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}

.navbar.scrolled .nav-link {
  color: var(--text-main);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

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

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

.mobile-toggle {
  display: none;
  background: none;
  color: var(--white);
  font-size: 1.5rem;
}

.navbar.scrolled .mobile-toggle {
  color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  padding: 80px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.3s ease;
  z-index: 1001;
}

.mobile-menu.open {
  right: 0;
}

.mobile-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: rgba(14, 165, 233, 0.1);
  border: 1px solid var(--accent);
  border-radius: 20px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.language-switcher:hover {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.navbar.scrolled .language-switcher {
  background-color: rgba(14, 165, 233, 0.1);
}

.lang-text {
  font-size: 0.85rem;
}

.mobile-menu-controls {
  display: none;
  align-items: center;
  gap: 15px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background-color: var(--primary);
  color: #cbd5e1;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-desc {
  line-height: 1.8;
  margin-bottom: 25px;
  max-width: 400px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  transition: all 0.3s ease;
}

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

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-icon {
  color: var(--accent);
  margin-top: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
  height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /*margin-top: -80px;*/

}

@media (max-width:768px) {

  .page-header {
    height: 220px;
    padding-top: 60px;
  }

  .header-content h1 {
    font-size: 28px;
  }

  .header-content p {
    font-size: 15px;
    padding-bottom: 20px;
  }

}

.page-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
}

.header-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.header-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.header-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   HOME PAGE
   ======================================== */
.hero {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
  /*margin-top: -80px;*/
  padding-top: 80px;
}

.hero-content {
  color: var(--white);
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}


.feature-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(14, 165, 233, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 25px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-light);
}

.cta {
  background-color: var(--primary-light);
  color: var(--white);
  text-align: center;
  padding: 100px 0;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.8;
}

.video-section {
  width: 100%;
  padding: 30px 0;
  background-color: var(--primary-dark);
}

.video-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.video-title {
  color: var(--accent);
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  width: 100%;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.full-width-video {
  width: 100%;
  display: block;
  max-height: 600px;
  object-fit: contain;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(15, 23, 42, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.video-overlay.playing {
  opacity: 0;
  pointer-events: none;
}

.play-btn-large {
  width: 80px;
  height: 80px;
  background-color: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.play-btn-large i {
  width: 32px;
  height: 32px;
}

#playIcon {
  margin-left: 5px;
}

.play-btn-large:hover {
  transform: scale(1.1);
  background-color: #3b82f6;
}

@media (max-width: 768px) {
  .video-title {
    font-size: 1.2rem;
    margin-bottom: 30px;
    padding: 0 10px;
    white-space: nowrap;
  }
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.stat-card:first-child {
  grid-column: span 2;
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 5px;
}

.stat-card p {
  color: var(--text-main);
  font-weight: 600;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.mv-card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease;
  border-top: 4px solid var(--accent);
}

.mv-card.image-card {
  height: 340px;
  padding: 20px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mv-card.image-card img {
  max-width: 80%;
  max-height: 80%;

}

.mv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mv-icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.mv-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.mv-card p {
  color: var(--text-light);
}

/* ========================================
   SERVICES PAGE
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.service-icon {
  color: var(--accent);
  margin-bottom: 25px;
  padding: 15px;
  background-color: rgba(14, 165, 233, 0.1);
  border-radius: 12px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================
   MEMBERSHIP PAGE
   ======================================== */
.membership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.benefits-col h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.benefits-col p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.benefits-list {
  margin-bottom: 40px;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-weight: 500;
  color: var(--text-main);
}

.check-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.membership-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  max-width: 400px;
}

.membership-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--gold);
}

.currency {
  font-size: 1.5rem;
  vertical-align: super;
  margin-right: 5px;
}

.period {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.registration-form {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.registration-form h3 {
  margin-bottom: 30px;
  color: var(--primary);
  font-size: 1.8rem;
}

.form-group {
  margin-bottom: 20px;
}

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



.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 40px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--primary);
}

.info-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

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

.map-section {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.map-section:hover {
  filter: grayscale(0%);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {

  /* Navbar */
  .desktop-menu {
    display: none;
  }

  .mobile-menu-controls {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Page Header */
  .page-header {
    height: 250px;
    margin-top: 0;
    padding-top: 100px;
  }

  .header-content h1 {
    font-size: 2rem;
    padding: 0 20px;
  }

  .header-content p {
    font-size: 1rem;
    padding: 0 20px;
  }

  /* Home */
  .hero {
    background-attachment: scroll;
    margin-top: 0;
    padding-top: 100px;
    min-height: 500px;
  }

  .hero h1 {
    font-size: 1.8rem;
    padding: 0 10px;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
  }

  /* Membership */
  .membership-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

/* ========================================
   HEALTHCARE FORM PAGE
   ======================================== */
.healthcare-form-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.healthcare-form {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.healthcare-form fieldset {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
}

.healthcare-form legend {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  padding: 0 15px;
}

.healthcare-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.healthcare-form .col {
  display: flex;
  flex-direction: column;
}

.healthcare-form .col.small {
  grid-column: span 1;
}

.healthcare-form .col:not(.small) {
  grid-column: span 1;
}

/* Full width for certain rows */
.healthcare-form .row:has(.col:only-child) {
  grid-template-columns: 1fr;
}

.healthcare-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.95rem;
}

.healthcare-form input[type="text"],
.healthcare-form input[type="email"],
.healthcare-form input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  transition: border-color 0.3s ease;
  font-size: 0.95rem;
}

.healthcare-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.healthcare-form .radios {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-top: 8px;
}

.healthcare-form .radios label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  font-weight: 400;
  cursor: pointer;
}

.healthcare-form input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent);
}

.healthcare-form .divider {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  margin: 30px 0 20px;
}

.healthcare-form-wrapper .rules-divider {
  margin: 40px 0 24px 0;
}

.healthcare-form-wrapper .section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-left: 15px;
  border-left: 4px solid var(--accent);
}

.healthcare-form-wrapper .rules-title {
  margin-bottom: 0;
  font-weight: 800;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .healthcare-form-wrapper .rules-title {
    font-size: 1.1rem;
  }
}

.healthcare-form-wrapper .rules-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.healthcare-form-wrapper .rules-pdf-btn {
  display: flex;
  align-items: center;
  gap: 8px;
}

.healthcare-form-wrapper .rules-pdf-btn i {
  width: 16px;
  height: 16px;
}

.healthcare-form-wrapper .rules-list {
  padding-left: 20px;
  color: var(--text-main);
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Form Copy Styles */
.form-copy {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  opacity: 0.95;
}

.form-copy fieldset {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px;
}

.form-copy legend {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0 15px;
}

.form-copy .row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-copy .col {
  display: flex;
  flex-direction: column;
}

.form-copy .col.small {
  grid-column: span 1;
}

.form-copy label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.95rem;
}

.form-copy input[type="text"],
.form-copy input[type="email"],
.form-copy input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  transition: border-color 0.3s ease;
  font-size: 0.95rem;
}

.form-copy input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-copy .radios {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-top: 8px;
}

.form-copy .radios label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  font-weight: 400;
  cursor: pointer;
}

.form-copy input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent);
}

.form-copy .divider {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  margin: 30px 0 20px;
}

.form-copy .section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-left: 15px;
  border-left: 4px solid var(--accent);
}

/* Service Card Link Indicator */
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card-link .service-card {
  cursor: pointer;
  position: relative;
}

.card-link-indicator {
  margin-top: 15px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}

.service-card-link:hover .card-link-indicator {
  gap: 10px;
}

/* Responsive Healthcare Form */
@media (max-width: 768px) {

  .healthcare-form .row,
  .form-copy .row {
    grid-template-columns: 1fr;
  }

  .healthcare-form .col,
  .form-copy .col {
    grid-column: span 1 !important;
  }

  .healthcare-form,
  .form-copy {
    padding: 25px;
  }

  .healthcare-form fieldset,
  .form-copy fieldset {
    padding: 20px;
  }

  .healthcare-form .radios,
  .form-copy .radios {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .mv-card.image-card {
    height: 340px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
  }

  .mv-card.image-card {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    text-align: center;
  }

  .mv-card.image-card {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 16px;
    overflow: visible;
    text-align: center;
  }

  .mv-card.image-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
  }

  .person-info h4 {
    margin: 0 !important;
    font-size: 1.1rem;
    font-weight: 700;
  }

  .person-info span {
    font-size: 0.9rem;
    color: #64748b;
  }

  @media (max-width: 768px) {
    .mv-card.image-card img {
      height: auto;
      object-fit: contain;
    }
  }
}

.person-info {
  max-width: 100%;
  display: block;
  margin-top: 5px;
}

.founder-heading {
  font-size: 2.5rem;
  color: var(--primary);
  text-align: center;
  margin: 0 auto 40px;
  font-weight: 700;
}

.phone-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.phone-lines {
  display: flex;
  flex-direction: column;
}

.contact-link {
  color: inherit;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.form-group.full {
  grid-column: span 3;
}

input,
select,
textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

textarea {
  min-height: 80px;
  resize: none;
}

.row-group {
  display: flex;
  gap: 20px;
  width: 100%;
}

.dob-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dob-fields {
  display: flex;
  gap: 10px;
}

.dob-fields input {
  flex: 2;
}

.dob-fields select {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
}

input,
select {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  width: 100%;
}

.form-row {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
}

textarea {
  width: 100%;
  min-height: 100px;
}

/* Remove blue line inside country select input */

.country-select .country-list {
  border: 1px solid #ccc;
}

/* Country Select Field */
.country-select {
  width: 220px;
  position: relative;
}

.country-select input {
  width: 100%;
  height: 45px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding-left: 45px;
  font-size: 14px;
  background: #fff;
  color: #000;
}


.country-select .selected-flag {
  border: none;
}

/* Country field border */


/* Dropdown box */
.country-select .country-list {
  border: 1px solid #000;
  border-radius: 6px;
}

/* Search box inside dropdown */
.country-select .country-list .country-search {
  padding: 8px;
  border-bottom: 1px solid #ccc;
}

/* Search input */
.country-select .country-list .country-search input {
  width: 100%;
  border: 1px solid #000;
  padding: 6px 8px;
  border-radius: 4px;
  outline: none;
}

/* Remove blue focus style */
.country-select .country-list .country-search input:focus {
  border: 1px solid #000;
  box-shadow: none;
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
  font-size: 14px;
}

input[type="number"]::placeholder {
  color: #6b7280;
  opacity: 1;
}

input[type="number"]::placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
}

/* Remove number input arrows */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.form-row {
  gap: 20px;
  margin-bottom: 20px;
}

/* rows that need only 2 columns */
.two-col {
  grid-template-columns: repeat(2, 1fr);
}

/* rows that need 3 columns */
.three-col {
  grid-template-columns: repeat(3, 1fr);
}


.form-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.row-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

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

.form-group textarea {
  min-height: 100px;
}

textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.residential-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

@media (max-width:768px) {

  .residential-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  #country_container {
    width: 100%;
    margin-left: 0;
  }

}

.residential-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}


input[type="radio"] {
  margin: 0;
}


#member_country {
  width: 200px;
}


/* Country dropdown container created by plugin */


/* Keep dropdown aligned */
#country_container {
  display: flex;
  align-items: center;
}

input[type="radio"] {
  accent-color: #0b3d91 !important;
}

.country-select .country-list {
  max-height: 200px;
}


/* Mobile Responsive Fix */
@media (max-width: 768px) {

  .form-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .row-2,
  .row-3,
  .row-4 {
    grid-template-columns: 1fr !important;
  }

  .healthcare-form-wrapper {
    padding: 20px;
  }

  textarea {
    min-height: 90px;
  }



  /* Country dropdown outline */
  .country-select input {
    border: 1px solid #555 !important;
    /* light black outline */
    border-radius: 4px;
    padding: 8px 8px 8px 45px !important;
    /* space for flag */
    width: 100%;
    box-shadow: none !important;
    outline: none;
  }

  /* focus border */
  .country-select input:focus {
    border: 1px solid #333 !important;
  }

  /* Fix country dropdown visibility */
  .country-select .country-list {
    z-index: 9999 !important;
    position: absolute !important;
    width: 100% !important;
    max-height: 200px;
    overflow-y: auto;
  }

  /* Ensure container does not cut dropdown */
  .form-group,
  #country_container,
  #nominee_country_container {
    overflow: visible !important;
  }


  /* Fix country select input */


  .country-select input {
    width: 100% !important;
    height: 45px;

    border: 1px solid #555;
    border-radius: 10px;
  }

  /* Fix dropdown list */
  .country-select .country-list {

    max-height: 200px;
    overflow-y: auto;
    z-index: 9999 !important;
  }

  /* Prevent container cutting dropdown */
  #country_container,
  #nominee_country_container {
    width: 100%;
    display: block;
  }


  .country-select input {
    width: 100%;
    padding: 10px 10px 10px 40px;
  }

  .country-select .country-list {
    position: absolute;
    width: 260px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
    background: white;
    border: 1px solid #ccc;
  }

  .country-select .flag-dropdown {
    border-right: none;
  }

  #nominee_country_container {
    display: flex;
    align-items: center;
    margin-left: 10px;
  }


  #country_container,
  #nominee_country_container {
    width: 220px;
  }

  .country-select .flag {
    background-image: url("https://cdnjs.cloudflare.com/ajax/libs/country-select-js/2.1.0/img/flags.png");
  }

  .country-select .flag {
    background-size: 5630px 15px;
  }

  /* Fix country dropdown width */
  .country-select .country-list {
    width: 350px !important;
    min-width: 350px;
    max-height: 220px;
    overflow-y: auto;
  }

  @media (max-width: 768px) {

    .country-select {
      width: 100%;
      position: relative;
    }

    .country-select .country-list {
      width: 100% !important;
      min-width: 0 !important;
      max-width: 100vw;
      left: 0 !important;
      right: auto !important;
      box-sizing: border-box;
    }

  }

  /* Mobile number field with country code */
  .iti {
    width: 100%;
    display: block;
  }

  .iti input {
    width: 100% !important;
    height: 45px;
    /* let plugin handle padding-left dynamically */
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    box-shadow: none;
  }

  /* Fix country dropdown z-index and width */
  .iti__country-list {
    max-height: 220px;
    overflow-y: auto;
    z-index: 9999;
    width: 100% !important;
  }

  /* Responsive for mobile */
  @media (max-width: 768px) {
    .iti {
      width: 100%;
    }

    .iti input {
      width: 100% !important;
    }

    .iti__country-list {
      width: 100% !important;
      max-width: 100vw;
    }
  }



  #country_container {
    margin-left: 10px;
    /* optional spacing after NRI */
  }


  .residential-row label {
    display: inline-flex;
    /* important */
    align-items: center;
    gap: 6px;
    margin: 0;
    white-space: nowrap;
  }

  #country_container,
  #nominee_country_container {
    display: flex;
    align-items: center;
  }


  .country-select input {
    width: 100%;
    height: 45px;
    border: 1px solid #555;
    border-radius: 8px;
    padding-left: 40px;
  }

  /* MOBILE VIEW */
  @media (max-width:768px) {
    .residential-row {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      /* keep small gap */
    }

    /* Only stack the country container when NRI is selected */
    #country_container.nri-active,
    #nominee_country_container.nri-active {
      display: flex !important;
      flex-direction: column;
      /* or row if you want horizontal */
      align-items: flex-start;
      gap: 10px;
    }

    #country_container,
    #nominee_country_container {
      flex: none !important;
      width: 100%;
      margin-left: 0;
    }
  }

  /* Fix country-select input visibility */
  .country-select {
    width: 220px !important;
  }

  .country-select input {
    width: 100% !important;
    color: #000 !important;
    background: #fff !important;
    padding-left: 50px !important;
  }

  .country-select .selected-flag {
    z-index: 2;
  }


  /* Residential Row Layout */
  .residential-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  /* Country Dropdown Container */
  #country_container,
  #nominee_country_container {
    flex: 0 0 220px;
  }

  /* Country Select Plugin */
  .country-select {
    width: 220px;
    position: relative;
    font-family: inherit;
  }

  .country-select input {
    width: 100%;
    height: 45px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding-left: 50px;
    font-size: 14px;
    background: #fff;
    color: #333;
  }

  /* Dropdown List FIX */
  .country-select .country-list {
    position: absolute;
    left: 0;
    top: 100%;
    width: 220px !important;
    max-height: 220px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    z-index: 9999;
  }

  @media (max-width:768px) {

    .residential-row {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }

    #country_container,
    #nominee_country_container {
      width: 100%;
    }

    .country-select {
      width: 100%;
    }
  }

  /* Parent wrapper must be relative for absolute dropdown */
  .residential-row {
    position: relative;
  }

  /* Hide initially */
  #country_container,
  #nominee_country_container {
    display: none;
    margin-left: 10px;
    position: relative;
    /* ensures dropdown is positioned properly */
  }

  /* Ensure country dropdown list appears above everything */
  .country-list {
    z-index: 9999 !important;
  }

  #country_container {
    display: none;
    /* hide by default */
  }


  /* Rest remains same */
  .rules-regulations ol {
    padding-left: 20px;
    line-height: 1.6;
    list-style-type: decimal;
  }

  .rules-regulations li {
    margin-bottom: 10px;
  }


  .rules-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }

  .rules-header h2 {
    margin-bottom: 10px;
  }

  .view-details-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 14px;
    cursor: pointer;
  }

  .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    height: 80px;
    resize: none;
    font-family: inherit;
  }
}

/* ========================================
   GALLERY STYLES (EDUCATION & ARTS/SPORTS)
   ======================================== */
.clean-gallery {
  column-count: 2;
  column-gap: 24px;
}

.clean-gallery img {
  width: 100%;
  display: block;
  margin-bottom: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  object-fit: cover;
  break-inside: avoid;
}

.clean-gallery img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
  .clean-gallery {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .clean-gallery {
    column-count: 1;
  }
}

/* ========================================
   FOOTER CONTACT LINKS
   ======================================== */
.footer-contact-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-link:hover {
  color: #ffffff;
}

.mb-3 {
  margin-bottom: 20px;
}

.mb-0 {
  margin-bottom: 0;
}

/* ========================================
   REGISTRATION FORM STYLES
   ======================================== */
.registration-container {
  max-width: 1200px;
  margin: 0 auto;
}

.registration-header {
  margin-bottom: 24px;
}

.registration-header h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

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

.registration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.registration-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reg-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  overflow: visible;
}

.reg-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  background-color: #f8fafc;
}

.reg-card-header h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin: 0;
  font-weight: 700;
}

.reg-card-header .icon {
  color: var(--primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.reg-card-body {
  padding: 20px;
}

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

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


.form-group.radio-group {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.95rem;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
}

.copy-address-btn {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  float: right;
  margin-top: 4px;
}

.copy-address-btn:hover {
  text-decoration: underline;
}

.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main);
  background-color: #fff;
  transition: border-color 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

@media (max-width: 991px) {
  .registration-grid {
    grid-template-columns: 1fr;
  }
}