:root {
  --primary-color: #0c354b;
  --secondary-color: #1e3a8a;
  --accent-color: #3b82f6;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --background-light: #f9fafb;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --section-padding: 4rem 0;
  --blog-sidebar-width: 300px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header & Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

/* Logo styling */
.logo-img {
  width: 50px;
  height: 50px;
  margin-right: 0.75rem;
  //border-radius: 50%;
  //box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  //transition: box-shadow 0.3s ease;
}

.logo-img:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

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

.navbar-nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 17rem 0 6rem;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
  background-image: url('images/intro-bg.jpg');
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: darken;
  background-size: cover;
  background-position: center;
  height: 60vh;
  min-height: 650px;
}

.hero-content {
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero h2 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.6rem;
  margin-bottom: .5rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Section Styling */
.section {
  padding: var(--section-padding);
}

.section-alt {
  background: var(--background-light);
}

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

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.about-image {
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

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

/* Statistics */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
  margin-top: 0.5rem;
}

/* FAQ Section */
.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--background-light);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  display: none;
}

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

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

/* Honeypot field - hidden from users but visible to bots */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

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

.submit-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

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

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

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

.footer-section p,
.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  line-height: 1.6;
}

.footer-section a:hover {
  color: var(--accent-color);
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Mobile menu hamburger animation */
.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .navbar-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    gap: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .navbar-nav.active {
    display: flex;
  }

  .navbar-nav li {
    width: 100%;
    text-align: center;
  }

  .navbar-nav a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .navbar-nav a:hover {
    background: var(--background-light);
    color: var(--primary-color);
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form {
    margin: 0 1rem;
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 5rem 0 3rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 0.5rem;
  }

  .brand-text {
    display: none;
  }
  
  .navbar-brand {
    flex-shrink: 0;
  }
}

/* Blog Styles */
.blog-container {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

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

.blog-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.blog-description {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.blog-content {
  display: grid;
  grid-template-columns: 1fr var(--blog-sidebar-width);
  gap: 3rem;
  padding: 3rem 0;
}

.blog-main {
  min-width: 0;
}

/* Blog Post Cards */
.blog-post-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.post-category {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.post-title {
  margin-bottom: 1rem;
}

.post-title a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

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

.post-excerpt {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.post-tags {
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  background: var(--background-light);
  color: var(--text-light);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.25rem;
}

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

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

/* Single Post Styles */
.blog-post {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.post-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.post-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.post-description {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.5;
}

.post-content {
  line-height: 1.8;
  margin-bottom: 3rem;
}

.post-content h2 {
  color: var(--primary-color);
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
}

.post-content h3 {
  color: var(--text-dark);
  margin: 1.5rem 0 0.75rem;
  font-size: 1.25rem;
}

.post-content ul, .post-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

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

.post-content strong {
  color: var(--primary-color);
}

.post-footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  margin-top: 2rem;
  border-radius: 0 0 12px 12px;
}

.post-footer .post-tags {
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.post-footer .tag {
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
}

.post-footer .tag:hover {
  background: var(--secondary-color);
}

.post-nav {
  display: flex;
  justify-content: space-between;
  margin: 0 1rem 2rem 1rem;
  gap: 1rem;
}

.prev-post, .next-post {
  flex: 1;
  padding: 1rem;
  background: var(--background-light);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s ease;
}

.prev-post:hover, .next-post:hover {
  background: var(--primary-color);
  color: white;
}

.next-post {
  text-align: right;
}

.post-cta {
  margin: 2rem 1rem 0 1rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.cta-box h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.cta-box p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* Sidebar Styles */
.blog-sidebar {
  min-width: 0;
}

.sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.recent-posts {
  list-style: none;
}

.recent-posts li {
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
}

.recent-posts li:last-child {
  border-bottom: none;
}

.recent-posts a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}

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

.recent-posts time {
  font-size: 0.85rem;
  color: var(--text-light);
}

.categories {
  list-style: none;
}

.categories li {
  margin-bottom: 0.5rem;
}

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

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

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-link {
  background: var(--background-light);
  color: var(--text-light);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

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

.cta-widget {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.cta-widget h3 {
  color: white;
}

.contact-info {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--background-light);
  transform: translateY(-1px);
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
  .blog-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .blog-title {
    font-size: 2rem;
  }
  
  .blog-post {
    padding: 2rem 1.5rem;
  }
  
  .post-title {
    font-size: 2rem;
  }
  
  .post-nav {
    flex-direction: column;
    margin: 0 0 2rem 0;
  }
  
  .next-post {
    text-align: left;
  }
  
  .post-footer .post-tags {
    padding: 0;
  }
  
  .post-cta {
    margin: 2rem 0 0 0;
  }
  
  /* Sidebar responsive improvements */
  .sidebar-widget {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
  }
  
  .recent-posts li {
    padding: 0.5rem 0;
  }
  
  .tag-cloud {
    gap: 0.25rem;
  }
  
  .tag-link {
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .contact-info {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .blog-header {
    padding: 2rem 0;
  }
  
  .blog-title {
    font-size: 1.75rem;
  }
  
  .blog-post-card {
    padding: 1.5rem;
  }
  
  .blog-post {
    padding: 1.5rem 1rem;
  }
  
  .post-nav {
    margin: 0 0 1.5rem 0;
    gap: 0.75rem;
  }
  
  .prev-post, .next-post {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .post-cta {
    margin: 1.5rem 0 0 0;
  }
  
  .cta-box {
    padding: 1.5rem;
  }
  
  .cta-box h3 {
    font-size: 1.25rem;
  }
  
  /* Enhanced mobile sidebar */
  .sidebar-widget {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .sidebar-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .recent-posts a {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .categories a {
    font-size: 0.9rem;
  }
  
  .tag-link {
    padding: 0.15rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .contact-info {
    font-size: 0.8rem;
  }
  
  .cta-button {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }
}