html{scroll-behavior:smooth}

/* 2 about cards */
.about-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/aboutus.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  text-align: center;
  height: 60vh;
}

.about-section h1 {
  color: white;
  font-size: 3.5rem; /* good large heading size */
  margin-bottom: 20px;
  font-weight: bold;
}

.about-section p {
  color: white;
  font-family: cursive;
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-section strong {
  font-weight: bold;
}

/* 📱 Mobile adjustments */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    gap: 20px;
    padding: 50px 10px;
  }
  .about-section h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .about-section p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
}

/* Our Story Section */
.our-story-section {
  padding: 60px 20px;
  background: #fff;
  font-family: 'Poppins', sans-serif;
}

.story-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.story-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  object-fit: cover;
  border: 6px solid #333; /* Frame border color */
  padding: 4px; /* Space inside frame */
  background: white; /* Inner frame background */
  box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Soft shadow */
}


.story-content {
  flex: 1;
}

.story-subtitle {
  font-family: 'Pacifico', cursive;
  font-size: 1rem;
  font-weight: bold;
  color: #000;
}

.story-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin: 10px 0 20px;
  font-weight: bold;
  color: #222;
}

.story-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  max-width: 650px; /* keeps line length consistent */
  text-align: justify; /* makes lines equal width */
  margin-bottom: 15px;
}

.connect-title {
  font-family: 'Pacifico', cursive;
  font-size: 1.2rem;
  margin-top: 20px;
  font-weight: bold;
}

.social-icons {
  margin-top: 10px;
  font-weight: bold;
}

.social-icons a {
  font-size: 1.3rem;
  color: #000;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #1b78c7; /* Theme color */
}

/* Responsive */
@media (max-width: 768px) {
  .story-container {
    flex-direction: column;
    text-align: center;
  }

  .story-image img {
    max-width: 100%;
  }
}
/* Responsive for tablets */
@media (max-width: 992px) {
  .story-title {
    font-size: 2.4rem;
  }
  .story-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .our-story-section {
    padding: 40px 15px;
  }

  .story-container {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .story-image img {
    max-width: 100%;
    border-width: 4px; /* thinner frame on mobile */
    padding: 3px; /* adjust inner spacing */
  }

  .story-subtitle {
    font-size: 0.9rem;
  }

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

  .story-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 100%;
    text-align: justify;
    margin: 0 auto;
  }

  .connect-title {
    font-size: 1rem;
  }

  .social-icons a {
    font-size: 1.1rem;
    margin-right: 10px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .story-title {
    font-size: 1.6rem;
  }

  .story-subtitle {
    font-size: 0.85rem;
  }

  .story-content p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .social-icons a {
    font-size: 1rem;
    margin-right: 8px;
  }
}



.custom-about-section {
  background: url('images/hero4.jpg') center/cover no-repeat;
  position: relative;
  padding: 60px 20px;
}

.custom-about-overlay {
  background: rgba(0, 0, 0, 0.4);
  padding: 60px 0;
}

.custom-about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.custom-about-card {
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 40px 30px;
  flex: 1 1 calc(50% - 40px);
  min-width: 300px;
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  overflow: hidden;
  transition: all 0.3s ease;
}

.custom-about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.custom-about-number {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 120px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 0;
}

.custom-about-title {
  position: relative;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  z-index: 1;
}

.custom-about-text {
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  z-index: 1;
}

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

/* Tablet */
@media (max-width: 992px) {
  .custom-about-container {
    gap: 30px;
  }
  .custom-about-title {
    font-size: 24px;
  }
  .custom-about-number {
    font-size: 90px;
  }
  .custom-about-text {
    font-size: 15px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .custom-about-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .custom-about-card {
    flex: 1 1 100%;
    padding: 30px 20px;
  }
  .custom-about-title {
    font-size: 22px;
  }
  .custom-about-number {
    font-size: 70px;
    top: 15px;
  }
  .custom-about-text {
    font-size: 14px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .custom-about-section {
    padding: 40px 15px;
  }
  .custom-about-card {
    padding: 25px 15px;
  }
  .custom-about-title {
    font-size: 20px;
  }
  .custom-about-number {
    font-size: 55px;
  }
  .custom-about-text {
    font-size: 13px;
  }
}



