/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}
.section {
  padding: 3rem 0;
}
.bg-light {
  background-color: #F4F6FB;
}
.text-center {
  text-align: center;
}

/* Corporate Colors — PKN royal blue (from company logo) */
:root {
  --primary: #3153A6;
  --primary-dark: #24407F;
  --primary-light: #EEF2FA;
  --dark: #1E2A45;
  --light: #F4F6FB;
  --text: #333;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-dark);
  text-align: center;
}
h3 {
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem;
  color: var(--primary);
}
p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s;
}
.btn-primary:hover {
  background: var(--primary-dark);
}

/* Header */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}
.logo img {
  height: 44px;
  width: auto;
}
.logo span small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-dark);
}
.nav a {
  margin-left: 1.5rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--primary);
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #4767B8 100%);
  color: white;
  text-align: center;
  padding: 6rem 1rem;
}
.hero-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 8rem 1rem;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,42,69,0.88) 0%, rgba(49,83,166,0.72) 60%, rgba(49,83,166,0.55) 100%);
}
.hero-photo .container {
  position: relative;
  z-index: 1;
}
.hero-photo p {
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hero h1 {
  color: white;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(30,42,69,0.1);
  border-top: 4px solid var(--primary);
  padding-bottom: 1rem;
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  background: var(--primary-light);
}
.card-icon i {
  font-size: 3rem;
  color: var(--primary);
}
.card h3 {
  padding: 0 1rem;
}
.card p {
  padding: 0 1rem;
}
.card a {
  display: block;
  padding: 1rem 1rem 0;
  text-align: center;
  color: var(--primary);
  font-weight: 600;
}
.card a:hover {
  color: var(--primary-dark);
}

/* Team avatars */
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  margin: 1.5rem auto 0;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}
.card .role {
  color: var(--primary-dark);
  font-weight: 600;
}
.card h3, .card p {
  text-align: center;
}
.card p.bio {
  text-align: left;
}

/* Card photos */
.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Photo gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.gallery-grid figure {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(30,42,69,0.12);
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-grid figure:hover img {
  transform: scale(1.04);
}
.gallery-grid figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: center;
}

/* Photo + text feature */
.photo-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
}
.photo-feature img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(30,42,69,0.18);
}
.photo-feature h2 {
  text-align: left;
}

/* Two Column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.two-col h3 {
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--dark);
  color: white;
  padding: 3rem 0 1.5rem;
}
.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer a {
  color: #B9C4DE;
}
.footer a:hover {
  color: white;
}
.footer i {
  margin-right: 10px;
  font-size: 1.2rem;
}
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #3A4763;
  color: #AAB4CC;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: none;
  }
  .nav.active {
    display: flex;
  }
  .nav a {
    margin: 0.75rem 0;
  }
  .hero {
    padding: 4rem 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .photo-feature {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    padding: 5rem 1rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}
