:root {
  --primary: #3498db;
  --secondary: #2ecc71;
  --dark: #2c3e50;
  --light: #ecf0f1;
  --accent: #e74c3c;
  --gray: #95a5a6;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

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

/* Header */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

.logo img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.nav-links a:hover {
  color: var(--primary);
  background-color: rgba(52, 152, 219, 0.1);
}

.nav-links a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
}

/* Hero Section */
.hero {
  height: 80vh;
  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;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.date-time {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.slogan {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  font-style: italic;
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
  background-color: #27ae60;
}

/* Featured Section */
.featured {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark);
  display: inline-block;
}

.section-title h2:after {
  content: '';
  display: block;
  width: 50%;
  height: 4px;
  background-color: var(--primary);
  margin: 10px auto 0;
  border-radius: 2px;
}

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

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

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

.feature-img {
  height: 200px;
  overflow: hidden;
}

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

.feature-card:hover .feature-img img {
  transform: scale(1.1);
}

.feature-content {
  padding: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

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

.read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
}

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

.read-more i {
  margin-left: 5px;
}

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

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

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

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

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

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

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

.post-content {
  padding: 1.5rem;
}

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

.post-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

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

.tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.tag {
  background-color: rgba(52, 152, 219, 0.1);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
}

/* Single Post */
.single-post {
  padding: 5rem 0;
}

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

.post-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  color: var(--gray);
}

.post-meta > div {
  margin: 0 1rem;
  display: flex;
  align-items: center;
}

.post-meta i {
  margin-right: 5px;
}

.post-featured-img {
  margin-bottom: 3rem;
  border-radius: 10px;
  overflow: hidden;
  height: 500px;
}

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

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

.post-body p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.post-body h2 {
  font-size: 2rem;
  margin: 2.5rem 0 1.5rem;
}

.post-body h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.post-body ul, .post-body ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

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

.post-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 2rem 0;
}

.post-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: rgba(52, 152, 219, 0.1);
  border-left: 4px solid var(--primary);
  font-style: italic;
}

.share-post {
  margin-top: 3rem;
  text-align: center;
}

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

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.share-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  transition: var(--transition);
}

.share-button:hover {
  transform: translateY(-3px);
}

.facebook {
  background-color: #3b5998;
}

.twitter {
  background-color: #1da1f2;
}

.linkedin {
  background-color: #0077b5;
}

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

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

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

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

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

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

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.team {
  margin-top: 5rem;
}

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

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

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

.member-img {
  height: 250px;
  overflow: hidden;
}

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

.member-info {
  padding: 1.5rem;
}

.member-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.member-info p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #f1f1f1;
  color: var(--dark);
  transition: var(--transition);
}

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

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

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

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

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

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

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

.contact-details i {
  margin-right: 1rem;
  font-size: 1.2rem;
}

.contact-map {
  border-radius: 10px;
  overflow: hidden;
  margin-top: 2rem;
  height: 250px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

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

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

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

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

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

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

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

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

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

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.footer-logo h2 {
  font-size: 1.5rem;
  color: var(--white);
}

.footer-about p {
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

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

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

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

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

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

.footer-newsletter p {
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 5px 0 0 5px;
  font-family: inherit;
  font-size: 0.9rem;
}

.newsletter-form button {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 0 1.5rem;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: #2980b9;
}

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

.footer-bottom a {
  color: var(--gray);
  text-decoration: none;
  margin: 0 0.5rem;
  transition: var(--transition);
}

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

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.cookie-consent.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-text {
  flex: 2;
}

.cookie-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--gray);
}

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

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex: 1;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

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

.accept-all:hover {
  background-color: #2980b9;
}

.customize {
  background-color: transparent;
  border: 1px solid var(--gray);
  color: var(--dark);
}

.customize:hover {
  background-color: #f1f1f1;
}

.decline {
  background-color: transparent;
  color: var(--gray);
}

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

/* Success Modal */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  transform: scale(0.7);
  transition: all 0.3s ease;
}

.success-modal.show .modal-content {
  transform: scale(1);
}

.modal-icon {
  font-size: 4rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.modal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.modal-content p {
  margin-bottom: 2rem;
}

.close-modal {
  padding: 0.8rem 2rem;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.close-modal:hover {
  background-color: #2980b9;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    order: 2;
  }
  
  .contact-form {
    order: 1;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    background-color: var(--white);
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .nav-links li {
    margin: 1rem 0;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .slogan {
    font-size: 1.2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-text {
    margin-bottom: 1rem;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .post-header h1 {
    font-size: 2rem;
  }
  
  .post-featured-img {
    height: 300px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}
