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

:root {
  /* Colors */
  --primary-blue: #1E3A8A;
  --primary-blue-hover: #1e40af;
  --accent-orange: #F97316;
  --accent-orange-hover: #ea580c;
  --bg-light: #F5F7FA;
  --white: #FFFFFF;
  --text-dark: #1f2937;
  --text-gray: #4b5563;
  --border-color: #e5e7eb;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  
  /* Effects */
  --radius: 8px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-blue);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.section {
  padding: var(--sp-8) 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: var(--sp-6);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-orange);
  margin: var(--sp-2) auto 0;
  border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-accent:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: var(--sp-3);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  padding: var(--sp-2) 0;
  transition: var(--transition);
}

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

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.navbar-brand span {
  color: var(--accent-orange);
}

.nav-links {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
}

.nav-link:hover {
  color: var(--accent-orange);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-blue);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--sp-8) + 60px);
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(245,247,250,1) 0%, rgba(226,232,240,1) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--sp-3);
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin-bottom: var(--sp-4);
}

.hero-buttons {
  display: flex;
  gap: var(--sp-2);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: var(--sp-4);
}

.grid-cols-1 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-cols-md-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-md-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-cols-md-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Organization Structure */
.member-card {
  text-align: center;
  padding: 0;
  overflow: hidden;
}

.member-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 3px solid var(--accent-orange);
}

.member-info {
  padding: var(--sp-3);
}

.member-name {
  font-size: 1.25rem;
  margin-bottom: var(--sp-1);
}

.member-role {
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: var(--sp-1);
}

.member-division {
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 4px;
  background-color: var(--primary-blue);
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: var(--sp-4);
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}

.timeline-content {
  padding: var(--sp-3);
}

.timeline-date {
  font-size: 0.875rem;
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: var(--sp-1);
  display: block;
}

.timeline-title {
  margin-bottom: var(--sp-1);
}

/* Gallery */
.gallery-card {
  padding: 0;
  overflow: hidden;
}

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

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

.gallery-info {
  padding: var(--sp-3);
}

.gallery-title {
  font-size: 1.125rem;
  margin-bottom: var(--sp-1);
}

.gallery-desc {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: var(--sp-2);
}

.gallery-link {
  color: var(--primary-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 0.875rem;
}

.gallery-link:hover {
  color: var(--accent-orange);
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: var(--sp-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--white);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: var(--sp-3);
  background-color: var(--white);
  border: none;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: rgba(30, 58, 138, 0.05);
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: var(--white);
}

.accordion-inner {
  padding: 0 var(--sp-3) var(--sp-3);
  color: var(--text-gray);
}

/* Footer */
.footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: var(--sp-6) 0 var(--sp-3);
}

.footer-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
  margin-bottom: var(--sp-4);
}

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

.footer-brand h2 {
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.footer-brand p {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--sp-3);
}

.social-links {
  display: flex;
  gap: var(--sp-2);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  color: var(--white);
}

.social-link:hover {
  background-color: var(--accent-orange);
  transform: translateY(-3px);
}

.footer-title {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: var(--sp-3);
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background-color: var(--accent-orange);
}

.footer-links li {
  margin-bottom: var(--sp-1);
}

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

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: var(--sp-1);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--white);
    padding: var(--sp-3);
    box-shadow: var(--shadow-md);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.3s ease-in-out;
  }
  
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}
