@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Stencil:opsz,wght@10..72,100..900&family=Dancing+Script:wght@400..700&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Outfit:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

h2 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: navy;
}

.navbar {
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 70px;
  width: auto;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.navbar-nav .nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: #000080;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: rgb(253, 192, 77);
}

.navbar-nav .nav-link.active {
  color: rgb(253, 192, 78);
}

.hero {
  background: url(../images/aboutimg.png) center center/cover no-repeat;
  height: 100vh;
  color: white;
  padding: 12rem 2rem 8rem;
  text-align: center;
}

.hero h1 {
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: 4rem; /* 64px */
  font-weight: 700; /* Bold */
  letter-spacing: 2px;
  color: #000080;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero p {
  font-family: "Open Sans", "Roboto", sans-serif;
  font-size: 1.5rem; /* 24px */
  font-weight: 500; /* Medium */
  line-height: 1.6;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1s 0.2s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Page Section */
.about-page-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about-page-section h1 {
  font-size: 3rem;
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.about-page-section > p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 4rem;
}

/* Mission, Vision, Core Values Boxes */
.values-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-box {
  background: #f8f9fa;
  padding: 3rem 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.value-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.value-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.value-box h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 1rem;
  font-weight: 600;
}

.value-box p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
}

/* Centered heading wrapper */
.heading-wrapper {
  text-align: center;
  margin-bottom: 1.5rem;
}

.heading-wrapper .pill-heading {
  display: inline-flex;
  margin-bottom: 0.8rem;
}

.heading-wrapper h1 {
  font-size: 2rem;
  color: #1a1a1a;
  margin: 0;
}

/* Pill-style heading */
.pill-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #e8f0fe;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #000080;
  margin-bottom: 1rem;
}

.pill-heading::before {
  content: "◆";
  font-size: 0.8rem;
  color: rgb(255, 196, 86);
}

/* Why Us Section */
.why-us-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 3rem 1rem;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

/* Vertical Card */
.why-card.vertical {
  text-align: center;
}

.why-card.vertical .why-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.why-card.vertical h3 {
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.why-card.vertical p {
  color: #666;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Horizontal Card */
.why-card.horizontal {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.why-card.horizontal .why-icon {
  font-size: 3.5rem;
  flex-shrink: 0;
}

.why-card.horizontal .why-content h3 {
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.why-card.horizontal .why-content p {
  color: #666;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Footer Section */
footer {
  background: #000080;
  color: #fff;
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: rgb(247, 179, 53);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: bold;
}

.footer-column p {
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00d4ff;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.contact-item span {
  font-size: 1.2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #2a2a3e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.social-links a:hover {
  background: #00d4ff;
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #2a2a3e;
  text-align: center;
  color: #ccc;
}

/* START WHATSAPP */
/* WhatsApp Widget Styles */
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-button {
  background: #25d366;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  position: relative;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button svg {
  width: 24px;
  height: 24px;
  fill: white;
  flex-shrink: 0;
}

.button-text {
  color: white;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.notification-dot {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 14px;
  height: 14px;
  background: #ff3333;
  border-radius: 50%;
  border: 2px solid white;
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(255, 51, 51, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 51, 51, 0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3),
      0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
}

.whatsapp-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: scale(0);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: bottom right;
}

.whatsapp-popup.active {
  transform: scale(1);
  opacity: 1;
}

.popup-header {
  background: #25d366;
  color: white;
  padding: 16px 20px;
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.popup-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}

.popup-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.popup-info p {
  font-size: 13px;
  opacity: 0.9;
}

.popup-body {
  padding: 20px;
}

.popup-message {
  background: #f0f0f0;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

.popup-actions {
  display: flex;
  gap: 10px;
}

.popup-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.popup-btn.primary {
  background: #25d366;
  color: white;
}

.popup-btn.primary:hover {
  background: #22c55e;
  transform: translateY(-1px);
}

.popup-btn.secondary {
  background: #f3f4f6;
  color: #6b7280;
}

.popup-btn.secondary:hover {
  background: #e5e7eb;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 968px) {
  .values-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgb(0, 0, 128);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .hero {
    padding: 8rem 2rem 5rem;
  }

  .hero h1 {
    margin-top: 90px;
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
  .values-container {
    grid-template-columns: 1fr;
  }

  .about-page-section h1 {
    font-size: 2rem;
  }

  .about-page-section > p {
    font-size: 1rem;
  }

  .values-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .value-box {
    padding: 2rem 1.5rem;
  }

  .value-icon {
    font-size: 3rem;
  }

  .value-box h2 {
    font-size: 1.5rem;
  }

  .value-box p {
    font-size: 1rem;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .why-card.horizontal {
    flex-direction: column;
    text-align: center;
  }

  .why-card.horizontal .why-icon {
    font-size: 3rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
