:root {
  --primary-color: #0066cc;
  --secondary-color: #25d366;
  --accent-color: #ffc107;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 100;
  transition: var(--transition);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
}

.logo span {
  color: var(--primary-color);
}

nav {
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
}

.menu li {
  margin: 0 15px;
}

.menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-color);
  transition: var(--transition);
}

.menu a:hover {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--dark-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding-top: 80px;
  position: relative;
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  display: none;
  min-height: 650px; /* Changed from fixed height to min-height */
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide.active {
  display: block;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 100px 0;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-features li {
  display: flex;
  align-items: center;
  margin-right: 20px;
  margin-bottom: 15px;
  font-size: 1rem;
  width: 78%;
}

.hero-features i {
  color: var(--accent-color);
  margin-right: 10px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px; /* Added margin to ensure buttons are visible */
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

.primary-btn:hover {
  background-color: #0055aa;
}

.secondary-btn {
  background-color: var(--secondary-color);
  color: white;
}

.secondary-btn:hover {
  background-color: #1faa50;
}

.btn i {
  margin-right: 10px;
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: white;
  transform: scale(1.2);
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Services Section */
.services {
  background-color: var(--light-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.service-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(0, 102, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin: 0 auto 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: white;
  transform: rotate(360deg);
}

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

.service-card p {
  color: #666;
  font-size: 0.95rem;
}

.cta-container {
  background-color: var(--primary-color);
  color: white;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
}

.cta-container p {
  font-size: 1.3rem;
  margin-bottom: 25px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Advantages Section */
.advantages {
  background-color: white;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.advantage-card {
  background-color: var(--light-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

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

.advantage-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(0, 102, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin: 0 auto 20px;
  transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
  background-color: var(--primary-color);
  color: white;
  transform: rotate(360deg);
}

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

.advantage-card p {
  color: #666;
  font-size: 0.95rem;
}

/* Values Section */
.values {
  background-color: var(--light-color);
}

.values-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 50px;
}

.value-item.reverse {
  flex-direction: row-reverse;
}

.value-icon {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  background-color: rgba(0, 102, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary-color);
}

.animated-icon {
  animation: pulse-icon 2s infinite;
}

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

.value-content {
  flex: 1;
}

.value-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.value-content p {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--light-color);
  position: relative;
}

/* Modified testimonials to use grid layout instead of slider */
.testimonials-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-slide {
  min-width: 100%;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.testimonial-service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(0, 102, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.testimonial-rating {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-author {
  margin-bottom: 20px;
}

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

.testimonial-author p {
  font-size: 0.9rem;
  color: #666;
}

.testimonial-text {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Hide testimonial controls since we're using grid */
.testimonial-controls,
.testimonial-dots {
  display: none;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.contact-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-right: 20px;
  width: 60px;
  height: 60px;
  background-color: rgba(0, 102, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.contact-text h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.contact-text a:hover {
  color: var(--primary-color);
}

/* Footer */
.footer {
  background-color: #333;
  color: white;
  padding: 70px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-logo p {
  color: #ccc;
  max-width: 300px;
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--primary-color);
}

.footer-contact a {
  color: white;
}

.footer-contact a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #ccc;
}

/* Floating Button */
.floating-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 99;
}

.call-button,
.whatsapp-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: pulse 2s infinite;
  transition: var(--transition);
}

.call-button:hover,
.whatsapp-button:hover {
  transform: scale(1.1);
}

.call-button {
  background-color: var(--primary-color);
}

.whatsapp-button {
  background-color: var(--secondary-color);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }
  
  .value-item {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .value-item.reverse {
    flex-direction: column;
  }
  
  .value-icon {
    margin: 0 auto;
  }
  
  .testimonials-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  .menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: white;
    text-align: center;
    box-shadow: var(--box-shadow);
    padding: 20px 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: var(--transition);
  }
  
  .menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .menu li {
    margin: 15px 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-features li {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .footer-logo p {
    margin: 0 auto;
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .testimonials-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 576px) {
  .section-header h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .testimonials-wrapper {
    grid-template-columns: 1fr;
  }
}