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

:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --background: #ffffff;
  --background-alt: #f9fafb;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --error-color: #ef4444;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background);
}

.primary-navigation {
  background-color: var(--background);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo img {
  border-radius: 50%;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  opacity: 0.9;
}

.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.image-slider {
  position: relative;
  max-width: 1200px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 8px;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 500px;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slide.active {
  display: block;
}

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

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background-color 0.3s;
  z-index: 10;
}

.slider-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.slider-btn.prev {
  left: 1rem;
}

.slider-btn.next {
  right: 1rem;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.intro-section {
  margin: 3rem 0;
}

.intro-container h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.intro-container p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.featured-posts {
  margin: 4rem 0;
}

.featured-posts h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

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

.post-card {
  background: var(--background);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

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

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

.post-card h3 {
  padding: 1rem;
  color: var(--text-color);
}

.post-card p {
  padding: 0 1rem 1rem;
  color: var(--text-light);
}

.read-more {
  display: inline-block;
  margin: 0 1rem 1rem;
  padding: 0.5rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

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

.technology-services {
  margin: 4rem 0;
  padding: 3rem 0;
  background-color: var(--background-alt);
}

.technology-services h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

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

.service-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.service-item h3 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.service-item p {
  color: var(--text-light);
}

.blog-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.blog-post-preview {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--background);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-post-preview img {
  width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.post-content h2 a {
  color: var(--text-color);
  text-decoration: none;
}

.post-content h2 a:hover {
  color: var(--primary-color);
}

.post-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.read-more-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

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

.about-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.about-intro {
  margin: 3rem 0;
}

.intro-wrapper h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.intro-wrapper p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.team-section {
  margin: 4rem 0;
}

.team-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

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

.team-member {
  text-align: center;
  padding: 2rem;
  background: var(--background);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 100%;
  max-width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

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

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

.team-member p {
  color: var(--text-light);
  line-height: 1.6;
}

.values-section {
  margin: 4rem 0;
  padding: 3rem 0;
  background-color: var(--background-alt);
}

.values-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

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

.value-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.value-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.value-item h3 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.value-item p {
  color: var(--text-light);
}

.contact-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-info-section {
  margin: 3rem 0;
}

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

.contact-card {
  text-align: center;
  padding: 2rem;
  background: var(--background);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.contact-card h3 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--text-light);
}

.contact-form-section {
  margin: 3rem 0;
}

.contact-form-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

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

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  text-align: center;
}

.close-modal {
  color: var(--text-light);
  float: right;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

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

.post-article {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.post-header {
  margin-bottom: 2rem;
}

.post-header h1 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.featured-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 1.5rem;
}

.post-article .post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.post-article .post-content h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

.site-footer {
  background-color: var(--text-color);
  color: white;
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.footer-section p,
.footer-section li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

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

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

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

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

.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-consent.show {
  display: block !important;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

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

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

.cookie-btn.decline {
  background-color: var(--error-color);
  color: white;
}

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

.cookie-link {
  color: var(--accent-color);
  text-decoration: none;
  line-height: 2.5;
}

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

/* Video Guides Preview Section */
.video-guides-preview {
  margin: 4rem 0;
  padding: 3rem 2rem;
  background-color: var(--background-alt);
}

.video-guides-preview h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

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

.video-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  cursor: pointer;
}

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

.video-thumbnail {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.video-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s;
}

.video-card:hover .video-thumbnail img {
  opacity: 0.8;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s;
}

.video-card:hover .play-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 2rem;
  transition: all 0.3s;
  padding-left: 5px;
}

.video-card:hover .play-icon {
  background-color: white;
  transform: scale(1.1);
}

.video-card h3 {
  padding: 1rem 1rem 0.5rem;
  color: var(--text-color);
  font-size: 1.25rem;
}

.video-card p {
  padding: 0 1rem 1.5rem;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Subscription Section Styles */
.subscription-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 3rem 2rem;
  margin: 4rem 0;
}

.subscription-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.subscription-container h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.subscription-container p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.subscribe-form {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.subscribe-form input {
  flex: 1;
  min-width: 250px;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.subscribe-form input::placeholder {
  color: #999;
}

.subscribe-form input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.subscribe-form button {
  padding: 0.75rem 2rem;
  background-color: white;
  color: var(--primary-color);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.subscribe-form button:hover {
  background-color: var(--background-alt);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.subscribe-form button:active {
  transform: translateY(0);
}

.privacy-note {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .blog-post-preview {
    flex-direction: column;
  }

  .blog-post-preview img {
    width: 100%;
  }

  .slider-container {
    height: 300px;
  }

  .featured-image {
    height: 300px;
  }

  .subscription-container h2 {
    font-size: 1.5rem;
  }

  .subscription-container p {
    font-size: 1rem;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-form input,
  .subscribe-form button {
    width: 100%;
  }

  .subscription-section {
    margin: 2rem 0;
    padding: 2rem 1rem;
  }
}
