/* Base Styles */
:root {
  --primary-color: #0078aa;
  --primary-dark: #005c84;
  --primary-light: #3da5d9;
  --secondary-color: #f8a838;
  --secondary-dark: #e5962f;
  --text-dark: #333333;
  --text-light: #666666;
  --text-white: #ffffff;
  --background-light: #f9f9f9;
  --background-white: #ffffff;
  --border-color: #e0e0e0;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 6px;
  --gap: 30px;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text-dark);
}

h1 {
  font-size: 42px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

p {
  margin-bottom: 20px;
}

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

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

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

ul {
  list-style: none;
}

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

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 12px 24px;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  font-size: 16px;
}

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

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

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

.btn-small {
  padding: 8px 16px;
  font-size: 14px;
}

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

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

.center {
  text-align: center;
  margin: 30px 0;
}

/* Layout Sections */

/* Header */
header {
  background-color: var(--background-white);
  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: 15px 20px;
}

.logo img {
  height: 50px;
}

nav ul {
  display: flex;
}

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

nav ul li a {
  color: var(--text-dark);
  font-weight: 600;
  position: relative;
}

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);
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-white);
  padding: 0 20px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--text-white);
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--background-light);
}

.features h2 {
  text-align: center;
  margin-bottom: 50px;
}

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

.feature-card {
  background-color: var(--background-white);
  padding: 30px;
  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 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-card .icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.feature-card .icon svg {
  width: 50px;
  height: 50px;
}

.feature-card h3 {
  margin-bottom: 15px;
}

/* Latest Posts Section */
.latest-posts {
  padding: 80px 0;
}

.latest-posts h2 {
  text-align: center;
  margin-bottom: 50px;
}

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

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

.post-card {
  background-color: var(--background-white);
  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-card.small img {
  height: 150px;
}

.post-content {
  padding: 20px;
}

.post-meta {
  display: flex;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-light);
}

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

.post-card h3, .post-card h4 {
  margin-bottom: 10px;
}

.post-card p {
  margin-bottom: 15px;
  color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: var(--background-light);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 50px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}

.testimonial {
  background-color: var(--background-white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.stars {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 18px;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/3.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-white);
  text-align: center;
}

.cta h2 {
  color: var(--text-white);
  margin-bottom: 20px;
}

.cta p {
  margin-bottom: 30px;
  font-size: 18px;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: var(--text-white);
  padding: 60px 0 20px;
}

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

.footer-logo img {
  height: 60px;
  margin-bottom: 15px;
}

.footer-links h4, .footer-contact h4 {
  color: var(--text-white);
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
}

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

.footer-links ul li a {
  color: #cccccc;
}

.footer-links ul li a:hover {
  color: var(--primary-light);
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: #cccccc;
}

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

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

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

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333333;
  font-size: 14px;
  color: #999999;
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--text-white);
  padding: 20px;
  z-index: 9999;
  display: none; /* Initially hidden */
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-content p {
  margin-bottom: 15px;
  max-width: 800px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.cookie-content a {
  color: var(--primary-light);
  font-size: 14px;
}

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

.page-header h1 {
  color: var(--text-white);
  margin-bottom: 10px;
}

.page-header p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

/* Blog Posts Page */
.blog-posts {
  padding: 80px 0;
}

/* Newsletter Section */
.newsletter {
  padding: 60px 0;
  background-color: var(--background-light);
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 16px;
}

/* Single Blog Post */
.blog-post {
  padding: 80px 0;
}

.post-header {
  text-align: center;
  margin-bottom: 40px;
}

.featured-image {
  margin-bottom: 40px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: auto;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
}

.post-content .intro {
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.post-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.post-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.post-image {
  margin: 30px 0;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.post-image img {
  width: 100%;
}

.post-image .caption {
  padding: 10px;
  background-color: var(--background-light);
  font-style: italic;
  font-size: 14px;
  color: var(--text-light);
  text-align: center;
}

.tip-box {
  background-color: var(--background-light);
  padding: 20px;
  border-left: 4px solid var(--primary-color);
  margin: 30px 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.tip-box h3 {
  color: var(--primary-color);
  margin-top: 0;
}

.post-content ul, .post-content ol {
  margin: 20px 0 20px 20px;
}

.post-content li {
  margin-bottom: 10px;
}

.post-content ul li {
  list-style-type: disc;
}

.post-content ol li {
  list-style-type: decimal;
}

.conclusion {
  margin-top: 40px;
  padding: 20px;
  background-color: var(--background-light);
  border-radius: var(--border-radius);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin: 50px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.post-nav-previous, .post-nav-next {
  max-width: 45%;
}

.related-posts {
  margin-top: 60px;
}

.related-posts h3 {
  text-align: center;
  margin-bottom: 30px;
}

/* About Page */
.about-intro {
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.values {
  padding: 80px 0;
  background-color: var(--background-light);
}

.values h2 {
  text-align: center;
  margin-bottom: 50px;
}

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

.value-card {
  background-color: var(--background-white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.value-card .icon {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.value-card .icon svg {
  width: 40px;
  height: 40px;
}

.team {
  padding: 80px 0;
}

.team h2 {
  text-align: center;
  margin-bottom: 50px;
}

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

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

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

.team-member h3 {
  margin: 20px 0 5px;
}

.team-member p {
  padding: 0 20px;
  margin-bottom: 10px;
}

.team-member p:nth-of-type(1) {
  font-weight: 600;
  color: var(--primary-color);
}

.team-member .social-icons {
  justify-content: center;
  margin: 15px 0 20px;
}

.achievements {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-white);
}

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

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

.achievement .number {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.about-testimonials {
  background-color: var(--background-white);
}

.partners {
  padding: 80px 0;
  background-color: var(--background-light);
}

.partners h2 {
  text-align: center;
  margin-bottom: 50px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--gap);
  align-items: center;
}

.partner img {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
  margin: 0 auto;
  max-height: 80px;
}

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

/* Contact Page */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--gap);
}

.contact-info h2, .contact-form-container h2 {
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
}

.info-item .icon {
  flex: 0 0 40px;
  color: var(--primary-color);
  margin-right: 15px;
}

.info-item h3 {
  margin-bottom: 5px;
}

.social-contact h3 {
  margin-bottom: 15px;
}

.contact-form {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: var(--border-radius);
}

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

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

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
}

.form-group textarea {
  resize: vertical;
}

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

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

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
}

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

.map-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

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

.faq-section {
  padding: 80px 0;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 50px;
}

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

.faq-item {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: var(--border-radius);
}

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

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

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: var(--background-white);
  margin: 10% auto;
  padding: 40px;
  border-radius: var(--border-radius);
  max-width: 500px;
  text-align: center;
  position: relative;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: var(--text-light);
  cursor: pointer;
}

.modal-icon {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.modal-icon svg {
  width: 60px;
  height: 60px;
}

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

.modal p {
  margin-bottom: 25px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-text {
    order: 2;
  }
  
  .about-image {
    order: 1;
    margin-bottom: 30px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 30px;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 20px;
  }
  
  .post-nav-previous, .post-nav-next {
    max-width: 100%;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    margin-bottom: 10px;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  nav ul li {
    margin-left: 15px;
    margin-right: 15px;
  }
  
  .hero {
    height: 60vh;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}
