/* Mobile-first, modern, fluid, accessible styles */

/* Import Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* CSS Variables */
:root {
  --color-primary: #4767bd;
  --color-primary-600: #3e5cad;
  --color-primary-700: #35529c;
  --color-bg: #ffffff;
  --color-text: #1c1c1c;
  --color-text-muted: #555;
  --color-text-smal: #fff;
  --color-border: #e6e8ee;
  --radius: 12px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 24px rgba(0,0,0,0.10);

  /* Typography scales (mobile-first) */
  --fs-200: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
  --fs-300: clamp(1rem, 0.95rem + 0.5vw, 1.125rem);
  --fs-400: clamp(1.125rem, 1rem + 1vw, 1.25rem);
  --fs-500: clamp(1.25rem, 1.1rem + 1.3vw, 1.5rem);
  --fs-600: clamp(1.5rem, 1.3rem + 2vw, 2rem);
  --fs-700: clamp(2rem, 1.7rem + 3vw, 2.75rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: var(--fs-300);
}

/* Utility */
.container {
  width: min(95%, 1200px);
  margin-inline: auto;
}

.section {
  padding-block: 3.5rem;
}

.section-title {
  font-size: var(--fs-600);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: var(--fs-300);
  margin: 0 0 2rem;
}

/* Links & Buttons */
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-700); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  background: var(--color-primary);
  color: #fff;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.btn:hover { background: var(--color-primary-600); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* Header / Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}

.logo a {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
  font-size: var(--fs-400);
}

.nav-links {
  display: none;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: var(--color-text);
}
.nav-links a[aria-current="page"] {
  background: #f3f5fb;
  color: var(--color-primary);
  font-weight: 600;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #fff;
}

.menu-toggle svg {
  width: 24px; height: 24px;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--color-border);
}
.mobile-menu a {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #f8f9fd;
  color: var(--color-text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 60vh;
  display: grid;
  align-items: center;
  background: linear-gradient(120deg, #f8f9ff 0%, #f3f6ff 100%);
}
.hero-inner {
  display: grid;
  gap: 1.25rem;
  text-align: left;
}
.hero h1 {
  font-size: var(--fs-700);
  margin: 0;
}
.hero p {
  color: var(--color-text-muted);
  font-size: var(--fs-400);
  margin: 0 0 1rem;
}
.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-media {
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: auto;
  display: block;
}

/* Cards (services, features) */
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 0.5rem;
}


.card-service {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.card h3 {
  margin: 0;
  font-size: var(--fs-500);
}
.card p {
  margin: 0;
  color: var(--color-text-muted);
}
.card .card-actions {
  margin-top: 0.5rem;
}

/* About layout */
.about-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: start;
}
.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.about-media img { width: 100%; height: auto; display: block; }

/* Director message */
.message {
  background: #f7f9ff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.message h3 { margin-top: 0; }

/* Contact */
.form {
  display: grid;
  gap: 0.75rem;
  max-width: 800px;
}
.input-group {
  display: grid;
  gap: 0.375rem;
}
label {
  font-weight: 600;
  font-size: var(--fs-300);
}
input, select, textarea {
  width: 100%;
  padding: 0.9rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  font: inherit;
  background: #fff;
  color: var(--color-text);
}
input::placeholder, textarea::placeholder { color: #8a8fa2; }
textarea { min-height: 160px; resize: vertical; }
.form-actions {
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  background: #000000;
}
.footer-inner {
  padding-block: 2rem;
  display: grid;
  gap: 1rem;
  text-align: center;
}
.footer-nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.footer small { color: var(--color-text-smal); }

/* Media Queries */
@media (min-width: 600px) {
  .hero { min-height: 70vh; }
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

@media (min-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* Accessibility focus styles */
:focus-visible {
  outline: 3px solid #b9c6ff;
  outline-offset: 2px;
}


.footer {
  border-top: 1px solid var(--color-border);
  background: #1B2132;
  padding-block: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.footer-col h4 {
  font-size: var(--fs-400);
  margin-bottom: 0.75rem;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-col a {
  color: #E1E4E9;
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  color: var(--color-text-muted);
}

/* Responsive columns */
@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.nav-item {
  position: relative;
}

.submenu-toggle {
  background: none;
  border: none;
  font: inherit;
  color: var(--color-text);

  cursor: pointer;
}

.has-submenu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  min-width: 200px;
  z-index: 999;
}

.has-submenu .submenu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-text);
  text-decoration: none;
}

.has-submenu .submenu a:hover {
  background: #f3f5fb;
  color: var(--color-primary);
}

/* Show submenu on hover (desktop) */
@media (min-width: 700px) {
  .has-submenu:hover .submenu {
    display: block;
  }
}

.logo img {
  max-height: 80px;   /* scales nicely in header */
  height: auto;
  width: auto;
  display: block;
}


/* Submenu styles */
.has-submenu {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  min-width: 200px;
  z-index: 999;
}

.submenu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-text);
  text-decoration: none;
}

.submenu a:hover {
  background: #f3f5fb;
  color: var(--color-primary);
}

/* Show submenu on hover (desktop only) */
@media (min-width: 700px) {
  .has-submenu:hover .submenu {
    display: block;
  }
}

/* Desktop hover */
@media (min-width: 992px) {
  .has-submenu:hover .submenu {
    display: block;
  }
}

.nav-links ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.has-submenu {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  min-width: 200px;
}

.submenu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-text);
}

.submenu a:hover {
  background: #f3f5fb;
  color: var(--color-primary);
}

/* Desktop hover */
@media (min-width: 992px) {
  .has-submenu:hover .submenu {
    display: block;
  }
}


.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: var(--fs-400);
  color: var(--color-primary);
  cursor: pointer;
  padding: 0.75rem 0;
}

.faq-answer {
  display: none;
  padding: 0.5rem 0 0.75rem;
  color: var(--color-text-muted);
  font-size: var(--fs-300);
}

.faq-question[aria-expanded="true"] + .faq-answer {
  display: block;
}


.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.contact-form, .contact-info {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.map iframe {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Desktop two-column */
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}


.card-service h3 {
  margin-top: 0;
  font-size: var(--fs-500);
  color: var(--color-primary);
}

.card-service p {
  margin: 0.5rem 0 1rem;
  color: var(--color-text-muted);
}

.card-service ul {
  padding-left: 1rem;
  margin: 0;
   color: var(--color-text-muted);
}

.card-serviceul li {
  margin-bottom: 0.5rem;
}


.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col h4 {
  font-size: var(--fs-400);
  margin-bottom: 0.5rem;
  color: var(--color-text-smal);
}

.company-logo img {
  max-height: 60px;
  width: auto;
  display: block;
}

.company-brief {
  font-size: var(--fs-300);
  color: var(--color-text-smal);
  line-height: 1.5;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-col a {
  color: var(--color-text-smal);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.team-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.team-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-photo img {
  width: 100%;
  max-width: 160px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.team-name {
  font-size: var(--fs-400);
  margin: 0.5rem 0;
  color: var(--color-primary);
}

.team-role {
  font-size: var(--fs-300);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: var(--fs-300);
  color: var(--color-text);
  line-height: 1.5;
}

/* Responsive grid */
@media (min-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.mission, .vision {
  background: #f8f9ff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
}

.mission h1, .vision h1, .team h2 {
  color: var(--color-primary);
}

.mission ul, .vision ul {
  margin-top: 1rem;
  padding-left: 1.25rem;
  color: var(--color-text);
}

.mission ul li, .vision ul li {
  margin-bottom: 0.5rem;
}

