/* =====================================================
   Rashid Suhail Contracting & General Maintenance L.L.C.
   Shared Stylesheet — used by every page
   ===================================================== */

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

body {
  font-family: 'Inter', sans-serif;
  background: #faf9f6;
  color: #1e293b;
  line-height: 1.6;
  scroll-behavior: smooth;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

/* palette */
.bg-navy { background: #0b2a3e; }
.bg-gold { background: #c9a95c; }
.bg-soft { background: #fcf8f0; }
.text-gold { color: #c9a95c; }
.text-navy { color: #0b2a3e; }

/* buttons */
.btn {
  display: inline-block;
  background: #c9a95c;
  color: #0b2a3e;
  font-weight: 700;
  padding: 14px 38px;
  border-radius: 60px;
  transition: 0.25s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(201, 169, 92, 0.3);
  letter-spacing: 0.3px;
}
.btn:hover {
  background: #b8974a;
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(201, 169, 92, 0.4);
}
.btn-outline {
  background: transparent;
  border: 2px solid #c9a95c;
  color: #c9a95c;
  box-shadow: none;
}
.btn-outline:hover {
  background: #c9a95c;
  color: #0b2a3e;
}

/* header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0b2a3e;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  flex-wrap: wrap;
}
.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fcf8f0;
}
.logo span { color: #c9a95c; }
.nav-links {
  display: flex;
  gap: 32px;
  font-weight: 600;
  align-items: center;
}
.nav-links a {
  color: #e2e8f0;
  transition: 0.2s;
  font-size: 0.95rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: #c9a95c;
  border-bottom-color: #c9a95c;
}
.nav-cta {
  background: #c9a95c;
  color: #0b2a3e !important;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 700;
  border-bottom: none !important;
}
.nav-cta:hover { background: #b8974a; color: #0b2a3e !important; }
.hamburger {
  display: none;
  font-size: 1.8rem;
  color: #fcf8f0;
  cursor: pointer;
}

/* ---------- HERO SLIDER (home page only) ---------- */
.hero-slider {
  position: relative;
  height: 90vh;
  min-height: 500px;
  overflow: hidden;
  border-bottom: 6px solid #c9a95c;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}
.slide.active { opacity: 1; }
.slide::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(11, 42, 62, 0.55);
}
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}
.slide-content h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.slide-content h1 .highlight {
  color: #c9a95c;
  border-bottom: 4px solid #c9a95c;
}
.slide-content p {
  font-size: 1.3rem;
  margin-bottom: 28px;
  color: #e2e8f0;
}
.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 5;
}
.slider-controls button {
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.6);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 60px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: 0.2s;
  backdrop-filter: blur(4px);
}
.slider-controls button:hover {
  background: #c9a95c;
  border-color: #c9a95c;
  color: #0b2a3e;
}
.dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 40px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: 0.3s;
}
.dot.active { background: #c9a95c; width: 36px; }

/* ---------- PAGE BANNER (inner pages) ---------- */
.page-banner {
  position: relative;
  padding: 90px 0 60px;
  background: linear-gradient(rgba(11,42,62,0.88), rgba(11,42,62,0.88)), url('https://images.pexels.com/photos/2219024/pexels-photo-2219024.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover;
  color: #fff;
  text-align: center;
  border-bottom: 6px solid #c9a95c;
}
.page-banner h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.breadcrumb {
  color: #c9a95c;
  font-weight: 600;
  font-size: 0.95rem;
}
.breadcrumb a { color: #e2e8f0; }
.breadcrumb a:hover { color: #c9a95c; }
.page-banner p.lead {
  max-width: 700px;
  margin: 14px auto 0;
  color: #dce6ee;
  font-size: 1.05rem;
}

/* sections */
.page-section { padding: 70px 0; }
.page-section.bg-soft { background: #fcf8f0; }
.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #0b2a3e;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.section-sub {
  color: #475569;
  max-width: 700px;
  margin-bottom: 40px;
  font-size: 1.1rem;
}
.title-accent {
  display: inline-block;
  background: #c9a95c;
  width: 70px;
  height: 5px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 32px;
}
.service-card, .project-card, .team-member, .testimonial-card, .value-card, .info-card {
  background: white;
  border-radius: 28px;
  padding: 28px 24px 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: 0.25s ease;
  border: 1px solid #eef2f6;
}
.service-card:hover, .project-card:hover, .team-member:hover, .value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(11, 42, 62, 0.08);
  border-color: #c9a95c;
}
.card-img {
  width: 100%;
  height: 180px;
  background: #e2e8f0;
  border-radius: 18px;
  margin-bottom: 18px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.card-img i {
  font-size: 3.2rem;
  color: rgba(255,255,255,0.6);
  text-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.card-img .tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #c9a95c;
  color: #0b2a3e;
  padding: 4px 16px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.service-card a.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-weight: 700;
  color: #0b2a3e;
  border-bottom: 2px solid #c9a95c;
  padding-bottom: 2px;
}
.service-card a.learn-more:hover { color: #b8974a; }

/* team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-top: 20px;
}
.team-member .avatar {
  width: 90px;
  height: 90px;
  border-radius: 60px;
  margin: 0 auto 14px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: #475569;
  font-weight: 700;
  background-color: #dce2e9;
  border: 3px solid #c9a95c;
}

/* testimonials with image */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px;
}
.testimonial-card .quote {
  font-style: italic;
  color: #1e293b;
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.6;
}
.testimonial-card .client {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.testimonial-card .client-avatar {
  width: 56px;
  height: 56px;
  border-radius: 60px;
  background-size: cover;
  background-position: center;
  border: 2px solid #c9a95c;
  flex-shrink: 0;
}
.testimonial-card .client-info strong { display: block; font-weight: 700; }
.testimonial-card .client-info span { font-size: 0.85rem; color: #64748b; }

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* values / why-us */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  margin-top: 10px;
}
.value-card { text-align: center; }
.value-card i {
  font-size: 2.2rem;
  color: #c9a95c;
  background: #0b2a3e;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.value-card h4 { font-weight: 700; margin-bottom: 8px; color: #0b2a3e; }
.value-card p { color: #475569; font-size: 0.95rem; }

/* timeline (about page) */
.timeline {
  position: relative;
  margin-top: 30px;
  padding-left: 30px;
  border-left: 3px solid #c9a95c;
}
.timeline-item { position: relative; padding: 0 0 32px 26px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: #0b2a3e;
  border: 3px solid #c9a95c;
  border-radius: 50%;
}
.timeline-item h4 { color: #0b2a3e; font-weight: 800; margin-bottom: 4px; }
.timeline-item span.year { color: #c9a95c; font-weight: 700; font-size: 0.9rem; }
.timeline-item p { color: #475569; margin-top: 6px; }

/* process steps (services page) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  margin-top: 10px;
  counter-reset: step;
}
.process-card {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 34px 24px 26px;
  border: 1px solid #eef2f6;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.process-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 24px;
  background: #c9a95c;
  color: #0b2a3e;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 6px 14px rgba(201,169,92,0.4);
}
.process-card h4 { color: #0b2a3e; font-weight: 700; margin: 10px 0 8px; }
.process-card p { color: #475569; font-size: 0.92rem; }

/* service detail blocks (services page long content) */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 55px 0;
  border-bottom: 1px solid #e6ecf1;
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse .service-detail-img { order: 2; }
.service-detail.reverse .service-detail-text { order: 1; }
.service-detail-img {
  width: 100%;
  min-height: 300px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px rgba(11,42,62,0.15);
}
.service-detail-text .icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #0b2a3e;
  color: #c9a95c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.service-detail-text h3 { font-size: 1.8rem; font-weight: 800; color: #0b2a3e; margin-bottom: 14px; }
.service-detail-text p { color: #475569; margin-bottom: 14px; }
.service-detail-text ul { margin: 14px 0 0; }
.service-detail-text ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: #334e68;
  font-size: 0.97rem;
}
.service-detail-text ul li i { color: #c9a95c; margin-top: 4px; }

/* stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  text-align: center;
}
.stats-strip .stat h3 { font-size: 2.4rem; font-weight: 800; color: #c9a95c; }
.stats-strip .stat span { color: #dce6ee; font-size: 0.95rem; }

/* FAQ (services / contact pages) */
.faq-item {
  border: 1px solid #e6ecf1;
  border-radius: 18px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #fff;
}
.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  color: #0b2a3e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-question i { color: #c9a95c; transition: 0.25s; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: #475569;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* filter buttons (projects page) */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 40px;
  border: 2px solid #dce2e9;
  background: #fff;
  color: #334e68;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.9rem;
}
.filter-btn:hover, .filter-btn.active {
  background: #0b2a3e;
  border-color: #0b2a3e;
  color: #c9a95c;
}

/* contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: white;
  border-radius: 36px;
  padding: 44px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.04);
}
.contact-info i { width: 32px; color: #c9a95c; font-size: 1.2rem; }
.contact-info p { margin: 16px 0; display: flex; align-items: center; gap: 8px; }
input, textarea, select {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #dce2e9;
  border-radius: 40px;
  margin-bottom: 18px;
  font-family: inherit;
  background: #f9fbfd;
  transition: 0.2s;
  font-size: 1rem;
}
textarea { border-radius: 24px; }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #c9a95c;
  box-shadow: 0 0 0 4px rgba(201,169,92,0.15);
}
.social-links a {
  display: inline-block;
  background: #0b2a3e;
  color: #fcf8f0;
  width: 48px;
  height: 48px;
  border-radius: 40px;
  text-align: center;
  line-height: 48px;
  margin-right: 12px;
  transition: 0.2s;
  font-size: 1.2rem;
}
.social-links a:hover { background: #c9a95c; color: #0b2a3e; }
.form-note { font-size: 0.85rem; color: #64748b; margin-top: -6px; }

/* CTA band */
.cta-band {
  background: #0b2a3e;
  padding: 60px 0;
  text-align: center;
  color: #fff;
  border-top: 6px solid #c9a95c;
  border-bottom: 6px solid #c9a95c;
}
.cta-band h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: #dce6ee; max-width: 600px; margin: 0 auto 26px; }

/* footer */
.footer {
  background: #0b2a3e;
  color: #cbd5e1;
  padding: 60px 0 30px;
  border-top: 6px solid #c9a95c;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer h4 { color: #fcf8f0; font-weight: 700; margin-bottom: 18px; font-size: 1.05rem; }
.footer p, .footer a { color: #b9c6d4; font-size: 0.92rem; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a:hover { color: #c9a95c; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-bottom a { color: #c9a95c; }

/* responsive */
@media (max-width: 992px) {
  .about-grid, .contact-wrap, .service-detail { grid-template-columns: 1fr; }
  .service-detail.reverse .service-detail-img,
  .service-detail.reverse .service-detail-text { order: initial; }
  .slide-content h1 { font-size: 2.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    padding: 20px 0 10px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .hero-slider { height: 70vh; }
  .slide-content h1 { font-size: 2.2rem; }
  .contact-wrap { padding: 24px; }
  .page-banner h1 { font-size: 2.1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .service-detail-img { min-height: 220px; }
}
@media (max-width: 480px) {
  .section-title { font-size: 2rem; }
  .slide-content h1 { font-size: 1.8rem; }
  .btn { padding: 12px 28px; font-size: 0.92rem; }
}

/* whats app floating */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 34px;
    line-height: 60px;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
    z-index: 9999;
    transition: all .3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #1EBE57;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
}

@media (max-width:768px){
    .whatsapp-float{
        width:55px;
        height:55px;
        line-height:55px;
        font-size:30px;
        bottom:20px;
        right:20px;
    }
}