/* ===== MHSI.com.ng — Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --blue: #1a4fa0;
  --blue-dark: #0f3470;
  --blue-deeper: #0d1b2a;
  --orange: #e8631a;
  --orange-light: #f5842e;
  --orange-dark: #c84e0e;
  --white: #ffffff;
  --light: #f8f9fa;
  --light-2: #eef1f5;
  --gray: #6c757d;
  --gray-light: #adb5bd;
  --dark: #212529;
  --shadow: 0 4px 24px rgba(0, 0, 0, .08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, .12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: .3s ease;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Utility ---------- */
.section-padding {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue-deeper);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 20px auto 0;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: .3px;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 99, 26, .35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--blue);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--blue-deeper);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, .15);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== HEADER ===== */
.header {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition);
  padding: 12px 0;
}

.header.scrolled {
  position: fixed;
  top: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 8px 0;
  animation: slideDown 0.35s ease forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Dual Logo — white text version for transparent, normal for scrolled */
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo img {
  height: 55px;
  transition: height var(--transition);
}

.header-logo .logo-dark {
  display: none;
}

.header-logo .logo-white {
  display: block;
}

.header.scrolled .header-logo .logo-dark {
  display: block;
}

.header.scrolled .header-logo .logo-white {
  display: none;
}

.header.scrolled .header-logo img {
  height: 45px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-weight: 500;
  font-size: .93rem;
  color: var(--white);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.header.scrolled .nav-links a {
  color: var(--dark);
}

.nav-links .btn-donate {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
}

.nav-links .btn-donate::after {
  display: none;
}

.nav-links .btn-donate:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all var(--transition);
}

.header.scrolled .hamburger span {
  background: var(--dark);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Top Bar */
.top-bar {
  background: var(--blue-deeper);
  padding: 8px 0;
  font-size: .85rem;
  color: rgba(255, 255, 255, .8);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 24px;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-right {
  display: flex;
  gap: 14px;
}

.top-bar-right a {
  color: rgba(255, 255, 255, .7);
  transition: color var(--transition);
}

.top-bar-right a:hover {
  color: var(--orange);
}

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13, 27, 42, .85) 0%, rgba(13, 27, 42, .5) 50%, rgba(13, 27, 42, .3) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-text {
  max-width: 650px;
  color: var(--white);
  animation: fadeInUp .8s ease;
}

.hero-text .label {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: .9;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Slider controls */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: all var(--transition);
}

.hero-dots .dot.active {
  background: var(--orange);
  transform: scale(1.2);
}

.hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 5;
}

.hero-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--white);
  font-size: 1.2rem;
  border: none;
}

.hero-arrow:hover {
  background: var(--orange);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--orange);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  font-family: var(--font-heading);
}

.about-image-badge span {
  display: block;
  font-size: 2rem;
}

.about-image-badge small {
  font-size: .8rem;
  font-weight: 400;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--blue-deeper);
  margin-bottom: 18px;
  line-height: 1.2;
}

.about-content>p {
  color: var(--gray);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 30px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(26, 79, 160, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-feature span {
  font-weight: 500;
  font-size: .95rem;
}

/* Stats */
.stats-bar {
  background: var(--blue);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
  justify-content: center;
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
}

.stat-item h3 .dot {
  color: var(--orange);
}

.stat-item p {
  color: rgba(255, 255, 255, .75);
  font-size: .95rem;
  margin-top: 4px;
}

/* Mission / Vision */
.mission-vision {
  background: var(--light);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mv-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}

.mv-card:hover {
  transform: translateY(-4px);
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--orange);
}

.mv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mv-card h3 .mv-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(26, 79, 160, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.mv-card p {
  color: var(--gray);
  font-size: .98rem;
}

/* ===== SERVICES ===== */
.services-section {
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  height: 240px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body .service-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(26, 79, 160, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 16px;
  margin-top: -42px;
  position: relative;
  z-index: 2;
  border: 3px solid var(--white);
}

.service-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--blue-deeper);
  margin-bottom: 10px;
}

.service-card-body p {
  color: var(--gray);
  font-size: .93rem;
  flex: 1;
}

.service-card-body .read-more {
  color: var(--orange);
  font-weight: 600;
  font-size: .9rem;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-body .read-more:hover {
  gap: 10px;
}

/* ===== PROJECTS ===== */
.projects-section {
  background: var(--white);
}

.project-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.project-filters button {
  padding: 8px 22px;
  border-radius: 50px;
  background: var(--light);
  color: var(--gray);
  font-weight: 500;
  font-size: .9rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.project-filters button.active,
.project-filters button:hover {
  background: var(--blue);
  color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card-img {
  height: 250px;
  overflow: hidden;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.project-card:hover .project-card-img img {
  transform: scale(1.08);
}

.project-card-body {
  padding: 24px;
  background: var(--white);
}

.project-card-body .tag {
  display: inline-block;
  background: rgba(26, 79, 160, .1);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--blue-deeper);
  margin-bottom: 8px;
  line-height: 1.4;
}

.project-card-body p {
  color: var(--gray);
  font-size: .88rem;
  line-height: 1.6;
}

/* ===== TEAM ===== */
.team-section {
  background: var(--blue-deeper);
  position: relative;
}

.team-section .section-title h2 {
  color: var(--white);
}

.team-section .section-title p {
  color: rgba(255, 255, 255, .6);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  text-align: center;
  transition: transform var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-card-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid rgba(255, 255, 255, .15);
  transition: border-color var(--transition);
}

.team-card:hover .team-card-img {
  border-color: var(--orange);
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.team-card p {
  color: rgba(255, 255, 255, .55);
  font-size: .85rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--light);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 40px;
}

.testimonial-slide.active {
  display: block;
  animation: fadeInUp .5s ease;
}

.testimonial-slide .quote-icon {
  font-size: 3rem;
  color: var(--orange);
  margin-bottom: 16px;
  opacity: .6;
}

.testimonial-slide blockquote {
  font-size: 1.1rem;
  color: var(--dark);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-slide .author {
  font-weight: 600;
  color: var(--blue);
}

.testimonial-slide .role {
  color: var(--gray);
  font-size: .9rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-light);
  cursor: pointer;
  transition: background var(--transition);
}

.testimonial-dots .dot.active {
  background: var(--orange);
}

/* ===== IMPACT STEPS ===== */
.impact-section {
  background: var(--white);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.impact-card {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.impact-card .step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.impact-card:nth-child(even) .step-num {
  background: var(--orange);
}

.impact-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--blue-deeper);
  margin-bottom: 10px;
}

.impact-card p {
  color: var(--gray);
  font-size: .9rem;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 60%, var(--orange) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, .04);
  border-radius: 50%;
  top: -200px;
  right: -100px;
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.newsletter-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 8px;
}

.newsletter-text p {
  color: rgba(255, 255, 255, .8);
  font-size: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
  min-width: 400px;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border-radius: 50px 0 0 50px;
  font-size: .95rem;
  background: var(--white);
}

.newsletter-form button {
  padding: 16px 30px;
  border-radius: 0 50px 50px 0;
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--orange-dark);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--blue-deeper);
  padding: 60px 0 0;
  color: rgba(255, 255, 255, .7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.footer-about p {
  font-size: .92rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition);
  font-size: .9rem;
}

.footer-social a:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, .7);
  font-size: .92rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .92rem;
}

.footer-contact .icon {
  color: var(--orange);
  font-size: 1rem;
  margin-top: 3px;
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  font-size: .85rem;
}

.footer-bottom a {
  color: var(--orange);
}

/* ===== PAGE HERO (Inner Pages) ===== */
.page-hero {
  min-height: 400px;
  padding: 120px 0 60px;
  background: var(--blue-deeper) url('images/team-group-photo.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-deeper) 0%, rgba(13, 27, 42, 0.9) 100%);
  opacity: .85;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 10px;
}

.page-hero .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, .6);
  font-size: .95rem;
}

.page-hero .breadcrumb a {
  color: var(--orange);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--blue);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--white);
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: .9rem;
  opacity: .8;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--blue-deeper);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: .9rem;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--light-2);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  transition: border-color var(--transition);
  background: var(--light);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ===== SERVICES DETAIL (Inner Page) ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--light-2);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even)>* {
  direction: ltr;
}

.service-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 350px;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--blue-deeper);
  margin-bottom: 14px;
}

.service-detail-content p {
  color: var(--gray);
  font-size: .96rem;
  margin-bottom: 12px;
}

.service-detail-content ul {
  padding-left: 0;
}

.service-detail-content ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--gray);
  font-size: .93rem;
}

.service-detail-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width:1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:768px) {
  .top-bar {
    display: none;
  }

  .header {
    padding: 15px 0;
    transition: all var(--transition);
    background: transparent;
    box-shadow: none;
  }

  .header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 10px 0;
  }

  .header .nav-links a {
    color: var(--white);
  }

  .header.scrolled .nav-links a {
    color: var(--dark);
  }

  /* Handle logo visibility on mobile */
  .header-logo .logo-white {
    display: block;
  }

  .header-logo .logo-dark {
    display: none;
  }

  .header.scrolled .header-logo .logo-white {
    display: none;
  }

  .header.scrolled .header-logo .logo-dark {
    display: block;
  }

  .hamburger {
    display: flex;
  }

  .hamburger span {
    background: var(--white);
  }

  .header.scrolled .hamburger span {
    background: var(--dark);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 60px 30px 30px;
    gap: 20px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, .1);
    transition: right var(--transition);
  }

  .nav-links a {
    color: var(--dark) !important;
  }

  .nav-links.open {
    right: 0;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero {
    min-height: 500px;
    height: auto;
    padding: 150px 0 60px;
  }

  .hero-content {
    position: relative;
  }

  .hero-arrows {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    min-width: 0;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .page-hero {
    min-height: 350px;
    padding: 100px 0 50px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width:480px) {
  .hero-text h1 {
    font-size: 1.6rem;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: 50px;
  }

  .newsletter-form button {
    border-radius: 50px;
  }
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .4);
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 100px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--orange);
  transform: translateY(-3px);
}