/* Base Styles */
:root {
  --primary-color: #1e5eb6;
  --secondary-color: #3d82ea;
  --accent-color: #ffa500;
  --light-color: #f8f9fa;
  --dark-color: #333333;
  --text-color: #4a4a4a;
  --border-color: #e6e6e6;
  --success-color: #28a745;
  --error-color: #dc3545;
  --gray-light: #f5f5f5;
  --gray: #888888;
  --gray-dark: #555555;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --border-radius: 5px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  color: var(--dark-color);
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

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

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

ul, ol {
  margin-bottom: 1rem;
  margin-left: 1.5rem;
}

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

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

/* Header */
header {
  background-color: #fff;
  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: 1rem 15px;
}

.logo img {
  max-height: 60px;
}

nav ul {
  display: flex;
  margin: 0;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem;
  border-bottom: 2px solid transparent;
}

nav ul li a:hover, 
nav ul li a.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #1e5eb6, #3d82ea);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-color);
  color: white;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn:hover {
  background-color: #e69500;
  color: white;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
  padding: 0.5rem 1rem;
}

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

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

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

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

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

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

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

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

.feature-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

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

/* Recent Posts Section */
.recent-posts {
  padding: 5rem 0;
}

.recent-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

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

.post-image {
  height: 200px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 1.5rem;
}

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

.center {
  text-align: center;
  margin-top: 2rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(to right, #1e5eb6, #3d82ea);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.cta h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

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

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

.footer-col h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.contact-list {
  list-style: none;
  margin: 0;
}

.contact-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-list li svg {
  margin-right: 0.5rem;
  flex-shrink: 0;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

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

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
}

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

/* Page Header */
.page-header {
  background: linear-gradient(to right, #1e5eb6, #3d82ea);
  color: white;
  text-align: center;
  padding: 4rem 0;
}

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

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

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

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.blog-image {
  height: 100%;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h2 {
  margin-bottom: 1rem;
}

.blog-date {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Subscribe Section */
.subscribe {
  background-color: var(--light-color);
  padding: 4rem 0;
  text-align: center;
}

.subscribe h2 {
  margin-bottom: 1rem;
}

.subscribe p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.subscribe-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
}

.subscribe-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

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

/* About Us Page */
.about-us {
  padding: 5rem 0;
}

.about-content {
  margin-bottom: 3rem;
}

.values-list {
  margin-bottom: 2rem;
}

.values-list li {
  margin-bottom: 0.5rem;
}

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

/* Team Section */
.team-section {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.team-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

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

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

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

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

/* Testimonials */
.testimonials {
  padding: 5rem 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-quote {
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.testimonial-card p {
  margin: 1.5rem 0;
  font-style: italic;
}

.testimonial-author h4 {
  margin-bottom: 0.25rem;
}

.testimonial-author p {
  margin: 0;
  color: var(--gray);
  font-style: normal;
  font-size: 0.9rem;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  padding-right: 2rem;
}

.contact-details {
  margin: 2rem 0;
}

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

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-text h3 {
  margin-bottom: 0.5rem;
}

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

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

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: var(--font-body);
}

.contact-form textarea {
  resize: vertical;
}

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

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

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

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

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

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

.map-container img {
  width: 100%;
  display: block;
}

/* Blog Post Page */
.blog-post {
  padding: 5rem 0;
}

.post-header {
  text-align: center;
  margin-bottom: 3rem;
}

.post-meta {
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.post-featured-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: var(--shadow);
}

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

.post-content h2, 
.post-content h3, 
.post-content h4 {
  margin-top: 2rem;
}

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

.post-content li {
  margin-bottom: 0.5rem;
}

.post-tags {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.post-tags span {
  font-weight: 600;
  margin-right: 1rem;
}

.post-tags ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
}

.post-tags li {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.post-tags a {
  display: block;
  padding: 0.25rem 0.75rem;
  background-color: var(--light-color);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--gray-dark);
}

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

.share-post {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.share-post h3 {
  margin-bottom: 1rem;
}

.social-share {
  display: flex;
  gap: 1rem;
}

.social-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--light-color);
  border-radius: 50%;
  color: var(--gray-dark);
  transition: var(--transition);
}

.social-share a.facebook:hover {
  background-color: #3b5998;
  color: white;
}

.social-share a.twitter:hover {
  background-color: #1da1f2;
  color: white;
}

.social-share a.linkedin:hover {
  background-color: #0077b5;
  color: white;
}

.social-share a.email:hover {
  background-color: #ea4335;
  color: white;
}

.related-posts {
  max-width: 1000px;
  margin: 0 auto;
}

.related-posts h3 {
  margin-bottom: 2rem;
  text-align: center;
}

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

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

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

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

.related-post h4 {
  padding: 1rem 1rem 0.5rem;
  font-size: 1.1rem;
}

.related-post .post-date {
  padding: 0 1rem 1rem;
  margin: 0;
}

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

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

.close-modal {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--gray);
}

.close-modal:hover {
  color: var(--dark-color);
}

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

.close-btn {
  margin-top: 1.5rem;
}

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

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

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

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

.btn-cookie {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--accent-color);
  color: white;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-cookie-outline {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie:hover {
  background-color: #e69500;
}

.btn-cookie-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-content a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

.cookie-content a:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .blog-card {
    grid-template-columns: 1fr;
  }
  
  .blog-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul li {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .feature-card, 
  .post-card, 
  .blog-card, 
  .team-member, 
  .testimonial-card {
    transform: none !important;
  }
  
  .cookie-content {
    padding: 1rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 576px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0.5rem;
  }
  
  .subscribe-form {
    flex-direction: column;
  }
  
  .subscribe-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .subscribe-form button {
    border-radius: var(--border-radius);
  }
  
  .social-share {
    justify-content: center;
  }
}
