/* ===========================
   Reset and Base Styles
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #f7941d;
  --primary-dark: #e68400;
  --secondary-color: #1a2332;
  --dark-bg: #0f1419;
  --text-dark: #1a2332;
  --text-light: #666;
  --text-muted: #999;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-border: #e5e5e5;
  --transition: all 0.3s ease;
}

body {
  font-family: "Tajawal", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  direction: rtl;
  overflow-x: hidden;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-block;
  padding: 14px 35px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-size: 15px;
  font-family: "Tajawal", sans-serif;
  transition: var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(247, 148, 29, 0.35);
}

.btn-nav {
  background: var(--primary-color);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 4px;
}

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

.btn-block {
  width: 100%;
}

/* ===========================
   Header
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.top-bar {
  background: var(--secondary-color);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info span {
  margin-left: 25px;
  font-weight: 400;
}

.contact-info i {
  margin-left: 6px;
  color: var(--primary-color);
}

.sr-text {
  display: none;
}

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

.social-links > ul {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: var(--transition);
}

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

/* Social links Font Awesome auto-icons */
.social-links a[href*="facebook"]::before {
  content: "\f09a";
  font-family: "Font Awesome 6 Brands";
}
.social-links a[href*="twitter"]::before {
  content: "\f099";
  font-family: "Font Awesome 6 Brands";
}
.social-links a[href*="instagram"]::before {
  content: "\f16d";
  font-family: "Font Awesome 6 Brands";
}
.social-links a[href*="linkedin"]::before {
  content: "\f0e1";
  font-family: "Font Awesome 6 Brands";
}
.social-links a[href*="youtube"]::before {
  content: "\f167";
  font-family: "Font Awesome 6 Brands";
}
.social-links a[href*="tiktok"]::before {
  content: "\e07b";
  font-family: "Font Awesome 6 Brands";
}
.social-links a[href*="whatsapp"]::before {
  content: "\f232";
  font-family: "Font Awesome 6 Brands";
}
.social-links a::before {
  display: inline-block;
  margin-left: 5px;
}

.navbar {
  padding: 15px 0;
}

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

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

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo a:hover .logo-img {
  opacity: 0.85;
}

.nav-menu {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 5px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

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

.nav-menu a.btn-nav::after {
  display: none;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--secondary-color);
}

/* ===========================
   Hero Section (Slick Slider)
   =========================== */
.hero-section {
  margin-top: 100px;
}

.hero-slider .slide {
  position: relative;
  height: 650px;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 35, 50, 0.75),
    rgba(247, 148, 29, 0.15)
  );
  z-index: 1;
}

.slide-content {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--white);
  text-align: right;
}

.slide-subtitle {
  display: block;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.8s ease-out 0.3s forwards;
}

.slide-title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.8s ease-out 0.5s forwards;
}

.slide-phone {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.8s ease-out 0.65s forwards;
}

.slide-phone-number {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--primary-color);
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.8s ease-out 0.7s forwards;
}

.slide-content .btn {
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.8s ease-out 0.9s forwards;
}

/* Slick dot customizations */
.hero-slider .slick-dots {
  bottom: 30px;
  z-index: 3;
}

.hero-slider .slick-dots li button:before {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.hero-slider .slick-dots li.slick-active button:before {
  color: var(--primary-color);
}

.hero-slider .slick-prev,
.hero-slider .slick-next {
  z-index: 3;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.hero-slider .slick-prev {
  right: 30px;
  left: auto;
}

.hero-slider .slick-next {
  left: 30px;
  right: auto;
}

.hero-slider .slick-prev:hover,
.hero-slider .slick-next:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.hero-slider .slick-prev:before,
.hero-slider .slick-next:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 20px;
}

.hero-slider .slick-prev:before {
  content: "\f054";
}

.hero-slider .slick-next:before {
  content: "\f053";
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   Features Section (overlapping hero)
   =========================== */
.features-section {
  position: relative;
  z-index: 10;
  margin-top: -80px;
  padding-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--gray-border);
  transition: var(--transition);
  position: relative;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: transparent;
  transition: var(--transition);
}

.feature-card:hover::before,
.feature-card.featured::before {
  background: var(--primary-color);
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon,
.feature-card.featured .feature-icon {
  background: var(--primary-color);
  color: var(--white);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.feature-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.feature-card p:last-child {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 14px;
}

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

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

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

.section-header.centered {
  text-align: center;
}

.section-subtitle {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 15px;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-subtitle-light {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 15px;
  display: block;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 38px;
  color: var(--secondary-color);
  font-weight: 800;
  line-height: 1.3;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 15px;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--gray-border);
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-feature-item i {
  color: var(--primary-color);
  font-size: 18px;
}

.about-feature-item span {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 14px;
}

.about-images {
  position: relative;
}

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

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 55%;
  border: 5px solid var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-img-secondary img {
  width: 100%;
}

/* ===========================
   CTA / Why Choose Us Section
   =========================== */
.cta-section {
  position: relative;
  background: var(--secondary-color);
  padding: 100px 0;
  overflow: hidden;
}

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

.cta-image img {
  width: 100%;
  border-radius: 8px;
}

.cta-text {
  color: var(--white);
}

.cta-text h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 30px;
}

.cta-features {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.cta-feature {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.cta-feature i {
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 3px;
}

.cta-feature h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.cta-feature p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* ===========================
   Counter Section
   =========================== */
.counter-section {
  padding: 80px 0;
  background: var(--white);
}

.counter-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

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

.counter-text h2 {
  font-size: 38px;
  margin-bottom: 15px;
  color: var(--secondary-color);
  font-weight: 800;
}

.counter-text > p {
  margin-bottom: 40px;
  color: var(--text-light);
}

.counters {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.counter-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.counter-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

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

.counter-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-color);
}

.counter-number::after {
  content: "+";
}

.counter-label {
  font-size: 14px;
  color: var(--text-light);
}

/* ===========================
   Projects Section (Isotope + prettyPhoto)
   =========================== */
.projects-section {
  padding: 80px 0;
  background: var(--gray-light);
}

.project-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 35px 0;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  transition: var(--transition);
  color: var(--text-dark);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

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

.project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  height: 280px;
}

.project-card a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(247, 148, 29, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-info {
  text-align: center;
  color: var(--white);
  transform: translateY(20px);
  transition: var(--transition);
}

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

.project-card:hover .project-info {
  transform: translateY(0);
}

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

.project-info h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.project-info p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 10px;
}

.project-info i {
  font-size: 24px;
  width: 45px;
  height: 45px;
  border: 2px solid var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===========================
   Services + Contact Form Section
   =========================== */
.services-contact-section {
  padding: 80px 0;
  background: var(--secondary-color);
  color: var(--white);
}

.services-contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.services-list-col h2 {
  color: var(--white);
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 15px;
}

.services-list-col > p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  line-height: 1.8;
}

.services-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.service-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--white);
}

.service-tab.active,
.service-tab:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.service-tab i {
  font-size: 18px;
}

.service-tab-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.8;
}

.appointment-form {
  background: var(--primary-color);
  padding: 40px;
  border-radius: 8px;
}

.appointment-form h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 4px;
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  color: var(--text-dark);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
}

.appointment-form .btn-primary {
  background: var(--secondary-color);
  font-size: 16px;
  padding: 16px;
}

.appointment-form .btn-primary:hover {
  background: var(--dark-bg);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* ===========================
   Testimonials Section (Slick Carousel)
   =========================== */
.testimonials-section {
  padding: 80px 0;
  background: var(--gray-light);
}

.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.testimonials-nav {
  display: flex;
  gap: 10px;
}

.testimonials-nav button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--gray-border);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-dark);
}

.testimonials-nav button:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.testimonials-slider .slick-slide {
  margin: 0 12px;
}

.testimonials-slider .slick-list {
  margin: 0 -12px;
}

.testimonials-slider .slick-dots {
  bottom: -35px;
}

.testimonials-slider .slick-dots li button:before {
  color: var(--text-muted);
  font-size: 10px;
}

.testimonials-slider .slick-dots li.slick-active button:before {
  color: var(--primary-color);
}

.testimonial-card {
  background: var(--white);
  border-radius: 8px;
  padding: 35px 30px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

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

.testimonial-quote {
  color: var(--primary-color);
  font-size: 32px;
  margin-bottom: 15px;
  opacity: 0.3;
}

.testimonial-text {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 25px;
  min-height: 80px;
}

.testimonial-text p {
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--gray-border);
  padding-top: 20px;
}

.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--primary-color);
}

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

.testimonial-author-info h4 {
  font-size: 16px;
  color: var(--secondary-color);
  margin-bottom: 2px;
}

.testimonial-author-info p {
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 600;
}

/* ===========================
   Blog Section
   =========================== */
.blog-section {
  padding: 80px 0;
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid var(--gray-border);
}

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

.blog-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.blog-date {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 4px;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
}

.blog-date .day {
  display: block;
  font-size: 22px;
}

.blog-date .month {
  display: block;
  font-size: 12px;
  font-weight: 400;
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 12px;
  display: flex;
  gap: 20px;
}

.blog-meta i {
  margin-left: 5px;
  color: var(--primary-color);
}

.blog-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--secondary-color);
  line-height: 1.5;
}

.blog-content p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 14px;
}

.read-more {
  color: var(--primary-color);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.read-more:hover {
  gap: 10px;
}

/* ===========================
   Newsletter Section
   =========================== */
.newsletter-section {
  padding: 60px 0;
  background: var(--primary-color);
  color: var(--white);
}

.newsletter-content {
  text-align: center;
}

.newsletter-content h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.newsletter-content p {
  margin-bottom: 25px;
  font-size: 16px;
  opacity: 0.9;
}

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

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-family: "Tajawal", sans-serif;
  font-size: 15px;
}

.newsletter-form .btn {
  border-radius: 0 4px 4px 0;
  background: var(--secondary-color);
  color: var(--white);
  padding: 15px 30px;
}

.newsletter-form .btn:hover {
  background: var(--dark-bg);
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 70px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  margin-bottom: 15px;
}

.footer-logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.footer-logo-img:hover {
  opacity: 0.8;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  font-size: 14px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

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

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
  padding-right: 5px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.contact-list i {
  color: var(--primary-color);
  margin-top: 4px;
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  font-size: 14px;
}

.footer-social a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

/* ===========================
   Scroll to Top
   =========================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  width: 45px;
  height: 45px;
  background: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 998;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
}

.scroll-top:hover {
  background: var(--primary-color);
  box-shadow: 0 6px 20px rgba(247, 148, 29, 0.4);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ===========================
   Fixed Phone Button - LEFT side
   =========================== */
.fixed-phone-btn {
  position: fixed;
  bottom: 30px;
  left: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.fixed-phone-btn a {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(247, 148, 29, 0.45);
  animation: phonePulse 2s ease-in-out infinite;
}

.fixed-phone-btn a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(247, 148, 29, 0.6);
  animation: phoneShake 0.5s ease-in-out;
}

/* Pulse ring animation */
.fixed-phone-btn a::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  opacity: 0;
  animation: phoneRing 2s ease-in-out infinite;
}

.fixed-phone-btn a::after {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-radius: 50%;
  border: 1px solid var(--primary-color);
  opacity: 0;
  animation: phoneRing 2s ease-in-out 0.4s infinite;
}

.phone-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary-color);
  background: var(--white);
  padding: 3px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

@keyframes phonePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes phoneRing {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes phoneShake {
  0%,
  100% {
    transform: rotate(0) scale(1.1);
  }
  15% {
    transform: rotate(15deg) scale(1.1);
  }
  30% {
    transform: rotate(-15deg) scale(1.1);
  }
  45% {
    transform: rotate(10deg) scale(1.1);
  }
  60% {
    transform: rotate(-10deg) scale(1.1);
  }
  75% {
    transform: rotate(5deg) scale(1.1);
  }
}

/* ===========================
   Fixed Social Icons - RIGHT side
   =========================== */
.fixed-social-icons {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 999;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fixed-social-icons a {
  width: 44px;
  height: 44px;
  background-color: #222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tooltip - appears to the LEFT (since icons are on the right) */
.fixed-social-icons a::after {
  content: attr(title);
  position: absolute;
  right: 54px;
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  top: 50%;
  transition: all 0.25s ease;
}

.fixed-social-icons a:hover::after {
  opacity: 1;
  right: 50px;
}

/* WhatsApp */
.fixed-social-icons a[href*="wa.me"],
.fixed-social-icons a[href*="whatsapp.com"] {
  background-color: #25d366;
}

/* Facebook */
.fixed-social-icons a[href*="facebook.com"] {
  background-color: #1877f2;
}

/* Instagram */
.fixed-social-icons a[href*="instagram.com"] {
  background-color: #e4405f;
}

/* Telegram */
.fixed-social-icons a[href*="t.me"],
.fixed-social-icons a[href*="telegram"] {
  background-color: #229ed9;
}

/* Hover effect */
.fixed-social-icons a:hover {
  width: 54px;
  opacity: 0.9;
}

/* First and last item rounded corners */
.fixed-social-icons a:first-child {
  border-radius: 8px 0 0 0;
}

.fixed-social-icons a:last-child {
  border-radius: 0 0 0 8px;
  border-bottom: none;
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ===========================
   Page Banner (all inner pages)
   =========================== */
.page-banner {
  position: relative;
  background: var(--secondary-color);
  padding: 80px 0 60px;
  margin-top: 100px;
  text-align: center;
  overflow: hidden;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 35, 50, 0.95),
    rgba(247, 148, 29, 0.15)
  );
}

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

.page-banner-title {
  color: var(--white);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

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

.breadcrumb .current {
  color: var(--primary-color);
}

/* ===========================
   Single Service Page (project single)
   =========================== */
.single-service-page {
  padding: 60px 0;
}

.service-featured-image {
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-featured-image img {
  width: 100%;
  height: auto;
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: flex-start;
}

.service-description {
  line-height: 1.9;
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 35px;
}

.service-description p {
  margin-bottom: 18px;
}

.service-description h2,
.service-description h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  margin-top: 25px;
}

/* Service Gallery */
.service-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 35px;
}

.service-gallery a {
  border-radius: 6px;
  overflow: hidden;
  display: block;
}

.service-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: var(--transition);
}

.service-gallery a:hover img {
  transform: scale(1.05);
}

/* Solutions Section */
.service-solutions {
  margin-bottom: 40px;
}

.service-solutions h2 {
  font-size: 26px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.solutions-price {
  background: var(--gray-light);
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 25px;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 18px;
}

.solution-feature {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.solution-icon {
  width: 55px;
  height: 55px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.solution-feature h4 {
  font-size: 17px;
  color: var(--secondary-color);
  margin-bottom: 4px;
}

.solution-feature p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

/* Service Navigation */
.service-navigation {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--gray-border);
  margin-top: 10px;
}

.service-navigation .btn {
  padding: 10px 25px;
  font-size: 14px;
}

/* Project Details Sidebar Box */
.project-details-box {
  background: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  padding: 30px 25px;
  margin-bottom: 25px;
}

.project-details-box h3 {
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-border);
}

.project-details-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-details-box li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 14px;
}

.project-details-box li:last-child {
  border-bottom: none;
}

.project-details-box li strong {
  color: var(--secondary-color);
  font-weight: 700;
}

.project-details-box li span {
  color: var(--text-light);
}

/* Sidebar CTA Widget */
.sidebar-cta-widget {
  background: linear-gradient(135deg, var(--secondary-color), #2a3a50);
  border-radius: 8px;
  padding: 30px 25px;
  color: var(--white);
  text-align: center;
  margin-bottom: 25px;
}

.sidebar-cta-widget h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.4;
}

.cta-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--primary-color);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.cta-badge-text {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
}

.cta-badge span {
  font-size: 13px;
  text-align: right;
  line-height: 1.4;
}

.cta-phone-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
}

.cta-phone-box i {
  font-size: 22px;
  color: var(--primary-color);
}

.cta-phone-box span {
  display: block;
  font-size: 12px;
  opacity: 0.7;
}

.cta-phone-box strong {
  font-size: 18px;
  color: var(--primary-color);
}

.sidebar-cta-widget .btn-primary {
  background: var(--primary-color);
  width: 100%;
  margin-top: 5px;
}

/* Sidebar Social Widget */
.sidebar-social-widget {
  background: var(--white);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 25px;
}

.sidebar-social-widget h3 {
  font-size: 18px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.sidebar-social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sidebar-social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: var(--transition);
}

.sidebar-social-links a:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

.social-wa {
  background-color: #25d366;
}
.social-fb {
  background-color: #1877f2;
}
.social-ig {
  background-color: #e4405f;
}
.social-tg {
  background-color: #229ed9;
}
.social-phone {
  background-color: var(--secondary-color);
}

/* Related Projects Grid */
.related-projects {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-border);
}

.related-projects h2 {
  font-size: 28px;
  color: var(--secondary-color);
  margin-bottom: 30px;
  font-weight: 800;
}

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

.related-card {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

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

.related-image {
  height: 220px;
  overflow: hidden;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.related-info {
  padding: 18px;
  background: var(--white);
}

.related-cat {
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
}

.related-info h3 {
  font-size: 16px;
  color: var(--secondary-color);
  font-weight: 800;
  margin-top: 4px;
  text-transform: uppercase;
}

/* ===========================
   Single Blog Page (with sidebar)
   =========================== */
.single-blog-page {
  padding: 60px 0;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: flex-start;
}

.blog-featured-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.blog-featured-image img {
  width: 100%;
  height: auto;
}

.blog-date-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 4px;
  text-align: center;
  line-height: 1.2;
  font-weight: 700;
}

.blog-date-badge .day {
  display: block;
  font-size: 24px;
}

.blog-date-badge .month {
  display: block;
  font-size: 12px;
  font-weight: 400;
}

.blog-post-meta {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gray-border);
}

.blog-post-meta i {
  margin-left: 5px;
  color: var(--primary-color);
}

.blog-post-content {
  line-height: 1.9;
  color: var(--text-dark);
  font-size: 15px;
  margin-bottom: 30px;
}

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

.blog-post-content h2,
.blog-post-content h3 {
  color: var(--secondary-color);
  margin: 25px 0 15px;
  font-weight: 700;
}

.blog-post-content img {
  border-radius: 8px;
  margin: 20px 0;
}

.blog-post-content ul,
.blog-post-content ol {
  padding-right: 25px;
  margin-bottom: 18px;
}

.blog-post-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.blog-post-content blockquote {
  background: var(--gray-light);
  border-right: 4px solid var(--primary-color);
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--text-light);
}

/* Blog Gallery */
.blog-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.blog-gallery a {
  border-radius: 6px;
  overflow: hidden;
  display: block;
}

.blog-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.blog-gallery a:hover img {
  transform: scale(1.05);
}

/* Post Tags */
.blog-post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  margin-bottom: 30px;
}

.blog-post-tags i {
  color: var(--primary-color);
  margin-left: 5px;
}

.tag-link {
  display: inline-block;
  padding: 5px 14px;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-dark);
  transition: var(--transition);
}

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

/* Blog Post Navigation */
.blog-post-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.blog-post-navigation .btn {
  padding: 10px 25px;
  font-size: 14px;
}

/* Blog Comments */
.blog-comments-section {
  border-top: 2px solid var(--gray-border);
  padding-top: 35px;
}

.blog-comments-section > h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 30px;
  font-weight: 700;
}

.blog-comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.blog-comment-item {
  margin-bottom: 25px;
}

.blog-comment-item .comment-body {
  display: flex;
  gap: 15px;
  background: var(--gray-light);
  padding: 20px;
  border-radius: 8px;
}

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

.comment-avatar img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-content {
  flex: 1;
}

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

.comment-author {
  font-size: 16px;
  color: var(--secondary-color);
}

.comment-date {
  font-size: 12px;
  color: var(--text-muted);
}

.comment-text {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.comment-reply a {
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 600;
}

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

/* Nested comments */
.blog-comment-list .children {
  list-style: none;
  padding-right: 40px;
  margin: 0;
}

/* Comment Form Styling */
.blog-comments-section .comment-respond {
  margin-top: 30px;
}

.blog-comments-section .comment-reply-title {
  font-size: 24px;
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 20px;
}

.comment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.blog-comments-section .form-group input,
.blog-comments-section .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  transition: var(--transition);
  background: var(--white);
  color: var(--text-dark);
}

.blog-comments-section .form-group input:focus,
.blog-comments-section .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.1);
}

.blog-comments-section .form-group {
  margin-bottom: 15px;
}

.no-comments {
  color: var(--text-muted);
  font-style: italic;
  padding: 20px;
  background: var(--gray-light);
  border-radius: 8px;
  margin-bottom: 30px;
}

/* ===========================
   Blog Sidebar Widgets
   =========================== */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-widget {
  background: var(--white);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 25px;
}

.widget-title {
  font-size: 20px;
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.title-line {
  width: 4px;
  height: 22px;
  background: var(--primary-color);
  border-radius: 2px;
  display: inline-block;
}

/* Author Widget */
.author-widget {
  text-align: center;
}

.author-avatar {
  margin-bottom: 15px;
}

.author-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
}

.author-widget h4 {
  font-size: 18px;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.author-widget p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

/* Categories Widget */
.sidebar-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-categories li {
  border-bottom: 1px solid var(--gray-light);
}

.sidebar-categories li:last-child {
  border-bottom: none;
}

.sidebar-categories li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.sidebar-categories li a:hover,
.sidebar-categories li.active a {
  color: var(--primary-color);
  padding-right: 5px;
}

.cat-count {
  background: var(--gray-light);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.sidebar-categories li.active .cat-count,
.sidebar-categories li a:hover .cat-count {
  background: var(--primary-color);
  color: var(--white);
}

/* Recent Posts Widget */
.sidebar-recent-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-post-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
}

.recent-post-item:last-child {
  border-bottom: none;
}

.recent-post-thumb {
  width: 75px;
  height: 65px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-info {
  flex: 1;
}

.recent-post-date {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.recent-post-info a {
  font-size: 14px;
  color: var(--secondary-color);
  font-weight: 600;
  line-height: 1.4;
  transition: var(--transition);
}

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

/* Tags Widget */
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-dark);
  transition: var(--transition);
}

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

/* ===========================
   Archive / Category Page
   =========================== */
.archive-page {
  padding: 60px 0;
}

.archive-description {
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.category-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 10px 22px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.archive-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: flex-start;
}

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

.archive-grid .blog-card h3 a {
  color: var(--secondary-color);
  transition: var(--transition);
}

.archive-grid .blog-card h3 a:hover {
  color: var(--primary-color);
}

.archive-pagination {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 20px;
}

.archive-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  color: var(--text-dark);
  font-size: 14px;
  transition: var(--transition);
}

.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.no-posts h3 {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.no-posts p {
  margin-bottom: 20px;
}

/* ===========================
   Page Content (WordPress inner pages)
   =========================== */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
}

.page-thumbnail {
  background-size: cover;
  background-position: center;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
}

.page-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
  color: var(--secondary-color);
}

.page-body {
  line-height: 1.8;
  color: #444;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.page-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-body ul li {
  margin-bottom: 10px;
  padding-right: 1.5em;
  position: relative;
}

.page-description {
  font-style: italic;
  background: #f9f9f9;
  padding: 15px 20px;
  border-left: 4px solid var(--primary-color);
  border-radius: 6px;
  margin-bottom: 30px;
}

.box img {
  display: block;
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  margin: 0 auto;
}

/* ===========================
   Blog List / Posts
   =========================== */
.blog-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.posts-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.post-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease;
}

.post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.post-details {
  padding: 15px;
}

.post-title {
  font-size: 1.3rem;
  margin: 0 0 10px;
}

.post-title a {
  text-decoration: none;
  color: #333;
}

.post-excerpt {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}

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

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 12px;
  margin: 2px;
  border: 1px solid #ddd;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 4px;
}

.pagination .current {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Comments */
.comments-section {
  margin-top: 50px;
  border-top: 1px solid #ddd;
  padding-top: 30px;
}

.comments-section h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #333;
}

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

.comment-list li {
  border: 1px solid #eee;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: #f9f9f9;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
}

.comment-form textarea {
  min-height: 100px;
  resize: vertical;
}

.comment-form button {
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.comment-form button:hover {
  background-color: var(--primary-dark);
}

/* Gallery */
.custom-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.custom-gallery a {
  flex: 1 1 calc(25% - 15px);
  display: block;
}

.custom-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  transition: transform 0.3s;
}

.custom-gallery img:hover {
  transform: scale(1.05);
}

/* Contact Form */
.contactus-form {
  max-width: 600px;
  margin: 30px auto;
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  font-family: "Tajawal", sans-serif;
}

.contactus-form input[type="text"],
.contactus-form input[type="email"],
.contactus-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.contactus-form textarea {
  height: 120px;
  resize: none;
}

.contactus-form input[type="submit"] {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.contactus-form input[type="submit"]:hover {
  background: var(--primary-dark);
}

/* Specialz / Services list */
.specialz {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service-item {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.service-title {
  padding: 15px;
  font-size: 18px;
  color: var(--secondary-color);
}

.service-content {
  padding: 0 15px 15px;
  color: var(--text-light);
  font-size: 14px;
}

/* ===========================
   Responsive - Tablet (1024px)
   =========================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .about-content,
  .cta-content,
  .counter-content,
  .services-contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-layout,
  .blog-layout,
  .archive-layout {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .hero-slider .slide {
    height: 550px;
  }

  .slide-title {
    font-size: 48px;
  }
}

/* ===========================
   Responsive - Mobile (768px)
   =========================== */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .navbar {
    padding: 12px 0;
  }

  .mobile-toggle {
    display: block;
    z-index: 1001;
  }

  .logo-img {
    height: 40px;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    right: 0;
    left: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    gap: 0;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
    display: block;
  }

  .hero-section {
    margin-top: 60px;
  }

  .hero-slider .slide {
    height: 500px;
  }

  .slide-title {
    font-size: 36px;
  }

  .slide-phone-number {
    font-size: 24px;
  }

  .features-section {
    margin-top: -50px;
  }

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

  .about-section,
  .cta-section,
  .counter-section,
  .projects-section,
  .services-contact-section,
  .testimonials-section,
  .blog-section {
    padding: 60px 0;
  }

  .page-banner {
    margin-top: 60px;
    padding: 50px 0 40px;
  }

  .page-banner-title {
    font-size: 28px;
  }

  .service-layout,
  .blog-layout,
  .archive-layout {
    grid-template-columns: 1fr;
  }

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

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

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

  .comment-form-row {
    grid-template-columns: 1fr;
  }

  .blog-post-meta {
    flex-wrap: wrap;
    gap: 10px;
  }

  .blog-comment-item .comment-body {
    flex-direction: column;
  }

  .blog-comment-list .children {
    padding-right: 20px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .projects-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .counters {
    flex-direction: column;
    gap: 20px;
  }

  .services-tabs {
    flex-direction: column;
  }

  .about-img-secondary {
    position: static;
    width: 100%;
    border: none;
    margin-top: 15px;
  }

  .fixed-social-icons a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .fixed-phone-btn a {
    width: 55px;
    height: 55px;
    font-size: 22px;
  }

  .phone-label {
    font-size: 10px;
  }

  .scroll-top {
    bottom: 20px;
  }

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

  .newsletter-form input,
  .newsletter-form .btn {
    border-radius: 4px;
  }
}

/* ===========================
   Responsive - Small Mobile (480px)
   =========================== */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-slider .slide {
    height: 400px;
  }

  .slide-title {
    font-size: 28px;
  }

  .slide-phone-number {
    font-size: 20px;
  }

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

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

  .fixed-phone-btn {
    left: 15px;
    bottom: 20px;
  }

  .fixed-phone-btn a {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .phone-label {
    display: none;
  }
}
