/* ========== RESET & GLOBAL ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,600;14..32,800&display=swap');

:root {
  --bg: #ffffff;
  --card-bg: #fcfcfc;
  --text-primary: #1e1e1e;
  --text-secondary: #2e2e2e;
  --gold: #b8860b;
  --gold-light: rgba(184, 134, 11, 0.15);
  --border-light: #d4af37;
  --nav-bg: rgba(255, 255, 255, 0.98);
  --footer-bg: #f2efe9;
  --shadow: 0 10px 25px -8px rgba(0,0,0,0.1);
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  scroll-behavior: smooth;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-title .sub-title {
  font-size: 2rem;
  display: block;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* ========== NAVBAR ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--gold);
  padding: 0.8rem 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-brand {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  border: 1px solid transparent;
  margin: 0.5rem 1rem 0.5rem 0;
}

.btn-primary {
  background: var(--gold);
  color: #000;
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

/* ========== HERO ========== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: #f8f8f8;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 background-image: url('logo.png');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3rem 2rem;
}

.hero-text.left-aligned {
  text-align: left;
  max-width: 800px;
}

.hero-line1, .hero-line2, .hero-line3 {
  font-size: 6rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  text-shadow: 0 2px 8px rgba(255,255,255,0.8);
}
.hero-line1 { font-size: 6rem; }
.hero-line2 { font-size: 6rem; }
.hero-line3 { font-size: 6rem; }

.hero-sub {
  font-size: 2.5rem;
  color: var(--gold);
  margin-top: 1.5rem;
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
  background: rgba(255,255,255,0.3);
  border-radius: 0 20px 20px 0;
  padding: 0.5rem 1.5rem;
  display: inline-block;
}

/* ========== ABOUT (larger text) ========== */
.about {
  background: #faf9f6;
  border-top: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}

.about-text.large {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 1.8rem;  /* increased */
  text-align: center;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== SERVICES – two‑column with slide animation ========== */
.services-section {
  background: #fff;
}

.services-panel {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  font-family: 'Lucida Console', 'Courier New', monospace;
}

.service-titles {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem 0 0.5rem 1rem;
  border-left: 4px solid transparent;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.service-title:hover {
  color: var(--gold);
}

.service-title.active {
  border-left-color: var(--gold);
  transform: translateX(-10px);
  color: var(--gold);
}

.service-description {
  flex: 1;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--gold-light);
  min-height: 250px;        /* fixed height to prevent jumping */
  height: 250px;
  overflow-y: auto;         /* scroll if content overflows */
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--text-secondary);
  position: relative;
}

/* slide animation for description text */
.service-description p {
  margin: 0;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  0% { transform: translateX(-20px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* ========== FAYDA SECTION (bigger image) ========== */
.egov {
  background: #fcf9f0;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.egov-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: center;
}

.egov-message {
  flex: 1 1 400px;          /* wider to balance with bigger image */
  font-size: 1.2rem;
}

.egov-message h3 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.registration-steps {
  list-style: none;
  padding: 0;
}
.registration-steps li {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.registration-steps li i {
  color: var(--gold);
  font-size: 1.4rem;
}

.fayda-image-wrapper {
  flex: 1 1 400px;
  text-align: center;
}
.fayda-image-wrapper img {
  max-width: 100%;
  width: 500px;            /* larger, symmetrical with text column */
  height: auto;
  border-radius: 20px;     /* only slight rounding, no border/background */
  box-shadow: none;
  border: none;
}

/* ========== CO-FOUNDERS ========== */
.cofounders-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

.founder-card {
  background: var(--card-bg);
  border-radius: 30px;
  padding: 2.5rem 2rem 2rem;
  max-width: 450px;         /* slightly wider for longer bios */
  text-align: center;
  border: 1px solid var(--gold);
  transition: 0.3s;
  box-shadow: var(--shadow);
  cursor: pointer;
  flex: 1 1 350px;
}

.founder-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 20px 25px -10px rgba(184,134,11,0.3);
}

.founder-card.expanded {
  max-width: 700px;
  transform: scale(1.02);
  z-index: 10;
}

.founder-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  margin-bottom: 1.5rem;
}

.founder-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.founder-title {
  color: var(--text-secondary);
  font-weight: 500;
  margin: 0.5rem 0 1rem;
  min-height: 3rem;
}

.founder-bio-short {
  color: var(--text-secondary);
  font-style: italic;
}

.founder-full {
  margin-top: 1.5rem;
  text-align: left;
  border-top: 1px solid var(--gold);
  padding-top: 1.5rem;
  color: var(--text-primary);
}

.founder-full p {
  margin-bottom: 0.8rem;
}

.founder-full a {
  color: var(--gold);
  text-decoration: underline;
}
.founder-full a:hover {
  color: #000;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--footer-bg);
  text-align: center;
  padding: 2.5rem;
  border-top: 2px solid var(--gold);
  color: var(--text-secondary);
}

.footer-tagline {
  margin: 0.5rem 0;
  color: var(--gold);
  font-weight: 600;
}

.social i {
  font-size: 2rem;
  margin: 1rem 0.8rem;
  color: #b8860b;
  transition: 0.2s;
}

.social i:hover {
  color: #000;
}

/* ========== RESPONSIVE (mobile, tablet) ========== */
@media (max-width: 800px) {
  .hero-line1, .hero-line2, .hero-line3 { font-size: 4rem; }
  .hero-sub { font-size: 2rem; }
  .section-title { font-size: 2.2rem; }
  .services-panel { flex-direction: column; }
  .service-title { font-size: 1.8rem; }
  .service-description { min-height: 200px; height: auto; }
  .nav-container { flex-direction: column; gap: 1rem; }
  .founder-card.expanded { max-width: 95%; }
  .about-text.large { font-size: 1.5rem; }
  .fayda-image-wrapper img { width: 280px; }
}

@media (max-width: 480px) {
  .hero-line1, .hero-line2, .hero-line3 { font-size: 3rem; }
  .hero-sub { font-size: 1.6rem; }
  .btn { padding: 0.7rem 1.5rem; }
  .egov-grid { flex-direction: column; }
  .fayda-image-wrapper img { width: 100%; max-width: 300px; }
}
