:root {
  --bento-bg: #f8fafc;
  --bento-card: #fff;
  --accent-start: #9333ea;
  --accent-end: #ec4899;
  --contact-bg: #ffffff;
}

.spaces-wrapper {
  background: var(--bento-bg);
  padding: 5rem 1rem;
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
  align-items: stretch;
}

.space-card {
  background: var(--bento-card);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  opacity: 0;
  transform: translateY(40px);
  height: 100%;
  position: relative;
  overflow: hidden;
  align-items: center;
}

.space-card h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 0.6rem;
}

.space-card p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  text-align: center; /* centers the text */
}


.space-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 6px 16px rgba(88, 88, 88, 0.25);
}

.space-icon i {
  width: 28px;
  height: 28px;
}

.space-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  opacity: 0;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.space-card:hover::after {
  opacity: 0.08;
}

.space-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px rgba(88, 88, 88, 0.25);
}

@media (max-width: 640px) {
  .spaces-grid {
    grid-template-columns: 1fr;
  }
}


.animated-gradient-new {
  background: linear-gradient(
    135deg,
    #3a0ca3,
    #4361ee,
    #7209b7,
    #4895ef,
    #560bad
  );
  background-size: 500% 500%;
  background-clip: text;
  -webkit-background-clip: text; /* Safari support */
  color: transparent;
  animation: gradientShift 20s ease infinite;
  transition: all 0.5s ease;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 50% 100%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 50% 0%; }
  100% { background-position: 0% 50%; }
}


.contact-wrapper {
  background: var(--contact-bg);
  padding: 5rem 1rem;
}

/* ✅ Bento Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ✅ Cards */
.contact-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  opacity: 0;
  transform: translateY(40px);
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.contact-card:hover::after {
  opacity: 0.08;
}

.contact-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px rgba(147, 51, 234, 0.25);
}

/* ✅ Icon */
.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 6px 16px rgba(147, 51, 234, 0.3);
  position: relative;
  z-index: 1;
}

.contact-icon i {
  width: 28px;
  height: 28px;
}

/* ✅ Text */
.contact-card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.contact-card p {
  font-size: 1rem;
  color: #4b5563;
  position: relative;
  z-index: 1;
}

.contact-link {
  color: var(--accent-start);
  font-weight: 600;
  text-decoration: none;
}

/* ✅ Large CTA Card */
.contact-card.large {
  grid-column: span 3;
  text-align: center;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

/* ✅ Buttons */
.btn-primary,
.btn-outline {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(147, 51, 234, 0.35);
}

.btn-outline {
  border: 2px solid var(--accent-start);
  color: var(--accent-start);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-start);
  color: #fff;
}

/* ✅ Responsive */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-card.large {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-card.large {
    grid-column: span 1;
  }
}

.footer-section {
  position: relative;
background: linear-gradient(135deg, #000080, #002983, #002394, #007e94);


  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;
  color: #f9fafb;
  padding: 4rem 1.5rem;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.footer-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.footer-brand p {
  color: #d1d5db;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #3b82f6;
  color: #fff;
  transform: translateY(-5px) scale(1.1);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-meta {
  font-size: 0.9rem;
  color: #a5b4fc;
  margin-top: 1rem;
}

.footer-meta a {
  color: #e0e7ff;
  text-decoration: none;
  margin: 0 5px;
  transition: all 0.3s;
  position: relative;
}

.footer-meta a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0%;
  background-color: #3b82f6;
  transition: width 0.3s ease;
  position: absolute;
  left: 0;
  bottom: -2px;
}

.footer-meta a:hover::after {
  width: 100%;
}

.footer-meta a:hover {
  color: #fff;
}

.footer-links h4 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: #fff;
}

.footer-links a {
  position: relative;
  display: inline-block;
  color: #d1d5db;
  font-size: 0.95rem;
  text-decoration: none;
  margin-bottom: 0.6rem;
  transition: all 0.3s ease;
  padding-bottom: 2px;
}

.footer-links a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0%;
  background-color: #3b82f6;
  transition: width 0.3s ease;
  position: absolute;
  left: 0;
  bottom: 0;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover {
  color: #ffffff;
}

@media (max-width: 900px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-brand h3 {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 400;
  }

  .footer-brand p {
    color: #d1d5db;
    margin-bottom: 0.8rem; /* removed space between `.8` and `rem` */
  }

  .footer-links h4 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    color: #fff;
  }
}
.animated-gradient {
  background: linear-gradient(
    135deg,
    #3a0ca3,
    #4361ee,
    #7209b7,
    #4895ef,
    #560bad
  );
  background-size: 500% 500%;
  animation: gradientShift 20s ease infinite;
  transition: all 0.5s ease;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 100%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 50%;
  }
}


section {
  scroll-margin-top: 100px; /* adjust to match your navbar height */
}


/* Base font */
body {
  font-family: 'Inter', sans-serif;
}

/* Menu button animation when open */
#menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

#menu-btn.open span:nth-child(2) {
  opacity: 0;
}

#menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}


/* ===============================
   Hero Section
================================= */
#hero {
  background-color: #ffffff;
  text-align: center;
  padding-top: 8rem;  /* pt-32 */
  padding-bottom: 2.5rem; /* pb-10 */
  overflow: hidden;
}

@media(min-width: 640px) {
  #hero {
    padding-top: 11rem; /* sm:pt-44 */
  }
}

#hero .hero-container {
  max-width: 64rem; /* max-w-4xl */
  margin: 0 auto;
  padding-left: 1rem; /* px-4 */
  padding-right: 1rem;
}

#hero h1 {
  font-weight: 300;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-size: 1.875rem; /* 3xl */
}

@media(min-width: 640px) {
  #hero h1 {
    font-size: 2.25rem; /* sm:text-4xl */
    margin-bottom: 2rem; /* sm:mb-8 */
  }
}

@media(min-width: 768px) {
  #hero h1 {
    font-size: 3rem; /* md:text-5xl */
  }
}

#hero h1 span {
  display: block;
}

#hero h1 span:last-child {
  color: #000000;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

#hero p {
  font-size: 1rem; /* base */
  color: #4B5563; /* neutral-600 */
  font-weight: 300;
  margin-bottom: 2.5rem; /* mb-10 */
  line-height: 1.75;
}

@media(min-width: 640px) {
  #hero p {
    font-size: 1.125rem; /* sm:text-lg */
  }
}

@media(min-width: 768px) {
  #hero p {
    font-size: 1.25rem; /* md:text-xl */
  }
}

/* Hero Button */
/* Hero Button */
.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem; /* spacing between text and icon */
  padding: 0.75rem 1.5rem; /* py-3 px-6 */
  border-radius: 9999px; /* fully rounded */
  font-size: 1rem; /* base */
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(90deg, #9333ea, #ec4899); /* animated-gradient fallback */
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero-button:hover {
  transform: translateY(-0.25rem) scale(1.05); /* hover effects */
  box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

.hero-button-icon {
  width: 1.25rem; /* w-5 */
  height: 1.25rem; /* h-5 */
  transition: transform 0.3s ease-in-out;
}

.hero-button:hover .hero-button-icon {
  transform: translateX(0.25rem);
}

/* ===============================
   Video Overlay Section
================================= */
.video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  height: 300px; /* default mobile height */
}

/* Responsive heights */
@media(min-width: 640px) { /* sm */
  .video-wrapper {
    height: 400px;
  }
}

@media(min-width: 768px) { /* md */
  .video-wrapper {
    height: 380px;
  }
}

@media(min-width: 1024px) { /* lg */
  .video-wrapper {
    height: 320px;
  }
}

@media(min-width: 1280px) { /* xl */
  .video-wrapper {
    height: 300px;
  }
}

@media(min-width: 1536px) { /* 2xl */
  .video-wrapper {
    height: 280px;
  }
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.video-wrapper #video-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.6);
}

/* Overlay content */
.video-wrapper .overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 10;
}

.video-wrapper .overlay-card {
  backdrop-filter: blur(10px);
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 1.5rem; /* rounded-2xl */
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  padding: 1.5rem;
  transition: all 0.3s ease;
  text-align: center;
}

.video-wrapper .overlay-card h2 {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 300;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

@media(min-width: 640px) {
  .video-wrapper .overlay-card h2 {
    font-size: 2.25rem; /* sm:text-4xl */
  }
}

@media(min-width: 768px) {
  .video-wrapper .overlay-card h2 {
    font-size: 3rem; /* md:text-5xl */
  }
}

.video-wrapper .overlay-card p {
  font-size: 0.875rem; /* text-sm */
  max-width: 32rem; /* max-w-2xl */
  margin: 0 auto;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  letter-spacing: 0.5px;
}

@media(min-width: 640px) {
  .video-wrapper .overlay-card p {
    font-size: 1rem; /* sm:text-base */
  }
}

@media(min-width: 768px) {
  .video-wrapper .overlay-card p {
    font-size: 1.125rem; /* md:text-lg */
  }
}



