@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:ital,wght@0,700;0,800;0,900;1,800;1,900&family=Playfair+Display:ital,wght@0,600;1,400;1,600;1,700&display=swap');

:root {
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-darker);
  color: var(--text-white);
  overflow-x: hidden;
}

body {
  min-h: 100vh;
  background: radial-gradient(circle at 50% 0%, var(--bg-dark) 0%, var(--bg-darker) 70%, #000000 100%);
  background-attachment: fixed;
  color: var(--text-white);
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(var(--primary-rgb), 0.4);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Typography Utility Classes */
.font-montserrat { font-family: 'Montserrat', sans-serif; }
.font-serif { font-family: 'Playfair Display', serif; }
.text-primary { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }

/* Container & Layout */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-6xl { max-width: 72rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-32 { padding-top: 8rem; }
.pt-44 { padding-top: 11rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-32 { padding-bottom: 8rem; }

/* Glassmorphism Components */
.glass-nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 92%;
  max-width: 80rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1.25rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  box-shadow: var(--glow-shadow);
  transition: all 0.4s ease;
}
.glass-nav:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
}

/* Navbar Logo Component */
.nav-logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}
.logo-badge-icon {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  background: var(--primary-color);
  border-radius: 0.75rem;
  transform: rotate(3deg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #000;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}
.logo-text-box {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
  overflow: hidden;
}
.logo-main-title {
  font-size: 1rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo-sub-title {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--primary-color);
  text-transform: uppercase;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

/* Desktop Nav Links */
.desktop-nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.25rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  backdrop-filter: blur(8px);
}
.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Mobile Hamburger Button */
.mobile-hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
}
.mobile-hamburger-btn:hover {
  background: var(--primary-color);
  color: #000000;
  border-color: var(--primary-color);
}

/* Fullscreen Mobile Overlay Drawer */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg-darker);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  padding: 2.5rem 1.5rem;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;
}
.mobile-menu-overlay.open {
  transform: translateY(0);
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.25rem;
}
.mobile-menu-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.mobile-menu-link {
  color: #ffffff !important;
  font-size: 2.2rem;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  letter-spacing: -0.02em;
}
.mobile-menu-link:hover,
.mobile-menu-link.active {
  color: var(--primary-color) !important;
  transform: translateX(12px);
}
.mobile-menu-num {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.glass-card {
  background: var(--card-bg, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
  border-radius: 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: cardFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--glass-hover-border);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 60px -15px rgba(var(--primary-rgb), 0.25);
}

/* Entrance Keyframes */
@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Ambient Glow Blobs */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.glow-blob-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: rgba(var(--primary-rgb), 0.12);
  filter: blur(140px);
  border-radius: 50%;
  animation: pulse 8s infinite alternate ease-in-out;
}
.glow-blob-2 {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: rgba(var(--primary-rgb), 0.08);
  filter: blur(160px);
  border-radius: 50%;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.15); opacity: 1; }
}

/* Navigation Links */
.nav-link {
  position: relative;
  padding: 0.5rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 50%;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  background: var(--primary-color);
  color: var(--bg-darker);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(var(--primary-rgb), 0.4);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(var(--primary-rgb), 0.6);
  background: var(--accent-color);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--primary-color);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid rgba(var(--primary-rgb), 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: var(--primary-color);
  color: var(--bg-darker);
  border-color: var(--primary-color);
  transform: scale(1.05);
}

/* Form Elements (CMS & Login) */
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s;
}
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
}

/* Responsive Grid Helper */
.grid { 
  display: grid; 
  gap: 2rem; 
}
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .desktop-nav-links {
    display: none !important;
  }
  .desktop-only {
    display: none !important;
  }
  .mobile-hamburger-btn {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .glass-nav {
    width: 94%;
    top: 0.85rem;
    padding: 0.55rem 0.85rem;
  }
  .logo-sub-title {
    display: block !important;
    font-size: 0.52rem !important;
    max-width: 125px !important;
  }
  .logo-main-title {
    font-size: 0.85rem;
  }
  .logo-badge-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.95rem;
    border-radius: 0.5rem;
  }
  .nav-apply-btn {
    padding: 0.45rem 0.9rem !important;
    font-size: 0.75rem !important;
  }
  .py-32 { padding-top: 5rem; padding-bottom: 5rem; }
  .pt-44 { padding-top: 7rem; }
  .px-6 { padding-left: 1rem; padding-right: 1rem; }
}

/* Team Member Poster Card (Reference Site Style) */
.team-poster-card {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: 2rem;
  overflow: hidden;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: cardFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.team-poster-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: var(--primary-color);
  box-shadow: 0 30px 60px -10px rgba(var(--primary-rgb), 0.35);
}

.team-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.team-poster-card:hover .team-poster-img {
  transform: scale(1.05);
}

.team-poster-fallback {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, var(--bg-dark) 0%, var(--bg-darker) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(var(--primary-rgb), 0.3);
  border-radius: 2rem;
}

/* Floating Instagram Button on Top Right */
.team-card-insta-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.team-card-insta-btn:hover {
  background: var(--primary-color);
  color: #000000;
  border-color: var(--primary-color);
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.5);
}

/* Bottom Dark Gradient Content Box */
.team-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 3rem 1.75rem 1.75rem 1.75rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.75) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.team-card-role {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--primary-color);
  text-transform: uppercase;
  display: block;
}
.team-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 600;
  color: #ffffff;
  margin-top: 0.25rem;
  line-height: 1.2;
}

/* Committee Card Component (Reference Site Style) */
.committee-ref-card {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: cardFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.committee-ref-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: 0 30px 60px -10px rgba(var(--primary-rgb), 0.3);
}

.committee-card-banner-box {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}
.committee-card-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.committee-ref-card:hover .committee-card-banner-img {
  transform: scale(1.08);
}
.committee-banner-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.25) 0%, rgba(4, 47, 46, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--primary-color);
}

.committee-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.committee-card-cat {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--primary-color);
  text-transform: uppercase;
  display: block;
}
.committee-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  font-style: italic;
  font-weight: 600;
  color: #ffffff;
  margin: 0.4rem 0 0.85rem 0;
  line-height: 1.2;
}
.committee-card-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.committee-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}
.committee-arrow-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}
.committee-ref-card:hover .committee-arrow-circle {
  background: var(--primary-color);
  color: #000000;
  border-color: var(--primary-color);
  transform: translateX(4px);
}

/* Vision Architect Quote Card (Reference Image 1 Style) */
.vision-quote-card {
  position: relative;
  border-radius: 2.5rem;
  padding: 3rem 2rem 2.5rem 2rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  overflow: visible;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: cardFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.vision-quote-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: 0 30px 60px -10px rgba(var(--primary-rgb), 0.35);
}

.vision-watermark-quote {
  position: absolute;
  top: 45%;
  left: 1.5rem;
  font-size: 7rem;
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  opacity: 0.12;
  line-height: 0;
  pointer-events: none;
}

.vision-card-photo-box {
  position: relative;
  width: 170px;
  height: 210px;
  margin: 0 auto 2.5rem auto;
  border-radius: 2rem;
  overflow: visible;
}
.vision-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.5s ease;
}
.vision-quote-card:hover .vision-card-img {
  transform: scale(1.04);
}
.vision-card-fallback {
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.3) 0%, rgba(4, 47, 46, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.vision-card-role-pill {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--primary-color);
  color: #000000;
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.35rem;
  border-radius: 9999px;
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.45);
  z-index: 10;
}

.vision-quote-text {
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 5;
}
.vision-quote-name {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 600;
  color: #ffffff;
  margin-top: auto;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .glass-card {
    padding: 1.25rem !important;
    border-radius: 1.25rem !important;
  }
  .team-poster-card {
    height: 380px;
  }
}

/* ULTRA-LUXURY PUBLIC FORM CONTROLS & AUTOFILL OVERRIDE */
.public-form-label {
  display: block !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  margin-bottom: 0.5rem !important;
  letter-spacing: 0.02em !important;
}

/* Force all form controls on public forms to have solid dark luxury glass styling */
.glass-card form input[type="text"],
.glass-card form input[type="tel"],
.glass-card form input[type="email"],
.glass-card form input[type="number"],
.glass-card form select,
.glass-card form textarea,
.public-form-input,
.public-form-select,
.public-form-textarea {
  width: 100% !important;
  padding: 0.95rem 1.25rem !important;
  border-radius: 0.85rem !important;
  background-color: #0f172a !important;
  background: #0f172a !important;
  border: 2px solid rgba(var(--primary-rgb), 0.35) !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-family: inherit !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.glass-card form input::placeholder,
.glass-card form textarea::placeholder,
.public-form-input::placeholder,
.public-form-textarea::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

.glass-card form input:focus,
.glass-card form select:focus,
.glass-card form textarea:focus,
.public-form-input:focus,
.public-form-select:focus,
.public-form-textarea:focus {
  border-color: var(--primary-color) !important;
  background-color: #1e293b !important;
  background: #1e293b !important;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.3), 0 8px 20px rgba(0, 0, 0, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* Custom Dropdown Styling */
.glass-card form select,
.public-form-select {
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2310b981'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1.25rem center !important;
  background-size: 1.25rem !important;
  padding-right: 3rem !important;
}

.glass-card form select option,
.public-form-select option {
  background-color: #0f172a !important;
  color: #ffffff !important;
  padding: 0.85rem !important;
}

/* Fix Chrome / Edge / Safari Autofill White Rectangle Bug */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff !important;
  -webkit-box-shadow: 0 0 0px 1000px #0f172a inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

/* Custom Styled File Upload Box */
.public-file-dropzone {
  border: 2px dashed rgba(var(--primary-rgb), 0.4);
  border-radius: 0.85rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: rgba(15, 23, 42, 0.5);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}
.public-file-dropzone:hover {
  border-color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.12);
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
}
