/* ==================================
   BARNAWA RAHMA LANDING DESIGN SYSTEM
   ================================== */
:root {
  /* Primary brand colors — extracted from logo */
  --navy: #0f2044;           /* Deep navy from logo background */
  --navy-light: #1a3260;
  --gold: #f5a623;           /* Gold/yellow accent from logo */
  --gold-light: #fbbf24;
  --green: #16a34a;          /* Green from "Financial Cooperation" text */
  --green-light: #dcfce7;
  
  /* Text & Background */
  --bg-color: #f8fafc;
  --surface: #ffffff;
  --text-main: #1e293b;
  --text-body: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;

  /* Typography */
  --font-sans: 'Inter', sans-serif;
}

/* Global resets specifically for landing */
body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-body);
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

/* Reusable Components */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  border: none;
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: white;
}
.btn-navy {
  background: var(--navy);
  color: white;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  border: none;
}
.btn-navy:hover {
  background: var(--navy-light);
  color: white;
  transform: translateY(-2px);
}

/* Redesigned Navbar */
.main-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 32, 68, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--gold);
}
.nav-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
  line-height: 1.1;
}
.nav-brand-sub {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  color: var(--text-body);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--navy);
}
.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s ease;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  position: absolute;
  top: 100%;
  left: 20px;
  right: 20px;
  margin-top: 10px;
}
.mobile-menu.active {
  display: flex;
}
.mobile-link {
  padding: 12px 0;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
}

@media (max-width: 991px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
}

/* ==================================
   HOME PAGE SPECIFIC STYLES
   ================================== */
.hero {
  background: var(--navy);
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(245,166,35,0.15) 0%, transparent 40%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(245,166,35,0.1);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid rgba(245,166,35,0.2);
}
.hero-title {
  color: white;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  color: #94a3b8;
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 90%;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
}
.stat-item h4 {
  color: white;
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
}
.stat-item p {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 4px 0 0;
}
.hero-visual {
  position: relative;
}
.hero-card {
  background: white;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
}
.hc-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.hc-icon {
  width: 48px; height: 48px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.hc-title { font-size: 1.25rem; color: var(--navy); margin: 0; font-weight: 800;}
.hc-subtitle { font-size: 0.85rem; color: var(--text-muted); margin: 0;}
.hc-amount { font-size: 2.5rem; font-weight: 800; color: var(--navy); margin: 0 0 24px;}
.hc-progress {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}
.hc-bar { height: 100%; background: var(--green); width: 75%; border-radius: 4px;}
.hero-blob {
  position: absolute;
  top: -40px; right: -40px;
  width: 300px; height: 300px;
  background: var(--gold);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: 1;
}

/* Services */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--navy); margin-bottom: 16px; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.services { padding: 100px 0; background: white; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.svc-card {
  padding: 40px 32px;
  border-radius: 20px;
  background: var(--bg-color);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.svc-card:hover {
  background: white;
  border-color: rgba(15,32,68,0.1);
  box-shadow: 0 20px 40px rgba(15,32,68,0.06);
  transform: translateY(-4px);
}
.svc-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}
.si-blue { background: #e0f2fe; color: #0284c7; }
.si-green { background: #dcfce7; color: #16a34a; }
.si-gold { background: #fef3c7; color: #d97706; }

.svc-card h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 12px; }
.svc-card p { color: var(--text-muted); margin-bottom: 24px; font-size: 0.95rem; line-height: 1.6;}
.svc-features { list-style: none; padding: 0; margin: 0; }
.svc-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text-body); font-weight: 500;
  margin-bottom: 12px;
}
.svc-features li i { color: var(--green); }

/* How it works */
.hiw { padding: 100px 0; background: var(--bg-color); }
.hiw-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative;
}
.hiw-step { text-align: center; position: relative; z-index: 2; }
.hiw-num {
  width: 72px; height: 72px;
  background: white;
  border: 4px solid var(--bg-color);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: var(--navy);
  margin: 0 auto 24px;
  box-shadow: 0 10px 20px rgba(15,32,68,0.05);
}
.hiw-step h4 { color: var(--navy); margin-bottom: 12px; font-size: 1.25rem; }
.hiw-step p { color: var(--text-muted); font-size: 0.95rem; }
.hiw-line {
  position: absolute; top: 36px; left: 15%; right: 15%;
  height: 2px; background: var(--border); border-radius: 2px; z-index: 1;
}

/* CTA */
.cta-sec { padding: 80px 0; }
.cta-box {
  background: var(--navy);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; left: -100px; bottom: -100px;
  width: 300px; height: 300px; background: var(--gold); border-radius: 50%;
  filter: blur(100px); opacity: 0.2;
}
.cta-box h2 { color: white; font-size: 2.5rem; margin-bottom: 16px; position: relative; z-index: 2;}
.cta-box p { color: #94a3b8; font-size: 1.1rem; max-width: 600px; margin: 0 auto 32px; position: relative; z-index: 2;}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.5rem; }
  .hiw-grid { grid-template-columns: 1fr; gap: 60px; }
  .hiw-line { display: none; }
}

/* ==================================
   ABOUT PAGE SPECIFIC STYLES
   ================================== */
.page-header {
  background: var(--navy);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header h1 { color: white; font-size: 3rem; margin-bottom: 16px; }
.page-header p { color: #94a3b8; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.about-content { padding: 100px 0; background: white; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-text h2 { font-size: 2.25rem; color: var(--navy); margin-bottom: 24px; }
.about-text p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 20px; }
.about-img-wrapper { position: relative; }
.about-img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.about-img-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: white; padding: 24px; border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: flex; align-items: center; gap: 16px;
}
.aib-icon {
  width: 48px; height: 48px; background: var(--gold-light); color: var(--navy);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.aib-text h4 { margin: 0; font-size: 1.25rem; color: var(--navy); }
.aib-text p { margin: 0; font-size: 0.85rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase;}

.mvv-sec { padding: 100px 0; background: var(--bg-color); }
.mvv-card {
  background: white; padding: 40px; border-radius: 20px; height: 100%;
  border: 1px solid var(--border); text-align: center;
}
.mvv-icon {
  width: 64px; height: 64px; background: rgba(15,32,68,0.05); color: var(--navy);
  border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  margin: 0 auto 24px;
}
.mvv-card h3 { color: var(--navy); margin-bottom: 16px; }
.mvv-card p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* ==================================
   CONTACT PAGE SPECIFIC STYLES
   ================================== */
.contact-sec { padding: 80px 0; background: var(--bg-color); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.contact-info > p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ci-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(15,32,68,0.08);
}
.ci-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.ci-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}
.contact-quick {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cq-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: white;
  border-radius: 12px;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.cq-arrow { margin-left: auto; color: var(--text-muted); transition: all 0.2s ease; }
.cq-link:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  transform: translateX(4px);
}
.cq-link:hover .cq-arrow { color: var(--gold); }

/* Contact Form */
.contact-form-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(15,32,68,0.1);
  border: 1px solid rgba(15,32,68,0.06);
}
.contact-form-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.contact-form-header h3 { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.contact-form-header p  { font-size: 13px; color: var(--text-muted); margin: 0; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Completed Contact form specific elements */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-color);
  color: var(--text-main);
  font-size: 14px;
  font-family: var(--font-sans);
  transition: all 0.3s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--navy);
  background: white;
  box-shadow: 0 0 0 3px rgba(15,32,68,0.05);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
