@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to bottom, #f8fafc, #e0e7ff);
  color: #1e293b;
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: all 0.3s;
}

header.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.98);
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #11942e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #7c3aed;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #7c3aed;
  transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

#mobileMenuBtn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #1e40af;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(30, 58, 138, 0.88), rgba(79, 70, 229, 0.8)), url('/assets/images/hero-bg.jpg') center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/assets/images/shapes/shape1.svg') no-repeat top right, url('/assets/images/shapes/shape2.svg') no-repeat bottom left;
  opacity: 0.1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  margin: 0 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: white;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #1e40af;
}

/* Sections */
section {
  padding: 100px 0;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #1e40af;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #c084fc);
  border-radius: 2px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, #7c3aed, #c084fc);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.card i {
  font-size: 3rem;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #1e40af;
}

/* Team */
.team-member {
  text-align: center;
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.team-member h3 {
  font-size: 1.3rem;
  color: #1e40af;
}

.team-member p {
  color: #64748b;
  font-size: 0.95rem;
}

/* AI Tool */
.ai-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.ai-dashboard {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.contact-info .card {
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info i {
  font-size: 1.5rem;
  color: #7c3aed;
  margin-top: 0.3rem;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
  color: white;
  text-align: center;
  padding: 3rem 0;
  margin-top: 100px;
}

footer img {
  height: 50px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

/* 404 */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #fef3c7, #fbbf24);
  color: #92400e;
}

.error-page h1 {
  font-size: 8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  nav ul { display: none; }
  #mobileMenuBtn { display: block; }
  #mobileMenu.show {
    display: block;
    background: white;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  #mobileMenu ul {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
}
/* Compact Header */
.compact-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
  padding: 0.5rem 0;
  transition: all 0.3s;
}

.compact-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.logo-img {
  height: 36px;
  margin-right: 8px;
}

.compact-header .logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e40af;
  display: flex;
  align-items: center;
}

.compact-header nav ul {
  gap: 1.5rem;
  font-size: 0.95rem;
}

/* Team Section */
.team-section {
  padding: 120px 0 80px;
  background: #f8fafc;
}

.team-section h1 {
  text-align: center;
  font-size: 2.5rem;
  color: #1e40af;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.subtitle {
  text-align: center;
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(124, 58, 237, 0.12);
}

.img-wrapper {
  height: 260px;
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.team-card:hover .img-wrapper img {
  transform: scale(1.05);
}

.info {
  padding: 1.5rem 1rem;
}

.info h3 {
  font-size: 1.25rem;
  color: #1e40af;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.role {
  color: #7c3aed;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.exp {
  color: #64748b;
  font-size: 0.9rem;
}

.team-summary {
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f3e8ff, #e0e7ff);
  border-radius: 16px;
  font-size: 1.1rem;
  color: #1e40af;
  font-weight: 500;
}

/* Mobile */
@media (max-width: 768px) {
  .compact-header .container { padding: 0.5rem 1rem; }
  .team-grid { grid-template-columns: 1fr; }
  .team-section h1 { font-size: 2rem; }
}
/* Service Card with Long Text */
.service-card p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* Optional: Limit height and show "Read More" */
.service-card {
  min-height: 280px; /* Ensures uniform card height */
}
/* Services Section */
.services-section {
  padding: 100px 0 80px;
  background: #f8fafc;
}

.services-section h1 {
  text-align: center;
  font-size: 2.5rem;
  color: #1e40af;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.subtitle {
  text-align: center;
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(124, 58, 237, 0.12);
}

.service-card i {
  font-size: 2.5rem;
  color: #7c3aed;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  color: #1e40af;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.service-card p {
  color: #64748b;
  font-size: 0.95rem;
}

/* Mobile */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-section h1 {
    font-size: 2rem;
  }
}
/* About Hero */
.about-hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, #eef2ff 0%, #c7d2fe 100%);
}

.about-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #1e40af;
}

.about-hero p {
  font-size: 1.2rem;
  color: #475569;
  max-width: 800px;
  margin: 1.5rem auto 0;
}

/* Mission & Vision */
.mission-vision {
  padding: 80px 0;
  background: white;
}

.mv-card {
  text-align: center;
  padding: 2rem;
}

.mv-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(124,58,237,0.3);
}

.mv-card i {
  color: white;
  font-size: 1.8rem;
}

.mv-card h3 {
  font-size: 1.4rem;
  color: #1e40af;
  margin-bottom: 0.75rem;
}

/* How We Work */
.how-we-work {
  padding: 80px 0;
  background: #f8fafc;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  background: #7c3aed;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(124,58,237,0.3);
}

.step h4 {
  color: #1e40af;
  margin-bottom: 0.5rem;
}

/* Core Values */
.core-values {
  padding: 80px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: all 0.3s;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(124,58,237,0.12);
}

.value-card i {
  font-size: 2.2rem;
  color: #7c3aed;
  margin-bottom: 0.75rem;
}

.value-card h4 {
  color: #1e40af;
  font-size: 1.1rem;
}

/* Highlight Service */
.service-card.highlight {
  border: 2px solid #7c3aed;
  position: relative;
}

.service-card .badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #dc2626;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
/* 3×3 Team Grid */
.team-grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

/* Team Card */
.team-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(124, 58, 237, 0.12);
}

.img-wrapper {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.team-card:hover .img-wrapper img {
  transform: scale(1.05);
}

.info {
  padding: 1.5rem 1rem;
}

.info h3 {
  font-size: 1.25rem;
  color: #1e40af;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.role {
  color: #7c3aed;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.exp {
  color: #64748b;
  font-size: 0.9rem;
}

/* Placeholder Card */
.team-card.placeholder {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
}

.coming-soon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(124, 58, 237, 0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .team-grid-3x3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid-3x3 {
    grid-template-columns: 1fr;
  }
}

/* Team Grid 3x3 */
.team-grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  perspective: 1000px;
}

/* Team Card */
.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: center;
  position: relative;
  transform-style: preserve-3d;
}

.team-card:hover {
  transform: translateY(-12px) translateZ(20px);
  box-shadow: 0 25px 50px rgba(124, 58, 237, 0.2);
}

.img-wrapper {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-card:hover .img-wrapper img {
  transform: scale(1.08);
}

.glow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(124,58,237,0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.info {
  padding: 1.8rem 1rem;
  background: white;
  position: relative;
  z-index: 2;
}

.info h3 {
  font-size: 1.3rem;
  color: #1e40af;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.role {
  color: #7c3aed;
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.5rem;
}

.exp {
  color: #64748b;
  font-size: 0.92rem;
}

/* Placeholder */
.team-card.placeholder {
  background: linear-gradient(135deg, #f8fafc, #e0e7ff);
  border: 2px dashed #cbd5e1;
}

.coming-soon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #7c3aed;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(124,58,237,0.3);
  animation: pulse 2s infinite;
}

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

/* Responsive */
@media (max-width: 992px) {
  .team-grid-3x3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .team-grid-3x3 { grid-template-columns: 1fr; }
  .team-section h1 { font-size: 2rem; }
}
/* Expandable Bio */
.team-card.expandable .bio {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  transition: max-height 0.4s ease, padding 0.4s ease;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

.team-card.open .bio {
  padding: 1.5rem;
}

.expand-btn {
  background: none;
  border: none;
  color: #7c3aed;
  font-size: 1.1rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: transform 0.3s;
}

.team-card.open .expand-btn i {
  transform: rotate(180deg);
}

/* Glow Effect */
.glow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(124,58,237,0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
/* AI Section */
.ai-section {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.ai-section h1 {
  text-align: center;
  font-size: 2.6rem;
  color: #1e40af;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.subtitle {
  text-align: center;
  color: #7c3aed;
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* Responsive Grid */
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Image */
.ai-image-wrapper {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.ai-dashboard-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.ai-image-wrapper:hover .ai-dashboard-img {
  transform: scale(1.03);
}

/* Features */
.ai-features h2 {
  font-size: 2rem;
  color: #1e40af;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  margin: 0 0 2rem 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.feature-list i {
  font-size: 1.5rem;
  color: #7c3aed;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.feature-list strong {
  color: #1e40af;
  display: block;
  margin-bottom: 0.25rem;
}

.feature-list p {
  color: #475569;
  font-size: 0.95rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .ai-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ai-image-wrapper {
    order: -1;
  }
  .ai-section h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .ai-section {
    padding: 100px 0 60px;
  }
}
/* Chairman Section */
.chairman-section {
  padding: 100px 0 60px;
  background: #f8fafc;
}

.chairman-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.chairman-img-wrapper {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.chairman-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.chairman-bio h1 {
  font-size: 2.5rem;
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.chairman-bio h3 {
  font-size: 1.5rem;
  color: #7c3aed;
  margin-bottom: 1rem;
}

.bio-content {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 1rem;
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
}

.bio-content::-webkit-scrollbar {
  width: 6px;
}
.bio-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}
.bio-content::-webkit-scrollbar-thumb {
  background: #7c3aed;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .chairman-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .chairman-img-wrapper {
    max-width: 300px;
    margin: 0 auto;
  }
}
/* Your Map Styles - Perfect Fit */
.mapouter {
  position: relative;
  text-align: right;
  width: 100%;
  height: 354px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.gmap_canvas {
  overflow: hidden;
  background: none !important;
  width: 100%;
  height: 354px;
}

.gmap_iframe {
  height: 354px !important;
  width: 100% !important;
  border: 0;
}

/* Hide the "embed google maps" link */
.gmap_canvas a {
  display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .mapouter, .gmap_canvas, .gmap_iframe {
    height: 300px !important;
  }
}
/* Fix Footer Overlap */
.contact-section {
  padding-bottom: 120px; /* Extra space below content */
}

.footer-clearance {
  margin-top: 80px; /* Ensures footer doesn't overlap */
}

/* Responsive */
@media (max-width: 768px) {
  .contact-section {
    padding-bottom: 100px;
  }
  .footer-clearance {
    margin-top: 60px;
  }
}
/* 3×3 Team Grid */
.team-grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(124, 58, 237, 0.12);
}

.team-member h3 {
  font-size: 1.25rem;
  color: #1e40af;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.role {
  color: #7c3aed;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.exp {
  color: #64748b;
  font-size: 0.9rem;
}

/* Placeholder */
.team-member.placeholder {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 992px) {
  .team-grid-3x3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid-3x3 {
    grid-template-columns: 1fr;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  z-index: 1000;
  padding: 0.8rem 0;
  transition: padding 0.3s;
}

header.scrolled { padding: 0.5rem 0; }

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

.logo img { height: 38px; }

nav ul {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  flex-wrap: wrap;
}

nav ul li a {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  position: relative;
  font-size: 0.95rem;
}

nav ul li a:hover,
nav ul li a.active { color: #7c3aed; }

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #7c3aed;
  transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after { width: 100%; }

#mobileMenuBtn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #1e40af;
  cursor: pointer;
}

/* Mobile Menu */
@media (max-width: 992px) {
  #mobileMenuBtn { display: block; }
  nav ul {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  nav ul.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  nav ul li { text-align: center; padding: 0.5rem 0; }
}

/* Hero */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(30,58,138,0.88), rgba(79,70,229,0.8)), url('/assets/images/hero-bg.jpg') center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 80px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.hero-buttons { margin-top: 1.5rem; }

/* General Section */
section { padding: 60px 0; }
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #1e40af;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed, #c084fc);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.3s;
}

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

.card i {
  font-size: 2.2rem;
  color: #7c3aed;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  margin: 0.4rem;
  transition: all 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: white;
  box-shadow: 0 6px 18px rgba(124,58,237,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(124,58,237,0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #1e40af;
}

/* Footer */
footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

footer img {
  height: 32px;
  margin-bottom: 0.5rem;
  filter: brightness(0) invert(1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.3rem; }
  section { padding: 50px 0; }
  h2 { font-size: 2rem; }
  .grid { gap: 1.2rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .btn { display: block; width: 100%; margin: 0.5rem 0; }
}
/* Compact Footer */
.compact-footer {
  padding: 1.5rem 0;
  background: #0f172a;
  color: #e2e8f0;
  text-align: center;
}
.compact-footer .footer-logo {
  height: 32px;
  margin-bottom: 0.5rem;
}
.compact-footer p {
  margin: 0;
  font-size: 0.875rem;
}

/* Reduce Section Spacing */
section {
  padding: 4rem 0;
}
.core-offerings,
.services-grid-section,
.mission-vision,
.how-we-work,
.core-values,
.ai-section,
.chairman-section,
.team-section,
.contact-section {
  padding: 3.5rem 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }
  nav ul {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    display: none;
  }
  nav ul.active {
    display: flex;
  }
  #mobileMenuBtn {
    display: block;
  }
  .grid,
  .services-grid,
  .steps-grid,
  .values-grid,
  .team-grid-3x3,
  .ai-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .chairman-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .chairman-img-wrapper {
    max-width: 250px;
    margin: 0 auto 1.5rem;
  }
}
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to bottom, #f8fafc, #e0e7ff);
  color: #1e293b;
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: 80px;               /* NEW */
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;             /* NEW */
  }
}
@media (max-width: 768px) {
  header .container {
    padding: 0.75rem 0;
  }
  .logo-img {
    height: 32px;
  }
}
@media (max-width: 768px) {
  /* --- Mobile Menu --- */
  nav ul {
    display: none;                    /* hidden by default */
    flex-direction: column;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    backdrop-filter: blur(8px);
  }

  nav ul.active {
    display: flex;                    /* shown when toggled */
  }

  nav ul li {
    text-align: center;
    padding: 0.75rem 0;
  }

  nav ul li a {
    font-size: 1.1rem;
    padding: 0.5 1rem;
  }

  #mobileMenuBtn {
    display: block;
    font-size: 1.6rem;
    color: #1e40af;
  }

  /* --- Tighter header on mobile --- */
  header .container {
    padding: 0.75rem 0;
  }
  .logo-img {
    height: 32px;
  }
}
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to bottom, #f8fafc, #e0e7ff);
  color: #1e293b;
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: 80px;        /* NEW: push content below fixed header */
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;      /* slightly less on mobile */
  }
}
/* ==================== MOBILE MENU (HAMBURGER) ==================== */
@media (max-width: 768px) {
  /* Hide menu by default */
  header nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    z-index: 999;
    backdrop-filter: blur(8px);
    border-radius: 0 0 12px 12px;
  }

  /* SHOW menu when .active is added */
  header nav ul.active {
    display: flex;
  }

  header nav ul li {
    width: 100%;
    text-align: center;
  }

  header nav ul li a {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: #1e40af;
    transition: background 0.2s;
  }

  header nav ul li a:hover {
    background: #e0e7ff;
  }

  #mobileMenuBtn {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #1e40af;
    cursor: pointer;
    padding: 0.5rem;
  }
}
/* Header scroll shrink */
.modern-header.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
/* DESKTOP: Show menu inline */
header nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

/* MOBILE: Hide menu, show only on .active */
@media (max-width: 768px) {
  header nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    z-index: 999;
    backdrop-filter: blur(8px);
  }

  header nav ul.active {
    display: flex;
  }

  header nav ul li {
    text-align: center;
  }

  header nav ul li a {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: #1e40af;
  }

  #mobileMenuBtn {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #1e40af;
    cursor: pointer;
  }
}