:root {
  --primary-color: #4a6bff;
  --secondary-color: #5d42f5;
  --accent-color: #ff6b4a;
  --text-color: #333;
  --bg-color: #fff;
  --light-bg: #f8f9fa;
  --dark-bg: #212529;
  --border-color: #dee2e6;
  --hover-color: #3a5ae8;
  --font-main: 'Roboto', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
}

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

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

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

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 20px 0;
  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;
}

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

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

.welcome-text {
  font-size: 1rem;
  margin-bottom: 10px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

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

nav ul li a {
  color: white;
  font-weight: 500;
  position: relative;
}

nav ul li a:hover {
  color: rgba(255, 255, 255, 0.8);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: white;
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: url('images/1.jpg') no-repeat center center/cover;
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

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

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-color);
  font-family: var(--font-heading);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 3px;
  background: var(--primary-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

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

.feature-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.feature-content {
  padding: 20px;
}

.feature-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.feature-content p {
  color: #666;
  margin-bottom: 20px;
}

/* Blog Section */
.blog {
  padding: 80px 0;
}

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

.blog-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.blog-content {
  padding: 20px;
}

.blog-content .date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 10px;
  display: block;
}

.blog-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-content p {
  color: #666;
  margin-bottom: 20px;
}

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

.read-more svg {
  width: 16px;
  height: 16px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

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

/* Single Post Page */
.post-header {
  position: relative;
  padding: 100px 0;
  background-color: var(--dark-bg);
  color: white;
  text-align: center;
}

.post-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/1.jpg') no-repeat center center/cover;
  opacity: 0.3;
  z-index: 0;
}

.post-header-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.post-header-content .date {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 15px;
  display: block;
}

.post-header-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
}

.post-content h3 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
}

.post-content h4 {
  font-size: 1.4rem;
  margin: 30px 0 15px;
}

.post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
  font-style: italic;
  margin: 30px 0;
  color: #555;
}

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

.about-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #666;
}

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

.team-member {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.team-info {
  padding: 20px;
}

.team-info h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.team-info p {
  color: #666;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--light-bg);
  color: var(--primary-color);
  transition: all 0.3s ease;
}

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

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

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  padding-right: 30px;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 30px;
  color: #666;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  display: flex;
  margin-bottom: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--primary-color);
}

.contact-text h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-text p {
  color: #666;
  margin-bottom: 0;
}

.contact-form {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

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

/* Footer Styles */
footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 60px 0 20px;
}

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

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  bottom: 0;
  left: 0;
}

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

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

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-column ul li a:hover {
  color: white;
  padding-left: 5px;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Cookies Banner */
.cookies-banner {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  background-color: white;
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  margin: 0 20px;
  border-radius: 10px;
  max-width: 1200px;
  margin: 0 auto;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.cookies-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookies-content {
  flex: 1;
}

.cookies-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.cookies-content p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
}

.cookies-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

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

.cookie-btn-accept:hover {
  background-color: var(--hover-color);
}

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

.cookie-btn-settings:hover {
  background-color: var(--light-bg);
}

.cookie-btn-decline {
  background-color: transparent;
  color: #666;
}

.cookie-btn-decline:hover {
  text-decoration: underline;
}

/* Thank You Modal */
.thank-you-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: all 0.3s ease;
}

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

.modal-content {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  transform: translateY(-50px);
  transition: transform 0.3s ease;
}

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

.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.modal-content p {
  margin-bottom: 30px;
  color: #666;
}

.close-modal {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    padding-right: 0;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  nav ul {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--primary-color);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: left 0.3s ease;
    z-index: 999;
    padding-top: 50px;
  }
  
  nav ul.active {
    left: 0;
  }
  
  nav ul li {
    margin: 15px 0;
  }
  
  .hero {
    height: 50vh;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .features-grid, .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .cookies-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookies-content {
    margin-bottom: 20px;
  }
  
  .cookies-buttons {
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .cookies-buttons {
    align-self: center;
  }
}
