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

:root {
  --primary: #2C3E50;
  --secondary: #F8F8F8;
  --accent-blue: #5DADE2;
  --accent-green: #28B463;
  --accent-yellow: #F1C40F;
  --neutral-light: #EEEEEE;
  --neutral-mid: #AAAAAA;
  --text-dark: #2C3E50;
  --text-light: #FFFFFF;
  --shadow: rgba(44, 62, 80, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
}

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

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

header {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 1.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px var(--shadow);
}

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

header .logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-light);
}

header .logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

header .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

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

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

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

section {
  padding: 100px 0;
}

section.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #34495E 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

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

section.hero h1 {
  color: var(--accent-yellow);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

section.hero p {
  font-size: 1.1rem;
  color: #ECF0F1;
  margin-bottom: 2rem;
}

section.hero img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--accent-blue);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 600;
  border: 2px solid var(--accent-blue);
  cursor: pointer;
  font-size: 0.95rem;
}

.btn:hover {
  background-color: #4A90B2;
  border-color: #4A90B2;
  box-shadow: 0 4px 12px rgba(93, 173, 226, 0.3);
}

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

.btn-outline:hover {
  background-color: var(--accent-blue);
  color: var(--text-light);
}

.content-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.content-section.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.content-section.reverse > * {
  direction: ltr;
}

.content-section img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 24px var(--shadow);
}

.content-text h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.content-text p {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-highlight {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

.section-highlight h2 {
  color: var(--accent-yellow);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.section-highlight p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

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

.card {
  background-color: var(--text-light);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow);
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent-blue);
}

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

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

footer {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 3rem 0 1rem 0;
  margin-top: 80px;
}

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

footer h4 {
  color: var(--accent-yellow);
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 700;
}

footer ul {
  list-style: none;
}

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

footer a {
  color: #BDC3C7;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--accent-yellow);
}

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

.breadcrumb {
  background-color: #F0F0F0;
  padding: 1rem 0;
  margin-top: 80px;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--neutral-light);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.breadcrumb li {
  color: var(--neutral-mid);
}

.breadcrumb a {
  color: var(--accent-blue);
}

.page-title {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  margin-bottom: 3rem;
}

.page-title h1 {
  color: var(--accent-yellow);
  font-size: 3rem;
  margin: 0;
}

.page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem 4rem 2rem;
}

.page-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content p {
  text-align: justify;
  margin-bottom: 1.25rem;
}

.context-notice {
  background-color: #FFF9E6;
  border-left: 4px solid var(--accent-yellow);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.context-notice h3 {
  color: var(--primary);
  margin-top: 0;
}

.list-styled {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.list-styled li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

table th {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 1rem;
  text-align: left;
}

table td {
  border-bottom: 1px solid var(--neutral-light);
  padding: 0.75rem 1rem;
}

table tr:hover {
  background-color: #FAFAFA;
}

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

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

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="phone"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--neutral-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="phone"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(93, 173, 226, 0.1);
}

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

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

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  section.hero .content,
  .content-section,
  .content-section.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  header .logo-text {
    display: none;
  }

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 60px 0;
  }

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

  .page-content {
    padding: 0 1rem 3rem 1rem;
  }

  .page-title h1 {
    font-size: 2rem;
  }
}
