/* Base Styles */
:root {
  --primary-color: #f28500;
  --secondary-color: #2c3e50;
  --accent-color: #3498db;
  --background-color: #f9f9f9;
  --dark-background: #1a1a1a;
  --text-color: #333;
  --light-text: #fff;
  --border-color: #ddd;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --error-color: #e74c3c;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 4px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

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

a:hover {
  color: var(--primary-color);
}

ul {
  list-style: none;
}

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

button, .btn {
  cursor: pointer;
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}

button:hover, .btn:hover {
  background-color: var(--secondary-color);
  color: var(--light-text);
  transform: translateY(-2px);
}

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

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

section {
  padding: 60px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

/* Header Styles */
header {
  background-color: var(--dark-background);
  color: var(--light-text);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--box-shadow);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  margin-right: 15px;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: var(--light-text);
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

nav ul li a:hover, 
nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a.active:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.font-size-control {
  margin-left: 20px;
}

.font-size-control button {
  font-size: 0.8rem;
  padding: 5px 10px;
  background-color: var(--secondary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-background) 100%);
  color: var(--light-text);
  padding: 100px 0;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Featured Posts Section */
.featured-posts {
  background-color: var(--background-color);
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 40px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.post-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 20px;
}

.post-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--primary-color);
}

.read-more:hover {
  text-decoration: underline;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff9f43 100%);
  color: var(--light-text);
  text-align: center;
}

.cta h2 {
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

#newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

#newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  background-color: var(--secondary-color);
}

/* Footer Styles */
footer {
  background-color: var(--dark-background);
  color: var(--light-text);
  padding: 60px 0 20px;
}

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

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
}

.footer-links h3, 
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links h3:after, 
.footer-contact h3:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ccc;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-contact p i {
  margin-right: 10px;
  color: var(--primary-color);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-background) 100%);
  color: var(--light-text);
  padding: 60px 0;
  text-align: center;
}

.page-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* Blog Content */
.blog-content {
  padding: 60px 0;
}

.blog-post {
  margin-bottom: 60px;
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.post-details {
  padding: 30px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #777;
}

.post-meta span {
  margin-right: 20px;
}

.post-body h4 {
  margin-top: 25px;
  font-size: 1.3rem;
}

/* Terminology Section */
.terminology-content {
  padding: 60px 0;
}

.terminology-intro {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}

.terminology-intro p {
  flex: 1;
  font-size: 1.1rem;
}

.terminology-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.terminology-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.category {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--box-shadow);
}

.category h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.terms-list dt {
  font-weight: 700;
  margin-top: 15px;
}

.terms-list dd {
  margin-bottom: 15px;
  color: #555;
}

/* About Page */
.about-intro {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.mission, .vision {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--box-shadow);
}

.mission h3, .vision h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.team-section {
  margin-bottom: 50px;
}

.team-section h3 {
  text-align: center;
  margin-bottom: 30px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-member h4 {
  margin: 15px 0 5px;
}

.team-member .role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.team-member p {
  padding: 0 15px 20px;
}

.values-section {
  margin-bottom: 50px;
}

.values-section h3 {
  text-align: center;
  margin-bottom: 30px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.value-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.partner-section h3 {
  text-align: center;
  margin-bottom: 20px;
}

.partner-section p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
}

.partner-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.partner-logos img {
  height: 60px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.partner-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.contact-info {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.info-card {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.info-card i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 5px;
}

.info-card h4 {
  margin-bottom: 5px;
}

.social-links h4 {
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #f0f0f0;
  border-radius: 50%;
  color: var(--secondary-color);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
  transform: translateY(-3px);
}

.contact-form-container {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-color);
  outline: none;
}

.checkbox-container {
  display: flex;
  align-items: center;
}

.checkbox-container input {
  width: auto;
  margin-right: 10px;
}

.map-container {
  margin-top: 40px;
}

.map-container h3 {
  text-align: center;
  margin-bottom: 20px;
}

.map {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-section {
  background-color: #f5f5f5;
  padding: 60px 0;
}

.faq-section h3 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.faq-item {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--box-shadow);
}

.faq-item h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--box-shadow);
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

.success-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 20px;
}

.modal-btn {
  margin-top: 20px;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-background);
  color: var(--light-text);
  padding: 15px 0;
  z-index: 99;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: none;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin: 15px 0;
  flex-wrap: wrap;
}

.cookie-link {
  font-size: 0.9rem;
}

.cookie-link a {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 991px) {
  .hero .container {
    flex-direction: column;
  }
  
  .about-intro {
    flex-direction: column;
  }
  
  .terminology-intro {
    flex-direction: column;
  }
  
  nav ul li {
    margin-left: 15px;
  }
  
  .font-size-control button {
    font-size: 0.7rem;
    padding: 4px 8px;
  }
}

@media screen and (max-width: 768px) {
  header .container {
    flex-direction: column;
    padding: 15px;
  }
  
  header {
    height: auto;
    position: relative;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  nav {
    width: 100%;
  }
  
  nav ul {
    justify-content: center;
  }
  
  .font-size-control {
    margin: 15px 0 0;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .post-grid,
  .terminology-categories,
  .team-grid,
  .values-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 5px 10px;
  }
  
  #newsletter-form {
    flex-direction: column;
  }
  
  #newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 10px;
  }
  
  #newsletter-form button {
    border-radius: var(--border-radius);
    width: 100%;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
}
