/* Website Enhancements - Professional Design */

/* ===== HERO SECTION FIX ===== */
.hero {
  background-image: url('../assets/images/hero-image-prod.jpg') !important;
  background-color: #1A1A1A !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

.hero::before {
  background: rgba(0, 0, 0, 0.6) !important;
  z-index: 1 !important;
}

.hero-content {
  position: relative !important;
  z-index: 3 !important;
}

/* ===== ABOUT SECTION FIX ===== */
.about-preview {
  padding: 4rem 0 !important;
  background: #ffffff !important;
}

.about-content {
  display: grid !important;
  gap: 3rem !important;
  align-items: center !important;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr 1fr !important;
  }
}

.about-text {
  text-align: left !important;
}

.about-description {
  font-size: 1rem !important;
  line-height: 1.7 !important;
  color: #4A4A4A !important;
  margin-bottom: 1rem !important;
}

.about-stats {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem !important;
}

.stat-card {
  background: #ffffff !important;
  padding: 1.5rem !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
  text-align: center !important;
  border-top: 3px solid #E53935 !important;
  transition: all 0.3s ease !important;
}

.stat-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.15) !important;
}

.stat-icon {
  font-size: 2.5rem !important;
  margin-bottom: 0.5rem !important;
  color: #E53935 !important;
}

.stat-number {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #E53935 !important;
  margin-bottom: 0.25rem !important;
}

.stat-label {
  font-size: 0.875rem !important;
  color: #6C757D !important;
  font-weight: 500 !important;
}

/* ===== BUTTON FIXES ===== */
.btn-primary {
  background: #E53935 !important;
  color: #ffffff !important;
  padding: 1rem 2rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3) !important;
  border: none !important;
  cursor: pointer !important;
}

.btn-primary:hover {
  background: #C62828 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4) !important;
  color: #ffffff !important;
}

.btn-secondary {
  background: transparent !important;
  color: #E53935 !important;
  padding: 1rem 2rem !important;
  border: 2px solid #E53935 !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.btn-secondary:hover {
  background: #E53935 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.3) !important;
}

.cta-button {
  background: #E53935 !important;
  color: #ffffff !important;
  padding: 1rem 2rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4) !important;
  font-size: 1.125rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.cta-button:hover {
  background: #C62828 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(229, 57, 53, 0.5) !important;
  color: #ffffff !important;
}

.cta-icon {
  margin-left: 0.5rem !important;
  transition: transform 0.3s ease !important;
}

.cta-button:hover .cta-icon {
  transform: translateX(4px) !important;
}

/* ===== HOMEPAGE SERVICES GRID - 2 COLUMNS ONLY ===== */
.services-grid-homepage {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
  margin-bottom: 3rem !important;
}

@media (min-width: 768px) {
  .services-grid-homepage {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem !important;
  }
}

@media (min-width: 1024px) {
  .services-grid-homepage {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 3rem !important;
  }
}

/* Enhanced Service Cards */
.services-grid-homepage .service-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border-top: 4px solid #E53935;
}

.services-grid-homepage .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(229, 57, 53, 0.15);
}

.services-grid-homepage .service-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.services-grid-homepage .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.services-grid-homepage .service-card:hover .service-image img {
  transform: scale(1.08);
}

/* ===== PROFESSIONAL FOOTER ===== */
.footer-redesign {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
}

.footer-main {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid-new {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid-new {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
  }
}

.footer-col-company {
  max-width: 400px;
}

.footer-logo-new {
  max-width: 180px;
  height: auto;
  filter: none;
}

.footer-tagline {
  font-size: 0.875rem;
  font-weight: 600;
  color: #E53935;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 1rem 0 0.75rem;
}

.footer-about {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.badge-icon {
  width: 20px;
  height: 20px;
  color: #E53935;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #E53935;
}

.footer-links-new {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link-new {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-link-new:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-new {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item-new {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.contact-icon-new {
  width: 20px;
  height: 20px;
  color: #E53935;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-details-new {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.contact-details-new a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.contact-details-new a:hover {
  color: #E53935;
}

.contact-details-new span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-hours-new {
  padding: 1rem;
  background: rgba(229, 57, 53, 0.1);
  border-left: 3px solid #E53935;
  border-radius: 4px;
}

.footer-hours-new p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0.375rem 0;
}

.footer-hours-new strong {
  color: #ffffff;
  font-weight: 600;
}

.footer-bottom-new {
  padding: 1.5rem 0;
  background: rgba(0, 0, 0, 0.3);
}

.footer-bottom-content-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-content-new {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright-new {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-copyright-new strong {
  color: rgba(255, 255, 255, 0.9);
}

.footer-credit {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-credit a:hover {
  color: #E53935;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .footer-main {
    padding: 3rem 0 1.5rem;
  }
  
  .services-grid-homepage .service-image {
    height: 200px;
  }
}


/* ===== WHY CHOOSE US - PROFESSIONAL ICONS ===== */
.why-choose-us {
  padding: 4rem 0 !important;
  background: linear-gradient(135deg, #F8F9FA 0%, #ffffff 100%) !important;
}

.features-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
  margin-top: 3rem !important;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.feature-card {
  background: #ffffff !important;
  padding: 2rem !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.4s ease !important;
  border-top: 3px solid #E53935 !important;
  text-align: center !important;
}

.feature-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 12px 40px rgba(229, 57, 53, 0.15) !important;
}

.feature-icon {
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto 1.5rem !important;
  background: linear-gradient(135deg, #E53935, #C62828) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.4s ease !important;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg) !important;
  box-shadow: 0 8px 25px rgba(229, 57, 53, 0.4) !important;
}

.feature-icon i {
  font-size: 2rem !important;
  color: #ffffff !important;
}

.feature-title {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: #1A1A1A !important;
  margin-bottom: 0.75rem !important;
}

.feature-description {
  font-size: 0.9375rem !important;
  line-height: 1.7 !important;
  color: #6C757D !important;
}

/* ===== OUR PROCESS - VISIBLE NUMBERS ===== */
.our-process {
  padding: 4rem 0 !important;
  background: #ffffff !important;
}

.process-timeline {
  display: flex !important;
  flex-direction: column !important;
  gap: 2rem !important;
  margin-top: 3rem !important;
  position: relative !important;
}

.process-step {
  display: flex !important;
  gap: 1.5rem !important;
  align-items: flex-start !important;
  position: relative !important;
}

.step-number {
  width: 60px !important;
  height: 60px !important;
  background: linear-gradient(135deg, #E53935, #C62828) !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3) !important;
  z-index: 2 !important;
}

.step-content {
  flex: 1 !important;
  background: #F8F9FA !important;
  padding: 1.5rem !important;
  border-radius: 12px !important;
  border-left: 3px solid #E53935 !important;
}

.step-title {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: #1A1A1A !important;
  margin-bottom: 0.5rem !important;
}

.step-description {
  font-size: 0.9375rem !important;
  line-height: 1.7 !important;
  color: #6C757D !important;
  margin: 0 !important;
}

/* ===== ACCREDITATION SECTION - INFINITE AUTO-SCROLL CAROUSEL ===== */
.accreditation-section {
  padding: 4rem 0 !important;
  background: #F8F9FA !important;
  overflow: hidden !important;
}

.accreditation-section .container {
  text-align: center !important;
  margin-bottom: 2rem !important;
}

.accreditation-carousel {
  width: 100% !important;
  overflow: hidden !important;
  position: relative !important;
  padding: 2rem 0 !important;
}

.accreditation-track {
  display: flex !important;
  flex-direction: row !important;
  gap: 4rem !important;
  animation: scroll 40s linear infinite !important;
  width: max-content !important;
  align-items: center !important;
}

.accreditation-track:hover {
  animation-play-state: paused !important;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.accreditation-track img {
  display: block !important;
  height: 100px !important;
  width: auto !important;
  object-fit: contain !important;
  filter: grayscale(50%) !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
}

.accreditation-track img:hover {
  filter: grayscale(0%) !important;
  transform: scale(1.15) !important;
}

@media (max-width: 767px) {
  .accreditation-track {
    gap: 2rem !important;
  }
  
  .accreditation-track img {
    height: 70px !important;
  }
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #E53935 0%, #C62828 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cta-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: #ffffff !important;
  color: #E53935 !important;
  padding: 1rem 2.5rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 1.125rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
  border: none !important;
  cursor: pointer !important;
}

.btn-cta-primary:hover {
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
  color: #E53935 !important;
}

.btn-cta-secondary {
  background: transparent !important;
  color: #ffffff !important;
  padding: 1rem 2.5rem !important;
  border: 2px solid #ffffff !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 1.125rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.btn-cta-secondary:hover {
  background: #ffffff !important;
  color: #E53935 !important;
  transform: translateY(-2px) scale(1.05) !important;
}

/* ===== CONTACT MODAL ===== */
.contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.contact-modal.active {
  display: flex !important;
}

.contact-modal-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.contact-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  background: #F8F9FA;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #6C757D;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-modal-close:hover {
  background: #E53935;
  color: #ffffff;
  transform: rotate(90deg);
}

.contact-modal-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 0.5rem;
}

.contact-modal-subtitle {
  font-size: 1rem;
  color: #6C757D;
  margin-bottom: 2rem;
}

/* ===== FLOATING BUTTONS ===== */
.whatsapp-float {
  position: fixed !important;
  bottom: 20px !important;
  left: 20px !important;
  right: auto !important;
  width: 60px !important;
  height: 60px !important;
  background: linear-gradient(135deg, #25D366, #22c55e) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
  transition: all 0.3s ease !important;
  z-index: 1000 !important;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.1) !important;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5) !important;
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #E53935, #C62828);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(229, 57, 53, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  border: none;
}

.back-to-top.visible {
  display: flex !important;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 30px rgba(229, 57, 53, 0.5);
}

.back-to-top i {
  font-size: 1.5rem;
  color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-subtitle {
    font-size: 1.125rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .whatsapp-float,
  .back-to-top {
    width: 50px;
    height: 50px;
  }
  
  .contact-modal-content {
    padding: 2rem 1.5rem;
  }
}


/* ===== SERVICE LINK BUTTONS - MATCH "LEARN MORE ABOUT US" STYLE ===== */
.service-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background: #E53935 !important;
  color: #ffffff !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.3) !important;
  font-size: 0.9375rem !important;
  margin: 0 var(--spacing-xl) var(--spacing-xl) !important;
}

.service-link:hover {
  background: #C62828 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.4) !important;
  color: #ffffff !important;
}

.service-link .link-arrow {
  transition: transform 0.3s ease !important;
}

.service-link:hover .link-arrow {
  transform: translateX(4px) !important;
}

/* Services Grid Homepage - Ensure proper card structure */
.services-grid-homepage .service-card {
  display: flex !important;
  flex-direction: column !important;
}

.services-grid-homepage .service-title {
  padding: 0 var(--spacing-xl) !important;
}

.services-grid-homepage .service-description {
  padding: 0 var(--spacing-xl) !important;
  flex-grow: 1 !important;
}


/* ===== FOOTER SOCIAL ICONS ===== */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(229, 57, 53, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E53935;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-link:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-3px);
  border-color: #E53935;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}
