/*
 * Project: Oocyte Bank System
 * File: assets/css/style.css
 * Description: Custom styling for header, nav, and layout
 * Author: UMID Infotech
 * Created: 2025-09-26
 */
/* =============================
   HEADER
   ============================= */
.top-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.logo-box img { max-height: 55px; }

.header-spacer { height: 65px; }

.nav-link {
  font-weight: 500;
  color: #333;
}

.nav-link:hover { color: #0d6efd; }

/* =============================
   LANGUAGE OPTIONS
   ============================= */
.lang-option {
  color: #980018;
  text-decoration: none;
  display: inline-block;
  animation: pulseLang 1.5s infinite alternate ease-in-out;
  transition: color 0.3s ease;
}

.lang-option:nth-child(1) { animation-delay: 0s; }
.lang-option:nth-child(3) { animation-delay: 0.3s; }
.lang-option:nth-child(5) { animation-delay: 0.6s; }

.lang-option:hover {
  animation-play-state: paused;
  color: #e91e63;
}

@keyframes pulseLang {
  0% { transform: scale(1); }
  100% { transform: scale(1.3); }
}

/* =============================
   HERO (Art Hero Parallax)
   ============================= */
.art-hero-parallax {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10%;
  background: url("../img/art-home-hero.png") center/cover no-repeat fixed;
  color: #fff;
  text-align: left;
  overflow: hidden;
}

.art-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

.art-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.art-hero-heading {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.art-hero-subheading {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ff4081;
  margin-bottom: 1.5rem;
  background: yellow;
  padding: 10px;
  border-radius: 25px;
}

.art-hero-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #e0e0e0;
}

.art-hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-red { background: #e53935; color: #fff; }
.btn-red:hover { background: #c62828; transform: translateY(-2px); }

.btn-green { background: #2e7d32; color: #fff; }
.btn-green:hover { background: #1b5e20; transform: translateY(-2px); }

.art-hero-tagline {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 0.5rem;
  color: #f8f8f8;
  font-style: italic;
}

/* =============================
   HERO (Video Background)
   ============================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: -1;
}

.hero-content {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
  width: 55%;
}

.hero-title span { font-weight: 700 !important; }

.home-hero-tag {
  color: brown;
  background: #fbe3bf;
  border: 5px solid;
  border-radius: 25px;
  padding: 5px;
  font-size: 50px;
}

.hero-content p { text-align: justify; }

/* =============================
   ABOUT
   ============================= */
.about-section { background: #fafafa; }

.about-text {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-image-frame {
  width: 320px; height: 320px;
  border-radius: 50%;
  padding: 10px;
  background: linear-gradient(135deg, #980018, #ff416c);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(152,0,24,0.25);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image-frame:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(152,0,24,0.35);
}

.about-image {
  width: 90%; height: 90%;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #fff;
}

/* =============================
   COUNTER
   ============================= */
.counter-section { background: #fff; }

.heading-underline {
  width: 70px;
  height: 4px;
  background: #e91e63;
  border-radius: 2px;
}

.counter-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.counter-icon {
  width: 100px; height: 100px;
  margin: 0 auto;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(152,0,24,0.2);
}

.counter-icon img { width: 60%; height: auto; }

.counter-num {
  font-size: 2rem;
  font-weight: 700;
  color: #980018;
  margin: 15px 0 5px;
}

.counter-text {
  font-size: 1rem;
  color: #555;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* =============================
   PARALLAX HERO (Oocyte/Sperm)
   ============================= */
.parallax-hero,
.sperm-hero {
  position: relative;
  height: 100vh;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-hero {
  background: url('../img/home-oocyte-hero.png') center/cover no-repeat;
}
.sperm-hero {
  background: url('../img/home-sperm-hero.png') center/cover no-repeat;
}

.parallax-hero::before,
.sperm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

.parallax-hero .container,
.sperm-hero .container { position: relative; z-index: 2; }

.hero-quote h1 { font-size: 2.5rem; line-height: 1.3; }
.hero-quote p { font-size: 1.25rem; font-weight: 300; }

/* =============================
   SERVICES
   ============================= */
.services-section { background: #f9f9f9; }

.service-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  width: 80%;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img { height: auto; object-fit: cover; }

.service-check { color: #e91e63; }

/* Who We Serve Enhancements */
.serve-section .service-card {
  border-radius: 18px;
  overflow: hidden;
  height: 450px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.serve-section .service-card img {
  height: 100%; width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.serve-section .service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.3);
}

.serve-section .service-card:hover img { transform: scale(1.08); }

.card-img-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.85), #00000047);
}

/* =============================
   HOW IT WORKS
   ============================= */
.how-it-works .step-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  min-height: 280px;
}

.how-it-works .step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.how-it-works .step-number {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #e91e63, #ff4081);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.3rem;
  margin: 0 auto 15px;
  box-shadow: 0 0 10px rgba(233,30,99,0.5);
}

.how-it-works .step-arrow {
  font-size: 2rem;
  font-weight: bold;
  color: #980018;
  line-height: 1;
  margin: 0 20px;
}

/* =============================
   CONTACT
   ============================= */
.contact-section { background: #fafafa; }

.contact-form .form-label { font-weight: 500; }

.contact-form input,
.contact-form select { border-radius: 8px; }

.contact-form button {
  border-radius: 25px;
  padding: 12px;
  font-weight: 600;
}

.contact-section .fa { color: #980018; }

/* =============================
   RESULT CARDS
   ============================= */
.result-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.result-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* =============================
   FOOTER
   ============================= */
.site-footer { background: #111; color: #fff; }

.footer-link {
  color: #ddd;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s ease;
}

.footer-link:hover { color: #e91e63; }

.footer-social {
  display: inline-block;
  color: #ddd;
  margin-left: 12px;
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social:hover {
  color: #e91e63;
  transform: translateY(-3px);
}


/* =============================
   MEDIA QUERIES
   ============================= */

 
/* Extra small devices (phones, <576px) */
/* Small devices (≥576px and ≤767px) */
@media (min-width: 0px) and (max-width : 575px) {
.art-hero-heading{font-size:25px;}
}


@media (max-width: 575px) {
  .art-hero-heading { font-size: 1.6rem; }
  .art-hero-subheading { font-size: 1.2rem; }
  .how-it-works .step-number { width: 42px; height: 42px; font-size: 1rem; }
  .home-hero-tag { font-size: 24px !important; border-radius: 12px !important; }
}

/* Small devices (≥576px and ≤767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .art-hero-heading { font-size: 2.3rem; }
  .art-hero-subheading { font-size: 1.3rem; }
  .how-it-works .step-number { width: 46px; height: 46px; font-size: 1rem; }
}

/* Medium devices (≥768px and ≤991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .art-hero-parallax { padding-left: 5%; text-align: center; justify-content: center; background-attachment: scroll; }
  .art-hero-heading { font-size: 2.5rem; }
  .art-hero-subheading { font-size: 1.4rem; }
  .art-hero-buttons { justify-content: center; }
  .how-it-works .step-arrow { display: none !important; }
  .hero-content { width: auto !important; }
  .home-hero-tag { font-size: 30px !important; border-radius: 15px !important; }
  .card-img-overlay {padding:5px !important;}
  .card-img-overlay p,.card-img-overlay h3 , .card-img-overlay h5{ 
      margin-bottom:0px !important
      
  }
  .service-card{width:100% !important}
}

/* Large devices (≥992px and ≤1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-content { width: 60%; }
}

/* Extra large devices (≥1200px and ≤1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .hero-content { width: 55%; }
}

/* XXL devices (≥1400px) */
@media (min-width: 1400px) {
  .hero-content { width: 50%; }
}
