/* Global Styles */
:root {
  --primary-blue: #53dfd9;
  --secondary-green: #80f1c9;
  --accent-yellow: #f7c75f;
  --light-gray: #F8F9FA;
  --dark-gray: #343A40;
  --text-color: #333333;
  --light-text: #6C757D;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  transition: all 0.3s ease;
}

/* RTL Support */
[dir="rtl"] body {
  font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
}

[dir="rtl"] .text-end {
  text-align: left !important;
}

[dir="rtl"] .text-start {
  text-align: right !important;
}

[dir="rtl"] .ms-auto {
  margin-right: auto !important;
  margin-left: 0 !important;
}

[dir="rtl"] .me-auto {
  margin-left: auto !important;
  margin-right: 0 !important;
}

[dir="rtl"] .ps-3 {
  padding-right: 1rem !important;
  padding-left: 0 !important;
}

[dir="rtl"] .pe-3 {
  padding-left: 1rem !important;
  padding-right: 0 !important;
}

[dir="rtl"] .dropdown-menu {
  text-align: right;
}

/* Header Styles */
.navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-blue) !important;
  font-size: 1.5rem;
}

.nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary-blue) !important;
}

.lang-switcher {
  background-color: var(--light-gray);
  border: none;
  border-radius: 20px;
  padding: 5px 15px;
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s;
}

.lang-switcher:hover {
  background-color: var(--primary-blue);
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(74, 145, 226, 0), rgba(125, 211, 33, 0)), url('../image/hero-bg.jpg') center/cover no-repeat;
  color: white;
  padding: 100px 0;
  text-align: center;
  height: 500px;
  width: auto;
}

.hero h1 {
  margin-top: 100px;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.btn-primary {
  background-color: var(--primary-blue);
  border: none;
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 30px;
  margin: 5px;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #3A7BC8;
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 30px;
  margin: 5px;
  transition: all 0.3s;
}

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

/* Section Styles */
.section {
  padding: 100px 0;
  background-color: var(--light-gray);
}

.section-title {
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-yellow);
}

[dir="rtl"] .section-title::after {
  left: auto;
  right: 0;
}

/* Service Cards */
.service-card {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.service-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.service-card p {
  font-size: 1rem;
  color: var(--light-text);
}

/* CTA Section */
.CTA {
  background-color: var(--accent-yellow);
  color: white;
  border-radius: 10px;
  padding: 30px;
}

/* About Section */
.about-section {
  background-color: #f8f9fa00;
}

.founder-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #f7c75f;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Why Kidrak Section */
.why-item {
  margin-bottom: 20px;
}

.why-icon {
  color: var(--secondary-green);
  margin-right: 15px;
  font-size: 24px;
}

[dir="rtl"] .why-icon {
  margin-right: 0;
  margin-left: 15px;
}

/* Contact Section */
.contact-form {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.form-control {
  border-radius: 5px;
  border: 1px solid #ddd;
  padding: 12px;
  margin-bottom: 20px;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.contact-info {
  background-color: var(--primary-blue);
  color: white;
  border-radius: 10px;
  padding: 30px;
  height: 100%;
}

.contact-info h3 {
  margin-bottom: 20px;
}

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

.contact-icon {
  margin-right: 15px;
  font-size: 20px;
}

[dir="rtl"] .contact-icon {
  margin-right: 0;
  margin-left: 15px;
}

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

.footer-logo {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: white;
}

.social-links a {
  color: white;
  margin-right: 15px;
  font-size: 20px;
  transition: color 0.3s;
}

[dir="rtl"] .social-links a {
  margin-right: 0;
  margin-left: 15px;
}

.social-links a:hover {
  color: var(--accent-yellow);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.2rem;
  }
  
  .hero p {
    font-size: 0.7rem;
  }
  
  .section {
    padding: 60px 0;
  }
}


 /*Estilos generales del boton whatsapp*/
.whatsapp-btn {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: breathe 2s ease-in-out infinite;
}

@media screen and (max-width: 768px) {
  .whatsapp-btn {
    bottom: 25px;
    
  }
}

/*Estilos solo al icono whatsapp*/
.whatsapp-btn i {
  color: #fff;
  font-size: 24px;
  animation: beat 2s ease-in-out infinite;
  text-decoration: none;
}

/*Estilos con animation contorno respirando*/
@keyframes breathe {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/*Estilos de animacion del icono latiendo*/
@keyframes beat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.img-right .text-col  {
  padding-left:4rem ;
}