:root {
  --primary-color: #3c6997;
  --primary-dark: #2a4b6e;
  --primary-light: #5089c0;
  --secondary-color: #e76f51;
  --secondary-dark: #c85a3e;
  --secondary-light: #f29578;
  --accent-color: #f4a261;
  --dark-color: #242424;
  --dark-gray: #555555;
  --gray-color: #888888;
  --light-gray: #dddddd;
  --light-color: #f8f9fa;
  --white-color: #ffffff;
  --success-color: #4caf50;
  --danger-color: #e74c3c;
  --warning-color: #f39c12;
  --font-primary: 'Roboto', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --border-radius: 8px;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--dark-color);
  font-weight: 600;
}

h1 {
  font-size: 3.6rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
}

h5 {
  font-size: 1.8rem;
}

h6 {
  font-size: 1.6rem;
}

p {
  margin-bottom: 1.6rem;
}

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

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

ul, ol {
  margin-bottom: 1.6rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.8rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.6rem;
}

.primary-btn {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.primary-btn:hover {
  background-color: var(--primary-dark);
  color: var(--white-color);
}

.secondary-btn {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.secondary-btn:hover {
  background-color: var(--secondary-dark);
  color: var(--white-color);
}

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

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

.text-btn {
  background-color: transparent;
  color: var(--primary-color);
  padding: 1.2rem 1.6rem;
}

.text-btn:hover {
  background-color: rgba(60, 105, 151, 0.1);
}

.center-btn {
  text-align: center;
  margin: 3rem 0;
}

/* Header & Navigation */
header {
  background-color: var(--white-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo img {
  height: 5rem;
  border-radius: 0;
}

.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu li {
  margin: 0 1.5rem;
  margin-bottom: 0;
}

.main-menu a {
  font-size: 1.8rem;
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.8rem 0;
  position: relative;
}

.main-menu a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.main-menu a:hover:after,
.main-menu a.active:after {
  width: 100%;
}

.main-menu a.active {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-color: var(--primary-light);
  color: var(--white-color);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/1.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-size: 4.2rem;
  margin-bottom: 1.6rem;
  color: var(--white-color);
}

.hero p {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.features {
  padding: 8rem 0;
  background-color: var(--white-color);
}

.features h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 3rem;
}

.feature-card {
  background-color: var(--light-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-card svg {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.feature-card h3 {
  margin-bottom: 1.5rem;
}

.feature-card p {
  color: var(--dark-gray);
  margin-bottom: 0;
}

/* Latest Posts Section */
.latest-posts {
  padding: 8rem 0;
  background-color: var(--light-color);
}

.latest-posts h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
}

.small-grid {
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
}

.blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
}

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

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.post-card img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  border-radius: 0;
}

.post-content {
  padding: 2rem;
}

.post-date {
  display: block;
  color: var(--gray-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.post-card h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.post-card h4 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

.post-card p {
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

.post-card .btn {
  padding: 1rem 2rem;
}

/* Newsletter Section */
.newsletter {
  padding: 8rem 0;
  background-color: var(--white-color);
}

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

.newsletter img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.newsletter-content {
  max-width: 60rem;
}

.newsletter-form {
  display: flex;
  margin-top: 2rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1.2rem 1.6rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1.6rem;
}

.newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 6rem 0 2rem;
}

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

.footer-logo img {
  height: 6rem;
  margin-bottom: 1.5rem;
  border-radius: 0;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  color: var(--white-color);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--light-gray);
}

.footer-links a:hover {
  color: var(--white-color);
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--light-gray);
}

.footer-contact svg {
  margin-right: 1rem;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white-color);
  border-radius: 50%;
  transition: var(--transition);
}

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

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

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 1.5rem 0;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: none;
}

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

.cookie-content p {
  margin-bottom: 1rem;
  margin-right: 2rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Page Header */
.page-header {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 6rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white-color);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 2rem;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

/* Blog Posts Page */
.blog-posts {
  padding: 6rem 0;
}

/* Blog Post Single */
.blog-post {
  padding: 6rem 0;
}

.post-header {
  margin-bottom: 4rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  color: var(--gray-color);
}

.post-image {
  width: 100%;
  height: auto;
  max-height: 50rem;
  object-fit: cover;
  margin-bottom: 3rem;
}

.post-content h2 {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.post-content h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.post-content img {
  margin: 2rem 0;
}

.post-content ul,
.post-content ol {
  margin-bottom: 2rem;
}

.post-content blockquote {
  margin: 2rem 0;
  padding: 2rem;
  background-color: var(--light-color);
  border-left: 4px solid var(--primary-color);
}

.post-footer {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.post-tags span,
.post-share span {
  display: inline-block;
  margin-right: 1rem;
  font-weight: 500;
}

.post-tags a {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  font-size: 1.4rem;
}

.post-share {
  display: flex;
  align-items: center;
}

.post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--light-color);
  color: var(--dark-color);
  border-radius: 50%;
  margin-left: 1rem;
  transition: var(--transition);
}

.post-share a:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.related-posts {
  margin-top: 6rem;
}

.related-posts h3 {
  margin-bottom: 3rem;
}

/* About Page */
.about-story,
.our-mission {
  padding: 6rem 0;
}

.about-story .container,
.our-mission .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-content,
.mission-content {
  max-width: 60rem;
}

.story-image img,
.mission-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.value-item {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.value-item svg {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.value-item h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.value-item p {
  margin-bottom: 0;
}

.team-section {
  padding: 6rem 0;
  background-color: var(--light-color);
}

.section-intro {
  text-align: center;
  max-width: 60rem;
  margin: 0 auto 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 3rem;
}

.team-member {
  background-color: var(--white-color);
  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 8px 16px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  border-radius: 0;
}

.team-member h3 {
  margin: 2rem 0 0.5rem;
}

.team-member p {
  color: var(--dark-gray);
  padding: 0 2rem;
  margin-bottom: 2rem;
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 500;
}

.achievements {
  padding: 6rem 0;
  background-color: var(--primary-color);
  color: var(--white-color);
}

.achievements h2 {
  text-align: center;
  color: var(--white-color);
  margin-bottom: 4rem;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 3rem;
  text-align: center;
}

.achievement-number {
  font-size: 4.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white-color);
}

.achievement-item p {
  font-size: 1.8rem;
  margin-bottom: 0;
}

.cta-section {
  padding: 8rem 0;
  text-align: center;
  background-color: var(--light-color);
}

.cta-section h2 {
  margin-bottom: 2rem;
}

.cta-section p {
  max-width: 60rem;
  margin: 0 auto 3rem;
}

/* Contact Page */
.contact-section {
  padding: 6rem 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 4rem;
  border-radius: var(--border-radius);
}

.contact-info h2 {
  color: var(--white-color);
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  margin-bottom: 3rem;
}

.contact-item svg {
  margin-right: 2rem;
  min-width: 2.4rem;
}

.contact-item h3 {
  color: var(--white-color);
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.contact-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.social-contact {
  margin-top: 4rem;
}

.social-contact h3 {
  color: var(--white-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.contact-form-container {
  background-color: var(--white-color);
  padding: 4rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
  margin-bottom: 3rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.2rem 1.6rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 1.6rem;
  font-family: var(--font-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 15rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 1rem;
  margin-top: 0.5rem;
}

.map-section {
  padding: 6rem 0;
  background-color: var(--light-color);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.map-container {
  height: 40rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--white-color);
  padding: 4rem;
  border-radius: var(--border-radius);
  max-width: 50rem;
  width: 90%;
  text-align: center;
  position: relative;
  transform: translateY(-50px);
  transition: var(--transition);
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.4rem;
  cursor: pointer;
  color: var(--gray-color);
  background: none;
  border: none;
}

.success-icon {
  color: var(--success-color);
  margin-bottom: 2rem;
}

.modal h2 {
  margin-bottom: 1.5rem;
}

.modal p {
  margin-bottom: 3rem;
}

.close-btn {
  padding: 1rem 3rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  html {
    font-size: 55%;
  }
  
  .about-story .container,
  .our-mission .container,
  .newsletter .container {
    grid-template-columns: 1fr;
  }
  
  .values-list {
    grid-template-columns: 1fr;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%;
  }
  
  .main-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--white-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }
  
  .main-menu.active {
    right: 0;
  }
  
  .main-menu li {
    margin: 2rem 0;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1002;
  }
  
  .post-footer {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .features-grid,
  .posts-grid,
  .team-grid,
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
    width: 100%;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
