/* ============================================================
   Karadan Foundation Master Responsive Design System
   Covers: Mobile, 11"-16" Laptops, Desktop, LED/4K Screens
   ============================================================ */

:root {
  --navy: #07294d;
  --navy2: #0a3d6e;
  --navy-dark: #041427;
  --gold: #f79f1f;
  --gold2: #e68a00;
  --slate: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --text: #1e293b;
  --radius: 20px;
  --shadow: 0 10px 40px rgba(7,41,77,0.08);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif; }
img { max-width: 100%; height: auto; }
a { transition: var(--transition); }

/* ── Container system ── */
.container { width: 100%; margin: 0 auto; padding: 0 20px; }

/* 4K / large LED */
@media (min-width: 1920px) { .container { max-width: 1600px; padding: 0 40px; } }
/* Desktop / large monitor */
@media (min-width: 1400px) and (max-width: 1919px) { .container { max-width: 1320px; } }
/* 16" laptop */
@media (min-width: 1280px) and (max-width: 1399px) { .container { max-width: 1200px; } }
/* 15" laptop */
@media (min-width: 1200px) and (max-width: 1279px) { .container { max-width: 1140px; } }
/* 14" laptop */
@media (min-width: 1140px) and (max-width: 1199px) { .container { max-width: 1100px; } }
/* 13" laptop */
@media (min-width: 1024px) and (max-width: 1139px) { .container { max-width: 980px; } }
/* 11-12" laptop / tablet landscape */
@media (min-width: 768px) and (max-width: 1023px) { .container { max-width: 740px; } }
/* Mobile */
@media (max-width: 767px) { .container { max-width: 100%; padding: 0 16px; } }

/* ── Section Spacing ── */
.section-pad { padding: 120px 0; }
@media (min-width: 1920px) { .section-pad { padding: 160px 0; } }
@media (max-width: 1199px) { .section-pad { padding: 100px 0; } }
@media (max-width: 991px)  { .section-pad { padding: 80px 0; } }
@media (max-width: 767px)  { .section-pad { padding: 60px 0; } }
@media (max-width: 480px)  { .section-pad { padding: 50px 0; } }

/* ── Typography Scale ── */
.hero-headline { font-size: clamp(36px, 6vw, 96px); font-weight: 900; line-height: 1; letter-spacing: -2px; }
.page-headline  { font-size: clamp(32px, 4vw, 64px); font-weight: 900; line-height: 1.1; }
.sec-title      { font-size: clamp(26px, 3vw, 48px); font-weight: 900; line-height: 1.15; color: var(--navy); }
.sec-label      { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 4px; color: var(--gold); display: block; margin-bottom: 16px; }
.lead-text      { font-size: clamp(15px, 1.8vw, 20px); line-height: 1.8; color: var(--slate); }

/* ── Premium Buttons ── */
.btn-kf {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 100px; font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
  text-decoration: none !important; border: 2px solid transparent;
  cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-kf-gold  { background: var(--gold); color: #fff; border-color: var(--gold); box-shadow: 0 15px 35px rgba(247,159,31,0.35); }
.btn-kf-gold:hover  { background: var(--gold2); border-color: var(--gold2); transform: translateY(-4px); box-shadow: 0 25px 50px rgba(247,159,31,0.45); color: #fff; }
.btn-kf-navy  { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 15px 35px rgba(7,41,77,0.3); }
.btn-kf-navy:hover  { background: var(--navy2); border-color: var(--navy2); transform: translateY(-4px); color: #fff; }
.btn-kf-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-kf-outline:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-4px); }

@media (max-width: 480px) {
  .btn-kf { width: 100%; justify-content: center; padding: 15px 24px; font-size: 12px; }
}

/* ── Cards ── */
.kf-card {
  background: #fff; border-radius: var(--radius); border: 1px solid #f1f5f9;
  box-shadow: var(--shadow); transition: var(--transition); overflow: hidden;
}
.kf-card:hover { transform: translateY(-10px); box-shadow: 0 30px 70px rgba(7,41,77,0.12); border-color: var(--gold); }

/* ── Impact Stats Bar ── */
.stats-floating {
  background: #fff; border-radius: 30px; padding: 40px 50px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.1);
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px;
}
.stat-item-f { text-align: center; padding: 10px 20px; }
.stat-item-f h2 { font-size: clamp(36px,5vw,72px); font-weight: 900; color: var(--navy); margin: 0; letter-spacing: -2px; }
.stat-item-f p { font-weight: 800; color: var(--gold); text-transform: uppercase; font-size: 11px; letter-spacing: 3px; margin: 8px 0 0; }

@media (max-width: 991px) { .stats-floating { padding: 30px; } }
@media (max-width: 767px) { .stats-floating { padding: 25px 15px; border-radius: 20px; } .stat-item-f { padding: 10px; } }

/* ── Pillar Cards ── */
.pillar-card-v2 {
  background: #fff; padding: 50px 36px; border-radius: 30px;
  border: 1px solid #f1f5f9; transition: var(--transition); height: 100%; position: relative; overflow: hidden;
}
.pillar-card-v2:hover { transform: translateY(-16px); box-shadow: 0 40px 80px rgba(7,41,77,0.1); border-color: var(--gold); }
.pillar-card-v2 .p-icon { font-size: 44px; color: var(--gold); margin-bottom: 28px; display: block; }
.pillar-card-v2 h3 { font-size: clamp(20px,2vw,26px); font-weight: 900; color: var(--navy); margin-bottom: 16px; }
.pillar-card-v2 p { color: var(--slate); line-height: 1.8; font-size: 15px; margin: 0; }
.pillar-card-v2 .p-num { position: absolute; top: 20px; right: 30px; font-size: 80px; font-weight: 900; color: rgba(7,41,77,0.03); line-height: 1; }

@media (max-width: 767px) { .pillar-card-v2 { padding: 36px 24px; } }

/* ── Vision Section ── */
.vision-section-v2 {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #0c3b63 100%);
  padding: 120px 0; color: #fff; position: relative; overflow: hidden;
}
.vision-section-v2::before {
  content: ''; position: absolute; inset: 0;
  background: url('../assets/images/banner_2.jpeg') center/cover;
  opacity: 0.05;
}
.vision-card-v2 {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px; padding: 40px 30px; backdrop-filter: blur(10px);
  transition: var(--transition); height: 100%;
}
.vision-card-v2:hover { background: rgba(255,255,255,0.1); transform: translateY(-8px); border-color: var(--gold); }
.vision-card-v2 .v-icon { width: 56px; height: 56px; background: var(--gold); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; margin-bottom: 20px; }
.vision-card-v2 h3 { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 14px; }
.vision-card-v2 p { color: rgba(255,255,255,0.65); line-height: 1.8; font-size: 14px; margin: 0; }

@media (max-width: 991px) { .vision-section-v2 { padding: 80px 0; } }

/* ── Impact Card ── */
.impact-card-v2 { background: #fff; border-radius: 28px; overflow: hidden; border: 1px solid #f1f5f9; height: 100%; box-shadow: 0 8px 24px rgba(0,0,0,0.04); transition: var(--transition); }
.impact-card-v2:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(7,41,77,0.1); }
.impact-card-v2 .ic-img { height: 260px; overflow: hidden; position: relative; }
.impact-card-v2 .ic-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.impact-card-v2:hover .ic-img img { transform: scale(1.07); }
.impact-card-v2 .ic-body { padding: 36px; }

@media (max-width: 767px) { .impact-card-v2 .ic-img { height: 200px; } .impact-card-v2 .ic-body { padding: 24px; } }

/* ── Reach Section ── */
.reach-section-v2 { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); padding: 120px 0; color: #fff; }
.reach-card-v2 { text-align: center; padding: 30px; }
.reach-card-v2 .r-icon { width: 70px; height: 70px; background: rgba(247,159,31,0.15); border: 1px solid rgba(247,159,31,0.25); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--gold); margin: 0 auto 20px; }
.reach-card-v2 .r-num { font-size: clamp(40px,5vw,64px); font-weight: 900; color: #fff; line-height: 1; margin-bottom: 10px; }
.reach-card-v2 .r-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; color: rgba(255,255,255,0.6); }

/* ── Leader Card ── */
.leader-card-v2 { text-align: center; }
.leader-img-v2 { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; margin: 0 auto 20px; border: 6px solid #fff; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.leader-img-v2 img { width: 100%; height: 100%; object-fit: cover; }
.leader-card-v2 h5 { font-weight: 900; color: var(--navy); margin-bottom: 5px; font-size: clamp(15px,1.5vw,18px); }
.leader-card-v2 p { color: var(--gold); font-weight: 800; text-transform: uppercase; font-size: 10px; letter-spacing: 2px; }

@media (min-width: 1920px) { .leader-img-v2 { width: 240px; height: 240px; } }
@media (max-width: 767px) { .leader-img-v2 { width: 160px; height: 160px; } }

/* ── Timeline ── */
.timeline-v2 { position: relative; padding: 20px 0; }
.timeline-v2::before { content: ''; position: absolute; left: 50%; width: 2px; height: 100%; background: linear-gradient(to bottom, var(--gold), var(--navy)); transform: translateX(-50%); }
.tl-item { width: 50%; padding: 30px 60px; position: relative; }
.tl-item:nth-child(odd) { text-align: right; }
.tl-item:nth-child(even) { margin-left: 50%; }
.tl-dot { position: absolute; top: 40px; width: 18px; height: 18px; background: var(--gold); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 20px rgba(247,159,31,0.5); z-index: 2; }
.tl-item:nth-child(odd) .tl-dot { right: -9px; }
.tl-item:nth-child(even) .tl-dot { left: -9px; }
.tl-year { font-size: 28px; font-weight: 900; color: var(--navy); display: block; margin-bottom: 8px; }
.tl-title { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.tl-text { color: var(--slate); font-size: 14px; line-height: 1.8; }

@media (max-width: 767px) {
  .timeline-v2::before { left: 20px; }
  .tl-item { width: 100%; padding: 20px 20px 20px 55px; text-align: left !important; margin-left: 0 !important; }
  .tl-dot { left: 11px !important; right: auto !important; }
}

/* ── Strategy Cards ── */
.strategy-card-v2 { background: #fff; border-radius: 24px; padding: 36px; border: 1px solid #f1f5f9; transition: var(--transition); }
.strategy-card-v2:hover { border-color: var(--gold); transform: scale(1.02); box-shadow: 0 20px 50px rgba(7,41,77,0.08); }
.strategy-card-v2 .s-icon { width: 56px; height: 56px; background: rgba(7,41,77,0.05); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--gold); margin-bottom: 22px; }

/* ── Auth Section ── */
.auth-section-v2 { background: var(--light); padding: 120px 0; }
.auth-card-v2 { background: #fff; padding: 60px; border-radius: 36px; box-shadow: 0 40px 100px rgba(7,41,77,0.08); border: 1px solid #f1f5f9; position: relative; }
.auth-shield-v2 { position: absolute; top: -35px; right: 50px; width: 100px; height: 100px; background: var(--gold); border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 42px; color: #fff; box-shadow: 0 20px 40px rgba(247,159,31,0.35); }

@media (max-width: 767px) { .auth-card-v2 { padding: 36px 24px; } .auth-shield-v2 { width: 70px; height: 70px; font-size: 28px; top: -25px; right: 24px; } }

/* ── Founder Section ── */
.founder-section-v2 { background: var(--navy-dark); padding: 140px 0; color: #fff; position: relative; overflow: hidden; }
.founder-quote-v2 { font-family: 'Playfair Display', serif; font-size: clamp(22px,3vw,42px); font-weight: 800; line-height: 1.4; margin-bottom: 40px; }
.founder-meta-v2 { display: flex; align-items: center; gap: 20px; }
.founder-avatar-v2 { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); flex-shrink: 0; }

@media (max-width: 991px) { .founder-section-v2 { padding: 80px 0; } }

/* ── FAQ ── */
.faq-item-v2 { border-bottom: 1px solid #f1f5f9; }
.faq-btn-v2 { width: 100%; background: none; border: none; padding: 22px 0; text-align: left; font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 15px; transition: color 0.3s; }
.faq-btn-v2:hover { color: var(--gold); }
.faq-btn-v2 .faq-icon { font-size: 20px; flex-shrink: 0; transition: var(--transition); }
.faq-item-v2.open .faq-btn-v2 .faq-icon { transform: rotate(45deg); color: var(--gold); }
.faq-ans-v2 { max-height: 0; overflow: hidden; transition: max-height 0.5s ease, padding 0.3s; }
.faq-item-v2.open .faq-ans-v2 { max-height: 300px; padding-bottom: 20px; }
.faq-ans-v2 p { color: var(--slate); line-height: 1.8; font-size: 15px; margin: 0; }

@media (max-width: 767px) { .faq-btn-v2 { font-size: 14px; padding: 18px 0; } }

/* ── CTA Banner ── */
.cta-banner-v2 {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  border-radius: 36px; padding: 80px 60px; text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 40px 100px rgba(7,41,77,0.25);
}
.cta-banner-v2::before { content: ''; position: absolute; top: -80px; right: -80px; width: 300px; height: 300px; border-radius: 50%; background: rgba(247,159,31,0.08); }
.cta-banner-v2::after  { content: ''; position: absolute; bottom: -60px; left: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,0.04); }
.cta-banner-v2 h2 { font-size: clamp(28px,4vw,52px); font-weight: 900; color: #fff; margin-bottom: 20px; position: relative; z-index: 2; }
.cta-banner-v2 h2 span { color: var(--gold); }
.cta-banner-v2 p { font-size: clamp(15px,1.5vw,18px); color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 40px; line-height: 1.8; position: relative; z-index: 2; }
.cta-banner-v2 .cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; z-index: 2; }

@media (max-width: 767px) { .cta-banner-v2 { padding: 50px 24px; border-radius: 24px; } }

/* ── Trust Strip ── */
.trust-card-v2 { background: #fff; border: 1px solid #e5edf5; border-radius: 20px; padding: 30px; height: 100%; box-shadow: 0 8px 24px rgba(7,41,77,0.04); transition: var(--transition); }
.trust-card-v2:hover { border-color: var(--gold); transform: translateY(-5px); }
.trust-card-v2 .t-icon { width: 50px; height: 50px; background: rgba(247,159,31,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--gold); margin-bottom: 18px; }
.trust-card-v2 h4 { font-size: 17px; color: var(--navy); font-weight: 900; margin-bottom: 10px; }
.trust-card-v2 p { font-size: 13px; color: var(--slate); margin: 0; line-height: 1.7; }

/* ── Testimonial Card ── */
.testi-card-v2 { background: #fcfdfe; border: 1px solid #f1f5f9; border-radius: 24px; padding: 36px; height: 100%; transition: var(--transition); }
.testi-card-v2:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(7,41,77,0.08); }
.testi-card-v2 .quote-icon { font-size: 36px; color: var(--gold); opacity: 0.25; margin-bottom: 16px; }
.testi-card-v2 p { font-style: italic; color: var(--slate); font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
.testi-card-v2 .author { display: flex; align-items: center; gap: 14px; }
.testi-card-v2 .author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testi-card-v2 .author h6 { font-weight: 900; margin: 0; color: var(--navy); font-size: 14px; }
.testi-card-v2 .author small { color: var(--slate); font-size: 12px; }

/* ── Map Section ── */
.map-section-v2 { background: var(--navy-dark); padding: 120px 0; color: #fff; text-align: center; }
.map-pin-v2 { position: absolute; width: 14px; height: 14px; background: var(--gold); border-radius: 50%; cursor: pointer; }
.map-pin-v2::after { content: ''; position: absolute; inset: -8px; border: 2px solid var(--gold); border-radius: 50%; animation: pingAnim 2s infinite; opacity: 0.6; }
@keyframes pingAnim { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(2.5); opacity: 0; } }

/* ── Scroll Reveal ── */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.165,0.84,0.44,1), transform 0.8s cubic-bezier(0.165,0.84,0.44,1); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal-left]  { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-reveal-right] { opacity: 0; transform: translateX(40px);  transition: opacity 0.8s ease, transform 0.8s ease; }
[data-reveal-left].revealed, [data-reveal-right].revealed { opacity: 1; transform: translateX(0); }

/* ── Admin Panel Responsive ── */
@media (max-width: 1199px) { .admin-main-content { margin-left: 245px; padding: 20px; } }
@media (max-width: 991px)  { .admin-main-content { margin-left: 0 !important; } }
@media (max-width: 767px)  { .admin-main-content { padding: 12px !important; } }

/* ── Utility ── */
.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.bg-navy   { background: var(--navy) !important; }
.bg-gold   { background: var(--gold) !important; }
.fw-900    { font-weight: 900 !important; }
.lh-1      { line-height: 1 !important; }
.rounded-xl { border-radius: 20px !important; }
.rounded-2xl { border-radius: 28px !important; }
.rounded-3xl { border-radius: 36px !important; }
