/* Engenharia de Saúde - Custom Styles */
/* Paleta de cores do nicho de saúde: azuis, verdes e brancos */

:root {
  /* Cores principais */
  --primary-color: #2E86AB;
  --secondary-color: #A23B72;
  --accent-color: #F18F01;
  --success-color: #50C878;
  --light-blue: #E8F4FD;
  --dark-blue: #1B4D72;
  
  /* Cores neutras */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --gray: #6C757D;
  --dark-gray: #343A40;
  --black: #000000;
  
  /* Tipografia */
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  
  /* Sombras */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
  
  /* Transições */
  --transition: all 0.3s ease;
}

/* Reset e configurações globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark-blue);
  line-height: 1.2;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--dark-blue);
  text-decoration: none;
}

.btn {
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 8px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-blue), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-light {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-color);
}

.section {
  padding: 80px 0;
}

.light-bg {
  background-color: var(--light-blue);
}

.section-title {
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--success-color));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Header Styles */
.header {
  background: var(--white);
  box-shadow: var(--shadow-md);
  z-index: 1000;
}

.topbar {
  min-height: 60px;
  background: var(--light-blue);
  padding: 8px 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(46, 134, 171, 0.1);
}

.topbar .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.topbar .row {
  margin: 0;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.topbar .col-md-8,
.topbar .col-md-4 {
  padding: 0 15px;
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 44px;
}

.topbar .col-md-8 {
  justify-content: flex-start;
}

.topbar .col-md-4 {
  justify-content: flex-end;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: 100%;
  line-height: 1;
  min-height: 4px;
  padding-left: 15px;
  margin-bottom: 10px !important;
}

.contact-item-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  line-height: 1.2;
}

.contact-item-inline i {
  color: var(--primary-color);
  font-size: 1rem;
  margin-top: 1px;
}

.contact-item-inline span {
  color: var(--dark-blue);
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.2;
}

.topbar-cta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
  min-height: 44px;
  padding-right: 15px;
}

/* Removed duplicate - already defined in .contact-item-inline i */

.phone-link {
  color: var(--dark-gray);
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.2;
}

.phone-link:hover {
  color: var(--primary-color);
}

.btn-cta {
  font-size: 0.9rem;
  padding: 8px 16px;
}

.main-header {
  padding: 15px 0;
}

.logo img {
  max-height: 60px;
  width: auto;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark-gray);
  padding: 10px 15px;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 134, 171, 0.3), rgba(27, 77, 114, 0.9));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-buttons {
  margin-top: 30px;
}

.hero-stats {
  position: relative;
  z-index: 2;
}

.stat-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  color: var(--white);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.stat-box h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.stat-box p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* About Section */
.about {
  padding: 100px 0;
}

.about-img img {
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

.about-content {
  padding-left: 40px;
}

.about-features {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature-item i {
  color: var(--success-color);
  font-size: 1.2rem;
  margin-right: 10px;
}

/* Services Section */
.services {
  padding: 100px 0;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border-top: 4px solid var(--primary-color);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(46, 134, 171, 0.1), transparent);
  transition: left 0.6s ease;
}

.service-card:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 20px 40px rgba(46, 134, 171, 0.2);
  border-top-color: var(--accent-color);
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover .service-content {
  transform: translateY(-5px);
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(5deg);
  color: var(--accent-color);
}

.service-card:hover h3 {
  color: var(--primary-color);
}

.service-card:hover .service-description {
  opacity: 1;
  max-height: 200px;
  margin-top: 15px;
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: all 0.4s ease;
  display: inline-block;
}

.service-content {
  transition: transform 0.4s ease;
  position: relative;
  z-index: 2;
}

.service-description {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  margin-top: 0;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

.service-card .btn-saiba-mais {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.2s;
  margin-top: 15px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
}

.service-card:hover .btn-saiba-mais {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover .service-description {
  opacity: 1;
  max-height: 100px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark-blue);
}

.service-card p {
  color: var(--gray);
  line-height: 1.6;
}

/* Features Section */
.features {
  padding: 100px 0;
}

.feature-box {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.feature-img {
  height: 250px;
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.feature-box:hover .feature-img img {
  transform: scale(1.05);
}

.feature-content {
  padding: 30px;
}

.feature-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-blue);
}

.feature-content p {
  color: var(--gray);
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
}

.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.3;
}

.testimonial-content p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--dark-gray);
  margin-bottom: 30px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark-blue);
}

.author-info span {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.contact .container {
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

.contact-info {
  padding: 40px 20px;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 50px;
}

.contact-items-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: nowrap;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.contact-items-row .contact-item {
  flex: 1;
  max-width: 280px;
  min-width: 200px;
  margin-bottom: 0;
  text-align: center;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px 15px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

.contact-items-row .contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(46, 134, 171, 0.2);
  border-color: var(--primary-color);
}

.contact-items-row .contact-icon {
  margin: 0 auto 12px auto;
  width: 45px;
  height: 45px;
}

.contact-items-row .contact-details {
  text-align: center;
}

.contact-items-row .contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--dark-blue);
  font-weight: 600;
}

.contact-items-row .contact-details p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.contact-items-row .contact-details a {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-items-row .contact-details a:hover {
  color: var(--accent-color);
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark-blue);
  text-align: left;
}

.contact-info > p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--light-blue);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: var(--accent-color);
  transform: scale(1.1);
}

.contact-icon i {
  color: var(--white);
  font-size: 1.2rem;
}

.contact-details {
  flex: 1;
}

.contact-details h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark-blue);
  font-weight: 600;
}

.contact-details p {
  color: var(--gray);
  margin: 0;
  line-height: 1.5;
}

.contact-details a {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  margin: 2px 0;
}

.contact-details a:hover {
  color: var(--accent-color);
  transform: translateX(3px);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.contact-form .form-control {
  border: 2px solid #E9ECEF;
  border-radius: 10px;
  padding: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(46, 134, 171, 0.25);
  transform: translateY(-2px);
}

.contact-form .btn-primary {
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(46, 134, 171, 0.3);
}

.form-control {
  border: 2px solid #E9ECEF;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(46, 134, 171, 0.25);
}

/* Footer */
.footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-info img {
  max-height: 50px;
  margin-bottom: 20px;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-links h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Scroll Top Button */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--dark-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 15px;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  animation: pulse 2s infinite;
  cursor: pointer;
  border: none;
}

.whatsapp-btn:hover {
  background: #128C7E;
  transform: scale(1.1);
  color: var(--white);
}

.whatsapp-popup {
  background: var(--white);
  color: var(--dark-gray);
  padding: 12px 18px;
  border-radius: 25px;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  position: relative;
}

.whatsapp-popup::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid var(--white);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.whatsapp-float:hover .whatsapp-popup {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.whatsapp-float.show-popup .whatsapp-popup {
  opacity: 1;
  transform: translateX(0);
  animation: popupBounce 0.6s ease;
}

@keyframes popupBounce {
  0% {
    opacity: 0;
    transform: translateX(20px) scale(0.8);
  }
  60% {
    opacity: 1;
    transform: translateX(-5px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .about-content {
    padding-left: 30px;
  }
  
  .service-card {
    padding: 35px 25px;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .about-content {
    padding-left: 0;
    margin-top: 50px;
  }
  
  .services {
    padding: 100px 0;
  }
}

@media (max-width: 920px) {
  .hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.5;
  }
  
  /* Header adjustments - 920px breakpoint */
  .topbar {
    min-height: 55px;
    padding: 6px 0;
  }
  
  .topbar .row {
    min-height: 55px;
  }
  
  .topbar .col-md-8 {
    flex: 0 0 65%;
    max-width: 65%;
  }
  
  .topbar .col-md-4 {
    flex: 0 0 35%;
    max-width: 35%;
  }
  
  .contact-info {
    gap: 20px;
    justify-content: flex-start;
    overflow: hidden;
    padding-left: 10px;
  }

  .contact-item-inline {
    gap: 5px;
  }

  .contact-item-inline span {
    font-size: 0.8rem;
  }

  .phone-link {
    font-size: 0.8rem;
  }
  
  .topbar-cta {
    justify-content: flex-end;
    padding-right: 10px;
  }
  
  .contact-item-inline {
    gap: 6px;
    flex-shrink: 1;
  }
  
  .contact-item-inline i {
    font-size: 1rem;
  }
  
  .contact-item-inline span {
    font-size: 0.85rem;
  }
  
  .phone-link {
    font-size: 0.9rem;
    white-space: nowrap;
  }
  
  .btn-cta {
    font-size: 0.8rem;
    padding: 6px 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  /* Main header adjustments */
  .main-header {
    padding: 12px 0;
  }
  
  .logo img {
    max-height: 55px;
  }
  
  .navbar-nav .nav-link {
    padding: 8px 12px;
    font-size: 0.95rem;
  }
  
  /* Hero section adjustments */
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    padding: 12px 25px;
    font-size: 0.95rem;
  }
  
  /* Stats boxes in hero */
  .stat-box {
    padding: 25px 15px;
    margin-bottom: 15px;
  }
  
  .stat-box h3 {
    font-size: 1.2rem;
  }
  
  .stat-box p {
    font-size: 0.85rem;
  }
  
  /* Section adjustments */
  .section {
    padding: 90px 0;
  }
  
  .section-title h2 {
    font-size: 2.3rem;
  }
  
  .section-subtitle {
    font-size: 1.05rem;
  }
  
  /* Service cards */
  .service-card {
    padding: 35px 25px;
    margin-bottom: 25px;
  }
  
  .service-card h3 {
    font-size: 1.4rem;
  }
  
  .service-card p {
    font-size: 1rem;
  }
  
  /* About section */
  .about-content {
    padding-left: 20px;
  }
  
  .about-content p {
    font-size: 1.05rem;
  }
  
  /* Contact section - 920px */
  .contact {
    padding: 90px 0;
  }
  
  .contact-info h3 {
    font-size: 1.7rem;
    text-align: center;
  }
  
  .contact-info > p {
    font-size: 1.05rem;
    text-align: center;
  }
  
  .contact-items-row {
    gap: 15px;
    max-width: 800px;
  }
  
  .contact-items-row .contact-item {
    flex: 1;
    max-width: 250px;
    min-width: 180px;
    padding: 18px 12px;
  }
  
  .contact-items-row .contact-details h4 {
    font-size: 1rem;
  }
  
  .contact-items-row .contact-details p {
    font-size: 0.85rem;
  }
  
  .contact-item {
    margin-bottom: 25px;
    padding: 18px;
    flex-direction: row;
    position: relative;
    z-index: 1;
    clear: both;
  }
  
  .contact-icon {
    width: 45px;
    height: 45px;
    margin-right: 15px;
  }
  
  .contact-details h4 {
    font-size: 1.15rem;
  }
  
  .contact-details p {
    font-size: 0.95rem;
  }
  
  .contact-form {
    padding: 35px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
    clear: both;
  }
  
  .contact-form .form-control {
    padding: 12px;
    font-size: 0.95rem;
  }
  
  .contact-form .btn-primary {
    padding: 12px 35px;
    font-size: 1rem;
  }
  
  /* Feature boxes */
  .feature-content {
    padding: 25px;
  }
  
  .feature-content h3 {
    font-size: 1.25rem;
  }
  
  /* Testimonials */
  .testimonial-card {
    padding: 35px;
  }
  
  .testimonial-content p {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .about-content {
    padding-left: 0;
    margin-top: 40px;
    text-align: center;
  }
  
  .about-content .section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .stat-box {
    margin-bottom: 25px;
  }
  
  /* Contact section - 768px */
  .contact {
    padding: 80px 0;
  }
  
  .contact-info {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 15px;
  }
  
  .contact-info h3 {
    font-size: 1.6rem;
  }
  
  .contact-info > p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .contact-items-row {
    gap: 12px;
    flex-wrap: wrap;
    max-width: 700px;
  }
  
  .contact-items-row .contact-item {
    flex: 1;
    max-width: 220px;
    min-width: 160px;
    padding: 16px 10px;
  }
  
  .contact-items-row .contact-icon {
    width: 40px;
    height: 40px;
  }
  
  .contact-items-row .contact-details h4 {
    font-size: 0.95rem;
  }
  
  .contact-items-row .contact-details p {
    font-size: 0.8rem;
  }
  
  .contact-item {
    margin-bottom: 20px;
    padding: 15px;
    text-align: left;
    position: relative;
    z-index: 1;
    clear: both;
    width: 100%;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }
  
  .contact-icon i {
    font-size: 1rem;
  }
  
  .contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .contact-details p {
    font-size: 0.9rem;
  }
  
  .contact-form {
    margin-top: 50px;
    padding: 30px;
    position: relative;
    z-index: 2;
    clear: both;
    width: 100%;
  }
  
  .contact-form .row {
    margin: 0;
  }
  
  .contact-form .col-md-6 {
    padding: 0 5px;
  }
  
  .contact-form .form-control {
    padding: 12px;
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  
  .contact-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
    padding: 15px 30px;
  }
  
  .service-card {
    margin-bottom: 30px;
  }
  
  .feature-item {
    text-align: left;
  }
  
  /* Contact info adjustments for tablet */
  
  /* Header adjustments - 768px breakpoint */
  .topbar {
    min-height: 50px;
    padding: 5px 0;
  }
  
  .topbar .row {
    min-height: 50px;
  }
  
  .topbar .col-md-8 {
    flex: 0 0 70%;
    max-width: 70%;
    padding: 0 10px;
  }
  
  .topbar .col-md-4 {
    flex: 0 0 30%;
    max-width: 30%;
    padding: 0 10px;
  }
  
  .contact-info {
    gap: 12px;
    justify-content: flex-start;
    max-width: 100%;
    overflow: hidden;
    padding-left: 8px;
  }
  
  .topbar-cta {
    justify-content: flex-end;
    padding-right: 8px;
  }
  
  .contact-item-inline {
    gap: 5px;
    flex-shrink: 1;
  }
  
  .contact-item-inline i {
    font-size: 0.95rem;
  }
  
  .contact-item-inline span {
    font-size: 0.8rem;
  }
  
  .phone-link {
    font-size: 0.8rem;
  }
  
  .btn-cta {
    font-size: 0.75rem;
    padding: 5px 10px;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
}

@media (max-width: 700px) {
  /* Mobile Header Structure - Below 700px */
  .topbar {
    display: none;
  }
  
  /* Main header mobile adjustments */
  .main-header {
    padding: 10px 0;
  }
  
  .main-header .row {
    align-items: center;
  }
  
  .logo {
    text-align: left;
  }
  
  .logo img {
    max-height: 45px;
  }
  
  /* Navbar toggle positioning */
  .navbar {
    padding: 0;
  }
  
  .navbar-toggler {
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 6px 10px;
    margin: 0;
    background: transparent;
    transition: all 0.3s ease;
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(46, 134, 171, 0.25);
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232E86AB' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 20px;
    height: 20px;
  }
  
  /* Navbar collapse mobile */
  .navbar-collapse {
    margin-top: 10px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    padding: 15px;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(46, 134, 171, 0.1);
  }
  
  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  /* Contact section - mobile */
  .contact {
    padding: 70px 0;
  }
  
  .contact .container {
    padding: 0 15px;
  }
  
  .contact-info {
    padding: 25px 15px;
    margin-bottom: 30px;
  }
  
  .contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .contact-info > p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .contact-items-row {
    gap: 10px;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }
  
  .contact-items-row .contact-item {
    flex: none;
    width: 100%;
    max-width: 300px;
    min-width: auto;
    padding: 15px 12px;
  }
  
  .contact-items-row .contact-icon {
    width: 35px;
    height: 35px;
  }
  
  .contact-items-row .contact-details h4 {
    font-size: 0.9rem;
  }
  
  .contact-items-row .contact-details p {
    font-size: 0.75rem;
  }
  
  .contact-item {
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    clear: both;
    width: 100%;
    display: block;
  }
  
  .contact-icon {
    width: 35px;
    height: 35px;
    margin-right: 10px;
  }
  
  .contact-icon i {
    font-size: 0.9rem;
  }
  
  .contact-details h4 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  
  .contact-details p {
    font-size: 0.85rem;
  }
  
  .contact-details a {
    font-size: 0.85rem;
  }
  
  .contact-form {
    padding: 25px 20px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
    clear: both;
    width: 100%;
  }
  
  .contact-form .col-md-6 {
    padding: 0;
  }
  
  .contact-form .form-control {
    padding: 10px;
    font-size: 0.9rem;
    margin-bottom: 12px;
  }
  
  .contact-form textarea.form-control {
    min-height: 80px;
  }
  
  .contact-form .btn-primary {
    padding: 12px;
    font-size: 0.95rem;
  }
  
  /* Hero adjustments */
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  /* Main header adjustments */
  .main-header {
    padding: 10px 0;
  }
  
  .logo img {
    max-height: 50px;
  }
  
  .navbar-nav .nav-link {
    padding: 6px 10px;
    font-size: 0.9rem;
  }

  /* Section adjustments */
  .section {
    padding: 80px 0;
  }
  
  .section-title h2 {
    font-size: 2.1rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }

  /* Service cards */
  .service-card {
    padding: 30px 20px;
    margin-bottom: 20px;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }
  
  .service-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  /* Extra small mobile devices */
  .topbar {
    display: none;
  }
  
  .main-header {
    padding: 8px 0;
  }
  
  .logo img {
    max-height: 40px;
  }
  
  .navbar-toggler {
    padding: 5px 8px;
  }
  
  .navbar-toggler-icon {
    width: 18px;
    height: 18px;
  }

  /* Contact section - 608px */
  .contact {
    padding: 60px 0;
  }
  
  .contact .container {
    padding: 0 10px;
  }
  
  .contact-info {
    padding: 20px 10px;
    margin-bottom: 25px;
  }
  
  .contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
  
  .contact-info > p {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }
  
  .contact-items-row {
    gap: 8px;
    flex-direction: column;
  }
  
  .contact-items-row .contact-item {
    flex: none;
    width: 100%;
    max-width: 280px;
    padding: 12px 10px;
  }
  
  .contact-items-row .contact-icon {
    width: 32px;
    height: 32px;
  }
  
  .contact-items-row .contact-details h4 {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }
  
  .contact-items-row .contact-details p {
    font-size: 0.7rem;
  }
  
  .contact-item {
    margin-bottom: 15px;
    padding: 10px;
    flex-direction: column;
    text-align: center;
    position: relative;
    z-index: 1;
    clear: both;
    width: 100%;
    display: block;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px auto;
  }
  
  .contact-details {
    text-align: center;
  }
  
  .contact-details h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
  }
  
  .contact-details p {
    font-size: 0.8rem;
  }
  
  .contact-details a {
    font-size: 0.8rem;
    display: block;
    margin: 3px 0;
    padding: 5px 10px;
    background: rgba(46, 134, 171, 0.1);
    border-radius: 15px;
    color: var(--primary-color);
  }
  
  .contact-form {
    padding: 20px 15px;
    margin-top: 25px;
    position: relative;
    z-index: 2;
    clear: both;
    width: 100%;
  }
  
  .contact-form .form-control {
    padding: 10px;
    font-size: 0.85rem;
    margin-bottom: 10px;
  }
  
  .contact-form textarea.form-control {
    min-height: 70px;
  }
  
  .contact-form .btn-primary {
    padding: 12px;
    font-size: 0.9rem;
  }
  
  /* Hero adjustments */
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    color: #000 !important;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.4;
  }

  /* Main header adjustments */
  .main-header {
    padding: 8px 0;
  }
  
  .logo img {
    max-height: 45px;
  }
  
  .navbar-nav .nav-link {
    padding: 5px 8px;
    font-size: 0.85rem;
  }

  /* Section adjustments */
  .section {
    padding: 70px 0;
  }
  
  .section-title h2 {
    font-size: 1.9rem;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Service cards */
  .service-card {
    padding: 25px 15px;
    margin-bottom: 15px;
  }
  
  .service-card h3 {
    font-size: 1.2rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
  }

  /* Hero buttons stack vertically */
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 250px;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 390px) {
  .topbar {
    height: auto;
    min-height: 35px;
    padding: 8px 0;
  }
  
  .topbar .row {
    flex-direction: column;
    gap: 6px;
  }
  
  .contact-info {
    gap: 6px;
    flex-direction: column;
    align-items: center;
  }
  
  .contact-item-inline {
    gap: 3px;
  }
  
  .contact-item-inline i {
    font-size: 0.8rem;
  }
  
  .contact-item-inline span {
    font-size: 0.65rem;
  }
  
  .phone-link {
    font-size: 0.65rem;
  }
  
  /* Contact info adjustments for extra small screens */
  .contact-info {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
    padding: 0 10px;
  }
  
  .contact-info span {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 3px;
  }
  
  .phone-link {
    font-size: 0.8rem;
    padding: 5px 10px;
    background: rgba(46, 134, 171, 0.1);
    border-radius: 15px;
    margin-bottom: 5px;
    display: inline-block;
  }
  
  /* Contact section - 390px */
  .contact {
    padding: 50px 0;
  }
  
  .contact .container {
    padding: 0 8px;
  }
  
  .section-title h2 {
    font-size: 1.4rem;
  }
  
  .section-subtitle {
    font-size: 0.85rem;
  }
  
  .contact-info {
    padding: 15px 8px;
    margin-bottom: 20px;
  }
  
  .contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .contact-info > p {
    font-size: 0.8rem;
    margin-bottom: 15px;
    line-height: 1.4;
  }
  
  .contact-items-row {
    gap: 6px;
    flex-direction: column;
  }
  
  .contact-items-row .contact-item {
    flex: none;
    width: 100%;
    max-width: 260px;
    padding: 10px 8px;
  }
  
  .contact-items-row .contact-icon {
    width: 30px;
    height: 30px;
  }
  
  .contact-items-row .contact-details h4 {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }
  
  .contact-items-row .contact-details p {
    font-size: 0.65rem;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    margin-bottom: 12px;
    padding: 12px 8px;
    background: var(--light-blue);
    border-radius: 10px;
    position: relative;
    z-index: 1;
    clear: both;
    width: 100%;
    display: block;
  }
  
  .contact-icon {
    width: 35px;
    height: 35px;
    margin: 0 auto 8px auto;
  }
  
  .contact-icon i {
    font-size: 0.9rem;
  }
  
  .contact-details h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }
  
  .contact-details p {
    font-size: 0.75rem;
    line-height: 1.3;
  }
  
  .contact-details a {
    font-size: 0.75rem;
    padding: 4px 8px;
    margin: 2px;
    display: inline-block;
  }
  
  .contact-form {
    padding: 15px 10px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
    clear: both;
    width: 100%;
  }
  
  .contact-form .form-control {
    padding: 8px;
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
  
  .contact-form textarea.form-control {
    min-height: 60px;
  }
  
  .contact-form .btn-primary {
    padding: 10px;
    font-size: 0.85rem;
  }
  
  .btn-cta {
    width: 100%;
    max-width: 200px;
    font-size: 0.8rem;
    padding: 8px 16px;
    margin-top: 10px;
  }
  
  .hero-title {
    font-size: 1.7rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
  
  .service-card {
    padding: 25px 15px;
  }
  
  .contact-form {
    padding: 25px 15px;
  }
  
  /* Extra responsive adjustments */
  @media (max-width: 480px) {
    .contact-form .row {
      margin: 0 -5px;
    }
    
    .contact-form .col-md-6 {
      padding: 0 5px;
      margin-bottom: 10px;
    }
    
    .contact-form .col-12 {
      padding: 0 5px;
    }
  }
  
  @media (max-width: 360px) {
    .contact {
      padding: 40px 0;
    }
    
    .contact .container {
      padding: 0 5px;
    }
    
    .contact-form {
      padding: 12px 8px;
    }
    
    .contact-form .form-control {
      padding: 6px;
      font-size: 0.75rem;
    }
    
    .contact-item {
      padding: 8px;
      margin-bottom: 8px;
    }
    
    .contact-details a {
      font-size: 0.7rem;
      padding: 3px 6px;
    }
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
.loading {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Custom carousel controls */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(46, 134, 171, 0.8);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--primary-color);
}

.carousel-indicators {
  bottom: 30px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
}

.carousel-indicators .active {
  background: var(--white);
}

/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

.preloader-content {
  text-align: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.preloader-content p {
  color: var(--primary-color);
  font-weight: 500;
  margin: 0;
  font-size: 1.1rem;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(46, 134, 171, 0.4);
  color: var(--white);
}

.scroll-top i {
  font-size: 24px;
}

/* WhatsApp Modal Styles */
.whatsapp-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.whatsapp-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-modal-content {
  background: var(--white);
  margin: 20px;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-modal-header {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  padding: 25px 30px;
  border-radius: 20px 20px 0 0;
  position: relative;
  text-align: center;
}

.whatsapp-modal-header h2 {
  color: var(--white);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.whatsapp-modal-header i {
  font-size: 1.8rem;
}

.whatsapp-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.whatsapp-modal-body {
  padding: 30px;
}

.whatsapp-modal-intro {
  text-align: center;
  margin-bottom: 25px;
}

.whatsapp-modal-intro p {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 20px;
}

.whatsapp-form .form-group {
  margin-bottom: 20px;
}

.whatsapp-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark-blue);
  font-weight: 500;
  font-size: 0.95rem;
}

.whatsapp-form .form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #E9ECEF;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.whatsapp-form .form-control:focus {
  border-color: #25D366;
  box-shadow: 0 0 0 0.2rem rgba(37, 211, 102, 0.25);
  outline: none;
}

.whatsapp-form textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.whatsapp-submit-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.whatsapp-submit-btn:hover {
  background: linear-gradient(135deg, #128C7E, #25D366);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Responsive WhatsApp Modal */
@media (max-width: 768px) {
  .whatsapp-modal-content {
    margin: 10px;
    width: calc(100% - 20px);
  }
  
  .whatsapp-modal-header,
  .whatsapp-modal-body {
    padding: 20px;
  }
  
  .whatsapp-modal-header h2 {
    font-size: 1.3rem;
  }
  
  .whatsapp-popup {
    display: none;
  }
  
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-btn {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Enhanced Button Styles */
.btn-get-started {
  background: var(--accent-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid var(--accent-color);
}

.btn-get-started:hover {
  background: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-light {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Form Enhancements */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(46, 134, 171, 0.25);
}

.btn-primary:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Accessibility Improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .hero {
    background: #000;
    color: #fff;
  }
  
  .btn-primary {
    border: 2px solid currentColor;
  }
}

/* Service Modal Styles */
.service-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.service-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--white);
  margin: 20px;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-header {
  padding: 30px 30px 20px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.modal-header h2 {
  color: var(--dark-blue);
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--light-gray);
  color: var(--dark-blue);
  transform: rotate(90deg);
}

.modal-body {
  padding: 20px 30px 30px;
}

.modal-service-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
  text-align: center;
}

.modal-service-description {
  color: var(--gray);
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.modal-service-features {
  margin-bottom: 25px;
}

.modal-service-features h4 {
  color: var(--dark-blue);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.modal-service-features ul {
  list-style: none;
  padding: 0;
}

.modal-service-features li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  color: var(--gray);
}

.modal-service-features li::before {
  content: '✓';
  color: var(--success-color);
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.1rem;
}

.modal-footer {
  padding: 20px 30px 30px;
  text-align: center;
  border-top: 1px solid #eee;
}

.btn-saiba-mais-modal {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
  color: var(--white);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin-right: 15px;
}

.btn-saiba-mais-modal:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 134, 171, 0.3);
  color: var(--white);
}

.btn-contact-modal {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 10px 25px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-contact-modal:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive modal */
@media (max-width: 768px) {
  .modal-content {
    margin: 10px;
    width: calc(100% - 20px);
    max-height: 95vh;
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 20px;
  }
  
  .modal-header h2 {
    font-size: 1.5rem;
  }
  
  .modal-service-description {
    font-size: 1rem;
  }
  
  .btn-saiba-mais-modal,
  .btn-contact-modal {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .whatsapp-btn {
    animation: none;
  }
  
  .loading {
    transition: none;
  }
  
  .service-modal,
  .modal-content {
    animation: none;
  }
}

/* Mobile Enhancements */
@media (max-width: 768px) {
  .whatsapp-btn {
    bottom: 70px;
    right: 15px;
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
  
  .scroll-top {
    bottom: 90px;
  }
  
  .scroll-top {
    right: 15px;
    width: 45px;
    height: 45px;
  }
  
  .scroll-top i {
    font-size: 20px;
  }
  
  #preloader {
    padding: 20px;
  }
  
  .preloader-content p {
    font-size: 1rem;
  }
  
  /* Contact form mobile optimizations */
  .contact-form .php-email-form {
    width: 100%;
  }
  
  .contact-form .gy-4 > * {
    margin-bottom: 15px;
  }
  
  .contact-details a {
    word-break: break-all;
  }
  
  /* Fix layout issues */
  .contact .row {
    margin: 0;
  }
  
  .contact .col-lg-6 {
    padding: 0 15px;
    margin-bottom: 30px;
  }
  
  .contact-info,
  .contact-form {
    position: static !important;
    float: none !important;
    clear: both;
    display: block;
    width: 100% !important;
    transform: none !important;
  }
  
  .contact-item {
    position: static !important;
    float: none !important;
    clear: both;
    display: block !important;
    width: 100% !important;
    transform: none !important;
  }
  
  /* Additional fixes for contact section */
  .contact .row {
    display: flex;
    flex-direction: column;
  }
  
  .contact .col-lg-6:first-child {
    order: 1;
    margin-bottom: 40px;
  }
  
  .contact .col-lg-6:last-child {
    order: 2;
  }
}

/* Additional global fixes */
.contact-item {
  box-sizing: border-box !important;
  max-width: 100% !important;
  overflow: hidden;
}

.contact-form {
  box-sizing: border-box !important;
  max-width: 100% !important;
  overflow: hidden;
}

/* Ensure proper Bootstrap grid behavior */
.contact .row {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.contact .col-lg-6 {
  padding-left: 15px;
  padding-right: 15px;
}
