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

:root {
  --primary-color: #2b333a;       /* Steel Gray */
  --secondary-color: #1a1e23;     /* Dark Charcoal */
  --accent-color: #ff6a00;        /* Safety Orange */
  --accent-hover: #e55e00;
  --bg-light: #f4f6f8;
  --text-main: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background-color: var(--accent-hover);
}

.section-title {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  display: block;
}

/* Header */
header {
  background-color: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.logo img {
  display: block;
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Dropdown Styles */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-color);
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: none;
  z-index: 1000;
  padding: 0.5rem 0;
  border-radius: 4px;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  display: block;
}

.dropdown-menu a:hover {
  background-color: rgba(255,255,255,0.1);
}

.nav-links li:hover .dropdown-menu {
  display: block;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: calc(100vh - 80px);
  min-height: 600px;
  background: linear-gradient(rgba(26, 30, 35, 0.7), rgba(26, 30, 35, 0.8)), url('../images/hero.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--white);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-20px) translateX(-50%); }
  60% { transform: translateY(-10px) translateX(-50%); }
}

/* Services */
.services-bg {
  background-color: var(--bg-light);
}

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

.service-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 106, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.learn-more {
  color: var(--accent-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.learn-more:hover {
  color: var(--primary-color);
}

/* About Us */
.about-bg {
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Who We Are */
.who-we-are-bg {
  background-color: var(--white);
}

.who-we-are-text {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.vision-title {
  color: var(--primary-color);
  font-size: 1.6rem;
  margin-top: 1rem;
  margin-bottom: 0.8rem;
}

.mission-list {
  text-align: left;
  padding-left: 20px;
  margin: 1.5rem auto 0;
  max-width: 800px;
}

.mission-list li {
  margin-bottom: 0.8rem;
}

.mission-list strong {
  color: var(--primary-color);
}

.about-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-content p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.feature-list {
  margin-top: 2rem;
}

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

.feature-item i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.feature-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Team Section */
.team-bg {
  background-color: var(--white);
}

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

.team-card {
  background-color: var(--bg-light);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.team-img-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.3rem;
  font-size: 1.3rem;
}

.team-role {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Organizational Roles extension */
.roles-list-container {
  margin-top: 4rem;
  background-color: var(--bg-light);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.roles-title {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  text-align: left;
}

.role-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.role-icon {
  color: var(--accent-color);
  font-size: 1.4rem;
  margin-top: 3px;
}

.role-item h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.role-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Gallery */
.gallery-bg {
  background-color: var(--bg-light);
}

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

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Contact Us */
.contact-bg {
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-card i {
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-info-card h4 {
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.contact-info-card p {
  color: var(--text-muted);
}

.contact-form {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-full {
  width: 100%;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about p {
  color: rgba(255,255,255,0.7);
  margin-top: 1rem;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.7);
}

.footer-contact i {
  color: var(--accent-color);
  margin-top: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.5rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 1200px) {
  .hamburger { display: block; }
  .nav-links {
    position: absolute;
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    text-align: center;
    padding: 2rem 0;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    height: calc(100vh - 80px); /* Fill height for better scrolling */
    overflow-y: auto;
  }
  .nav-links.active { left: 0; }
  .nav-links a { display: block; padding: 10px 0; }
  .btn-nav { margin-top: 15px; }

  /* Reset Dropdown for Mobile */
  .dropdown-menu {
    position: static;
    display: block;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    width: 100%;
  }
  
  .dropdown-menu a {
    padding: 10px 0;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
  }

  .nav-links li:hover .dropdown-menu {
    display: block;
  }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}
