/* ============================================================
   Ahl Al-Itqan - Professional Electrical Services
   Theme: Gold & Dark Navy
   ============================================================ */

/* ===== CSS Variables ===== */
:root {
  --primary: #1a1a2e;
  --primary-light: #16213e;
  --accent: #c9a227;
  --accent-light: #f0d878;
  --accent-dark: #a8851e;
  --white: #ffffff;
  --light: #f8f9fa;
  --gray-100: #f1f3f4;
  --gray-200: #e8eaed;
  --gray-300: #dadce0;
  --gray-400: #bdc1c6;
  --gray-500: #9aa0a6;
  --gray-600: #80868b;
  --gray-700: #5f6368;
  --gray-800: #3c4043;
  --gray-900: #202124;
  --danger: #dc3545;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --font-main: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  direction: rtl;
  text-align: right;
  background: var(--light);
  color: var(--gray-800);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.4; color: var(--primary); }
::selection { background: var(--accent); color: var(--white); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-200); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* ===== Import Google Font ===== */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* ===== Utility Classes ===== */
.gold-text { color: var(--accent) !important; }
.bg-dark-navy { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important; }
.section-padding { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
}
.section-header p { color: var(--gray-600); font-size: 1.1rem; margin-top: 20px; }
.gradient-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.9) 0%, rgba(22,33,62,0.7) 100%);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}
.btn-gold {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(201,162,39,0.4);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(201,162,39,0.5); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-dark {
  background: var(--primary);
  color: var(--accent-light);
}
.btn-dark:hover { background: var(--primary-light); color: var(--accent); }
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
}
.btn-whatsapp:hover { background: #128c7e; color: var(--white); transform: translateY(-3px); }
.btn-call {
  background: var(--success);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(40,167,69,0.4);
}
.btn-call:hover { background: #1e7e34; color: var(--white); transform: translateY(-3px); }

/* ===== Cards ===== */
.card-custom {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  height: 100%;
}
.card-custom:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-light);
}
.card-img-wrapper { overflow: hidden; position: relative; }
.card-img-wrapper img { transition: transform 0.5s ease; width: 100%; height: 220px; object-fit: cover; }
.card-custom:hover .card-img-wrapper img { transform: scale(1.1); }
.card-body-custom { padding: 24px; }
.card-body-custom h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--primary); }
.card-body-custom p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.7; }

/* ===== Service Card ===== */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}
.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--white);
  box-shadow: 0 8px 25px rgba(201,162,39,0.3);
  transition: var(--transition);
}
.service-card:hover .service-icon { transform: rotateY(360deg); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--primary); }
.service-card p { color: var(--gray-600); font-size: 0.92rem; }

/* ===== Feature Card ===== */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  height: 100%;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  transform: translateY(-5px);
}
.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-light);
  margin-bottom: 18px;
}
.feature-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { color: var(--gray-600); font-size: 0.9rem; }

/* ===== Testimonial Card ===== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow);
  position: relative;
  margin: 15px 0;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-stars { color: #ffc107; margin-bottom: 15px; font-size: 1.1rem; }
.testimonial-text { color: var(--gray-700); font-size: 1rem; line-height: 1.8; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-author img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}
.testimonial-author h5 { font-size: 1rem; margin-bottom: 2px; }
.testimonial-author span { font-size: 0.85rem; color: var(--gray-500); }

/* ===== Portfolio/Work Card ===== */
.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.work-card img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.5s ease; }
.work-card:hover img { transform: scale(1.1); }
.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: var(--transition);
}
.work-card:hover .work-overlay { opacity: 1; }
.work-overlay h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 5px; }
.work-overlay span { color: var(--accent-light); font-size: 0.9rem; }

/* ===== FAQ ===== */
.accordion-item { border: none; margin-bottom: 12px; border-radius: var(--radius); overflow: hidden; }
.accordion-button {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius) !important;
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  box-shadow: none !important;
  text-align: right;
}
.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--accent-light);
  border-color: var(--primary);
}
.accordion-button::after { margin-right: auto; margin-left: 0; }
.accordion-body {
  background: var(--white);
  padding: 20px 24px;
  color: var(--gray-600);
  line-height: 1.8;
  border: 1px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

/* ===== Blog Card ===== */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  height: 100%;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card .blog-meta {
  padding: 15px 20px 0;
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--gray-500);
}
.blog-card .blog-body { padding: 15px 20px 25px; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--primary); }
.blog-card p { color: var(--gray-600); font-size: 0.92rem; }
.blog-card .read-more { color: var(--accent); font-weight: 600; font-size: 0.95rem; }
.blog-card .read-more:hover { color: var(--accent-dark); }

/* ===== Navbar ===== */
.navbar-custom {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 12px 0;
  transition: var(--transition);
}
.navbar-custom.scrolled { padding: 8px 0; box-shadow: 0 4px 25px rgba(0,0,0,0.12); }
.navbar-brand { font-weight: 800; font-size: 1.6rem; color: var(--primary) !important; }
.navbar-brand img { height: 50px; width: auto; }
.nav-link-custom {
  color: var(--gray-700) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 16px !important;
  margin: 0 3px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-link-custom:hover, .nav-link-custom.active {
  color: var(--accent) !important;
  background: rgba(201,162,39,0.08);
}
.nav-link-custom.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 16px;
  left: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.navbar-toggler { border: none; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }
.dropdown-menu { border: none; box-shadow: var(--shadow-lg); border-radius: var(--radius); text-align: right; }
.dropdown-item { padding: 10px 18px; font-weight: 500; }
.dropdown-item:hover { background: rgba(201,162,39,0.1); color: var(--accent); }

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201,162,39,0.08) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}
.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
  max-width: 600px;
}
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat h3 { font-size: 2rem; color: var(--accent); font-weight: 800; }
.hero-stat span { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* ===== Floating Buttons ===== */
.floating-btns {
  position: fixed;
  left: 20px;
  bottom: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: var(--transition);
  animation: float 3s ease-in-out infinite;
  position: relative;
}
.floating-btn:hover { transform: scale(1.1); color: var(--white); }
.floating-btn.whatsapp-float { background: #25d366; animation-delay: 0s; }
.floating-btn.call-float { background: var(--success); animation-delay: 1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.floating-btn .tooltip {
  position: absolute;
  right: 70px;
  background: var(--primary);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.floating-btn:hover .tooltip { opacity: 1; visibility: visible; right: 75px; }

/* ===== Footer ===== */
.footer {
  background: linear-gradient(135deg, var(--primary) 0%, #0f0f1a 100%);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 0;
}
.footer-brand { font-size: 1.8rem; font-weight: 800; color: var(--accent); margin-bottom: 15px; }
.footer p { color: rgba(255,255,255,0.6); font-size: 0.95rem; line-height: 1.8; }
.footer h4 {
  color: var(--accent-light);
  font-size: 1.15rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.6); transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--accent); padding-right: 5px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; color: rgba(255,255,255,0.6); }
.footer-contact i { color: var(--accent); font-size: 1.1rem; margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 50px;
  padding: 25px 0;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
}

/* ===== Stats Section ===== */
.stats-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stat-item { text-align: center; color: var(--white); }
.stat-item h3 { font-size: 2.8rem; font-weight: 900; color: var(--white); }
.stat-item span { font-size: 1.05rem; opacity: 0.9; }
.stat-icon { font-size: 2.5rem; margin-bottom: 15px; opacity: 0.9; }

/* ===== Steps Section ===== */
.step-item {
  text-align: center;
  position: relative;
  padding: 0 15px;
}
.step-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(201,162,39,0.3);
  position: relative;
  z-index: 2;
}
.step-item h4 { font-size: 1.15rem; margin-bottom: 10px; color: var(--primary); }
.step-item p { color: var(--gray-600); font-size: 0.92rem; }
.step-line {
  position: absolute;
  top: 35px;
  right: calc(50% + 50px);
  width: calc(100% - 100px);
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0.3;
  z-index: 1;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201,162,39,0.1) 0%, transparent 70%);
}
.cta-section h2 { color: var(--white); font-size: 2.4rem; font-weight: 800; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.1rem; }

/* ===== Contact Form ===== */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-control-custom {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--gray-800);
}
.form-control-custom:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.1);
}
.form-label-custom {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
  font-size: 0.95rem;
}

/* ===== Service Detail Page ===== */
.service-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.service-hero h1 { color: var(--white); font-size: 2.5rem; font-weight: 800; }
.service-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.breadcrumb-custom {
  background: none;
  padding: 0;
  margin-bottom: 20px;
}
.breadcrumb-custom a { color: var(--accent-light); }
.breadcrumb-custom .active { color: rgba(255,255,255,0.6); }
.service-content h2 { font-size: 1.6rem; margin: 35px 0 18px; color: var(--primary); }
.service-content h3 { font-size: 1.3rem; margin: 25px 0 12px; color: var(--primary-light); }
.service-content p { color: var(--gray-600); line-height: 1.9; margin-bottom: 15px; }
.service-content ul { padding-right: 20px; margin-bottom: 20px; }
.service-content ul li {
  color: var(--gray-600);
  margin-bottom: 10px;
  position: relative;
  padding-right: 25px;
}
.service-content ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 0;
  color: var(--accent);
}
.service-sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 25px;
  border: 1px solid var(--gray-200);
}
.sidebar-card h4 { font-size: 1.15rem; margin-bottom: 20px; color: var(--primary); }
.sidebar-links li { margin-bottom: 10px; }
.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  font-weight: 500;
  transition: var(--transition);
}
.sidebar-links a:hover, .sidebar-links a.active {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--white);
}

/* ===== Blog Detail Page ===== */
.blog-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.blog-hero h1 { color: var(--white); font-size: 2.2rem; font-weight: 800; line-height: 1.4; }
.blog-content { background: var(--white); border-radius: var(--radius-lg); padding: 50px; box-shadow: var(--shadow); }
.blog-content h2 { font-size: 1.5rem; margin: 30px 0 15px; color: var(--primary); }
.blog-content h3 { font-size: 1.25rem; margin: 22px 0 12px; color: var(--primary-light); }
.blog-content p { color: var(--gray-700); line-height: 2; margin-bottom: 18px; font-size: 1.05rem; }
.blog-content ul { padding-right: 25px; margin-bottom: 20px; }
.blog-content ul li { color: var(--gray-700); margin-bottom: 10px; position: relative; padding-right: 25px; }
.blog-content ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 0;
  color: var(--accent);
}
.blog-toc {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 30px;
  border-right: 4px solid var(--accent);
}
.blog-toc h4 { font-size: 1.1rem; margin-bottom: 15px; color: var(--primary); }
.blog-toc ul { padding-right: 0; }
.blog-toc li { margin-bottom: 8px; }
.blog-toc a { color: var(--gray-700); font-size: 0.95rem; }
.blog-toc a:hover { color: var(--accent); }
.blog-meta-bar {
  display: flex;
  gap: 25px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.blog-meta-bar span { color: var(--gray-500); font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.blog-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.blog-tags a {
  padding: 6px 16px;
  background: var(--gray-100);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--gray-600);
  transition: var(--transition);
}
.blog-tags a:hover { background: var(--accent); color: var(--white); }
.blog-faq { margin-top: 40px; }
.blog-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-top: 40px;
}
.blog-cta h3 { color: var(--accent-light); font-size: 1.4rem; margin-bottom: 15px; }
.blog-cta p { color: rgba(255,255,255,0.8); margin-bottom: 25px; }

/* ===== Portfolio Gallery ===== */
.portfolio-filter { display: flex; gap: 10px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--gray-300);
  background: var(--white);
  border-radius: 30px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  left: 20px;
  bottom: 170px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 9998;
  border: none;
  box-shadow: 0 4px 15px rgba(201,162,39,0.4);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-dark); transform: translateY(-3px); }

/* ===== Animations ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== Breadcrumb ===== */
.breadcrumb-wrapper {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 130px 0 50px;
  text-align: center;
}
.breadcrumb-wrapper h1 { color: var(--white); font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.breadcrumb-wrapper .breadcrumb { background: none; padding: 0; justify-content: center; }
.breadcrumb-wrapper .breadcrumb-item a { color: var(--accent-light); }
.breadcrumb-wrapper .breadcrumb-item.active { color: rgba(255,255,255,0.6); }
.breadcrumb-item + .breadcrumb-item::before { float: right; padding-left: 0.5rem; padding-right: 0; }

/* ===== Gallery ===== */
.gallery-item { margin-bottom: 25px; }
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.gallery-item img:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }

/* ===== About Page ===== */
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about-img::before {
  content: '';
  position: absolute;
  inset: -15px;
  border: 3px solid var(--accent);
  border-radius: calc(var(--radius-lg) + 10px);
  z-index: -1;
  opacity: 0.4;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}
.about-feature i {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
}
.about-feature h5 { margin-bottom: 5px; color: var(--primary); }
.about-feature p { color: var(--gray-600); font-size: 0.92rem; margin: 0; }

/* ===== Page Hero (smaller) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 50%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(201,162,39,0.08) 0%, transparent 70%);
}
.page-hero h1 { color: var(--white); font-size: 2.4rem; font-weight: 800; position: relative; }
.page-hero p { color: rgba(255,255,255,0.75); position: relative; }

/* ===== Keywords Tags ===== */
.keywords-section { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--gray-200); }
.keywords-section h4 { font-size: 1rem; color: var(--gray-500); margin-bottom: 12px; }

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .hero-content h1 { font-size: 2.4rem; }
  .section-header h2 { font-size: 1.8rem; }
  .service-sidebar { position: static; margin-top: 40px; }
  .step-line { display: none; }
  .floating-btns { left: 15px; bottom: 20px; }
  .floating-btn { width: 55px; height: 55px; font-size: 1.4rem; }
  .back-to-top { left: 15px; bottom: 150px; width: 45px; height: 45px; }
}
@media (max-width: 767px) {
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-content h1 { font-size: 1.9rem; }
  .hero-stats { gap: 20px; }
  .hero-stat h3 { font-size: 1.6rem; }
  .section-padding { padding: 50px 0; }
  .section-header h2 { font-size: 1.5rem; }
  .cta-section h2 { font-size: 1.7rem; }
  .blog-content { padding: 25px; }
  .service-hero h1, .blog-hero h1, .page-hero h1 { font-size: 1.7rem; }
  .contact-form { padding: 25px; }
  .stats-section .stat-item { margin-bottom: 30px; }
  .navbar-brand { font-size: 1.3rem; }
}
@media (max-width: 575px) {
  .hero-content h1 { font-size: 1.6rem; }
  .hero-btns { flex-direction: column; }
  .btn { padding: 12px 24px; font-size: 0.95rem; }
  .footer-social { justify-content: center; }
}

/* ===== Loader ===== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-bolt {
  font-size: 4rem;
  color: var(--accent);
  animation: boltFlash 1s ease-in-out infinite;
}
@keyframes boltFlash {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}
