/* ===== IDM GLOBAL STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-purple: #6B3FA0;
  --primary-green: #7CB342;
  --dark-purple: #4A2C6A;
  --light-purple: #9B6DC6;
  --dark-green: #558B2F;
  --light-green: #AED581;
  --white: #FFFFFF;
  --off-white: #F8F6FA;
  --light-gray: #E8E4EC;
  --dark-gray: #333333;
  --text-color: #2D2D2D;
  --shadow: 0 4px 20px rgba(107, 63, 160, 0.15);
  --shadow-hover: 0 8px 30px rgba(107, 63, 160, 0.25);
  --transition: all 0.3s ease;
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.7;
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark-purple);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-transform: capitalize;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(107, 63, 160, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(107, 63, 160, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(124, 179, 66, 0.4);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(124, 179, 66, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-purple);
  color: var(--primary-purple);
}

.btn-outline:hover {
  background: var(--primary-purple);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary-purple);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  transition: var(--transition);
  padding: 15px 0;
}

.header.scrolled {
  box-shadow: var(--shadow);
  padding: 10px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-purple);
  line-height: 1.2;
}

.logo-text .tagline {
  font-size: 0.75rem;
  color: var(--primary-green);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-menu a {
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  padding: 5px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-purple);
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-ctas .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-purple);
  border-radius: 3px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 350px;
  height: 100vh;
  background: var(--white);
  box-shadow: -5px 0 30px rgba(0,0,0,0.15);
  transition: var(--transition);
  z-index: 1001;
  padding: 80px 30px 30px;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-purple);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu nav a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-color);
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
}

.mobile-menu nav a:hover,
.mobile-menu nav a.active {
  color: var(--primary-purple);
}

.mobile-menu .btn {
  margin-top: 20px;
  width: 100%;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--light-purple) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 150%;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
  border-radius: 50%;
  opacity: 0.1;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-purple);
  margin-bottom: 25px;
  box-shadow: var(--shadow);
  animation: fadeInUp 0.8s ease;
}

.hero-badge i {
  color: var(--primary-green);
}

.hero h1 {
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero h1 span {
  color: var(--primary-green);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--dark-gray);
  margin-bottom: 35px;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-ctas {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  animation: fadeInUp 0.8s ease 0.8s backwards;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-purple);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-top: 5px;
}

.hero-image {
  position: relative;
  z-index: 2;
  animation: fadeInRight 1s ease;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
}

.hero-image-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary-green);
  border-radius: 20px;
  top: 20px;
  left: 20px;
  z-index: -1;
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--light-purple) 0%, var(--primary-purple) 100%);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  margin-bottom: 15px;
}

.section-header p {
  color: var(--dark-gray);
  font-size: 1.1rem;
}

.bg-light {
  background: var(--off-white);
}

.bg-purple {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
}

.bg-purple h2,
.bg-purple h3,
.bg-purple p,
.bg-purple .section-badge {
  color: var(--white);
}

.bg-purple .section-badge {
  background: rgba(255,255,255,0.2);
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 35px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--light-purple) 0%, var(--primary-purple) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 20px;
}

.card-icon.green {
  background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-green) 100%);
}

.card h4 {
  margin-bottom: 12px;
}

.card p {
  color: var(--dark-gray);
  font-size: 0.95rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* ===== WHY IDM SECTION ===== */
.why-idm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  text-align: center;
  padding: 40px 30px;
}

.why-card .card-icon {
  margin: 0 auto 20px;
}

/* ===== PROGRAMME SECTION ===== */
.programme-timeline {
  position: relative;
  padding: 40px 0;
}

.programme-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-purple), var(--primary-green));
  transform: translateX(-50%);
  border-radius: 2px;
}

.phase-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.phase-item:nth-child(odd) {
  flex-direction: row;
}

.phase-item:nth-child(even) {
  flex-direction: row-reverse;
}

.phase-content {
  width: 45%;
  background: var(--white);
  padding: 35px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.phase-content:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.phase-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
  z-index: 2;
}

.phase-content h4 {
  color: var(--primary-purple);
  margin-bottom: 10px;
}

.phase-content .duration {
  display: inline-block;
  background: var(--light-green);
  color: var(--dark-green);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
}

/* ===== WHAT WE DO SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  display: flex;
  gap: 25px;
  padding: 35px;
}

.service-card .card-icon {
  flex-shrink: 0;
}

/* ===== WHY JOIN SECTION ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.benefit-card {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}

.benefit-card:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-5px);
}

.benefit-card i {
  font-size: 2.5rem;
  color: var(--light-green);
  margin-bottom: 20px;
}

.benefit-card h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ===== FOUNDER SECTION ===== */
.founder-section {
  position: relative;
}

.founder-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: center;
}

.founder-image {
  position: relative;
}

.founder-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  width: 100%;
}

.founder-image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary-green);
  border-radius: var(--border-radius);
  bottom: -20px;
  right: -20px;
  z-index: -1;
}

.founder-content h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.founder-title {
  color: var(--primary-green);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.founder-content p {
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.founder-quote {
  background: var(--off-white);
  padding: 25px 30px;
  border-left: 4px solid var(--primary-purple);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  margin: 30px 0;
  font-style: italic;
  color: var(--dark-purple);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 35px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary-purple);
}

.cta-section .btn-primary:hover {
  background: var(--off-white);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-purple);
  color: var(--white);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-green);
  transform: translateY(-3px);
}

.footer-column h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-green);
  border-radius: 2px;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-column ul li a:hover {
  color: var(--primary-green);
  padding-left: 5px;
}

.footer-column ul li a i {
  font-size: 0.8rem;
  color: var(--primary-green);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.8);
}

.footer-contact li i {
  color: var(--primary-green);
  margin-top: 5px;
}

.footer-scripture {
  text-align: center;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-scripture p {
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 700px;
  margin: 0 auto;
}

.footer-scripture cite {
  display: block;
  margin-top: 10px;
  color: var(--primary-green);
  font-weight: 600;
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom a {
  color: var(--primary-green);
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: var(--transition);
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 15px rgba(37, 211, 102, 0.1); }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ===== COUNTER ANIMATION ===== */
.counter {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-purple);
}

/* ===== FORM STYLES ===== */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-purple);
}

.form-group label .required {
  color: #e74c3c;
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 4px rgba(107, 63, 160, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B3FA0' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 45px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-purple);
  margin-top: 3px;
  flex-shrink: 0;
}

.form-message {
  padding: 15px 20px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  display: none;
}

.form-message.success {
  background: rgba(124, 179, 66, 0.1);
  border: 1px solid var(--primary-green);
  color: var(--dark-green);
  display: block;
}

.form-message.error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  color: #c0392b;
  display: block;
}

/* ===== PAGE HEADERS ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 15px;
  position: relative;
}

.page-header p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  position: relative;
}

.breadcrumb a,
.breadcrumb span {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.breadcrumb a:hover {
  color: var(--primary-green);
}

.breadcrumb span.current {
  color: var(--primary-green);
}

/* ===== ABOUT PAGE ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-content h2 {
  margin-bottom: 20px;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.vm-card {
  padding: 40px;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}

.vm-card.vision {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
  color: var(--white);
}

.vm-card.mission {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: var(--white);
}

.vm-card i {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.8;
}

.vm-card h3 {
  color: var(--white);
  margin-bottom: 15px;
}

.vm-card p {
  font-size: 1.05rem;
  opacity: 0.95;
}

.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.belief-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.belief-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.belief-item i {
  font-size: 1.5rem;
  color: var(--primary-purple);
  flex-shrink: 0;
}

.belief-item p {
  margin: 0;
  font-weight: 500;
}

.discipleship-approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.approach-card {
  text-align: center;
  padding: 40px 30px;
}

.approach-card .step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-purple);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 20px;
}

/* ===== PROGRAMS PAGE ===== */
.program-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.program-card.flagship {
  border: 3px solid var(--primary-purple);
}

.program-header {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
  padding: 30px;
  color: var(--white);
}

.program-header.green {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
}

.program-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.program-header h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.program-header p {
  opacity: 0.9;
  margin: 0;
}

.program-body {
  padding: 30px;
}

.program-body h4 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--primary-purple);
}

.program-body ul {
  margin-bottom: 25px;
}

.program-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.program-body ul li i {
  color: var(--primary-green);
  margin-top: 5px;
}

.program-footer {
  padding: 0 30px 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ===== GET INVOLVED PAGE ===== */
.involvement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.involvement-card {
  padding: 40px;
  position: relative;
}

.involvement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-purple), var(--primary-green));
  border-radius: 5px 0 0 5px;
}

.involvement-card .card-icon {
  margin-bottom: 25px;
}

.involvement-card h3 {
  margin-bottom: 15px;
}

.involvement-card p {
  margin-bottom: 25px;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
  padding: 40px;
  border-radius: var(--border-radius);
  color: var(--white);
  height: fit-content;
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-item i {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 5px;
}

.contact-info-item p {
  opacity: 0.9;
  margin: 0;
}

.contact-info-item a {
  color: var(--white);
}

.contact-info-item a:hover {
  color: var(--light-green);
}

.contact-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  margin-bottom: 30px;
}

.map-section {
  margin-top: 60px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ===== APPLICATION PAGE ===== */
.application-form-section {
  background: var(--off-white);
}

.application-form {
  background: var(--white);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.form-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--light-gray);
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 30px;
}

.form-section h3 {
  font-size: 1.25rem;
  margin-bottom: 25px;
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section h3 i {
  color: var(--primary-green);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* ===== DONATE PAGE ===== */
.donate-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.donate-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.donate-card {
  text-align: center;
  padding: 40px 30px;
}

.donate-card .card-icon {
  margin: 0 auto 20px;
}

.donate-card h3 {
  margin-bottom: 15px;
}

.donate-card p {
  margin-bottom: 25px;
}

.donate-form-section {
  background: var(--off-white);
  padding: 60px;
  border-radius: var(--border-radius);
}

.donate-form-section h3 {
  text-align: center;
  margin-bottom: 40px;
}

.donate-form {
  max-width: 600px;
  margin: 0 auto;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-menu,
  .header-ctas .btn-outline {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-idm-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .founder-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .founder-image {
    max-width: 350px;
    margin: 0 auto;
  }
  
  .founder-image::before {
    display: none;
  }
  
  .programme-timeline::before {
    left: 30px;
  }
  
  .phase-item,
  .phase-item:nth-child(even) {
    flex-direction: column;
    padding-left: 80px;
  }
  
  .phase-content {
    width: 100%;
  }
  
  .phase-number {
    left: 30px;
    transform: translateX(-50%);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-intro {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .donate-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  
  .grid-2,
  .grid-3,
  .grid-4,
  .why-idm-grid,
  .benefits-grid,
  .vision-mission-grid,
  .beliefs-grid,
  .discipleship-approach,
  .involvement-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .application-form {
    padding: 30px 20px;
  }
  
  .page-header {
    padding: 120px 0 60px;
  }
}

@media (max-width: 576px) {
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .logo-text .brand-name {
    font-size: 0.9rem;
  }
  
  .logo-text .tagline {
    font-size: 0.7rem;
  }
  
  .logo img {
    height: 40px;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }
  
  .service-card {
    flex-direction: column;
    text-align: center;
  }
  
  .service-card .card-icon {
    margin: 0 auto;
  }
}
