:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --accent-color: #e74c3c;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --text-color: #333;
  --light-text: #f5f5f5;
  --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: 'Montserrat', 'Segoe UI', sans-serif;
  color: var(--text-color);
  background-color: #f9f9f9;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
  border: 3px solid var(--light-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-color);
}

/* Header and Navigation */
header {
  background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

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

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

.navbar-logo img {
  width: 50px;
  height: auto;
  margin-right: 1rem;
}

.navbar-logo h1 {
  color: var(--light-text);
  font-size: 1.5rem;
  font-weight: 600;
}

.navbar-links {
  display: flex;
  gap: 2rem;
}

.navbar-links a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

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

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

.navbar-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--light-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-text);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
  z-index: 2;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, #f9f9f9, transparent);
  z-index: 1;
}

/* 3D Button */
.button-3d {
  display: inline-block;
  position: relative;
  padding: 15px 30px;
  border-radius: 8px;
  background: var(--secondary-color);
  color: white;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 0 rgb(26, 148, 64);
  transition: transform 0.1s, box-shadow 0.1s;
  transform-style: preserve-3d;
  perspective: 1000px;
  margin: 20px 0;
}

.button-3d:hover {
  transform: translateY(2px);
  box-shadow: 0 6px 0 rgb(26, 148, 64);
}

.button-3d:active {
  transform: translateY(8px);
  box-shadow: 0 0 0 rgb(26, 148, 64);
}

/* Main Content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark-color);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 0.5rem auto;
  border-radius: 2px;
}

/* Blog Posts */
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

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

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

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

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

.post-content {
  padding: 2rem;
}

.post-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.post-excerpt {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #888;
  font-size: 0.9rem;
}

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

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

.read-more span {
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover span {
  transform: translateX(5px);
}

/* Single Post Page */
.post-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

.post-date {
  color: #888;
  margin-bottom: 2rem;
}

.post-featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 3rem;
}

.post-body {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-body h2, .post-body h3 {
  margin: 2rem 0 1rem;
}

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

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.post-navigation a {
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.post-navigation a:hover {
  color: var(--dark-color);
}

.post-navigation .prev {
  margin-right: auto;
}

.post-navigation .next {
  margin-left: auto;
}

/* About Us */
.team-section {
  text-align: center;
  margin: 3rem 0;
}

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

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

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

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

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.team-info p {
  color: #666;
  line-height: 1.6;
}

.team-info .position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.social-icons a {
  color: var(--dark-color);
  font-size: 1.2rem;
  transition: var(--transition);
}

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

/* Contact Page */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

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

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.contact-info p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-item svg {
  width: 24px;
  min-width: 24px;
  margin-right: 1rem;
  color: var(--primary-color);
}

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

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

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

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

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

.submit-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--light-text);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

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

.footer-logo img {
  width: 40px;
  margin-right: 1rem;
}

.footer-logo h3 {
  font-size: 1.5rem;
}

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

.footer-links h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

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

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

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

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

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

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

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

/* Cookies Banner */
.cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(44, 62, 80, 0.95);
  color: white;
  padding: 1rem 2rem;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  transform: translateY(100%);
}

.cookies-banner.active {
  transform: translateY(0);
}

.cookies-content {
  flex: 1;
}

.cookies-content p {
  margin-bottom: 0.5rem;
}

.cookies-content a {
  color: var(--secondary-color);
  text-decoration: none;
}

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

.cookies-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

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

.settings-btn {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.settings-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.decline-btn {
  background: #95a5a6;
  color: white;
}

.decline-btn:hover {
  background: #7f8c8d;
}

/* Thank You Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-content {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  transition: var(--transition);
}

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

.modal-content h3 {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

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

.modal-content button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
}

.modal-content button:hover {
  background: var(--dark-color);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .contact-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    padding: 0 1rem;
  }
  
  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-color);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }
  
  .navbar-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .container {
    padding: 3rem 1rem;
  }
  
  .post-header h1 {
    font-size: 2.2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media screen and (max-width: 576px) {
  .hero {
    height: 60vh;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .post-title {
    font-size: 1.2rem;
  }
  
  .cookies-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .cookies-buttons {
    margin-top: 1rem;
    justify-content: center;
  }
}
