/* GLOBAL STYLES */

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}
.grid-2, .grid-3 {
  display: grid;
  gap: 30px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
h2 {
  font-size: 2rem;
  color:black;
  margin-bottom: 20px;
  text-align: center;
}
p {
  line-height: 1.7;
  color: #444;
}
.heading{
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color:#ffffff;
}

/* HERO */
.about-hero {
  background: none;
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-top: 90px; /* Pushes hero below fixed navbar */
}
.about-hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(rgba(30,60,114,0.55), rgba(118,75,162,0.45)), url('uploads/hero-labtest.jpg') center center/cover no-repeat;
  z-index: 1;
}
.about-hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}
.about-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
}
.about-hero-content p {
  font-size: 1.5rem;
  color: #ffd88b;
  font-weight:bold;
}

/* INTRO */
.about-intro {
  padding: 80px 0;
  background: #ffffff;
  text-align: center;
  border-bottom: 5px solid #f7f7f7;
}
.about-intro p {
  max-width: 850px;
  margin: 0 auto;
}

/* MISSION & VISION */
.mission-vision {
  background: linear-gradient(90deg, #fff 0%, #f8f8f8 100%);
  padding: 70px 0;
}
.mission, .vision {
  background: #fff;
  padding: 30px;
  border-left: 5px solid --gradient-primary;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.4s ease;
}
.mission:hover, .vision:hover {
  transform: scale(1.03);
}

/* WHY CHOOSE */
.why-choose {
  background:linear-gradient(135deg, #1e3c72 0%, #764ba2 100%);
  padding: 80px 0;
}
.features .feature-card {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.features .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.features i {
  font-size: 2rem;
  color: linear-gradient(135deg, #1e3c72 0%, #764ba2 100%);
  margin-bottom: 10px;
}

/* STRENGTHS */
.strengths {
  background: linear-gradient(180deg, #f9f9f9 0%, #fff 100%);
  padding: 80px 0;
}
.strength-card {
  background: #fff;
  border-top: 5px #764ba2 solid;
  padding: 25px;
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.strength-card:hover {
  background: #fff6f6;
  transform: translateY(-6px);
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #1e3c72 0%, #764ba2 100%);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}
.cta-section h2 {
  color: #fff;
}
.cta-text {
  margin: 15px 0;
  color:#ffffff;
}
.cta-btn {
  margin-top: 15px;
  background:#764ba2;
  color:#ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}
.cta-btn:hover {
  background: #667eea;
}

/* Footer */
.footer {
  background: #1a1a2e;
  color: #fff;
  padding: 60px 20px 30px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
}
.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #fff;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
  color: #ccc;
  transition: color 0.3s;
}
.footer-col ul li:hover {
  color: #ffcc00;
}
.footer-social a {
  color: #fff;
  margin-right: 10px;
  font-size: 1.2rem;
}
.hours span {
  color: #ff3b3b;
  font-weight: 600;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #233454;
  padding-top: 20px;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #aaa;
}

/* --- ANIMATIONS (Triggered via JS) --- */
.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.fade-section.show {
  opacity: 1;
  transform: translateY(0);
}

.card-animate {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s ease-out;
}
.card-animate.show {
  opacity: 1;
  transform: scale(1);
}

.slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}
.slide-up.show {
  opacity: 1;
  transform: translateY(0);
}

.rotate-in {
  opacity: 0;
  transform: rotateX(80deg);
  transition: all 0.7s ease-out;
}
.rotate-in.show {
  opacity: 1;
  transform: rotateX(0deg);
}
