/* ===================================
   WAJLEX - Main Stylesheet
   Design Framework: Structured Insight
   Color Palette: Dark Steel Blue, Vibrant Blue, Emerald Green, Burnt Orange
   =================================== */

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 18px;
  line-height: 1.6;
  color: #2C3E50;
  background-color: #ECF0F1;
  letter-spacing: 0.3px;
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 72px;
  font-weight: 700;
  color: #2C3E50;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

h2 {
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: #34495E;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

h3 {
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: #2C3E50;
  line-height: 1.4;
  margin-bottom: 16px;
}

h4 {
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #34495E;
  margin-bottom: 12px;
}

h5 {
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 10px;
}

p {
  margin-bottom: 16px;
  color: #34495E;
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: #3498DB;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

/* ===== CONTAINER & LAYOUT ===== */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-fluid {
  width: 100%;
}

/* ===== SECTION SPACING ===== */
section {
  padding: 100px 0;
  position: relative;
}

section:nth-child(even) {
  background-color: #F8F9FA;
}

section:nth-child(odd) {
  background-color: #ECF0F1;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background-color: #2C3E50;
  color: #ECF0F1;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.logo {
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #3498DB;
  text-decoration: none;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav a {
  color: #ECF0F1;
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
  color: #3498DB;
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #3498DB;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
  color: #ECF0F1;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(46, 204, 113, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #ECF0F1;
  font-size: 80px;
  margin-bottom: 32px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  color: #BDC3C7;
  font-size: 22px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ===== BUTTON STYLES ===== */
.btn {
  display: inline-block;
  padding: 16px 36px;
  background-color: #3498DB;
  color: #ECF0F1;
  border: 2px solid #3498DB;
  border-radius: 4px;
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.btn:hover {
  background-color: #2980B9;
  border-color: #2980B9;
  box-shadow: 0 6px 16px rgba(52, 152, 219, 0.3);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: #3498DB;
  border: 2px solid #3498DB;
}

.btn-secondary:hover {
  background-color: #3498DB;
  color: #ECF0F1;
}

.btn-green {
  background-color: #2ECC71;
  border-color: #2ECC71;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

.btn-green:hover {
  background-color: #27AE60;
  border-color: #27AE60;
  box-shadow: 0 6px 16px rgba(46, 204, 113, 0.3);
}

/* ===== GRID LAYOUTS ===== */
.grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin: 40px 0;
}

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

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

/* ===== CARD STYLES ===== */
.card {
  background-color: white;
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #E8EBF0;
}

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

.card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 24px;
  display: block;
}

.card h3 {
  margin-bottom: 12px;
  color: #2C3E50;
}

.card p {
  color: #7F8C8D;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ===== IMAGE STYLES ===== */
.section-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 20px 0;
}

.image-full {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  margin: 40px 0;
}

/* ===== LISTS & MARKERS ===== */
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}

ul li, ol li {
  margin-bottom: 12px;
  line-height: 1.8;
  color: #34495E;
}

ul li::marker {
  color: #2ECC71;
}

/* ===== BLOCKQUOTE & ACCENT TEXT ===== */
blockquote {
  border-left: 4px solid #E67E22;
  padding-left: 24px;
  margin: 24px 0;
  font-style: italic;
  color: #7F8C8D;
}

.accent-text {
  color: #E67E22;
  font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
  background-color: #2C3E50;
  color: #BDC3C7;
  padding: 60px 0 20px;
  margin-top: 60px;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

footer h5 {
  color: #ECF0F1;
  margin-bottom: 16px;
}

footer a {
  color: #BDC3C7;
  display: block;
  margin-bottom: 10px;
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 14px;
}

footer a:hover {
  color: #3498DB;
}

.footer-bottom {
  border-top: 1px solid #34495E;
  padding-top: 20px;
  text-align: center;
  color: #7F8C8D;
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 14px;
}

/* ===== FORM STYLES ===== */
.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #2C3E50;
  font-weight: 500;
  font-family: 'Inter', 'Montserrat', sans-serif;
}

input[type="text"],
input[type="email"],
input[type="phone"],
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #BDC3C7;
  border-radius: 4px;
  font-family: 'Merriweather', serif;
  font-size: 16px;
  color: #2C3E50;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="phone"]:focus,
textarea:focus {
  outline: none;
  border-color: #3498DB;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

/* ===== TABLE STYLES ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

th {
  background-color: #2C3E50;
  color: #ECF0F1;
  padding: 16px;
  text-align: left;
  font-weight: 600;
  font-family: 'Inter', 'Montserrat', sans-serif;
}

td {
  padding: 14px 16px;
  border-bottom: 1px solid #E8EBF0;
  color: #34495E;
}

tr:hover {
  background-color: #F8F9FA;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

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

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

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mt-40 {
  margin-top: 40px;
}

.py-80 {
  padding-top: 80px;
  padding-bottom: 80px;
}

.py-120 {
  padding-top: 120px;
  padding-bottom: 120px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 40px;
  }

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

  nav ul {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }

  section {
    padding: 60px 0;
  }

  .hero {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero p {
    font-size: 18px;
  }

  .container {
    padding: 0 20px;
  }

  nav ul {
    flex-direction: column;
    gap: 16px;
  }

  header .container {
    flex-direction: column;
    gap: 20px;
  }

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

  footer .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .image-full {
    height: 300px;
  }
}

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

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

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

  nav ul {
    gap: 12px;
  }

  nav a {
    font-size: 14px;
  }
}
