/* ========================================
   GITRAL - Institutional Research Layout
   Color System: #2C3E50, #F39C12, #27AE60, #BDC3C7
   ======================================== */

:root {
  --primary: #2C3E50;
  --secondary: #BDC3C7;
  --accent-orange: #F39C12;
  --accent-green: #27AE60;
  --neutral-light: #f5f5f5;
  --neutral-white: #ffffff;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --border-light: #ecf0f1;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ========================================
   GLOBAL STYLES
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--neutral-white);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

h2 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  letter-spacing: -0.3px;
}

h3 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  color: var(--accent-green);
  opacity: 0.9;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-full {
  width: 100%;
}

section {
  padding: 6rem 0;
}

.section-spacing-lg {
  padding: 8rem 0;
}

.section-spacing-sm {
  padding: 4rem 0;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

header {
  background-color: var(--primary);
  color: var(--neutral-white);
  padding: 1.5rem 0;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--neutral-white);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--neutral-white);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--accent-orange);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  background-color: var(--primary);
  color: var(--neutral-white);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--neutral-white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--secondary);
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: var(--accent-orange);
}

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

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, rgba(44, 62, 80, 0.95) 100%);
  color: var(--neutral-white);
  padding: 8rem 0;
  text-align: left;
}

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

.hero h1 {
  color: var(--neutral-white);
  margin-bottom: 1.5rem;
  font-size: 3.2rem;
}

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

/* ========================================
   CTA BUTTONS
   ======================================== */

.cta-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background-color: var(--accent-orange);
  color: var(--neutral-white);
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-orange);
  cursor: pointer;
  font-size: 0.95rem;
}

.cta-btn:hover {
  background-color: transparent;
  color: var(--accent-orange);
  box-shadow: var(--shadow-md);
}

.cta-btn-secondary {
  background-color: transparent;
  color: var(--accent-orange);
  border: 2px solid var(--accent-orange);
}

.cta-btn-secondary:hover {
  background-color: var(--accent-orange);
  color: var(--neutral-white);
}

/* ========================================
   GRID & LAYOUTS
   ======================================== */

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* ========================================
   CARDS
   ======================================== */

.card {
  background-color: var(--neutral-white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent-orange);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ========================================
   IMAGES & MEDIA
   ======================================== */

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

.image-container {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}

.image-container img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.image-container:hover img {
  transform: scale(1.02);
}

/* ========================================
   LISTS
   ======================================== */

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.list-with-icon {
  list-style: none;
  margin-left: 0;
}

.list-with-icon li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 1rem;
}

.list-with-icon li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ========================================
   DIVIDERS & SEPARATORS
   ======================================== */

.divider {
  height: 1px;
  background: var(--border-light);
  margin: 3rem 0;
}

.divider-accent {
  height: 3px;
  background: var(--accent-orange);
  width: 60px;
  margin: 2rem 0;
}

/* ========================================
   FORMS
   ======================================== */

form {
  max-width: 600px;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

/* ========================================
   DISCLAIMER SECTION
   ======================================== */

.disclaimer-block {
  background-color: var(--neutral-light);
  border-left: 4px solid var(--accent-orange);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer-block h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.disclaimer-block p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section {
    padding: 3rem 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .container {
    padding: 0 1rem;
  }

  .header-container {
    padding: 0 1rem;
  }

  .footer-content {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  section {
    padding: 2rem 0;
  }
}
