/* ===========================================
   ZUJLEKA - Institutional Knowledge Portal
   Deep Slate Gray (#2F4F4F)
   Soft Gold (#C3B299)
   Muted Teal (#4682B4)
   Warm Off-White (#F5F5DC)
   =========================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', 'Lato', sans-serif;
  background-color: #F5F5DC;
  color: #2F4F4F;
  line-height: 1.6;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: #2F4F4F;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  margin-top: 3rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: #4682B4;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #C3B299;
  text-decoration: underline;
}

/* Container & Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section.dark-bg {
  background-color: #2F4F4F;
  color: #F5F5DC;
}

.section.dark-bg h2,
.section.dark-bg h3 {
  color: #F5F5DC;
}

.section.teal-bg {
  background-color: #4682B4;
  color: #F5F5DC;
}

.section.teal-bg h2,
.section.teal-bg h3 {
  color: #F5F5DC;
}

/* Header */
header {
  background-color: #2F4F4F;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #C3B299;
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

nav a {
  color: #F5F5DC;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #C3B299;
  text-decoration: none;
}

nav a.active {
  color: #C3B299;
  border-bottom: 2px solid #C3B299;
  padding-bottom: 4px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(47, 79, 79, 0.7), rgba(70, 130, 180, 0.7)), 
              url('/images/hero-bg.jpg') center/cover;
  background-attachment: fixed;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #F5F5DC;
  padding: 120px 40px;
}

.hero h1 {
  color: #F5F5DC;
  font-size: 4rem;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.hero p {
  color: #C3B299;
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: #4682B4;
  color: #F5F5DC;
}

.btn-primary:hover {
  background-color: #35618a;
  box-shadow: 0 5px 20px rgba(70, 130, 180, 0.3);
  text-decoration: none;
}

.btn-secondary {
  background-color: #2F4F4F;
  color: #C3B299;
  border: 2px solid #C3B299;
}

.btn-secondary:hover {
  background-color: #C3B299;
  color: #2F4F4F;
  text-decoration: none;
}

/* Two Column Layout */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.row.reverse {
  direction: rtl;
}

.row.reverse > * {
  direction: ltr;
}

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

.card {
  background-color: #F5F5DC;
  padding: 2rem;
  border: 1px solid rgba(47, 79, 79, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

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

.card h3 {
  color: #4682B4;
  margin-top: 0;
}

.card p {
  margin-bottom: 1rem;
}

/* Image Styling */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-image,
.section-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background-color: #2F4F4F;
  color: #F5F5DC;
  padding: 60px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: #C3B299;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.footer-section a {
  color: #F5F5DC;
  display: block;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: #C3B299;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(195, 178, 153, 0.2);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* Forms */
form {
  max-width: 600px;
  margin: 2rem auto;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2F4F4F;
}

input, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(47, 79, 79, 0.2);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background-color: #ffffff;
  color: #2F4F4F;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #4682B4;
  box-shadow: 0 0 0 3px rgba(70, 130, 180, 0.1);
}

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

/* Quote/Highlight */
.highlight-quote {
  background-color: #4682B4;
  color: #F5F5DC;
  padding: 3rem 2rem;
  border-left: 5px solid #C3B299;
  font-size: 1.2rem;
  font-style: italic;
  margin: 2rem 0;
  line-height: 1.7;
}

/* Lists */
ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

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

/* Icons */
.icon {
  width: 48px;
  height: 48px;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.4rem;
  }

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

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

  .header-content {
    padding: 0 20px;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 80px 20px;
    min-height: 400px;
  }

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

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

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

  h2 {
    font-size: 1.5rem;
  }

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

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 60px 15px;
  }

  nav ul {
    gap: 0.5rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-gold {
  color: #C3B299;
}

.text-teal {
  color: #4682B4;
}

.mt-large {
  margin-top: 3rem;
}

.mb-large {
  margin-bottom: 3rem;
}

.py-large {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
