/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1a2744;
  --blue:    #2c5282;
  --sky:     #3182ce;
  --accent:  #48bb78;
  --light:   #f7fafc;
  --white:   #ffffff;
  --gray:    #718096;
  --dark:    #1a202c;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  background: var(--navy);
  color: var(--white);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

/* ===== Services ===== */
.services {
  padding: 80px 0;
  background: var(--light);
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
  color: var(--navy);
}

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

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--sky);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== Team ===== */
.team {
  padding: 80px 0;
  background: var(--white);
}

.team h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
  color: var(--navy);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: 12px;
  background: var(--light);
}

.team-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.9rem;
  color: var(--sky);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.6;
}

.team-links a {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 8px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.social-links a {
  color: var(--gray);
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--sky);
  text-decoration: none;
}

/* ===== Contact ===== */
.contact {
  padding: 60px 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.contact h2 {
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
}

.contact-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-right: none;
  border-radius: 8px 0 0 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input[type="email"]:focus {
  border-color: var(--accent);
}

.contact-form button {
  padding: 12px 28px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 0 8px 8px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: #38a169;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero { padding: 60px 0; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }

  .services, .team { padding: 60px 0; }

  .team-grid { grid-template-columns: 1fr; }

  .contact-form {
    flex-direction: column;
    gap: 12px;
  }

  .contact-form input[type="email"] {
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
  }

  .contact-form button {
    border-radius: 8px;
  }
}
