/* =============================================
   Maintenance Pages - Qandil Cool
   ============================================= */

/* ---- Hero Section ---- */
.maintenance-hero {
  background: linear-gradient(135deg, #1a1f3e 0%, #252b52 100%);
  padding: 75px 0 85px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.maintenance-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.maintenance-hero::after {
  content: '';
  position: absolute;
  top: -120px;
  left: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,102,3,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero text column — right-align all content */
.maintenance-hero .col-lg-7 {
  text-align: right;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 8px;
  border: 1.5px solid #ffa040;
  color: #ffa040;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.maintenance-hero h1 {
  font-size: 2.9rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.35;
  position: relative;
  z-index: 2;
  text-align: right;
}

.hero-area-name,
.area-hl {
  color: #ff8c00;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 38px;
  line-height: 1.9;
  font-weight: 400;
  position: relative;
  z-index: 2;
  text-align: justify;
  direction: rtl;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  justify-content: flex-end;
}

.btn-call-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff8c00;
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 28px rgba(239,102,3,0.4);
  direction: ltr;
}

.btn-call-hero:hover {
  background: #d45800;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(239,102,3,0.5);
}

.btn-call-hero i {
  animation: pulse-ring 1.6s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.btn-whatsapp-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1.5px solid rgba(255,255,255,0.2);
}

.btn-whatsapp-hero:hover {
  background: #25D366;
  color: #fff;
  transform: translateY(-3px);
  border-color: #25D366;
}

/* Hero Image */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrap img {
  width: 100%;
  max-width: 460px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
}

/* Remove old hero elements */
.maintenance-hero .hero-phone-btn { display: none; }
.maintenance-hero .hero-wave { display: none; }

/* ---- Section Heading ---- */
.section-heading {
  text-align: center;
  margin-bottom: 55px;
}

.section-heading h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #0d1b5e;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: linear-gradient(to right, #ef6603, #ffa040);
  border-radius: 2px;
}

.section-heading p {
  font-size: 1rem;
  color: #777;
  font-weight: 400;
  margin-top: 15px;
  margin-bottom: 0;
}

/* ---- Global RTL Text Alignment ---- */
.service-card h3 {
  text-align: right;
}

.service-card p {
  text-align: justify;
  direction: rtl;
}

.stat-item .s-lbl {
  text-align: center;
}

.content-title {
  text-align: right;
}

.content-text-styled {
  text-align: justify;
  direction: rtl;
}

.why-item h4 {
  text-align: right;
}

.why-item p {
  text-align: justify;
  direction: rtl;
}

.cta-banner h2 {
  text-align: right;
  direction: rtl;
}

.cta-banner p {
  text-align: justify;
  direction: rtl;
}

.section-heading h2,
.section-heading p {
  direction: rtl;
}

/* ---- Brands Section ---- */
.brands-section {
  padding: 55px 0;
  background: #fff;
  border-bottom: 1px solid #eef0f8;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  filter: grayscale(60%);
  opacity: 0.65;
  transition: all 0.35s ease;
}

.brand-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.12);
}

.brand-item img {
  max-height: 55px;
}

/* ---- Services Cards Section ---- */
a.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

a.service-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.services-cards-section {
  padding: 80px 0 70px;
  background: #fff;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px 24px 22px;
  text-align: right;
  direction: rtl;
  box-shadow: 0 4px 22px rgba(0,0,0,0.07);
  transition: all 0.35s ease;
  border-right: 4px solid #ef6603;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}

.service-card .s-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #fff4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px auto;
  font-size: 1.75rem;
  color: #ef6603;
  transition: all 0.3s ease;
}

.service-card:hover .s-icon {
  background: #ef6603;
  color: #fff;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 10px;
  text-align: right;
}

.service-card p {
  font-size: 0.88rem;
  color: #777;
  font-weight: 400;
  margin: 0;
  line-height: 1.75;
  text-align: justify;
  direction: rtl;
}

/* ---- Stats Section ---- */
.stats-section {
  background: linear-gradient(135deg, #0a1545, #0d1b5e);
  padding: 75px 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='%23ffffff' fill-opacity='0.025'%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/svg%3E");
  pointer-events: none;
}

.stat-item {
  text-align: center;
  padding: 18px 20px;
  position: relative;
}

.stat-item .s-ico {
  font-size: 2.6rem;
  color: rgba(255,255,255,0.15);
  display: block;
  margin-bottom: 14px;
}

.stat-item .s-num {
  font-size: 3.2rem;
  font-weight: 900;
  color: #ef6603;
  display: block;
  line-height: 1;
}

.stat-item .s-lbl {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  margin-top: 10px;
  display: block;
  font-weight: 500;
}

.stat-divider {
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

/* ---- Content Sections ---- */
.content-section {
  padding: 80px 0;
}

.content-section.alt-bg {
  background: #f4f6fc;
}

.content-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #0d1b5e;
  margin-bottom: 20px;
  padding-right: 18px;
  border-right: 5px solid #ef6603;
  line-height: 1.4;
}

.content-text-styled {
  color: #555;
  line-height: 2;
  font-size: 1rem;
  font-weight: 500;
}

.content-img-wrap {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(13,27,94,0.14);
  position: relative;
}

.content-img-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.content-img-wrap:hover img {
  transform: scale(1.06);
}

/* ---- Pricing Table ---- */
.pricing-table-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 38px rgba(0,0,0,0.1);
  margin-top: 22px;
}

.pricing-table-wrap thead th {
  background: #0d1b5e !important;
  color: #fff !important;
  text-align: center;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 700;
  border: none !important;
}

.pricing-table-wrap tbody tr {
  transition: all 0.2s ease;
}

.pricing-table-wrap tbody tr:hover {
  background: #fff3e6 !important;
}

.pricing-table-wrap tbody td {
  padding: 14px 20px;
  text-align: center;
  border-color: #e8ecf5;
  font-size: 0.95rem;
}

.pricing-table-wrap tbody td:first-child {
  font-weight: 900;
  color: #ef6603;
  font-size: 1.15rem;
}

/* ---- Why Choose Us ---- */
.why-us-section {
  padding: 85px 0;
  background: #fff;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 25px;
  padding: 18px 20px;
  border-radius: 14px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.why-item:hover {
  background: #f4f6fc;
  border-color: #e0e8ff;
  transform: translateX(-6px);
}

.why-item .w-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ef6603, #ffa040);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 18px rgba(239,102,3,0.3);
}

.why-item h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #0d1b5e;
  margin-bottom: 5px;
}

.why-item p {
  font-size: 0.88rem;
  color: #777;
  margin: 0;
  font-weight: 400;
  line-height: 1.55;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, #212529 0%, #777 100%);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -5%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  font-weight: 400;
  position: relative;
  z-index: 2;
}

.cta-phone-big {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: #ef6603;
  padding: 20px 58px;
  border-radius: 50px;
  font-size: 1.7rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 42px rgba(0,0,0,0.22);
  transition: all 0.35s ease;
  margin-top: 35px;
  direction: ltr;
  position: relative;
  z-index: 2;
}

.cta-phone-big:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 22px 58px rgba(0,0,0,0.32);
  color: #ef6603;
}

/* ---- Contact Section Dark ---- */
.contact-dark {
  background: linear-gradient(135deg, #1a1f3e 0%, #252b52 100%);
  padding: 80px 0 90px;
}

.contact-dark .contact-heading {
  text-align: center;
  margin-bottom: 50px;
}

.contact-dark p,
.contact-dark span,
.contact-dark h2,
.contact-dark h3,
.contact-dark h4 {
  color: rgba(255,255,255,0.88);
}

.contact-dark .contact-heading h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  display: inline-block;
  position: relative;
  padding-bottom: 16px;
}

.contact-dark .contact-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #ef6603;
  border-radius: 2px;
}

.contact-map-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0,0,0,0.35);
  height: 100%;
  min-height: 350px;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
  display: block;
}

.contact-info-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 16px;
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.contact-info-card:last-child {
  margin-bottom: 0;
}

.contact-info-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(239,102,3,0.35);
  transform: translateX(-5px);
}

.contact-info-card .c-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  background: rgba(239,102,3,0.15);
  color: #ef6603;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}

.contact-info-card .c-content {
  flex: 1;
  text-align: right;
}

.contact-info-card .c-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ef6603;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.contact-info-card .c-text {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.88) !important;
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
  direction: rtl;
  text-align: right;
}

/* ---- Services Tabs Page ---- */
.services-tabs-hero {
  background: linear-gradient(135deg, #1a1f3e 0%, #252b52 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-tabs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/img/fix/1.jpg') center/cover no-repeat;
  opacity: 0.08;
}

.services-tabs-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.services-tabs-hero h1 span { color: #ef6603; }

.services-tabs-hero p {
  color: rgba(255,255,255,0.80);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 30px;
  position: relative;
}

.services-tabs-hero .hero-buttons {
  position: relative;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.services-tab-nav {
  background: #f8f9ff;
  border-bottom: 3px solid #e0e4f5;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.services-tab-nav .nav-tabs {
  border: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 12px 16px;
}

.services-tab-nav .nav-link {
  border: 2px solid transparent;
  border-radius: 8px;
  color: #1a1f3e;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 9px 20px;
  transition: all 0.25s;
  background: #fff;
  white-space: nowrap;
}

.services-tab-nav .nav-link:hover {
  border-color: #ef6603;
  color: #ef6603;
}

.services-tab-nav .nav-link.active {
  background: #ef6603;
  border-color: #ef6603;
  color: #fff;
}

.tab-service-pane {
  padding: 60px 0 70px;
}

.tab-service-pane:nth-child(even) {
  background: #f8f9ff;
}

.tab-img-col .swiper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(26,31,62,0.14);
}

.tab-img-col .swiper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.tab-text-col h2 {
  font-size: 1.55rem;
  font-weight: 900;
  color: #1a1f3e;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 3px solid #ef6603;
  text-align: right;
}

.tab-text-col h2 span { color: #ef6603; }

.tab-text-col p {
  color: #3a3a5c;
  font-size: 1rem;
  line-height: 1.85;
  text-align: right;
  margin-bottom: 14px;
}

.tab-cta-row {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .maintenance-hero h1 { font-size: 2.1rem; }
  .content-title { font-size: 1.4rem; }
  .hero-image-wrap img { max-width: 320px; }
}

@media (max-width: 767px) {
  .maintenance-hero { padding: 55px 0 65px; }
  .maintenance-hero h1 { font-size: 1.75rem; }
  .hero-subtitle { font-size: 0.9rem; margin-bottom: 25px; }
  .hero-badge { font-size: 0.82rem; padding: 6px 14px; }
  .btn-call-hero, .btn-whatsapp-hero { font-size: 0.95rem; padding: 12px 24px; }
  .hero-buttons { justify-content: center; }
  .hero-image-wrap img { max-width: 250px; }
  .stat-item .s-num { font-size: 2.3rem; }
  .section-heading h2 { font-size: 1.65rem; }
  .cta-banner h2 { font-size: 1.6rem; }
  .cta-phone-big { font-size: 1.25rem; padding: 16px 35px; }
  .service-card { margin-bottom: 20px; }
  .content-img-wrap img { height: 240px; }
}
