/* ---------------- GLOBAL STYLE ---------------- */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
              linear-gradient(-45deg, #1E3A8A, #2563EB, #1D4ED8, #0EA5E9);
  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite;
  color: #fff;
  min-height: 100vh;
}

/* Animated gradient keyframes */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

nav a.active, nav a:hover {
  border-bottom: 2px solid #fff;
}

.hero {
  text-align: center;
  padding: 5rem 2rem;
}

.hero h1 {
  font-size: 3rem;
}

.btn {
  display: inline-block;
  background: #2563EB;
  padding: 10px 20px;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 1rem;
}

.content {
  padding: 3rem 2rem;
}

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

input, textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
}

button {
  background: #2563EB;
  border: none;
  padding: 12px;
  color: #fff;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
}

/* ---------------- ABOUT PAGE ---------------- */

/* About Hero */
.about-hero {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(0,0,0,0.85)),
              url('images/about-bg.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.about-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1.8s ease forwards;
}

.about-hero p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  color: #e0e7ff;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1.8s ease forwards;
  animation-delay: 0.6s;
}

/* Reusable Hero Fade-in Animation */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 2rem;
}

.about-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #60A5FA;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #f1f5f9;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

/* Values Section */
.values-section {
  text-align: center;
  padding: 5rem 2rem;
  background: rgba(0,0,0,0.4);
}

.values-section h2 {
  font-size: 2.8rem;
  margin-bottom: 2.5rem;
  font-family: 'Montserrat', sans-serif;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: sectionFadeIn 1s ease forwards;
  animation-delay: 0.4s;
}

.value-card:nth-child(2) { animation-delay: 0.6s; }
.value-card:nth-child(3) { animation-delay: 0.8s; }
.value-card:nth-child(4) { animation-delay: 1s; }

.value-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #60A5FA;
}

.value-card h3 {
  display: flex;
  align-items: center;
  justify-content: center; /* ✅ centers the heading horizontally */
  gap: 0.5rem;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  text-align: center; /* ✅ ensures text stays centered even if it wraps */
  color: #fff; /* optional for consistent clarity */
}


.value-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #e5e7eb;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.small-icon {
  font-size: 1.2rem;
  color: #60A5FA;
}

/* Responsive About */
@media (max-width: 1024px) {
  .about-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-image {
    order: -1;
  }
}

/* ---------------- SECTION ANIMATIONS ---------------- */

/* General reusable fade/slide animation */
@keyframes sectionFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply to major homepage sections and footer */
.hero, 
.content, 
.values-section, 
footer {
  opacity: 0;
  transform: translateY(30px);
  animation: sectionFadeIn 1.2s ease forwards;
}

.hero { animation-delay: 0.3s; }
.content { animation-delay: 0.6s; }
.values-section { animation-delay: 0.9s; }
footer { animation-delay: 1.2s; }

/* ---------------- FOOTER ---------------- */
footer {
  background: rgba(0, 0, 0, 0.85);
  padding: 2rem 1.5rem;
  text-align: center;
  color: #fff;
  font-size: 0.95rem;
  margin-top: 3rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.footer-copy {
  font-size: 0.9rem;
  opacity: 0.85;
}

.footer-contact {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-contact a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #60A5FA;
}

.footer-contact i {
  margin-right: 0.5rem;
  color: #60A5FA;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}

.social-links a {
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  color: #fff;
}

.social-links a:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

/* Brand-specific colours */
.social-links .whatsapp:hover {
  background: #25D366;
  color: #fff;
}

.social-links .tiktok:hover {
  background: #000;
  color: #FF0050;
}

.social-links .instagram:hover {
  background: radial-gradient(circle at 30% 107%, 
              #fdf497 0%, #fdf497 5%, #fd5949 45%, 
              #d6249f 60%, #285AEB 90%);
  color: #fff;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-contact {
    flex-direction: column;
    gap: 0.8rem;
  }
}

/* ---------------- SERVICES PAGE ---------------- */

/* Services Hero */
.services-hero {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(0,0,0,0.85)),
              url('images/services-bg.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.services-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1.5s ease forwards;
}

.services-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1.5s ease forwards;
  animation-delay: 0.5s;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ✅ Force 4 columns on desktop */
  gap: 2rem;
  margin-top: 3rem;
}

/* Responsive adjustment for tablets */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

/* Responsive adjustment for mobile */
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}


.service-card {
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: sectionFadeIn 1.2s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.4s; }
.service-card:nth-child(2) { animation-delay: 0.6s; }
.service-card:nth-child(3) { animation-delay: 0.8s; }
.service-card:nth-child(4) { animation-delay: 1s; }
.service-card:nth-child(5) { animation-delay: 1.2s; }
.service-card:nth-child(6) { animation-delay: 1.4s; }
.service-card:nth-child(7) { animation-delay: 1.6s; }
.service-card:nth-child(8) { animation-delay: 1.8s; }


.service-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #60A5FA;
}

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #e5e7eb;
}

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

/* ---------------- CONTACT PAGE ---------------- */

.contact-hero {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(0,0,0,0.85)),
              url('images/contact-bg.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.contact-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1.5s ease forwards;
}

.contact-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1.5s ease forwards;
  animation-delay: 0.5s;
}

.contact-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.contact-form, .contact-info {
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(30px);
  animation: sectionFadeIn 1.2s ease forwards;
}

.contact-form { animation-delay: 0.4s; }
.contact-info { animation-delay: 0.6s; }

.contact-form h2, .contact-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #60A5FA;
}

.contact-form label {
  font-weight: 600;
  margin-top: 0.5rem;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.6;
  color: #e5e7eb;
  margin-bottom: 1rem;
}

.contact-info i {
  margin-right: 0.6rem;
  color: #60A5FA;
}

.contact-note {
  font-style: italic;
  font-size: 0.95rem;
  color: #9CA3AF;
  margin-top: 1rem;
}

/* Responsive Contact */
@media (max-width: 1024px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
}

/* ---------------- FOOTER LINKS (Privacy + Terms) ---------------- */
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-links a:hover {
  color: #60A5FA;
  text-shadow: 0 0 8px rgba(96, 165, 250, 0.6);
}

/* Make sure spacing is balanced on smaller devices */
@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 0.4rem;
  }
}
