/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

:root {
  --color-blue: #1b98eb;
  --color-mid-dark-blue: #245fb7;
  --color-dark-blue: #1195e6;
  --color-dark-gray: #475467cc;
  --color-light-blue: #199bea;
  --color-red: #c23157;
  --color-light: #f5faff;
  --color-white: #ffffff;
  --color-dark: #1a1a1a;
  --color-gray: #6b7280;
  --color-light-gray: #f3f4f6;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(27, 152, 235, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(194, 49, 87, 0.05) 0%,
      transparent 50%
    );
  background-attachment: fixed;
  overflow-x: hidden !important;
  width: 100%; 
  max-width: 100vw;
}


img {
  object-fit: cover;
}

/* Layout */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Tablet view (768px and below) */
@media (max-width: 768px) {
  .container {
  max-width: 100%;
  overflow-x: hidden !important;
  margin: 0 auto;
  padding: 0 2rem;
}
}

/* Mobile view (480px and below) */
@media (max-width: 480px) {
  .container {
  max-width: 100%;
  overflow-x: hidden !important;
  margin: 0 auto;
  padding: 0 2rem;
}
}

/* If you need even smaller mobile devices (optional) */
@media (max-width: 375px) {
  .container {
  max-width: 100%;
  overflow-x: hidden !important;
  margin: 0 auto;
  padding: 0 2rem;
}
}

/* Navigation */
.navbar-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  background: transparent;
  padding: 0.5rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: relative;
  transition: all 0.3s ease;
}

/* Logo sizing */
.navbar-logo {
  height: 40px; 
  width: auto;
}

.logo img{
  width: 80%;
  margin-left: -70px;
}

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

.navbar-container.scrolled .navbar {
  padding: 1rem 0;
}

.navbar-container.scrolled .logo-main {
  color: var(--color-blue);
}

.navbar-container.scrolled .logo-small {
  color: var(--color-blue);
}

.navbar-container.scrolled .nav-link {
  color: var(--color-gray);
}

.navbar-container.scrolled .nav-link:hover {
  color: var(--color-dark);
}

/* Transparent navbar state styling */
.navbar-container:not(.scrolled) .logo-main,
.navbar-container:not(.scrolled) .logo-small {
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-container:not(.scrolled) .nav-link {
  color: var(--color-white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar-container:not(.scrolled) .nav-link:hover {
  color: var(--color-light);
}

.navbar-container:not(.scrolled) .hamburger-line {
  background-color: var(--color-white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.logo {
  text-decoration: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-small {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-blue);
  letter-spacing: 0.05em;
}

.logo-main {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-blue);
  letter-spacing: 0.02em;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
  position: absolute;
  top: 50%;
  right: 15%;
  transform: translateY(-50%);
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--color-red);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Mobile menu toggle animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

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

.nav-link {
  color: var(--color-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-dark);
}

/* Buttons */
.btn {
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  border: none;
  border-radius: 0.5rem;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.025em;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-blue),
    var(--color-mid-dark-blue)
  );
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(27, 152, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 152, 235, 0.4);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-red);
  border: 2px solid var(--color-red);
}

.btn-secondary:hover {
  background-color: var(--color-red);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

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

/* Hero Section */
.hero-section {
  padding: 4rem 0 5rem 0;
  background: linear-gradient(
      135deg,
      rgba(245, 250, 255, 0.8),
      rgba(232, 244, 253, 0.6)
    ),
    url("../assets/images/hero-pattern.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0 0 2rem 2rem;
  margin-bottom: 2rem;
  position: relative;
}

/* Tablet view (768px and below) */
@media (max-width: 768px) {
  .hero-section {
    padding: 7.5rem 1.5rem 4rem 0; 
  }
}

/* Mobile view (480px and below) */
@media (max-width: 480px) {
  .hero-section {
    padding: 7rem 0 3rem 0; 
  }
}

/* If you need even smaller mobile devices (optional) */
@media (max-width: 375px) {
  .hero-section {
    padding: 7rem 0 2.5rem 0;
  }
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 500px;
}

.hero-title {
  font-size: 40px;
  font-weight: 500;
  font-family: "Red Rose", cursive;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.highlight-blue {
  color: var(--color-blue);
}

.highlight-red {
  color: var(--color-red);
}

.hero-description {
  font-size: 20px;
  color: var(--color-gray);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.event-details {
  font-size: 1.1rem;
  font-weight: lighter;
  margin-bottom: 2rem;
  border-radius: 2rem;
  display: inline-block;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.couple-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  scale: 1.2;
  max-width: 500px;
}

.couple-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.icon {
  position: absolute;
  font-size: 2.5rem;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  z-index: 10;
}

.dna-icon {
  top: 15%;
  right: 20%;
  animation-delay: 0s;
}

.heart-icon {
  top: 25%;
  left: 15%;
  animation-delay: 1.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Countdown Section - Removed as it's now positioned absolutely within hero */

/* Countdown Timer positioned absolutely within hero */
.countdown-timer {
  width: 100%;
  max-width: 72rem;
  border-radius: 1rem;
  background: var(--color-white);
  position: absolute;
  bottom: -3rem;
  /* Position it so half is inside, half outside */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-around;
  gap: 3rem;
  flex-wrap: wrap;
  z-index: 10;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.countdown-number {
  font-size: 2.75rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(27, 152, 235, 0.3);
}

.countdown-label {
  font-size: 0.875rem;
  color: var(--color-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .countdown-number {
    font-size: 3rem;
  }
}

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

  .navbar {
    padding: 1rem 0;
  }

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

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Mobile menu for fixed navbar */
  .navbar-container .nav-links {
    position: fixed;
    top: 80px;
    /* Height of navbar */
    left: 0;
    right: 0;
    background: var(--color-white);
    margin-top: 0;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }

  .nav-link {
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: center;
    color: var(--color-dark-gray) !important;
    border-bottom: 1px solid var(--color-light-gray);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-links .btn {
    margin: 0.5rem 1rem;
    width: calc(100% - 2rem);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .countdown-timer {
    gap: 2rem;
    bottom: -2rem;
    /* Adjust for mobile */
  }

  .countdown-number {
    font-size: 2.5rem;
  }

  .logo-main {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .countdown-timer {
    gap: 1.5rem;
    bottom: -1.5rem;
    /* Adjust for very small screens */
  }

  .countdown-number {
    font-size: 2rem;
  }

  .logo-main {
    font-size: 1.25rem;
  }
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background-color: var(--color-white);
}

/* .about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 65% 35%;
  gap: 1.5rem;
  height: 100%;
  transform: rotate(-1deg) scale(0.85);
}

.about-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
} */

.about-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* .about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
} */

/* .about-image-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  height: 90%;
  align-self: end;
}


.about-image-2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  height: 100%;
  align-self: end;
}

.about-image-3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  height: 100%;
  align-self: end;
  object-fit: cover;
} */

/* @media (max-width: 1024px) {
  .about-visual {
    grid-template-columns: 1fr 1fr;  
    grid-template-rows: 1fr 1fr;     
  }

.about-image-1 {
    grid-row: 1 / 3; 
    height: 100%;   
    object-fit: cover; 
  }

  .about-image-2,
  .about-image-3 {
    height: 50vh;
  }
} */

/* ---------- base ---------- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch; 
}

/* the visual area (images grid) */
.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;         
  grid-template-rows: 65% 35%;            
  gap: 1.5rem;
  height: 100%;                          
  transform: rotate(-1deg) scale(0.85);
  transform-origin: center;
}

/* generic image container */
.about-image {
  overflow: hidden;
  border-radius: 1rem;
  display: block;
}
.about-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* left large image */
.about-image-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;        /* spans both rows on the left */
  align-self: stretch;    /* IMPORTANT: stretch to fill available track height */
  justify-self: stretch;
  min-height: 420px;      /* default minimum on desktop (tune as needed) */
}

/* right column stacked images */
.about-image-2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  align-self: stretch;
}
.about-image-3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  align-self: stretch;
}

/* ---------- tablet & smaller (<= 1024px) ---------- */
@media (max-width: 1024px) {
  :root {
    --visual-available: calc(100vh - 120px);
  }

  .about-visual {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr; 
    gap: 1rem;
    transform: rotate(-1deg) scale(0.85);
  }

  .about-image-1 {
    grid-row: 1 / 3;            
    height: 100%;
    align-self: stretch;
  }

  /* right side each takes half the available visual height */
  .about-image-2, .about-image-3 {
    height: 100%;
    align-self: stretch;
  }
}

@media (max-width: 600px) {
  .about-visual {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    transform: rotate(-1deg) scale(0.85);

  }

  .about-image-1 { min-height: calc(100vh - 140px); }   
  .about-image-2, .about-image-3 { min-height: calc((100vh - 140px) / 2); }
}

@media (max-width: 420px) {
  .about-visual {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    transform: rotate(-1deg) scale(0.85);

  }

  .about-image-1 { min-height: calc(100vh - 140px); }   
  .about-image-2, .about-image-3 { min-height: calc((100vh - 140px) / 2); }
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-subtitle {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-dark);
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
}

.about-description {
  font-size: 1.125rem;
  color: var(--color-gray);
  line-height: 1.7;
  margin: 0;
}

/* Responsive design for about section */
@media (max-width: 1024px) {
  .about-content {
    gap: 3rem;
  }

  .about-title {
    font-size: 2.25rem;
  }
}

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .about-visual {
    order: 2;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
  }

  .about-image-1,
  .about-image-2,
  .about-image-3 {
    height: 150px;
  }

  .about-text {
    order: 1;
    align-items: center;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 3rem 0;
  }

  .about-visual {
    gap: 0.75rem;
  }

  .about-image-1,
  .about-image-2,
  .about-image-3 {
    height: 120px;
  }

  .about-title {
    font-size: 1.75rem;
  }

  .about-description {
    font-size: 0.95rem;
  }
}

/* Event Hightlist Section */

.event-hlights-container {
  width: 100%;
  border-top-right-radius: 8rem;
  border-bottom-left-radius: 8rem;
  
  background: 
    linear-gradient(
      135deg,
      rgba(197, 224, 240, 0.8) 0%,  /* #c5e0f0 with transparency */
      rgba(197, 224, 240, 0.8) 100%
    ),
    url("../assets/images/hero-pattern.png");
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 2rem;
  padding-bottom: 3rem;
}


.section-intro {
  text-align: center;
  margin: 2rem 0;
}

.section-intro-title {
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: bold;
}

.section-intro-subtitle {
  font-size: 1.2rem;
}

.event-hlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
}

.event-hlights-grid-item {
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--color-light);
}

.event-hlights-grid-item > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.event-hlights-grid-item-content {
  padding: 1rem;
}

@media (max-width: 768px) {
  .event-hlights-container {
    border-radius: 0 !important;
  }

  .event-hlights-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .event-hlights-grid {
    grid-template-columns: 1fr;
  }
}

/* Journey Section */
.journey {
  margin: 4rem 0;
}

.journey-headline {
  max-width: 48rem;
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 3.4rem;
}

.journey-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.journey-steps {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 2rem;
}

.journey-step {
  display: flex;
  justify-items: start;
  align-items: start;
  gap: 1rem;
}

.journey-step > div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.journey-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.journey-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.journey-step img {
  flex-shrink: 0;
}

.journey-step h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.journey-step p {
  margin: 0;
  color: #6b7280;
  line-height: 1.5;
}

.journey-image-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  background-color: var(--color-light-gray);
  padding: 1rem;
  border-radius: 1rem;
  gap: 1rem;
  min-height: 380px;
  max-width: 480px;
}

.journey-image-grid .grid-item {
  border-radius: 0.5rem;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 1.5rem;
  font-weight: 600;
  min-height: 120px;
  overflow: hidden;
}

.journey-image-grid .grid-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Event Matters */
/* .event-matters {
  padding: 2rem 0 4rem 0;
  margin: 2rem 0;
  background: linear-gradient(
      135deg,
      rgba(245, 250, 255, 0.8),
      rgba(232, 244, 253, 0.6)
    ),
    url("../assets/images/hero-pattern.jpg");
  background-size: cover;
  background-repeat: no-repeat;
} */

.event-matters {
  padding: 2rem 0 4rem 0;
  margin: 2rem 0;
  background-color:#dbe9f1 ; 
  background-size: cover;
  background-repeat: no-repeat;
}



.event-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.event-testimonial-card {
  position: relative;
}

.event-testimonial-card:nth-child(even) {
  margin-top: 5%;
}

.event-testimonial-card img {
  position: relative;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 2rem;
  object-fit: cover;
}

.event-testimonial-card .content {
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 0.25rem;
  background-color: var(--color-light);
}

.event-testimonial-card .content > h3 {
  margin-top: 1rem;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .event-testimonials {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }

  .journey-content {
    flex-direction: column-reverse;
  }

  .journey-image-grid {
    margin: 3rem 0;
    align-self: center;
    width: 100%;
    max-width: 100vw !important;
  }
}

/* Genotype Styling */
.genotype-container {
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 2rem;
}

.genotype-image {
  border-radius: 1rem;
  max-height: 260px;
  overflow: hidden;
}

.genotype-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.genotype-image.contain img {
  object-fit: contain;
}

.genotype-content {
  margin-left: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.genotype-content p {
  max-width: 420px;
}

@media (max-width: 1024px) {
  .genotype-container {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
  }

  .genotype-container > div {
    max-height: auto !important;
  }

  .genotype-content {
    margin-left: 0;
  }

  .genotype-content p {
    width: 90vw;
    max-width: 90vw;
  }
}

/* # Community */

.boofinder-community {
  background: rgba(184, 211, 227, 0.5);
  padding: 4rem 0;
}

.community-card {
  background-color: var(--color-gray);
  width: 100%;
  min-height: 300px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 0.5rem;
  border-bottom-right-radius: 8rem;
}

.community-card > div {
  width: 100%;
  height: 100%;
}

.community-card-image {
  max-height: 420px;
  overflow: hidden;
}

.community-card-image img {
  width: 100%;
  height: 100%;
}

.community-card-content {
  padding: 3rem;
  color: var(--color-light);
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.community-card-content p {
  font-weight: 400;
}

.community-card-author {
  font-weight: bold;
}

@media (max-width: 1024px) {
  .community-card {
    border-bottom-right-radius: 3rem;
  }
}

.waitlist {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
}

.waitlist-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.waitlist-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.waitlist-image img {
  margin-left: auto;
}

.waitlist-image-floating-ic {
  position: absolute;
  z-index: 10;
}

.waitlist-image-floating-ic:nth-child(1) {
  top: 20%;
  left: 40%;
  transform: translateX(-50%);
}

.waitlist-image-floating-ic:nth-child(2) {
  top: 35%;
  left: 30%;
  transform: translateX(-50%);
}

.waitlist-image-floating-ic:nth-child(3) {
  top: 50%;
  left: 20%;
  transform: translateX(-50%);
}

.waitlist-image-floating-ic:nth-child(4) {
  top: 65%;
  left: 37%;
  transform: translateX(-50%);
}

.waitlist-form-group label {
  display: inline-block;
}

.waitlist-form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.waitlist-form-group input {
  font-size: 1rem;
  background-color: transparent;
  border: 1px solid var(--color-dark);
  border-radius: 0.25rem;
  padding: 0.5rem;
}

.waitlist-form-button {
  align-self: center;
}

@media (max-width: 1024px) {
  .waitlist-image {
    display: none;
  }
}

/* Footer Styling */
footer {
  min-height: 30vh;
  background-color: var(--color-dark-blue);
  padding: 3rem 0;
  color: var(--color-light);
  border-top: 2px solid #c23157;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  gap: 3rem;
  align-items: start;
}

/* Logo and Social Media Section */

.footer-logo-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
}

.footer-logo img{
  max-width: 150px;
  margin-left: -30px;
}
@media (max-width: 900px) {
    .footer-logo img {
      width: 300px;
    }

    .footer-logo {
      display: flex;
      justify-content: center;
    }

    .footer-logo-social {
      display: flex;
      flex-direction: column;
      justify-content: center; 
  }
}
@media (max-width: 600px) {
    .footer-logo img {
      width: 300px;
    }

    .footer-logo {
      display: flex;
      justify-content: center;
    }

    .footer-logo-social {
      display: flex;
      flex-direction: column;
      justify-content: center; 
  }
}

.header-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.footer-logo {
 width: 100%;
 /* background-color: black; */
 display: flex;
 align-items: center;
 max-height: 100px;
}

.social-media {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  color: var(--color-light);
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

.follow-us {
  color: var(--color-light);
  font-size: 0.9rem;
  font-weight: bold;
  margin: 0;
}



/* Navigation and About Us Section */
.footer-nav-about {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--color-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--color-primary);
}

.about-us h4 {
  color: var(--color-light);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.about-us p {
  color: var(--color-light);
  line-height: 1.6;
  margin: 0;
}

/* Contact and Email Signup Section */
.footer-contact-signup {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-label {
  color: var(--color-light);
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-value {
  color: var(--color-light);
  font-size: 1rem;
}

.email-signup {
  position: relative;
}

.email-input {
  flex: 1;
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  background-color: var(--color-light);
  color: var(--color-dark);
}

.email-input::placeholder {
  color: #666;
}

.email-button {
  position: absolute;
  width: 3rem;
  height: 100%;
  z-index: 10;
  right: 0;
  top: 0;
  background-color: var(--color-primary);
  border: none;
  color: var(--color-light);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-light-blue);
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-nav {
    justify-content: center;
  }

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

  .footer-logo-social {
    align-items: center;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 2rem 0;
  }

  .footer-nav {
    gap: 1rem;
    justify-content: center;
  }

  .social-media {
    justify-content: center;
  }

  .email-signup {
    flex-direction: column;
  }

  .waitlist{
    padding: 4rem 0 2rem 0;
  }
}

/* Dress Code Section */
.dress-code-section {
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
}

.dress-code{
  margin-top: 4rem;
  padding-right: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.dress-code-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.dress-code-card {
  background: rgba(27, 152, 235, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dress-code-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(27, 152, 235, 0.2);
}

.dress-code-visual {
  flex-shrink: 0;
}

.dress-code-color {
  width: 80px;
  height: 80px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dress-code-color.white-top {
  background: var(--color-white);
  border: 2px solid #e5e7eb;
}

.dress-code-color.blue-top {
  background: var(--color-blue);
}

.dress-code-content {
  flex: 1;
}

.dress-code-genotype {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.dress-code-outfit {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.dress-code-description {
  font-size: 1rem;
  color: var(--color-gray);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .dress-code-section{
    flex-direction: column;
    align-items: start;
  }

  .dress-code{
    padding-right: 0;
  }

  .dress-code-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .dress-code-card {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .dress-code-color {
    width: 60px;
    height: 60px;
  }
  
  .dress-code-genotype {
    font-size: 1.1rem;
  }
  
  .dress-code-outfit {
    font-size: 1rem;
  }
  
  .dress-code-description {
    font-size: 0.9rem;
  }
}
