/*
Theme Name: wpcorex-theme
Author: wpcorex
Description: Clean, modular CSS theme with reusable classes for Home, About, Services, Projects, Blog, Contact, Privacy, and Terms pages.
Version: 2.0*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-bg-color: rgb(33 117 155);
  --primary-btn-color: rgb(70 67 66);
  --secondary-color: rgb(27, 135, 148);
  --accent-color: #f8f9fa;
  --text-dark: rgb(70 67 66);
  --text-light: rgb(102 102 102);
  --white: #ffffff;
}

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

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Ensure all images are responsive by default */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Topbar */
.topbar {
  background: var(--primary-btn-color);
  color: var(--white);
  font-size: 14px;
  padding: 8px 0;
}

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

.topbar-left span {
  margin-right: 20px;
}

.topbar-right .social-icon {
  color: var(--white);
  margin-left: 15px;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.topbar-right .social-icon:hover {
  color: var(--accent-color);
}

/* End Topbar */

.main-header {
  background: var(--white);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo img {
  height: 55px;
  width: auto;
  max-width: 100%;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.logo img:hover {
  transform: scale(1.05);
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  color: var(--primary-btn-color);
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.main-nav ul li {
  color: var(--text-dark);
  margin: 0 18px;
}

.main-nav ul li a {
  color: var(--primary-btn-color);
  text-decoration: none;
  font-weight: 500;
}

.main-nav ul li a:hover {
  color: var(--primary-bg-color);
}

.main-nav ul li.quote-btn a {
  background: var(--primary-btn-color);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(70, 67, 66, 0.3);
}

.main-nav ul li.quote-btn a:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(70, 67, 66, 0.4);
}

.main-nav ul li:last-child {
  margin-left: 25px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1002;
  position: relative;
}

.mobile-menu-close {
  display: none;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-btn-color);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* Hero */
.hero {
  background: var(--primary-bg-color);
  padding: 44px 0;
  position: relative;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.hero-content {
  flex: 1 1 460px;
}

.hero-content h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--white);
}

.hero-content h1 .accent {
  color: #ffffff;
}

.hero-content p {
  font-size: 15px;
  margin-bottom: 22px;
  opacity: 0.9;
  color: var(--white);
}

.rotating-text {
  position: relative;
  height: 28px;
  margin: 6px 0 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-weight: 600;
}

.rotating-text span {
  grid-area: 1/1;
  opacity: 0;
  transform: translateY(20px);
  animation: rotateText 15s linear infinite;
  color: #ffffff;
}

.rotating-text span:nth-child(1) {
  animation-delay: 0s;
}

.rotating-text span:nth-child(2) {
  animation-delay: 3s;
}

.rotating-text span:nth-child(3) {
  animation-delay: 6s;
}

.rotating-text span:nth-child(4) {
  animation-delay: 9s;
}

.rotating-text span:nth-child(5) {
  animation-delay: 12s;
}

@keyframes rotateText {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  6% {
    opacity: 1;
    transform: translateY(0);
  }

  20% {
    opacity: 1;
    transform: translateY(0);
  }

  26% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.hero-form {
  flex: 1 1 300px;
  background: var(--white);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 340px;
  width: 100%;
  box-sizing: border-box;
}

.hero-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-form h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-btn-color);
  text-align: center;
  background-clip: text;
}

.hero-form p {
  font-size: 14px;
  margin-bottom: 18px;
  color: #555;
  line-height: 1.5;
}

.hero-form input,
.hero-form textarea {
  width: 100%;
  max-width: 100%;
  height: 40px;
  padding: 9px 12px;
  margin: 0 auto 10px;
  display: block;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.hero-form input:focus,
.hero-form textarea:focus {
  border-color: var(--primary-btn-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1),
    inset 0 1px 3px rgba(0, 0, 0, 0.1);
  background: var(--white);
}

.hero-form input::placeholder,
.hero-form textarea::placeholder {
  color: #999;
  font-style: italic;
}

.hero-form textarea {
  resize: vertical;
  min-height: 64px;
}

.button-form {
  width: 100%;
  max-width: 100%;
  padding: 10px 16px;
  background: var(--primary-btn-color) !important;
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(22, 18, 20, 0.3);
  margin: 8px auto 0;
  display: block;
  box-sizing: border-box;
}

.button-form:hover {
  background: var(--primary-btn-color) !important;
  transform: translateY(-2px);
  color: var(--white);
}

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

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary-btn-color);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(70, 67, 66, 0.3);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-btn-color);
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(70, 67, 66, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 14px 30px;
  border: 1px solid #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--primary-bg-color);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 25px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Services */
.services-section {
  position: relative;
  background: #fff;
  padding: 20px 0 50px;
}

.section-head {
  text-align: center;
  margin-bottom: 24px;
}

.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #94a3b8;
  font-size: 12px;
}

.section-head h2 {
  margin: 6px 0 0;
  font-size: 26px;
  color: #0f172a;
}

.section-head .accent {
  color: #21759b;
}

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

.service-card {
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  border: 1px solid #e6eaf0;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
  position: relative;
  overflow: hidden;
}

.service-media {
  height: 160px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.placeholder-media {
  background: linear-gradient(135deg, #f3f6fb 0%, #e9eef7 100%);
}

.media-outline {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 70px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  pointer-events: none;
}

.service-iconss {
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.service-card p {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 15px;
  text-align: center;
}

.service-btn {
  display: inline-block;
  background: var(--primary-btn-color);
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(70, 67, 66, 0.3);
}

.service-btn:hover {
  background: var(--primary-btn-color);
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(70, 67, 66, 0.4);
}

.service-card:hover {
  transform: translateY(-4px);
  transition: transform 0.25s ease;
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.08);
}

.services-decoration {
  position: absolute;
  left: -80px;
  bottom: -40px;
  width: 240px;
  height: 240px;
  background: radial-gradient(closest-side,
      rgba(30, 58, 138, 0.12),
      rgba(30, 58, 138, 0) 70%);
  filter: blur(10px);
}

.services-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.services-cta-row .muted {
  color: #94a3b8;
  font-size: 13px;
}

.services-cta-row .see-all {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.service-features span {
  background: #f1f5f9;
  color: #475569;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid #e2e8f0;
}

.service-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-bg-color);
  margin-bottom: 16px;
  text-align: center;
}

/* Why Choose Us */
.sections-head {
  /* text-align: center; */
  margin-bottom: 24px;
}

.sections-head h2 {
  margin: 6px 0 0;
  font-size: 26px;
  color: #0f172a;
}

.sections-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #94a3b8;
  font-size: 12px;
}

.sections-head .accent {
  color: #21759b;
}

.why-section {
  background: var(--white);
  padding: 20px 0 60px;
}

.why-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.why-media {
  height: 350px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3f6fb 0%, #e9eef7 100%);
}

.placeholder-banner {
  background: linear-gradient(135deg, #eef3fb 0%, #e7ecf6 100%);
}

.why-content .lead {
  color: #475569;
  margin: 8px 0 12px;
}

.tick-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.tick-list li {
  position: relative;
  padding-left: 22px;
  margin: 7px 0;
  color: #64748b;
  font-size: 14px;
}

.tick-list li:before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #22c55e;
  font-weight: 700;
}

.mini-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-media {
  height: 130px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f3f6fb 0%, #e9eef7 100%);
}

.process-circle-section {
  background: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.process-circle-container {
  position: relative;
  width: 500px;
  height: 500px;
  margin: 0 auto;
  border: 2px dashed #e2e8f0;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-center {
  width: 180px;
  height: 180px;
  background: #1e3a8a;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  box-shadow: 0 0 30px rgba(30, 58, 138, 0.3);
}

.process-step {
  position: absolute;
  width: 150px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.dot-red {
  background: #ef4444;
}

.dot-orange {
  background: #f59e0b;
}

.dot-green {
  background: #22c55e;
}

.dot-teal {
  background: #14b8a6;
}

.dot-navy {
  background: #1e3a8a;
}

.step-card {
  font-size: 13px;
  color: #475569;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Step Positions (clockwise) */
.step1 {
  top: 0%;
  left: 50%;
}

.step2 {
  top: 40%;
  left: 92%;
}

.step3 {
  top: 90%;
  left: 85%;
}

.step4 {
  top: 90%;
  left: 20%;
}

.step5 {
  top: 40%;
  left: 6%;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.portfolio-item {
  background: #ffffff;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-media {
  height: 250px;
  background-size: cover;
  background-position: center;
  width: 100%;
}

.portfolio-content {
  padding: 20px;
}

.portfolio-content h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #0f172a;
}

.portfolio-content p {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 14px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.portfolio-tags span {
  background: #f1f5f9;
  color: #475569;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.portfolio-link {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s;
}

.testimonials {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.testimonial-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 35px 25px;
  max-width: 370px;
  flex: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 25px;
}

.client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.client-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #2196f3;
}

.client-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #1a237e;
}

.client-info span {
  display: block;
  font-size: 0.9rem;
  color: #666;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.blog-post {
  background: #ffffff;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-media {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-placeholder {
  background: linear-gradient(135deg, #f3f6fb 0%, #e9eef7 100%);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 48px;
}

.blog-content {
  padding: 20px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: #64748b;
}

.blog-date {
  background: #f1f5f9;
  color: #475569;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 500;
}

.blog-category {
  color: #21759b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-title {
  margin: 0 0 12px;
  font-size: 18px;
  color: #0f172a;
  font-weight: 600;
  line-height: 1.4;
}

.blog-excerpt {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.blog-read-more {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 30px 0 60px;
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  background: #fcfcfc;
  backdrop-filter: blur(15px);
  padding: 15px 15px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 15px;
}

.contact-item i {
  background: linear-gradient(135deg, #21759b, #1b8794);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 20px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 10px rgba(33, 117, 155, 0.3));
}

.contact-item h4 {
  background: linear-gradient(135deg, #21759b, #21759b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1rem;
  margin-bottom: 5px;
}

.contact-item p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(25px);
  border-radius: 30px;
  padding: 25px 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 10px;
  border: 2px solid rgba(33, 117, 155, 0.1);
  border-radius: 15px;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.contact-form .form-group {
  position: relative;
  z-index: 2;
  margin-bottom: 25px;
}

/* Footer */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #0b1220 0%, #0a1020 100%);
  color: #cbd5e1;
  padding-top: 72px;
  overflow: hidden;
}

.footer-decoration {
  position: absolute;
  right: 0;
  bottom: 40px;
  width: 320px;
  height: 320px;
  background: radial-gradient(closest-side,
      rgba(33, 177, 155),
      rgba(249, 115, 22, 0.2),
      rgba(236, 72, 153, 0) 70%);
  filter: blur(16px);
  pointer-events: none;
  animation: footer-glow 3s ease-in-out infinite alternate;
}

@keyframes footer-glow {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.footer-dots {
  position: absolute;
  left: -20px;
  top: -10px;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(rgba(236, 72, 153, 0.3) 1px,
      transparent 1px);
  background-size: 14px 14px;
  opacity: 0.6;
  pointer-events: none;
  animation: dots-twinkle 4s ease-in-out infinite;
}

@keyframes dots-twinkle {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.8;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.footer-brand .footer-logo img {
  height: 54px;
  filter: brightness(1.05) contrast(1.05);
}

.footer-desc {
  margin: 16px 0 22px;
  color: #9fb1c8;
  font-size: 15px;
  max-width: 420px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials .social {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-socials .social:hover {
  transform: translateY(-3px);
  color: #fff;
  background-color: var(--primary-bg-color);
}

.footer-links h4,
.footer-contact h4 {
  color: #e2e8f0;
  margin: 0 0 16px;
  font-size: 15px;
  letter-spacing: 0.4px;
  position: relative;
}

.footer-links h4:after,
.footer-contact h4:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, rgb(33 117 155), transparent);
  opacity: 0.6;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin: 10px 0;
  font-size: 14px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
  color: #21759b;
  transform: translateX(4px);
  text-shadow: 0 0 8px rgba(236, 72, 153, 0.5);
}

.footer-contact li i {
  margin-right: 8px;
  color: #94a3b8;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  margin-top: 48px;
  padding: 20px 0;
  background: rgba(8, 12, 24, 0.5);
}

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

.legal-links {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.legal-links a {
  color: #9fb1c8;
  text-decoration: none;
}

.legal-links a:hover {
  color: #fff;
}

.about-hero {
  background-color: rgba(33, 117, 155, 0.95);
  backdrop-filter: blur(10px);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.company-story {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.company-story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  pointer-events: none;
}

.story-content {
  position: relative;
  z-index: 1;
}

.story-text {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 30px;
  padding: 60px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.4s ease;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.story-text:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15), 0 15px 35px rgba(0, 0, 0, 0.1);
}

.story-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-btn-color);
  margin-bottom: 20px;
  position: relative;
}

.story-text h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg,
      var(--primary-bg-color),
      var(--secondary-color));
  border-radius: 2px;
}

.story-text .lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 30px;
}

.story-text p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 30px;
}

.mission-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.mission,
.values {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.mission:hover,
.values:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.mission h3,
.values h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-bg-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.mission h3 i,
.values h3 i {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.mission p,
.values ul {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.values ul {
  list-style: none;
  padding: 0;
}

.values li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.values li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-bg-color);
  font-weight: bold;
}

.values strong {
  color: var(--text-dark);
}

/* Service Detail Section */
.service-detail {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.service-detail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  pointer-events: none;
}

.service-content {
  position: relative;
  z-index: 1;
}

.service-info {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.service-icon {
  font-size: 4rem;
  color: var(--primary-bg-color);
  margin-bottom: 20px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-icon:hover {
  transform: scale(1.1);
}

.service-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-btn-color);
  margin-bottom: 20px;
  position: relative;
}

.service-info h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg,
      var(--primary-bg-color),
      var(--secondary-color));
  border-radius: 2px;
}

.service-description {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.service-features h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-btn-color);
  margin-bottom: 30px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
  align-items: start;
}

.feature-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-align: center;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--primary-bg-color);
  margin-bottom: 15px;
  display: block;
}

.feature-item h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-btn-color);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.technologies h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-btn-color);
  margin-bottom: 30px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.tech-item {
  background: linear-gradient(135deg,
      var(--primary-bg-color),
      var(--secondary-color));
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(33, 117, 155, 0.3);
  transition: transform 0.3s ease;
}

.tech-item:hover {
  transform: scale(1.05);
}

.team-section {
  position: relative;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-header p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.team-member {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 40px 30px;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.member-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 25px;
  border: 4px solid transparent;
  position: relative;
}

.team-member h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.role {
  color: var(--primary-bg-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.bio {
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.services-cta-section {
  background-color: rgba(33, 117, 155, 0.95);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

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

.cta-content-services h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.cta-content-services p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.main-services-section {
  padding: 80px 0;
  position: relative;
}

.services-grid-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.service-card-main {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 40px 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-icon-main {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #21759b, #1b8794);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.service-card-main h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  text-align: center;
}

.service-description {
  color: #64748b;
  margin-bottom: 25px;
  line-height: 1.6;
  text-align: center;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.service-features-list li {
  padding: 10px 0;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-pricing {
  text-align: center;
  margin-bottom: 25px;
}

.service-features-list li i {
  color: #21759b;
  font-size: 14px;
}

.service-pricing .price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #21759b;
}

.service-btn-main {
  display: block;
  width: 100%;
  padding: 15px 30px;
  background: linear-gradient(135deg, #21759b, #1b8794);
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(33, 117, 155, 0.3);
}

.why-services-section {
  padding: 80px 0;
}

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

.why-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.why-item-services {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 40px 30px;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why-icon-services {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #21759b, #1b8794);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.why-item-services h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.why-item-services p {
  color: #64748b;
  line-height: 1.6;
}

.seo-services {
  color: var(--text-dark);
}

.seo-services .service-info {
  max-width: 1000px;
}

.seo-services .service-icon {
  background: linear-gradient(135deg,
      var(--primary-bg-color),
      var(--secondary-color));
  color: white;
  box-shadow: 0 15px 35px rgba(33, 117, 155, 0.3);
}

.seo-services .service-info h2 {
  color: var(--primary-btn-color);
}

.seo-services .service-description {
  color: var(--text-light);
  font-size: 1.1rem;
}

.seo-services .service-features h3 {
  color: var(--primary-bg-color);
  text-align: center;
  margin-bottom: 40px;
}

.seo-services .features-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.seo-services .feature-item {
  background: white;
  border: 1px solid rgba(33, 117, 155, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.seo-services .feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.seo-services .feature-item i {
  color: var(--primary-bg-color);
  margin-bottom: 20px;
}

.seo-services .feature-item h4 {
  color: var(--primary-btn-color);
  margin-bottom: 15px;
}

.seo-services .feature-item p {
  color: var(--text-light);
}

.seo-services .seo-process {
  margin-top: 60px;
  text-align: center;
}

.seo-services .seo-process h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-bg-color);
  margin-bottom: 40px;
}

.seo-services .process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.seo-services .step {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(33, 117, 155, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.seo-services .step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.seo-services .step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg,
      var(--primary-bg-color),
      var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 5px 15px rgba(33, 117, 155, 0.3);
}

.seo-services .step h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-btn-color);
  margin-bottom: 15px;
}

.seo-services .step p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

.faq-section {
  padding: 80px 0;
  text-align: center;
}

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

.faq-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.faq-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-btn-color);
  margin-bottom: 15px;
  position: relative;
  padding-left: 40px;
}

.faq-item h3::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg,
      var(--primary-bg-color),
      var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

.map-section {
  padding: 80px 0;
  text-align: center;
}

.map-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Blog Styles */

.blog-filter-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.blog-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.filter-categories h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  background: transparent;
  color: var(--primary-bg-color);
  border: 2px solid var(--primary-bg-color);
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-bg-color);
  color: #fff;
}

.search-box form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-box input {
  border: none;
  padding: 12px 20px;
  flex: 1;
  font-size: 1rem;
}

.search-box button {
  background: var(--primary-bg-color);
  color: #fff;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-box button:hover {
  background: var(--secondary-color);
}

.featured-post-section {
  padding: 80px 0;
  background: #fff;
}

.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.featured-content {
  padding-right: 20px;
}

.featured-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.post-date,
.post-category {
  font-size: 0.9rem;
  color: var(--text-light);
}

.featured-title {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.featured-title a {
  color: inherit;
  text-decoration: none;
}

.featured-excerpt {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.featured-author {
  margin-bottom: 30px;
}

.author-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author-name,
.read-time {
  font-size: 0.9rem;
  color: var(--text-light);
}

.read-more-btn {
  background: var(--primary-bg-color);
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.featured-media {
  position: relative;
}

.featured-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-placeholder {
  width: 100%;
  height: 300px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: var(--text-light);
  font-size: 3rem;
}

.blog-posts-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.blog-post-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-5px);
}

.post-media {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.post-placeholder {
  width: 100%;
  height: 100%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 3rem;
}

.post-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary-bg-color);
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.post-content {
  padding: 20px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.post-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.post-title a {
  color: var(--text-dark);
  text-decoration: none;
}

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

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

.read-time {
  font-size: 0.9rem;
  color: var(--text-light);
}

.read-more {
  color: var(--primary-bg-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

.no-posts {
  text-align: center;
  padding: 40px;
}

.no-posts h3 {
  color: var(--text-dark);
  margin-bottom: 10px;
}

.no-posts p {
  color: var(--text-light);
}

.blog-pagination {
  margin-top: 50px;
  text-align: center;
}

.blog-pagination .page-numbers {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  background: #fff;
  color: var(--primary-bg-color);
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .current {
  background: var(--primary-bg-color);
  color: #fff;
}

.newsletter-section {
  padding: 80px 0;
  background: var(--primary-bg-color);
  color: #fff;
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.newsletter-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.newsletter-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.newsletter-form form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.newsletter-form button {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #fff;
  color: var(--secondary-color);
}

.popular-categories {
  padding: 80px 0;
  background: #fff;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.category-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-icon {
  font-size: 3rem;
  color: var(--primary-bg-color);
  margin-bottom: 20px;
}

.category-card h4 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.category-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.category-link {
  color: var(--primary-bg-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.category-link:hover {
  color: var(--secondary-color);
}

.projects-filter-section {
  padding: 60px 0 40px;
  text-align: center;
}

.projects-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.filter-btn-portfolio {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--primary-bg-color);
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn-portfolio:hover {
  background: var(--primary-bg-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 117, 155, 0.3);
}

.filter-btn-portfolio.active {
  background: var(--primary-bg-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(33, 117, 155, 0.4);
}

/* Projects Grid Section */
.projects-grid-section {
  padding: 40px 0 80px;
  background: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-item {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e6eaf0;
}

.project-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.project-image-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-item:hover .project-image {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(33, 117, 155, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  text-align: center;
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-overlay-content h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.project-overlay-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.project-tech span {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.project-view-btn {
  background: #fff;
  color: var(--primary-bg-color);
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.project-view-btn:hover {
  background: var(--primary-bg-color);
  color: #fff;
  transform: translateY(-2px);
}

.project-content {
  padding: 20px;
  text-align: center;
}

.project-category {
  color: var(--primary-bg-color);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}

.project-content h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.project-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Privacy Page Styles */
.privacy-content {
  padding: 80px 0;
  background: #fff;
}

.privacy-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.privacy-intro {
  text-align: center;
  margin-bottom: 60px;
}

.privacy-intro p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 20px;
}

.last-updated {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

.privacy-section {
  margin-bottom: 50px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
}

.privacy-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.privacy-section h2 {
  font-size: 1.8rem;
  color: var(--primary-btn-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.privacy-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-bg-color), var(--secondary-color));
  border-radius: 2px;
}

.privacy-section h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 30px 0 15px 0;
  font-weight: 600;
}

.privacy-section p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.privacy-section ul {
  margin: 20px 0;
  padding-left: 20px;
}

.privacy-section li {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 10px;
}

.privacy-section li strong {
  color: var(--text-dark);
}

.contact-details {
  background: rgba(33, 117, 155, 0.1);
  border-radius: 15px;
  padding: 30px;
  margin-top: 20px;
}

.contact-details p {
  margin: 10px 0;
  font-size: 1rem;
}

.contact-details strong {
  color: var(--primary-btn-color);
}

/* Terms Page Styles */
.terms-content {
  padding: 80px 0;
  background: #fff;
}

.terms-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.terms-intro {
  text-align: center;
  margin-bottom: 60px;
}

.terms-intro p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 20px;
}

.terms-section {
  margin-bottom: 50px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
}

.terms-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.terms-section h2 {
  font-size: 1.8rem;
  color: var(--primary-btn-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.terms-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-bg-color), var(--secondary-color));
  border-radius: 2px;
}

.terms-section h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 30px 0 15px 0;
  font-weight: 600;
}

.terms-section p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.terms-section ul {
  margin: 20px 0;
  padding-left: 20px;
}

.terms-section li {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 10px;
}

.terms-section li strong {
  color: var(--text-dark);
}


/* ===== MODERN BLOG PAGE STYLING ===== */

/* Blog Hero Section */

.blog-hero-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 60px 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.blog-hero-content h1 {
  background: linear-gradient(45deg, #ffffff, #ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: blogTextGlow 3s ease-in-out infinite alternate;
}

@keyframes blogTextGlow {
  0% {
    filter: brightness(1);
  }

  100% {
    filter: brightness(1.2);
  }
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  color: #ffffff;
}

/* Blog Filter Section */
.blog-filter-section {
  background: #f8fafc;
  padding: 60px 0;
  position: relative;
}

.blog-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.filter-categories h3 {
  margin-bottom: 20px;
  color: var(--text-dark);
  font-size: 1.2rem;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--text-dark);
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, #21759b, #1b8794);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(33, 117, 155, 0.3);
}

.search-box form {
  display: flex;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-box input {
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  background: transparent;
  outline: none;
  min-width: 250px;
}

.search-box button {
  background: linear-gradient(135deg, #21759b, #1b8794);
  border: none;
  padding: 12px 20px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-box button:hover {
  background: linear-gradient(135deg, #1b8794, #21759b);
}

/* Featured Post Section */
.featured-post-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 80px 0;
  position: relative;
}

.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 50px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.featured-post::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #21759b, #1b8794, #21759b);
}

.featured-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #64748b;
}

.featured-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.featured-title a {
  background: linear-gradient(135deg, #21759b, #21759b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.featured-excerpt {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 30px;
  line-height: 1.6;
}

.featured-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.author-info {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #64748b;
}

.read-more-btn {
  background: linear-gradient(135deg, #21759b, #1b8794, #21759b);
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(33, 117, 155, 0.3);
  display: inline-block;
}

.read-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(33, 117, 155, 0.4);
}

.featured-media {
  position: relative;
}

.featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

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

.featured-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #f3f6fb 0%, #e9eef7 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #94a3b8;
}

/* Blog Posts Section */
.blog-posts-section {
  background: #f8fafc;
  padding: 80px 0;
  position: relative;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-header .accent {
  background: linear-gradient(135deg, #21759b, #21759b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.blog-post-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.blog-post-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(33, 117, 155, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}

.blog-post-card:hover::after {
  width: 400px;
  height: 400px;
}

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

.post-media {
  position: relative;
  overflow: hidden;
}

.post-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.post-placeholder {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #f3f6fb 0%, #e9eef7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #94a3b8;
}

.post-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(33, 117, 155, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.post-content {
  padding: 30px;
  position: relative;
  z-index: 2;
}

.post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #64748b;
}

.post-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.post-title a {
  background: linear-gradient(135deg, #21759b, #21759b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.post-excerpt {
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.read-time {
  font-size: 12px;
  color: #94a3b8;
}

.read-more {
  color: #21759b;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #21759b;
  transform: translateX(5px);
}

.read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(3px);
}

/* Blog Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.blog-pagination .page-numbers {
  display: flex;
  list-style: none;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.blog-pagination .page-numbers li {
  margin: 0;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-pagination .page-numbers a:hover,
.blog-pagination .page-numbers .current {
  background: linear-gradient(135deg, #21759b, #1b8794);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(33, 117, 155, 0.3);
}

/* Newsletter Section */
.newsletter-section {
  background-color: var(--primary-bg-color);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

@keyframes newsletterFloat {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.newsletter-text h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 20px;
}

.newsletter-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
}

.newsletter-form form {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: 18px 25px;
  font-size: 16px;
  background: transparent;
  outline: none;
  color: white;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
  border: none;
  padding: 18px 30px;
  color: #21759b;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
}

/* Popular Categories */
.popular-categories {
  background: #f8fafc;
  padding: 80px 0;
  position: relative;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.category-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}

.category-card:hover::after {
  width: 300px;
  height: 300px;
}

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

.category-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #21759b, #1b8794);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(33, 117, 155, 0.3);
}

.category-card h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.category-card p {
  color: #64748b;
  margin-bottom: 20px;
}

.category-link {
  background: linear-gradient(135deg, #21759b, #1b8794);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(33, 117, 155, 0.3);
  display: inline-block;
}

.category-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(33, 117, 155, 0.4);
  background: linear-gradient(135deg, #1b8794, #21759b);
}

/* Single Post Styles */
.single-post-hero {
  background: #f8fafc;
  padding: 40px 0;
}

.single-post-content {
  padding: 60px 0;
  background: #fff;
  width: 100%;
  overflow-x: hidden;
}

.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #64748b;
  flex-wrap: wrap;
}

.post-breadcrumb a {
  color: #21759b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-breadcrumb a:hover {
  color: #21759b;
}

.post-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-top: 40px;
  width: 100%;
}

.post-main {
  width: 100%;
  min-width: 0;
}

.post-sidebar {
  width: 100%;
  min-width: 0;
}

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

.post-header .post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #64748b;
}

.post-header .post-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-dark);
}

.post-header .post-excerpt {
  font-size: 1.2rem;
  color: #64748b;
  line-height: 1.6;
}

.post-featured-image {
  margin-bottom: 40px;
}

.post-featured-image .featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.post-content>* {
  max-width: 100%;
}

.post-content p,
.post-content div,
.post-content section,
.post-content article {
  max-width: 100%;
  box-sizing: border-box;
}

.post-content img {
  max-width: 100% !important;
  height: auto !important;
}

.post-content iframe,
.post-content embed,
.post-content video,
.post-content object {
  max-width: 100% !important;
}

.post-content table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

.post-content pre,
.post-content code {
  max-width: 100%;
  overflow-x: auto;
  word-wrap: break-word;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.post-content ul,
.post-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.post-content blockquote {
  border-left: 4px solid #21759b;
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #64748b;
}

.post-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 30px;
}

.post-tags {
  margin-bottom: 30px;
}

.tags-label {
  font-weight: 600;
  color: var(--text-dark);
}

.post-tags a {
  background: #f1f5f9;
  color: #475569;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.post-tags a:hover {
  background: linear-gradient(135deg, #21759b, #1b8794);
  color: white;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 20px;
}

.share-label {
  font-weight: 600;
  color: var(--text-dark);
}

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

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-btn.facebook {
  background: #3b5998;
  color: white;
}

.share-btn.twitter {
  background: #1da1f2;
  color: white;
}

.share-btn.linkedin {
  background: #0077b5;
  color: white;
}

.share-btn.email {
  background: #6c757d;
  color: white;
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Author Bio */
.author-bio {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  gap: 30px;
  margin: 60px 0;
}

.author-avatar {
  flex-shrink: 0;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #f1f5f9;
}

.author-info h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.author-info p {
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.6;
}

.author-social {
  display: flex;
  gap: 15px;
}

.author-social a {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-decoration: none;
  transition: all 0.3s ease;
}

.author-social a:hover {
  background: linear-gradient(135deg, #21759b, #1b8794);
  color: white;
  transform: translateY(-2px);
}

/* Related Posts */
.related-posts {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin: 60px 0;
}

.related-posts h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--text-dark);
}

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

.related-post {
  transition: transform 0.3s ease;
}

.related-post:hover {
  transform: translateY(-5px);
}

.related-post-media {
  margin-bottom: 15px;
}

.related-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 15px;
}

.related-placeholder {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, #f3f6fb 0%, #e9eef7 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.related-post-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.related-post-content h4 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
  background: linear-gradient(135deg, #21759b, #21759b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.related-date {
  font-size: 12px;
  color: #64748b;
}

/* Post Navigation */
.post-navigation {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: space-between;
  margin: 60px 0;
}

.nav-previous,
.nav-next {
  flex: 1;
}

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

.post-navigation a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.post-navigation a:hover {
  color: #21759b;
  transform: translateX(5px);
}

.nav-previous a:hover {
  transform: translateX(-5px);
}

/* Sidebar */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.sidebar-widget {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.sidebar-widget h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.sidebar-widget form {
  display: flex;
  background: #f1f5f9;
  border-radius: 25px;
  overflow: hidden;
}

.sidebar-widget input {
  flex: 1;
  border: none;
  padding: 12px 15px;
  background: transparent;
  outline: none;
}

.sidebar-widget button {
  background: linear-gradient(135deg, #21759b, #1b8794);
  border: none;
  padding: 12px 15px;
  color: white;
  cursor: pointer;
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-list li {
  margin-bottom: 10px;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  color: #64748b;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.category-list a:hover {
  color: #21759b;
}

.category-count {
  font-size: 12px;
  color: #94a3b8;
}

.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recent-post {
  display: flex;
  gap: 15px;
}

.recent-post-media {
  flex-shrink: 0;
}

.recent-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}

.recent-post-content h5 {
  font-size: 1rem;
  margin-bottom: 5px;
  line-height: 1.4;
}

.recent-post-content h5 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.recent-post-content h5 a:hover {
  color: #21759b;
}

.recent-date {
  font-size: 12px;
  color: #64748b;
}

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

.tag-link {
  background: #f1f5f9;
  color: #475569;
  padding: 6px 12px;
  border-radius: 15px;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s ease;
}

.tag-link:hover {
  background: linear-gradient(135deg, #21759b, #1b8794);
  color: white;
  transform: translateY(-2px);
}






/* ========== RESPONSIVE STYLES ========== */

/* Large Tablets and Below (1024px) */
@media screen and (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }

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

  .why-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-media {
    height: 300px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .process-circle-container {
    width: 400px;
    height: 400px;
  }

  .circle-center {
    width: 150px;
    height: 150px;
  }

  .step-dot {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }

  .step-card {
    font-size: 12px;
    padding: 8px;
  }

  .featured-post {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  .single-post-content {
    padding: 50px 0;
  }

  .post-layout {
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .post-main {
    width: 100%;
    min-width: 0;
  }

  .post-sidebar {
    width: 100%;
    min-width: 0;
  }

  .single-post {
    padding: 40px 30px;
  }

  .post-header .post-title {
    font-size: 2.2rem;
  }

  .post-featured-image .featured-image {
    height: 350px;
  }

  .post-content {
    font-size: 1.05rem;
  }

  .newsletter-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mission-values {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

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

  .seo-services .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Images responsive */
  .why-media,
  .mini-media,
  .portfolio-media {
    height: auto;
  }

  .hero-form {
    padding: 20px;
  }

  .services-cta-row {
    flex-direction: column;
    gap: 10px;
  }
}

/* Tablets (768px) */
@media screen and (max-width: 768px) {

  /* Topbar - Make compact or hide on smaller tablets */
  .topbar {
    font-size: 11px;
    padding: 5px 0;
  }

  .topbar .container {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .topbar-left {
    flex-direction: row;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  .topbar-left span {
    white-space: nowrap;
  }

  .topbar-right {
    display: flex;
    gap: 8px;
  }

  .topbar-right .social-icon {
    margin-left: 0;
    font-size: 13px;
  }

  /* Header Navigation */
  .main-header {
    padding: 12px 0;
    position: relative;
  }

  .header-flex {
    position: relative;
  }

  .main-nav {
    position: relative;
    display: flex;
    align-items: center;
  }

  .hamburger {
    display: flex !important;
    z-index: 1002;
    position: relative;
    margin-left: auto;
  }

  .main-nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 80%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    margin: 0;
    list-style: none;
    display: flex !important;
  }

  .main-nav ul.active {
    right: 0;
  }

  .main-nav ul li {
    margin: 10px 0;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .main-nav ul li:last-child {
    border-bottom: none;
  }

  .main-nav ul li a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    transition: color 0.3s ease;
    width: 100%;
  }

  .main-nav ul li a:hover {
    color: var(--primary-bg-color);
    padding-left: 10px;
  }

  .main-nav ul li.mobile-menu-close {
    border-bottom: none;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
  }

  .mobile-menu-close {
    display: block !important;
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--primary-btn-color);
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu-close:hover {
    color: var(--primary-bg-color);
    transform: scale(1.1);
  }

  .mobile-menu-close .close-menu {
    display: block;
    line-height: 1;
    text-decoration: none;
    font-size: 32px;
    font-weight: 300;
    color: inherit;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .quote-btn {
    display: block;
    text-align: center;
    margin-top: 10px;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  body.mobile-menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
    cursor: pointer;
  }

  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }

  /* Ensure hamburger stays on top when menu is open */
  .hamburger.active {
    position: relative;
    z-index: 1002;
  }

  .hamburger.active span {
    background: var(--primary-bg-color);
  }

  /* Hero Section */
  .hero {
    padding: 30px 0;
  }

  .hero-flex {
    flex-direction: column;
    gap: 30px;
  }

  .hero-content {
    flex: 1 1 100%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .hero-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-form {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 15px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  /* Services Section */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-head h2 {
    font-size: 24px;
  }

  /* Why Choose Us */
  .why-content {
    text-align: center;
  }

  .mini-media-grid {
    grid-template-columns: 1fr;
  }

  /* Process Circle */
  .process-circle-section {
    padding: 40px 0;
  }

  .process-circle-container {
    width: 300px;
    height: 300px;
  }

  .circle-center {
    width: 120px;
    height: 120px;
    font-size: 12px;
    padding: 15px;
  }

  .step-dot {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }

  .step-card {
    font-size: 11px;
    padding: 6px;
    max-width: 120px;
  }

  .step-card h4 {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .step-card p {
    font-size: 10px;
    margin: 0;
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Testimonials */
  .testimonial-container {
    flex-direction: column;
    gap: 25px;
  }

  .testimonial-card {
    max-width: 100%;
  }

  /* Blog Grid */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* Contact Section */
  .contact-form {
    padding: 20px;
  }

  /* Topbar adjustments */
  .topbar .container {
    flex-wrap: wrap;
    gap: 10px;
  }


  /* Logo adjustments */
  .logo img {
    height: 45px;
  }

  /* Section padding */
  .services-section,
  .why-section,
  .process-circle-section,
  .portfolio-section,
  .testimonials,
  .blog-section,
  .contact-section {
    padding: 40px 0;
  }

  /* Additional responsive images */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Service media */
  .service-media {
    height: 140px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .bottom-flex {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* About Page */
  .about-hero {
    padding: 60px 0;
  }

  .about-hero h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

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

  .story-text {
    padding: 30px 20px;
  }

  .story-text h2 {
    font-size: 2rem;
  }

  .story-text .lead {
    font-size: 1rem;
  }

  /* Services Detail */
  .service-info h2 {
    font-size: 2rem;
  }

  .service-description {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Team Section */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  /* Services Page */
  .services-grid-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .why-services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Blog Page */
  .blog-hero {
    padding: 60px 0;
  }

  .blog-hero-content {
    padding: 40px 20px;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .blog-filters {
    flex-direction: column;
    gap: 25px;
  }

  .filter-categories {
    width: 100%;
  }

  .search-box form {
    width: 100%;
  }

  .search-box input {
    min-width: auto;
    flex: 1;
  }

  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Single Post Page */
  .single-post-hero {
    padding: 30px 0;
  }

  .post-breadcrumb {
    font-size: 12px;
    flex-wrap: wrap;
    gap: 5px;
  }

  .post-breadcrumb span {
    margin: 0 5px;
  }

  .single-post-content {
    padding: 40px 0;
  }

  .post-layout {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 40px;
    margin-top: 30px;
    width: 100% !important;
    max-width: 100% !important;
  }

  .post-main {
    width: 100% !important;
    max-width: 100% !important;
    order: 2;
    flex: 0 0 auto;
    box-sizing: border-box;
  }

  .post-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    order: 1;
    margin-bottom: 30px;
    flex: 0 0 auto;
    box-sizing: border-box;
  }

  .post-main {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

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

  .post-header .post-meta {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 15px;
  }

  .post-header .post-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .post-header .post-excerpt {
    font-size: 1rem;
    line-height: 1.5;
  }

  .post-featured-image {
    margin-bottom: 30px;
  }

  .post-featured-image .featured-image {
    height: 250px;
    border-radius: 15px;
  }

  .post-content {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
  }

  .post-content h1 {
    font-size: 1.8rem;
  }

  .post-content h2 {
    font-size: 1.6rem;
  }

  .post-content h3 {
    font-size: 1.4rem;
  }

  .post-content h4,
  .post-content h5,
  .post-content h6 {
    font-size: 1.2rem;
  }

  .post-content ul,
  .post-content ol {
    padding-left: 25px;
  }

  .post-content blockquote {
    padding-left: 15px;
    margin: 20px 0;
    font-size: 0.95rem;
  }

  .post-footer {
    padding-top: 20px;
  }

  .post-tags {
    margin-bottom: 20px;
  }

  .post-tags a {
    font-size: 12px;
    padding: 6px 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    display: inline-block;
  }

  .post-share {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .share-buttons {
    flex-wrap: wrap;
    gap: 8px;
  }

  .share-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .author-bio {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    margin: 40px 0;
    gap: 20px;
  }

  .author-avatar {
    margin: 0 auto;
  }

  .author-avatar img {
    width: 70px;
    height: 70px;
  }

  .author-info h4 {
    font-size: 1.3rem;
  }

  .author-info p {
    font-size: 0.9rem;
  }

  .author-social {
    justify-content: center;
    gap: 12px;
  }

  .author-social a {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .related-posts {
    padding: 30px 20px;
    margin: 40px 0;
  }

  .related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .related-post {
    text-align: center;
  }

  .related-image,
  .related-placeholder {
    height: 200px;
  }

  .related-post-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .post-navigation {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    margin: 40px 0;
  }

  .nav-previous,
  .nav-next {
    width: 100%;
  }

  .nav-next {
    text-align: left;
  }

  .post-navigation a {
    display: block;
    padding: 10px;
  }

  /* Sidebar Widgets */
  .sidebar-widget {
    margin-bottom: 25px;
    width: 100% !important;
    max-width: 100% !important;
    padding: 25px 20px !important;
    box-sizing: border-box;
  }

  .sidebar-widget form {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .sidebar-widget input {
    width: 100% !important;
    box-sizing: border-box;
    font-size: 14px;
  }

  .sidebar-widget button {
    width: 100% !important;
    box-sizing: border-box;
  }

  .category-list {
    width: 100%;
  }

  .category-list li {
    margin-bottom: 8px;
    width: 100%;
  }

  .category-list a {
    font-size: 14px;
    padding: 8px 0;
    display: block;
    width: 100%;
  }

  .recent-posts {
    width: 100%;
  }

  .recent-post {
    width: 100%;
  }

  .tag-cloud {
    width: 100%;
  }

  /* Projects Page */
  .projects-filters {
    justify-content: center;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* FAQ Section */
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* SEO Services */
  .seo-services .features-grid {
    grid-template-columns: 1fr;
  }

  .seo-services .process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Hide topbar on smaller devices (640px and below) */
@media screen and (max-width: 640px) {
  .topbar {
    display: none;
  }
}

/* Mobile Devices (480px) */
@media screen and (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  /* Topbar - Already hidden at 640px breakpoint */

  /* Hero */
  .hero-content h1 {
    font-size: 24px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 13px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-item {
    padding: 20px 15px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  /* Services */
  .service-card {
    padding: 15px;
  }

  .service-icon {
    font-size: 18px;
    margin-bottom: 10px;
  }

  /* Section Headings */
  .section-head h2 {
    font-size: 22px;
  }

  .section-head .eyebrow {
    font-size: 11px;
  }

  /* Process Circle - Stack on very small screens */
  .process-circle-section {
    padding: 30px 0;
  }

  .process-circle-container {
    width: 250px;
    height: 250px;
  }

  .circle-center {
    width: 100px;
    height: 100px;
    font-size: 11px;
    padding: 10px;
  }

  .step-dot {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }

  .step-card {
    font-size: 10px;
    padding: 5px;
    max-width: 100px;
  }

  /* Blog Hero */
  .blog-hero-content h1 {
    font-size: 2rem;
  }

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

  /* Featured Post */
  .featured-title {
    font-size: 1.8rem;
  }

  .featured-excerpt {
    font-size: 1rem;
  }

  /* Forms */
  .hero-form,
  .contact-form {
    padding: 15px;
  }

  .hero-form h3 {
    font-size: 18px;
  }

  .hero-form input,
  .hero-form textarea,
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 14px;
    padding: 8px 10px;
  }

  /* Footer */
  .footer-desc {
    font-size: 14px;
  }

  .footer-links h4,
  .footer-contact h4 {
    font-size: 14px;
  }

  .footer-links li,
  .footer-contact li {
    font-size: 13px;
  }

  /* About Page */
  .about-hero h1 {
    font-size: 28px;
  }

  .story-text {
    padding: 25px 15px;
  }

  .story-text h2 {
    font-size: 1.8rem;
  }

  .mission,
  .values {
    padding: 20px 15px;
  }

  .mission h3,
  .values h3 {
    font-size: 1.2rem;
  }

  /* Service Detail */
  .service-info h2 {
    font-size: 1.8rem;
  }

  .service-icon {
    width: 100px;
    height: 100px;
    font-size: 3rem;
  }

  .feature-item {
    padding: 25px 20px;
  }

  .feature-item i {
    font-size: 2rem;
  }

  .feature-item h4 {
    font-size: 1.1rem;
  }

  /* Team */
  .team-member {
    padding: 30px 20px;
  }

  .member-image {
    width: 120px;
    height: 120px;
  }

  /* Categories Grid */
  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    padding: 30px 20px;
  }

  /* Newsletter */
  .newsletter-form form {
    flex-direction: column;
  }

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

  /* Single Post Page - Mobile */
  .single-post-hero {
    padding: 20px 0;
  }

  .post-breadcrumb {
    font-size: 11px;
    gap: 3px;
  }

  .post-breadcrumb span {
    margin: 0 3px;
  }

  .single-post-content {
    padding: 30px 0;
  }

  .post-layout {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 30px;
    margin-top: 20px;
    width: 100% !important;
    max-width: 100% !important;
  }

  .post-main {
    width: 100% !important;
    max-width: 100% !important;
    order: 2;
    flex: 0 0 auto;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }

  .post-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    order: 1;
    flex: 0 0 auto;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 30px 0;
  }

  .post-main {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }

  .post-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 30px 0;
  }

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

  .post-header .post-meta {
    font-size: 12px;
    gap: 8px;
    margin-bottom: 12px;
  }

  .post-header .post-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .post-header .post-excerpt {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .post-featured-image {
    margin-bottom: 25px;
  }

  .post-featured-image .featured-image {
    height: 200px;
    border-radius: 12px;
  }

  .post-content {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
  }

  .post-content h1 {
    font-size: 1.5rem;
    margin-top: 25px;
  }

  .post-content h2 {
    font-size: 1.3rem;
    margin-top: 25px;
  }

  .post-content h3 {
    font-size: 1.2rem;
    margin-top: 20px;
  }

  .post-content h4,
  .post-content h5,
  .post-content h6 {
    font-size: 1.1rem;
    margin-top: 20px;
  }

  .post-content ul,
  .post-content ol {
    padding-left: 20px;
    margin-bottom: 15px;
    max-width: 100%;
  }

  .post-content blockquote {
    padding-left: 12px;
    padding-right: 12px;
    margin: 15px 0;
    font-size: 0.9rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .post-content table {
    font-size: 0.85rem;
    display: block;
    overflow-x: scroll;
  }

  .post-content pre {
    font-size: 0.85rem;
    padding: 12px;
    overflow-x: auto;
  }

  .post-content code {
    font-size: 0.85rem;
    padding: 2px 6px;
    word-break: break-word;
  }

  .post-footer {
    padding-top: 15px;
  }

  .post-tags {
    margin-bottom: 15px;
  }

  .post-tags .tags-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
  }

  .post-tags a {
    font-size: 11px;
    padding: 5px 10px;
    margin-right: 6px;
    margin-bottom: 6px;
  }

  .post-share {
    gap: 12px;
  }

  .share-label {
    font-size: 14px;
  }

  .share-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .author-bio {
    padding: 25px 15px;
    margin: 30px 0;
    gap: 15px;
  }

  .author-avatar img {
    width: 60px;
    height: 60px;
  }

  .author-info h4 {
    font-size: 1.1rem;
  }

  .author-info p {
    font-size: 0.85rem;
  }

  .author-social a {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .related-posts {
    padding: 25px 15px;
    margin: 30px 0;
  }

  .related-posts h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .related-posts-grid {
    gap: 15px;
  }

  .related-image,
  .related-placeholder {
    height: 150px;
  }

  .related-post-content h4 {
    font-size: 0.95rem;
  }

  .post-navigation {
    padding: 15px;
    margin: 30px 0;
    gap: 15px;
  }

  .post-navigation a {
    font-size: 13px;
    padding: 8px;
  }

  .sidebar-widget {
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  .sidebar-widget h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .recent-post {
    gap: 12px;
    margin-bottom: 15px;
  }

  .recent-image {
    width: 50px;
    height: 50px;
  }

  .recent-post-content h5 {
    font-size: 0.9rem;
  }

  .recent-date {
    font-size: 11px;
  }

  .tag-link {
    font-size: 11px;
    padding: 5px 10px;
  }

  /* Post Content Images and Media */
  .post-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px;
    margin: 20px 0;
    display: block;
  }

  .post-content iframe,
  .post-content embed,
  .post-content video,
  .post-content object {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

  .post-content table {
    width: 100% !important;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
  }

  .post-content pre,
  .post-content code {
    max-width: 100%;
    overflow-x: auto;
    word-wrap: break-word;
    white-space: pre-wrap;
  }

  .post-content blockquote {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* Privacy/Terms */
  .privacy-section,
  .terms-section {
    padding: 25px 15px;
  }

  .privacy-section h2,
  .terms-section h2 {
    font-size: 1.5rem;
  }

  .privacy-section h3,
  .terms-section h3 {
    font-size: 1.1rem;
  }

  /* Contact Items */
  .contact-item {
    padding: 12px;
    flex-direction: column;
    text-align: center;
  }

  .contact-item i {
    margin-bottom: 10px;
  }

  /* Rotating Text */
  .rotating-text {
    height: 24px;
    font-size: 14px;
  }

  /* Images */
  .why-media,
  .mini-media,
  .portfolio-media,
  .blog-image,
  .featured-image,
  .post-image {
    width: 100%;
    height: auto;
  }

  .portfolio-media,
  .blog-media {
    height: 200px;
  }

  /* Buttons */
  .btn-primary,
  .btn-secondary,
  .service-btn,
  .read-more-btn,
  .category-link {
    font-size: 14px;
    padding: 10px 20px;
  }

  /* Map */
  .map-container iframe {
    height: 300px;
  }

  /* Tech Stack */
  .tech-stack {
    justify-content: flex-start;
  }

  .tech-item {
    font-size: 0.8rem;
    padding: 8px 16px;
  }

  /* CTA Sections */
  .cta-content-services h2 {
    font-size: 2rem;
  }

  .cta-content-services p {
    font-size: 1rem;
  }

  /* Service Cards */
  .service-card-main {
    padding: 30px 20px;
  }

  .service-icon-main {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  /* Why Services */
  .why-icon-services {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  /* FAQ */
  .faq-item h3 {
    font-size: 1.1rem;
    padding-left: 35px;
  }

  .faq-item h3::before {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
  }

  /* Project Overlay */
  .project-overlay-content h3 {
    font-size: 1.2rem;
  }

  .project-overlay-content p {
    font-size: 0.85rem;
  }

  /* Blog Post Card */
  .post-content {
    padding: 20px 15px;
  }

  .post-title {
    font-size: 1.1rem;
  }

  .post-excerpt {
    font-size: 13px;
  }

  /* Testimonial */
  .client-info img {
    width: 50px;
    height: 50px;
  }

  .testimonial-card {
    padding: 25px 20px;
  }

  .testimonial-card p {
    font-size: 0.9rem;
  }

  /* Hero Form */
  .hero-form button {
    font-size: 12px;
    padding: 8px 14px;
  }
}

/* Very Small Mobile (360px and below) */
@media screen and (max-width: 360px) {
  .hero-content h1 {
    font-size: 20px;
  }

  .section-head h2 {
    font-size: 20px;
  }

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

  .featured-title {
    font-size: 1.5rem;
  }

  .post-header .post-title {
    font-size: 1.3rem;
  }

  .about-hero h1 {
    font-size: 24px;
  }

  .service-info h2,
  .story-text h2 {
    font-size: 1.5rem;
  }

  .process-circle-container {
    width: 200px;
    height: 200px;
  }

  .circle-center {
    width: 80px;
    height: 80px;
    font-size: 10px;
    padding: 8px;
  }

  .step-card {
    max-width: 80px;
    font-size: 9px;
  }

  .step-dot {
    width: 20px;
    height: 20px;
    font-size: 9px;
  }

  .topbar-left span {
    font-size: 10px;
  }

  .topbar-right .social-icon {
    font-size: 12px;
    margin-left: 5px;
  }
}

/* ============================================
   Careers Section Styles
   ============================================ */

/* Career Filter Section */
.career-filter-section {
  padding: 40px 0;
  background: var(--accent-color);
}

.career-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.filter-departments h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.department-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  background: var(--white);
  color: var(--text-dark);
  border: 2px solid transparent;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-bg-color);
  color: var(--white);
  border-color: var(--primary-bg-color);
}

/* Careers Listing Section */
.careers-listing-section {
  padding: 80px 0;
  background: var(--white);
}

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

.job-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-bg-color);
}

.job-card-header {
  margin-bottom: 20px;
}

.job-badge {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.job-type-badge,
.job-dept-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.job-type-badge {
  background: rgba(33, 117, 155, 0.1);
  color: var(--primary-bg-color);
}

.job-dept-badge {
  background: rgba(27, 135, 148, 0.1);
  color: var(--secondary-color);
}

.job-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

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

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

.job-card-body {
  flex-grow: 1;
  margin-bottom: 20px;
}

.job-excerpt {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.job-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 14px;
}

.job-meta-item i {
  color: var(--primary-bg-color);
  width: 18px;
}

.job-card-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.job-card-footer .btn-primary {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.no-jobs {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
}

.no-jobs-icon {
  font-size: 64px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.no-jobs h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.no-jobs p {
  color: var(--text-light);
  margin-bottom: 30px;
}

.careers-pagination {
  margin-top: 50px;
  text-align: center;
}

.careers-pagination .page-numbers {
  display: inline-flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.careers-pagination .page-numbers li {
  display: inline-block;
}

.careers-pagination .page-numbers a,
.careers-pagination .page-numbers span {
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
  display: inline-block;
}

.careers-pagination .page-numbers a:hover,
.careers-pagination .page-numbers .current {
  background: var(--primary-bg-color);
  color: var(--white);
  border-color: var(--primary-bg-color);
}

/* Why Work Section */
.why-work-section {
  padding: 80px 0;
  background: var(--accent-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-item {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: rgba(33, 117, 155, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: var(--primary-bg-color);
}

.benefit-item h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.benefit-item p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
}

/* Single Job Page Styles */
.single-job-hero {
  padding: 30px 0;
  background: var(--accent-color);
}

.job-breadcrumb {
  font-size: 14px;
  color: var(--text-light);
}

.job-breadcrumb a {
  color: var(--primary-bg-color);
  text-decoration: none;
}

.job-breadcrumb a:hover {
  text-decoration: underline;
}

.job-breadcrumb span {
  margin: 0 8px;
  color: var(--text-light);
}

.single-job-content {
  padding: 60px 0;
  background: var(--white);
}

.job-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
}

.job-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #e0e0e0;
}

.job-header-top {
  margin-bottom: 20px;
}

.job-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.job-status-badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.job-status-badge.open {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
}

.job-status-badge.closed {
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
}

.job-title-main {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  color: var(--text-dark);
}

.job-meta-main {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.job-meta-item-main {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 16px;
}

.job-meta-item-main i {
  color: var(--primary-bg-color);
  font-size: 18px;
}

.job-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 50px;
}

.job-content h2,
.job-content h3,
.job-content h4 {
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
}

.job-content ul,
.job-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.job-content li {
  margin-bottom: 10px;
}

/* Application Form */
.job-application-section {
  background: var(--accent-color);
  padding: 40px;
  border-radius: 12px;
  margin-top: 50px;
}

.application-message {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.application-message.success {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.application-message.error {
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.job-application-form {
  margin-top: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

.form-group .required {
  color: #f44336;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="file"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-bg-color);
  box-shadow: 0 0 0 3px rgba(33, 117, 155, 0.1);
}

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

.file-hint {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--text-light);
}

.form-submit {
  margin-top: 30px;
}

.form-submit .btn-primary {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 14px 24px;
}

.job-closed-notice {
  background: var(--accent-color);
  padding: 60px 40px;
  border-radius: 12px;
  text-align: center;
  margin-top: 50px;
}

.closed-notice-content i {
  font-size: 64px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.closed-notice-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.closed-notice-content p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 16px;
}

/* Job Sidebar */
.job-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: var(--accent-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--text-dark);
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.job-summary-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.summary-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

.summary-value {
  color: var(--text-light);
  font-size: 14px;
  text-align: right;
}

.btn-block {
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-top: 20px;
}

.share-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
  font-size: 14px;
}

.share-btn:hover {
  background: var(--primary-bg-color);
  color: var(--white);
  border-color: var(--primary-bg-color);
}

.share-btn.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.share-btn.twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
}

.share-btn.linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
}

.share-btn.email:hover {
  background: var(--primary-bg-color);
  border-color: var(--primary-bg-color);
}

.related-jobs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-jobs-list li {
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
}

.related-jobs-list li:last-child {
  border-bottom: none;
}

.related-jobs-list a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.related-jobs-list a:hover {
  color: var(--primary-bg-color);
}

.related-job-type {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--primary-bg-color);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.view-all-link:hover {
  gap: 12px;
}

/* Responsive Styles for Careers */
@media screen and (max-width: 1024px) {
  .job-layout {
    grid-template-columns: 1fr;
  }

  .job-sidebar {
    order: -1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .career-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-departments {
    width: 100%;
  }

  .department-filters {
    flex-wrap: wrap;
  }

  .job-title-main {
    font-size: 28px;
  }

  .job-meta-main {
    flex-direction: column;
    gap: 15px;
  }

  .job-application-section {
    padding: 30px 20px;
  }

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

/* ============================================
   Search Results Page Styles
   ============================================ */

/* Search Form Section */
.search-form-section {
  padding: 40px 0;
  background: var(--accent-color);
}

.search-form-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.main-search-form {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-bg-color);
  box-shadow: 0 0 0 3px rgba(33, 117, 155, 0.1);
}

.search-submit-btn {
  padding: 14px 30px;
  background: var(--primary-bg-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.search-submit-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 117, 155, 0.3);
}

.search-filters {
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.filter-label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-size: 14px;
}

.filter-options {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-dark);
}

.filter-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-bg-color);
}

/* Search Results Section */
.search-results-section {
  padding: 80px 0;
  background: var(--white);
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.search-result-item {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.search-result-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-bg-color);
}

.result-item-header {
  position: relative;
}

.result-type-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  background: rgba(33, 117, 155, 0.9);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(10px);
}

.result-type-badge i {
  font-size: 14px;
}

.result-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f5f5;
}

.result-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.search-result-item:hover .result-image {
  transform: scale(1.05);
}

.result-item-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 13px;
  color: var(--text-light);
}

.result-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.result-meta i {
  font-size: 12px;
  color: var(--primary-bg-color);
}

.result-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

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

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

.result-excerpt {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.result-excerpt mark {
  background: rgba(33, 117, 155, 0.2);
  color: var(--primary-bg-color);
  font-weight: 600;
  padding: 2px 4px;
  border-radius: 3px;
}

.result-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-bg-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.3s ease;
}

.read-more-link:hover {
  gap: 12px;
}

.read-more-link i {
  font-size: 12px;
}

/* No Results Section */
.no-results {
  text-align: center;
  padding: 80px 20px;
  max-width: 700px;
  margin: 0 auto;
}

.no-results-icon {
  font-size: 80px;
  color: var(--text-light);
  margin-bottom: 30px;
  opacity: 0.5;
}

.no-results h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.no-results > p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
}

.no-results-suggestions {
  background: var(--accent-color);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  text-align: left;
}

.no-results-suggestions h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.no-results-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.no-results-suggestions li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
  color: var(--text-light);
  font-size: 15px;
}

.no-results-suggestions li:before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-bg-color);
}

.no-results-suggestions a {
  color: var(--primary-bg-color);
  text-decoration: none;
  font-weight: 600;
}

.no-results-suggestions a:hover {
  text-decoration: underline;
}

.no-results-search {
  margin-top: 30px;
}

.retry-search-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.retry-search-input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.retry-search-input:focus {
  outline: none;
  border-color: var(--primary-bg-color);
  box-shadow: 0 0 0 3px rgba(33, 117, 155, 0.1);
}

/* Popular Searches Section */
.popular-searches-section {
  padding: 80px 0;
  background: var(--accent-color);
}

.popular-searches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.popular-search-item {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 2px solid transparent;
}

.popular-search-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-bg-color);
}

.popular-search-item i {
  font-size: 36px;
  color: var(--primary-bg-color);
  transition: transform 0.3s ease;
}

.popular-search-item:hover i {
  transform: scale(1.1);
}

.popular-search-item span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

/* Search Pagination */
.search-pagination {
  margin-top: 50px;
  text-align: center;
}

.search-pagination .page-numbers {
  display: inline-flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-pagination .page-numbers li {
  display: inline-block;
}

.search-pagination .page-numbers a,
.search-pagination .page-numbers span {
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
  display: inline-block;
}

.search-pagination .page-numbers a:hover,
.search-pagination .page-numbers .current {
  background: var(--primary-bg-color);
  color: var(--white);
  border-color: var(--primary-bg-color);
}

/* Responsive Styles for Search Results */
@media screen and (max-width: 768px) {
  .search-results-grid {
    grid-template-columns: 1fr;
  }

  .search-input-group {
    flex-direction: column;
  }

  .search-submit-btn {
    width: 100%;
    justify-content: center;
  }

  .filter-options {
    flex-direction: column;
    gap: 10px;
  }

  .retry-search-form {
    flex-direction: column;
  }

  .retry-search-input {
    width: 100%;
  }

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

  .no-results-icon {
    font-size: 60px;
  }

  .no-results h2 {
    font-size: 24px;
  }
}

@media screen and (max-width: 480px) {
  .popular-searches-grid {
    grid-template-columns: 1fr;
  }

  .main-search-form {
    padding: 20px;
  }
}