/* === Import Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&family=Poppins:wght@500;600;700&display=swap');

/* === Base Styles === */
body {
  font-family: 'Nunito', sans-serif;
  color: #374151;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.navbar-nav .nav-link,
.btn-gold {
  font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  color: #003153;
}

.navbar {
  background-color: #003153;
  padding: .25rem 0;
}

.navbar-nav .nav-link {
  color: #fff !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #d4af37 !important;
}

.navbar-brand img {
  height: 80px;
}

.hero {
  background: url('rrc2.png') center center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

/* === New Service Card Styles === */
.service-card-new {
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid #e8ecef;
  height: 100%;
}

.service-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 250px;
}

.service-content {
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-title {
  color: #003153;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

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

.service-list li {
  padding: 0.4rem 0;
  color: #555;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li:hover {
  color: #d4af37;
  padding-left: 10px;
}

/* === Responsive Design for Services === */
@media (max-width: 768px) {
  .service-card-new .row {
    flex-direction: column;
  }
  
  .service-image {
    min-height: 200px;
  }
  
  .service-content {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .service-content {
    padding: 0.8rem;
  }
  
  .service-title {
    font-size: 1.1rem;
  }
  
  .service-list li {
    font-size: 0.9rem;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
}

.hero-content {
  z-index: 2;
}

.btn-gold {
  background-color: #d4af37;
  color: #fff;
}

.btn-gold:hover {
  background-color: #c9a227;
  color: #fff;
}

footer {
  background-color: #003153;
  color: #fff;
  padding: 20px 0;
}

.company-name-gold {
  color: gold;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.1;
  font-family: 'Poppins', sans-serif;
}

.company-line {
  display: block;
  width: 100%;
  text-align: center;
}

.company-line:first-child,
.company-line:last-child {
  letter-spacing: 2px;
}

.about-image {
  max-height: 400px;
  width: 100%;
  object-fit: cover;
}

/* === Section Backgrounds & Padding === */
.section-white {
  background-color: #f8fafc;
  padding: 60px 0;
}

.section-light {
  background-color: #f9fafb;
  padding: 60px 0;
}

section {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* === Wave Divider (Pure CSS) === */
.wave {
  width: 100%;
  height: 60px;
  background: linear-gradient(to right, #003153 0%, #f8fafc 100%);
  clip-path: polygon(0 100%, 0 60%, 25% 80%, 50% 60%, 75% 80%, 100% 60%, 100% 100%);
}

/* === Cards & Components === */
.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,.1);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,.2);
}

.service-card ul li {
  padding: .3rem 0;
  color: #fff;
  font-weight: 500;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 1;
}

.service-card > * {
  position: relative;
  z-index: 2;
}

.service-card.construction::before {
  background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=800&q=80');
}

.service-card.flooring::before {
  background-image: url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?auto=format&fit=crop&w=800&q=80');
}

.service-card.roads::before {
  background-image: url('https://images.unsplash.com/photo-1449824913935-59a10b8d2000?auto=format&fit=crop&w=800&q=80');
}

.service-card.interior::before {
  background-image: url('https://images.unsplash.com/photo-1560448204-61dc36dc98c8?auto=format&fit=crop&w=800&q=80');
}

.service-card.turnkey::before {
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=800&q=80');
}

.service-card.specialized::before {
  background-image: url('https://images.unsplash.com/photo-1541976590-713941681591?auto=format&fit=crop&w=800&q=80');
}

.project-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,.1);
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

.project-card img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.project-card .card-body {
  padding: 1.5rem;
}

.project-status {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
}

.status-ongoing {
  background-color: #28a745;
  color: #fff;
}

.status-completed {
  background-color: #d4af37;
  color: #fff;
}

.project-title {
  color: #003153;
  font-weight: 700;
  margin-bottom: .5rem;
}

.project-subtitle {
  color: #666;
  font-size: .9rem;
  margin-bottom: 1rem;
}

.project-details {
  color: #555;
  font-size: .9rem;
  line-height: 1.5;
}

.client-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,.1);
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
  padding: 2rem 1rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

.client-logo {
  max-height: 80px;
  max-width: 200px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.client-name {
  color: #003153;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.client-description {
  color: #666;
  font-size: .9rem;
  line-height: 1.4;
}

/* === Contact Section Mobile Responsiveness === */
@media (max-width: 768px) {
  #contact .mb-4 {
    flex-direction: column !important;
    gap: 5px !important;
    text-align: center !important;
  }
  
  #contact .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  #contact span {
    font-size: 1rem !important;
    word-break: break-word;
  }
  
  #contact .col-md-8 {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 576px) {
  #contact {
    padding: 60px 0 !important;
  }
  
  #contact h2 {
    font-size: 1.8rem !important;
    margin-bottom: 2rem !important;
  }
  
  #contact span {
    font-size: 0.95rem !important;
    letter-spacing: 0.3px !important;
  }
  
  #contact .mb-4 {
    margin-bottom: 1.5rem !important;
  }
}
