/*
Theme Name: Reliable Care Service
Theme URI: https://reliablecareservice.com
Author: Rivaldo Marere
Author URI: https://rivaldomarere.com
Description: Custom WordPress theme for Reliable Care Service healthcare & transportation.
Version: 1.0
Text Domain: rcs
*/

:root {
  --primary-color: #042E4E;
  --secondary-color: #FFFFFF;
  --accent-color: #C41E1F;
  --success-color: #16a34a;
  --warning-color: #ca8a04;
  --info-color: #0891b2;
}

.text-primary {
  color: #042E4E !important;
}

.bg-primary {
  background-color: #042E4E !important;
}

.btn-primary {
  background-color: #042E4E !important;
  border-color: #042E4E !important;
  color: white !important;
}

.btn-primary:hover {
  background-color: #031f35 !important;
  border-color: #031f35 !important;
  color: white !important;
}

.btn-outline-primary {
  color: #042E4E;
  border-color: #042E4E;
}

.btn-outline-primary:hover {
  background-color: #042E4E;
  border-color: #042E4E;
}

.btn-accent {
  background-color: #C41E1F;
  border-color: #C41E1F;
  color: white;
}

.btn-accent:hover {
  background-color: #a01719;
  border-color: #a01719;
  color: white;
}

.min-vh-75 {
  min-height: 75vh;
}

.hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 0;
}

.service-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(4, 46, 78, 0.2) !important;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card button {
  background-color: #C41E1F !important;
  color: white !important;
  border: none !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.service-card:hover button {
  background-color: #042E4E !important;
  transform: scale(1.05) !important;
}

.service-card button:hover {
  background-color: #a01719 !important;
  transform: scale(1.1) !important;
}

.feature-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
}

.service-detail-card {
  background: white;
  transition: box-shadow 0.3s ease;
}

.service-detail-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.navbar {
  background: white !important;
  box-shadow: 0 2px 20px rgba(4, 46, 78, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-logo {
  height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-icon {
  font-size: 2rem;
  animation: pulse 2s infinite;
}

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

.navbar-brand span {
  color: #042E4E !important;
}

.navbar-brand small {
  color: #6c757d !important;
  font-size: 0.7rem;
  font-weight: 400;
}

.navbar-nav .nav-link {
  color: #042E4E !important;
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #C41E1F, #042E4E);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
  color: #C41E1F !important;
  background: rgba(196, 30, 31, 0.1);
  transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::before {
  width: 80%;
}

.navbar-nav .nav-link.active {
  color: white !important;
  background: linear-gradient(135deg, #042E4E 0%, #2c5aa0 100%);
  box-shadow: 0 4px 15px rgba(4, 46, 78, 0.3);
}

.navbar-toggler {
  border: 2px solid #042E4E;
  border-radius: 8px;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(4, 46, 78, 0.25);
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    text-align: center;
    margin: 0.25rem 0;
  }
}

.btn-group .btn {
  margin: 0 2px;
}

.contact-info .btn {
  font-size: 1.1rem;
  font-weight: 600;
}

.about-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
}

/* About Page Styles */
.about-hero {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.about-hero h1 {
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about-hero .lead {
  font-size: 1.2rem;
  opacity: 0.95;
}

.about-hero img {
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border-radius: 15px;
}

/* Our Promise Section */
.our-promise {
  background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.our-promise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="1" fill="%232c5aa0" opacity="0.05"/></svg>') repeat;
}

.our-promise .container {
  position: relative;
  z-index: 1;
}

.our-promise h2 {
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 2rem;
  position: relative;
}

.our-promise h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #2c5aa0, #1e3a8a);
  border-radius: 2px;
}

.our-promise .lead {
  font-size: 1.3rem;
  color: #495057;
  font-weight: 500;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #2c5aa0;
}

/* Team Section */
.team-section img {
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Why Choose Us Section */
.why-choose-us {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

.why-choose-us h2 {
  font-size: 2.8rem;
  color: #2c5aa0;
  font-weight: 800;
  margin-bottom: 3rem;
  position: relative;
}

.why-choose-us h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #2c5aa0, #1e3a8a);
  border-radius: 2px;
}

.why-choose-us .feature-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(44, 90, 160, 0.1);
  transition: all 0.4s ease;
  border: none;
  overflow: hidden;
  position: relative;
}

.why-choose-us .feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2c5aa0, #1e3a8a);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.why-choose-us .feature-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 50px rgba(44, 90, 160, 0.2);
}

.why-choose-us .feature-card:hover::before {
  transform: scaleX(1);
}

.why-choose-us .feature-icon {
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.why-choose-us .feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.why-choose-us .feature-card h4 {
  color: #2c5aa0;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.why-choose-us .feature-card p {
  color: #6c757d;
  line-height: 1.6;
  font-size: 1rem;
}

/* Our Story Section */
.our-story {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
}

.our-story h2 {
  font-size: 2.5rem;
  color: #042E4E;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.our-story h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #042E4E, #2c5aa0);
  border-radius: 2px;
}

.our-story h3 {
  color: #042E4E;
  font-weight: 600;
  font-size: 1.5rem;
}

.our-story p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.our-story img {
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(4, 46, 78, 0.15);
  transition: transform 0.3s ease;
}

.our-story img:hover {
  transform: scale(1.02);
}

.our-story .list-unstyled li {
  padding: 0.5rem 0;
  font-size: 1rem;
  color: #495057;
}

.our-story .features {
  background: rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #042E4E;
}

.our-story .features .d-flex {
  transition: transform 0.2s ease;
}

.our-story .features .d-flex:hover {
  transform: translateX(5px);
}

.our-story .features i {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.our-story .features strong {
  color: #042E4E;
  font-size: 1.1rem;
}

.our-story .features small {
  color: #6c757d;
  font-size: 0.9rem;
}

/* Contact CTA */
.contact-cta {
  background: white;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.05) 0%, rgba(30, 58, 138, 0.05) 100%);
  z-index: 1;
}

.contact-cta .container {
  position: relative;
  z-index: 2;
  background: white;
  padding: 3rem 2rem;
  border-radius: 25px;
  box-shadow: 0 20px 60px rgba(44, 90, 160, 0.15);
  border: 1px solid rgba(44, 90, 160, 0.1);
}

.contact-cta h2 {
  color: #042E4E;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.contact-cta .lead {
  color: #6c757d;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.contact-cta .btn {
  padding: 15px 35px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  border: 2px solid transparent;
}

.contact-cta .btn-light {
  background: linear-gradient(135deg, #C41E1F 0%, #a01719 100%);
  border-color: #C41E1F;
  color: white;
}

.contact-cta .btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(196, 30, 31, 0.4);
  background: linear-gradient(135deg, #a01719 0%, #8b1315 100%);
  color: white;
}

.contact-cta .btn-outline-light {
  color: #C41E1F;
  border-color: #C41E1F;
  background: transparent;
}

.contact-cta .btn-outline-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(196, 30, 31, 0.3);
  background: linear-gradient(135deg, #C41E1F 0%, #a01719 100%);
  color: white;
  border-color: #C41E1F;
}

/* Services Page Styles */
.services-hero {
  background: linear-gradient(135deg, #042E4E 0%, #0a4d6b 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.services-hero h1 {
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.services-hero img {
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border-radius: 15px;
}

.services-overview {
  background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-overview h2 {
  font-size: 2.5rem;
  color: #042E4E;
  font-weight: 700;
  position: relative;
}

.services-overview h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #042E4E, #C41E1F);
  border-radius: 2px;
}

.service-item {
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  border-left: 4px solid #042E4E;
}

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

.service-item.clickable {
  cursor: pointer;
  position: relative;
}

.service-item.clickable::after {
  content: 'Click to request';
  position: absolute;
  top: 10px;
  right: 15px;
  background: #C41E1F;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-item.clickable:hover::after {
  opacity: 1;
}

.modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-header {
  background: linear-gradient(135deg, #042E4E 0%, #2c5aa0 100%);
  color: white;
  border-radius: 15px 15px 0 0;
}

.modal-header .btn-close {
  filter: invert(1);
}

.service-item i {
  color: #C41E1F;
  font-size: 1.5rem;
  width: 40px;
}

.service-item h5 {
  color: #042E4E;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-features {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #C41E1F;
}

.service-features h4 {
  color: #042E4E;
  font-weight: 700;
}

.service-features ul li {
  padding: 0.5rem 0;
  font-size: 1rem;
  color: #495057;
}

.service-areas {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.area-card {
  background: white;
  padding: 2rem 1rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

.area-card:hover {
  transform: translateY(-10px);
}

.area-card i {
  color: #C41E1F;
  font-size: 2rem;
}

.area-card h5 {
  color: #042E4E;
  font-weight: 600;
}

/* Contact Page Styles */
.contact-hero {
  background: linear-gradient(135deg, #042E4E 0%, #0a4d6b 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.contact-hero h1 {
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-hero img {
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border-radius: 15px;
}



.contact-card {
  background: white;
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  border-top: 4px solid #C41E1F;
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-10px);
}

.contact-icon i {
  color: #C41E1F;
  background: rgba(196, 30, 31, 0.1);
  padding: 1rem;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.contact-card h4 {
  color: #042E4E;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-form-wrapper {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 3rem;
  border-radius: 25px;
  box-shadow: 0 20px 60px rgba(4, 46, 78, 0.15);
  border: 2px solid rgba(196, 30, 31, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #042E4E 0%, #C41E1F 100%);
}

.contact-form-wrapper h2 {
  color: #042E4E;
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  position: relative;
}

.contact-form-wrapper h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #C41E1F;
  border-radius: 2px;
}

.contact-form-wrapper p {
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

.contact-form .form-control:focus {
  border-color: #C41E1F;
  box-shadow: 0 0 0 0.25rem rgba(196, 30, 31, 0.15);
  background: white;
  transform: translateY(-2px);
}

.contact-form .form-label {
  color: #042E4E;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form .btn-primary {
  background: linear-gradient(135deg, #C41E1F 0%, #a01719 100%);
  border: none;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(196, 30, 31, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(196, 30, 31, 0.4);
  background: linear-gradient(135deg, #a01719 0%, #8b1315 100%);
}

.map-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-wrapper h3 {
  color: #042E4E;
  font-weight: 700;
  margin-bottom: 2rem;
}

.map-container {
  box-shadow: 0 15px 40px rgba(4, 46, 78, 0.15);
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(196, 30, 31, 0.1);
}

.map-container iframe {
  height: 450px;
}



@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .btn-group {
    flex-direction: column;
  }
  
  .btn-group .btn {
    margin: 2px 0;
  }
  
  .about-hero {
    min-height: 50vh;
    text-align: center;
  }
  
  .about-hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-cta .d-flex {
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-cta .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}
