/*
* TechLearn Hub Styles
* Modern, clean design for an IT training and consulting company
*/

/* Base Styles */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #6b7280;
  --accent: #f97316;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --light: #f8fafc;
  --dark: #1e293b;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  --font-heading: 'Outfit', var(--font-sans);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --header-height: 80px;
  --footer-padding: 80px;
  --container-max-width: 1280px;
  --container-padding: 24px;
  --section-spacing: 100px;
  
  --border-radius-sm: 0.125rem;
  --border-radius: 0.25rem;
  --border-radius-md: 0.375rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 0.75rem;
  --border-radius-2xl: 1rem;
  --border-radius-full: 9999px;
}

/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&family=Roboto+Mono&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: white;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style-position: inside;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--gray-900);
  margin-bottom: 0.5em;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Header & Navigation */
header {
  background-color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo a {
  display: flex;
  align-items: center;
  color: var(--gray-900);
  font-weight: 600;
}

.logo img {
  height: 40px;
  width: auto;
  margin-right: 12px;
  border-radius: var(--border-radius);
}

.logo span {
  font-size: 1.25rem;
  font-weight: 700;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav a {
  color: var(--gray-700);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

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

nav a:hover:after, nav a.active:after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--gray-800);
  transition: all 0.3s ease-in-out;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  transition: all 0.2s ease-in-out;
}

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

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

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

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

.btn.outline {
  background-color: transparent;
  border-color: currentColor;
  color: var(--primary);
}

.btn.outline:hover {
  background-color: var(--gray-100);
}

.btn.small {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.btn.full-width {
  width: 100%;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

/* Hero Section */
.hero {
  padding: 100px 0;
  background-color: var(--gray-50);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 90%;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 32px;
}

/* Featured Services Section */
.featured-services {
  padding: var(--section-spacing) 0;
}

.featured-services h2 {
  text-align: center;
  margin-bottom: 48px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card .icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: white;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: 24px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.read-more:after {
  content: '→';
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.read-more:hover:after {
  transform: translateX(4px);
}

/* Latest Posts Section */
.latest-posts {
  padding: var(--section-spacing) 0;
  background-color: var(--gray-50);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.view-all {
  font-weight: 500;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.post-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

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

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

.post-content {
  padding: 24px;
}

.category {
  display: inline-block;
  background-color: var(--gray-100);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--border-radius-full);
  margin-bottom: 12px;
}

.post-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.post-content p {
  color: var(--gray-600);
  margin-bottom: 16px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-500);
  font-size: 0.875rem;
}

.date {
  color: var(--gray-500);
}

/* Testimonials Section */
.testimonials {
  padding: var(--section-spacing) 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background-color: var(--gray-50);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  position: relative;
}

.testimonial-card .quote {
  color: var(--primary);
  margin-bottom: 16px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-full);
  object-fit: cover;
  margin-right: 16px;
}

.testimonial-author h4 {
  margin-bottom: 4px;
  font-size: 1.125rem;
}

.testimonial-author span {
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* CTA Section */
.cta {
  padding: var(--section-spacing) 0;
  background-color: var(--primary);
  color: white;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  color: white;
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

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

.cta .btn.primary:hover {
  background-color: var(--gray-100);
}

.subscription-counter {
  margin-bottom: 24px;
}

.counter {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 12px 24px;
  display: inline-block;
}

.count {
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 8px;
}

.label {
  font-weight: 500;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

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

/* Footer */
footer {
  background-color: var(--gray-900);
  color: white;
  padding-top: var(--footer-padding);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.footer-logo img {
  height: 40px;
  width: auto;
  margin-right: 12px;
  border-radius: var(--border-radius);
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.footer-column p {
  color: var(--gray-400);
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--gray-800);
  color: white;
  border-radius: var(--border-radius-full);
  transition: all 0.2s ease;
}

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

.footer-column h3 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 24px;
}

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

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

.footer-column ul li a {
  color: var(--gray-400);
  transition: color 0.2s ease;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-column address {
  font-style: normal;
  color: var(--gray-400);
}

.footer-column address p {
  margin-bottom: 12px;
}

.footer-column address a {
  color: var(--gray-400);
}

.footer-column address a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--gray-800);
  padding: 24px 0;
}

.copyright {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--gray-500);
  font-size: 0.875rem;
}

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

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--gray-900);
  color: white;
  padding: 20px 0;
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  display: none;
}

.cookie-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-content p {
  flex: 2;
  margin-bottom: 0;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.cookie-content a {
  color: var(--gray-300);
  font-size: 0.875rem;
  text-decoration: underline;
}

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

/* Page Header */
.page-header {
  background-color: var(--primary);
  color: white;
  padding: 60px 0;
}

.page-header h1 {
  color: white;
  margin-bottom: 16px;
}

.breadcrumb {
  display: flex;
  list-style: none;
  font-size: 0.875rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb li a:hover {
  color: white;
}

.breadcrumb li:not(:last-child):after {
  content: '/';
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb li.active {
  color: white;
  font-weight: 500;
}

/* About Page Styles */
.about-intro {
  padding: var(--section-spacing) 0;
}

.about-content {
  display: flex;
  gap: 64px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.mission-values {
  padding: var(--section-spacing) 0;
  background-color: var(--gray-50);
}

.mission-values h2 {
  text-align: center;
  margin-bottom: 48px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.value-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.value-card .icon {
  width: 64px;
  height: 64px;
  background-color: var(--primary);
  color: white;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.team {
  padding: var(--section-spacing) 0;
}

.team h2 {
  text-align: center;
  margin-bottom: 24px;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
  color: var(--gray-600);
}

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

.team-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-card h3 {
  margin: 24px 24px 8px;
}

.team-card p {
  margin: 0 24px 16px;
  color: var(--gray-600);
}

.team-card p:nth-of-type(1) {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card .social-links {
  margin: 0 24px 24px;
}

.partners {
  padding: var(--section-spacing) 0;
  background-color: var(--gray-50);
}

.partners h2 {
  text-align: center;
  margin-bottom: 24px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
}

.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.partner-logo img {
  max-width: 80%;
  max-height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.stats {
  padding: var(--section-spacing) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1;
}

.stat-card p {
  color: var(--gray-600);
  margin-bottom: 0;
  font-size: 1.125rem;
}

/* Services Page Styles */
.services-intro {
  padding: var(--section-spacing) 0 calc(var(--section-spacing) / 2);
}

.services-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.services-content h2 {
  margin-bottom: 24px;
}

.service-detail {
  padding: calc(var(--section-spacing) / 2) 0;
}

.service-detail.alt-bg {
  background-color: var(--gray-50);
}

.service-detail-content {
  display: flex;
  gap: 64px;
  align-items: center;
}

.service-detail-content.reverse {
  flex-direction: row-reverse;
}

.service-text {
  flex: 1.2;
}

.service-image {
  flex: 1;
}

.service-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.service-list {
  list-style: none;
  margin-bottom: 24px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.service-icon {
  margin-right: 12px;
  color: var(--primary);
  flex-shrink: 0;
}

.pricing {
  padding: var(--section-spacing) 0;
  background-color: var(--gray-50);
}

.pricing h2 {
  text-align: center;
  margin-bottom: 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.pricing-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  z-index: 1;
  border: 2px solid var(--primary);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.ribbon {
  position: absolute;
  top: 20px;
  right: -30px;
  background-color: var(--primary);
  color: white;
  padding: 5px 30px;
  font-size: 0.875rem;
  font-weight: 500;
  transform: rotate(45deg);
}

.pricing-header {
  text-align: center;
  padding: 32px;
  border-bottom: 1px solid var(--gray-200);
}

.pricing-header h3 {
  margin-bottom: 16px;
}

.price {
  font-size: 1rem;
}

.amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.period {
  color: var(--gray-500);
  font-size: 1rem;
}

.custom {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
}

.pricing-features {
  padding: 32px;
}

.pricing-features ul {
  list-style: none;
}

.pricing-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.pricing-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.pricing-features li.unavailable {
  color: var(--gray-500);
  text-decoration: line-through;
}

.pricing-features li.unavailable:before {
  content: '×';
  color: var(--gray-400);
}

.pricing-footer {
  padding: 0 32px 32px;
}

.faq {
  padding: var(--section-spacing) 0;
}

.faq h2 {
  text-align: center;
  margin-bottom: 48px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  cursor: pointer;
  background-color: white;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.125rem;
  padding-right: 24px;
}

.toggle-icon {
  flex-shrink: 0;
  color: var(--primary);
}

.faq-answer {
  padding: 0 24px 24px;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .toggle-icon svg {
  transform: rotate(45deg);
}

/* Blog Page Styles */
.blog-grid-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  padding: var(--section-spacing) 0;
}

.featured-post {
  margin-bottom: 48px;
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.featured-image {
  height: 400px;
}

.featured-content {
  padding: 32px;
}

.featured-content h2 {
  font-size: 2rem;
  margin: 12px 0 16px;
}

.blog-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  height: fit-content;
}

.sidebar-widget {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.sidebar-widget h3 {
  margin-bottom: 24px;
  font-size: 1.25rem;
}

.sidebar-widget.search form {
  display: flex;
}

.sidebar-widget.search input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--gray-300);
  border-right: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.sidebar-widget.search button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0 16px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
}

.sidebar-widget.categories ul {
  list-style: none;
}

.sidebar-widget.categories li {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 12px;
}

.sidebar-widget.categories li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-widget.categories a {
  display: flex;
  justify-content: space-between;
  color: var(--gray-700);
}

.sidebar-widget.categories a:hover {
  color: var(--primary);
}

.sidebar-widget.categories span {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.sidebar-widget.recent-posts ul {
  list-style: none;
}

.sidebar-widget.recent-posts li {
  margin-bottom: 16px;
}

.sidebar-widget.recent-posts li:last-child {
  margin-bottom: 0;
}

.sidebar-widget.recent-posts a {
  display: flex;
  gap: 16px;
  color: var(--gray-800);
}

.post-thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

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

.post-info h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.post-info span {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.sidebar-widget.recent-posts a:hover h4 {
  color: var(--primary);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  display: inline-block;
  background-color: var(--gray-100);
  color: var(--gray-700);
  padding: 6px 12px;
  border-radius: var(--border-radius-full);
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.tag-cloud a:hover {
  background-color: var(--primary);
  color: white;
}

.sidebar-widget.subscribe p {
  margin-bottom: 16px;
}

.sidebar-widget.subscribe form {
  display: flex;
  flex-direction: column;
}

.sidebar-widget.subscribe input {
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-size: 1rem;
  margin-bottom: 16px;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 4px;
  border-radius: var(--border-radius);
}

.pagination a {
  background-color: var(--gray-100);
  color: var(--gray-700);
}

.pagination a:hover {
  background-color: var(--gray-200);
}

.pagination span.current {
  background-color: var(--primary);
  color: white;
}

.pagination a.next, .pagination a.prev {
  width: auto;
  padding: 0 16px;
}

/* Blog Post Styles */
.blog-post {
  padding: var(--section-spacing) 0;
}

.post-container {
  max-width: 900px;
  margin: 0 auto;
}

.post-header {
  margin-bottom: 32px;
}

.post-header h1 {
  margin: 12px 0 24px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-full);
  margin-right: 16px;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info span:first-child {
  font-weight: 500;
}

.author-info span:last-child {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.post-details {
  display: flex;
  align-items: center;
  color: var(--gray-500);
}

.post-details span {
  display: flex;
  align-items: center;
}

.post-details span:first-child {
  margin-right: 16px;
}

.post-image {
  margin-bottom: 32px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-content {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-800);
}

.post-content h2 {
  font-size: 1.75rem;
  margin-top: 48px;
  margin-bottom: 24px;
}

.post-content h3 {
  font-size: 1.5rem;
  margin-top: 36px;
  margin-bottom: 16px;
}

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

.post-content li {
  margin-bottom: 8px;
}

.post-content strong {
  font-weight: 600;
}

.post-content blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 24px;
  font-style: italic;
  color: var(--gray-700);
  margin: 32px 0;
}

.author-bio {
  display: flex;
  align-items: center;
  background-color: var(--gray-50);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  margin-top: 48px;
}

.author-bio img {
  width: 100px;
  height: 100px;
  border-radius: var(--border-radius-full);
  object-fit: cover;
  margin-right: 24px;
}

.author-details h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.author-details h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.author-details p {
  margin-bottom: 0;
  font-size: 1rem;
}

.post-tags {
  margin: 48px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.post-tags span {
  font-weight: 500;
  margin-right: 16px;
}

.post-tags a {
  display: inline-block;
  background-color: var(--gray-100);
  color: var(--gray-700);
  padding: 6px 12px;
  border-radius: var(--border-radius-full);
  font-size: 0.875rem;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

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

.share-post {
  display: flex;
  align-items: center;
  margin-bottom: 48px;
}

.share-post span {
  font-weight: 500;
  margin-right: 16px;
}

.share-links {
  display: flex;
}

.share-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--gray-100);
  color: var(--gray-700);
  border-radius: var(--border-radius-full);
  margin-right: 8px;
  transition: all 0.2s ease;
}

.share-links a:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.related-posts {
  margin-bottom: 48px;
}

.related-posts h3 {
  margin-bottom: 24px;
}

.post-comments {
  background-color: var(--gray-50);
  border-radius: var(--border-radius-lg);
  padding: 32px;
}

.post-comments h3 {
  margin-bottom: 24px;
}

.comments-list {
  margin-bottom: 48px;
}

.comment {
  display: flex;
  margin-bottom: 32px;
}

.comment:last-child {
  margin-bottom: 0;
}

.comment-reply {
  margin-left: 60px;
}

.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-full);
  margin-right: 16px;
  flex-shrink: 0;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-full);
  object-fit: cover;
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.comment-header h4 {
  margin-bottom: 0;
  margin-right: 12px;
  font-size: 1rem;
}

.author-badge {
  background-color: var(--primary);
  color: white;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--border-radius-full);
  margin-right: 12px;
}

.comment-date {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.comment-content p {
  margin-bottom: 16px;
}

.reply-btn {
  background-color: transparent;
  color: var(--primary);
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.reply-btn:hover {
  text-decoration: underline;
}

.comment-form h3 {
  margin-bottom: 24px;
}

.form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  flex: 1;
  margin-bottom: 24px;
}

.form-group:last-child {
  margin-bottom: 0;
}

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

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: var(--font-sans);
}

.form-group textarea {
  resize: vertical;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
}

.form-group.checkbox input {
  width: auto;
  margin-top: 5px;
  margin-right: 12px;
}

.form-group.checkbox label {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 400;
}

/* Contact Page Styles */
.contact-info {
  padding: var(--section-spacing) 0 calc(var(--section-spacing) / 2);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.info-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.info-card .icon {
  width: 64px;
  height: 64px;
  background-color: var(--primary);
  color: white;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.info-card h3 {
  margin-bottom: 12px;
}

.info-card p {
  color: var(--gray-600);
  margin-bottom: 16px;
}

.info-card a {
  font-weight: 500;
}

.contact-section {
  padding: calc(var(--section-spacing) / 2) 0 var(--section-spacing);
}

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

.contact-form-container h2 {
  margin-bottom: 16px;
}

.contact-form-container p {
  color: var(--gray-600);
  margin-bottom: 32px;
}

.contact-map {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container {
  height: 300px;
  overflow: hidden;
}

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

.business-hours {
  padding: 24px;
}

.business-hours h3 {
  margin-bottom: 16px;
}

.business-hours ul {
  list-style: none;
  margin-bottom: 16px;
}

.business-hours li {
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.business-hours li span:first-child {
  font-weight: 500;
}

.business-hours p {
  color: var(--gray-600);
  margin-bottom: 0;
  font-size: 0.875rem;
}

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

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

.close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.modal-icon.success {
  background-color: var(--success);
  color: white;
}

.modal h3 {
  margin-bottom: 16px;
}

.modal p {
  margin-bottom: 24px;
  color: var(--gray-600);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content, .hero-image {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    margin-top: 48px;
    justify-content: center;
  }
  
  .service-cards, .posts-grid, .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-slider {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-detail-content, .about-content {
    flex-direction: column;
    gap: 48px;
  }
  
  .service-detail-content.reverse {
    flex-direction: column;
  }
  
  .service-image, .about-image {
    order: -1;
    text-align: center;
  }
  
  .blog-grid-container, .contact-container {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 60px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow);
    padding: 16px 0;
    z-index: 99;
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
  }
  
  nav ul li {
    width: 100%;
    border-bottom: 1px solid var(--gray-200);
  }
  
  nav ul li:last-child {
    border-bottom: none;
  }
  
  nav a {
    display: block;
    padding: 16px 24px;
  }
  
  nav a:after {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .service-cards, .posts-grid, .info-cards, .values-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-content p {
    margin-bottom: 16px;
  }
  
  .faq-grid, .form-row {
    grid-template-columns: 1fr;
  }
  
  .comment-reply {
    margin-left: 24px;
  }
}

@media (max-width: 576px) {
  :root {
    --container-padding: 16px;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-header {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .cta h2 {
    font-size: 1.75rem;
  }
  
  .cta p {
    font-size: 1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 16px;
  }
  
  .newsletter-form button {
    width: 100%;
    border-radius: var(--border-radius);
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 16px;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .post-meta, .comment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .author-bio img {
    margin-right: 0;
    margin-bottom: 16px;
  }
  
  .post-tags span {
    display: block;
    margin-bottom: 8px;
  }
}
