/* Base Variables & Theme */
:root {
  /* Colors */
  --primary-deep: #0A192F; /* Navy Blue */
  --primary-light: #172A45;
  --accent-gold: #FF5A00; /* Vibrant Orange */
  --accent-gold-hover: #E04B00;
  --surface-light: #F9F8F6; /* Ivory/warm off-white */
  --surface-white: #FFFFFF;
  --text-dark: #2C2C2C;
  --text-muted: #6B6B6B;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
  
  /* Spacing & Layout */
  --nav-height: 110px;
  --container-width: 1200px;
  --transition: all 0.3s ease;
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--surface-white); /* Main background */
  line-height: 1.6;
}

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

.bg-dark {
  background-color: var(--primary-deep);
  color: rgba(255, 255, 255, 0.9);
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 {
  color: #ffffff;
}

.bg-dark .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-deep);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 6rem 0;
}

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

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent-gold);
  color: #fff;
  border: 2px solid var(--accent-gold);
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: var(--primary-deep);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.logo {
  height: 85px;
  width: auto;
  display: block;
}

.event-flyer {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.footer-logo {
  height: 120px;
  width: auto;
  display: block;
  margin: 1rem 0;
  background-color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 2000;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-deep);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-links a:not(.btn-primary) {
  font-weight: 500;
  color: var(--primary-deep);
  position: relative;
}

.nav-links a:not(.btn-primary)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1499209974431-9dddcece7f88?q=80&w=2500&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(26, 54, 54, 0.9) 0%, rgba(26, 54, 54, 0.6) 100%);
}

.hero-content {
  max-width: 800px;
  color: #fff;
}

.hero h1 {
  font-size: 4rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

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

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

/* About Section */
.about-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

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

.about-image {
  flex: 1;
}

.image-placeholder-large {
  width: 100%;
  height: 400px;
  background-color: #E2DFD8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 1.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Services */
.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

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

.service-card {
  background: var(--surface-white);
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.02);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.bg-dark .service-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.bg-dark .service-card h3 {
  color: #fff;
}

.bg-dark .service-card p {
  color: rgba(255, 255, 255, 0.7);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--text-muted);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.testimonial-card {
  background: var(--surface-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  position: relative;
}

.testimonial-card::before {
  content: '\"';
  font-family: var(--font-heading);
  font-size: 6rem;
  color: rgba(212, 175, 55, 0.1);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-card .quote {
  font-style: italic;
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--primary-deep);
}

.bg-dark .testimonial-card {
  background: var(--primary-light);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.bg-dark .testimonial-card .quote {
  color: rgba(255, 255, 255, 0.9);
}

.bg-dark .testimonial-card .author {
  color: var(--accent-gold);
}

.bg-dark .testimonial-card::before {
  color: rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
  background-color: var(--primary-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

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

.footer-brand h3 {
  color: #fff;
  margin: 1rem 0;
}

.footer-brand p {
  max-width: 300px;
}

.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links h4, .footer-contact h4 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

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

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

/* About Section Custom Animation */
.about-reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: aboutFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.about-image img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-btn {
  transition: all 0.3s ease !important;
}

.about-btn:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 10px 20px rgba(255, 90, 0, 0.2) !important;
}

/* Responsive */
@media (max-width: 1024px) {
  :root {
    --nav-height: 90px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
}

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

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

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

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--primary-deep);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    box-shadow: -20px 0 40px rgba(0,0,0,0.4);
    transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    z-index: 1000;
    padding: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.25rem;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.9) !important;
  }

  .nav-links .btn-primary {
    width: auto;
    padding: 1rem 3rem;
  }

  .about-container {
    flex-direction: column;
    gap: 3rem;
  }

  .about-content h2 {
    font-size: 2.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .join-us-container {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 3rem;
  }

  .join-us-text h2 {
    font-size: 2.2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand, .footer-links, .footer-contact {
    align-items: center;
  }

  .footer-brand p {
    margin: 1rem auto;
  }
}

/* Upcoming Events Section */
.events-section {
  background-color: var(--surface-light);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 400px));
  gap: 2.5rem;
  justify-content: center;
}

.event-card {
  background: var(--surface-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.event-card.featured {
  border: 2px solid var(--accent-gold);
}

.event-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--primary-deep);
}

.event-flyer {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.event-card:hover .event-flyer {
  transform: scale(1.05);
}

.event-category-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--accent-gold);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 2;
}

.event-header {
  padding: 1.5rem 1.5rem 0.5rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.event-body {
  padding: 0 1.5rem 1.5rem;
  flex-grow: 1;
}

.event-body h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-deep);
}

.event-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.event-info-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.event-info-item svg {
  color: var(--accent-gold);
  width: 18px;
  height: 18px;
}


.events-loading {
  text-align: center;
  padding: 4rem;
  font-size: 1.2rem;
  color: var(--text-muted);
}
/* Join Us Section */
.join-us-section {
  background-color: var(--surface-light);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.join-us-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  align-items: center;
}

.join-us-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.join-us-text p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.join-form {
  background: var(--surface-white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--primary-deep);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: #fcfcfc;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-gold);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 90, 0, 0.1);
}

@media (max-width: 768px) {
  .join-us-text h2 {
    font-size: 2.5rem;
  }
}

/* Gallery Section */
.gallery-section {
  background-color: var(--surface-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  background-color: #f0f0f0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 54, 54, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.8rem 1.5rem;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

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

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  cursor: zoom-out;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

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

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 3.5rem;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.lightbox-close:hover {
  color: #fff;
  transform: rotate(90deg);
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 4rem;
  font-weight: 200;
  cursor: pointer;
  padding: 2rem;
  user-select: none;
  transition: var(--transition);
  z-index: 3001;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-prev:hover, .lightbox-next:hover {
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

/* Header Social Links */
.social-links-header {
  display: flex;
  gap: 1.2rem;
  margin-right: 1.5rem;
  align-items: center;
}

.social-icon-link {
  color: var(--primary-deep);
  transition: var(--transition);
  display: flex;
  align-items: center;
  opacity: 0.8;
}

.social-icon-link:hover {
  color: var(--accent-gold);
  transform: translateY(-2px);
  opacity: 1;
}

.social-icon-link svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .nav-links.active .social-links-header {
    display: flex;
    margin-right: 0;
    margin-top: 2rem;
    justify-content: center;
    width: 100%;
  }
  
  .social-links-header {
    display: none; /* Hide in mobile button area, show inside mobile menu */
  }
}

@media (max-width: 768px) {
  .lightbox-prev, .lightbox-next {
    font-size: 2.5rem;
    padding: 1rem;
  }
}

/* AI Scripture Companion - Compact Design */
.scripture-companion {
  background: var(--primary-deep);
  position: relative;
  overflow: hidden;
}

.scripture-companion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--accent-gold) 0.5px, transparent 0.5px);
  background-size: 30px 30px;
  opacity: 0.05;
}

.chat-container {
  max-width: 700px;
  width: 95%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  height: 600px; /* Base height for desktop */
  max-height: 80vh; /* Don't exceed viewport height */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: height 0.3s ease;
}

.chat-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.chat-header h3 {
  color: #fff;
  margin: 0;
  font-size: 1rem;
}

.chat-messages {
  flex: 1;
  padding: 1.2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.message {
  max-width: 90%;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  line-height: 1.5;
  font-size: 0.95rem;
  word-wrap: break-word;
  animation: messageFade 0.3s ease forwards;
}

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

.message.user {
  align-self: flex-end;
  background: var(--accent-gold);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.message.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.clear-chat {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.clear-chat:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.input-wrapper {
  display: flex;
  gap: 0.8rem;
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
}

.chat-input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.send-btn {
  background: var(--accent-gold);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.send-btn:hover {
  background: #fff;
  color: var(--accent-gold);
}

/* Typing Animation */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 5px 0;
}

.typing-dot {
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-4px); }
}

.chip:hover {
  background: var(--accent-gold);
  color: #fff;
  transform: translateY(-1px);
}

.chat-input-area {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.suggested-chips {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none; /* Hide scrollbar for chips */
  -ms-overflow-style: none;
}

.suggested-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .chat-container {
    height: 500px;
    border-radius: 15px;
  }
  
  .chat-header {
    padding: 0.8rem 1rem;
  }
  
  .chat-messages {
    padding: 1rem;
    gap: 1rem;
  }
  
  .message {
    font-size: 0.9rem;
    padding: 0.7rem 0.9rem;
  }
  
  .chat-input-area {
    padding: 0.8rem;
  }
  
  .input-wrapper {
    gap: 0.5rem;
  }
  
  .chat-input {
    padding: 0.7rem 1rem;
  }
  
  .send-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .chat-container {
    height: 450px;
    width: 100%;
    border-radius: 12px;
    border-left: none;
    border-right: none;
  }
  
  .chat-header h3 {
    font-size: 0.9rem;
  }
  
  .message {
    max-width: 95%;
  }
}
/* Entrance Animations */
.entrance-section {
  overflow: hidden;
}

.entrance-subtitle,
.entrance-title,
.entrance-para,
.entrance-btn {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.entrance-section.is-visible .entrance-subtitle {
  opacity: 1;
  transform: translateY(0);
}

.entrance-section.is-visible .entrance-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 120ms;
}

.entrance-section.is-visible .entrance-para {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 240ms;
}

.entrance-section.is-visible .entrance-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 360ms;
}

/* Button glow effect */
.btn-primary.entrance-btn:hover {
  box-shadow: 0 0 25px rgba(255, 90, 0, 0.4);
  transform: translateY(-2px);
}

.btn-primary.entrance-btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Entrance Animations & Reveal Items */
.reveal-item {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.is-visible .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

.is-visible .reveal-item.delay-1 { transition-delay: 150ms; }
.is-visible .reveal-item.delay-2 { transition-delay: 300ms; }
.is-visible .reveal-item.delay-3 { transition-delay: 450ms; }
.is-visible .reveal-item.delay-4 { transition-delay: 600ms; }
.is-visible .reveal-item.delay-5 { transition-delay: 750ms; }

/* Mission/Vision Card Styles */
.mv-card {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease;
  background: rgba(255, 255, 255, 0.03);
  padding: 3.5rem 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
}

.mv-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 90, 0, 0.1);
  border-color: rgba(255, 90, 0, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.mv-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: rgba(255, 90, 0, 0.1);
  color: var(--accent-gold);
  border-radius: 50%;
  margin-bottom: 2rem;
  transition: transform 0.4s ease;
}

.mv-card:hover .mv-icon-box {
  transform: scale(1.1) rotate(5deg);
}
