/* Reset básico */
* {
  margin: 5px;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  background: #f5eda7;
  color: #333;
  scroll-behavior: smooth;
}

.status{
  align-items: center;
  
}
.logomega1{
  display:none;
}

.taxi{
  width: 200px;
  height: 174px;
  float: right;
}

.taxi:hover{
    clip-path: circle(38%);
    scale: 1.02;
}
.telefonos{
text-align: right;
}
a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* NAVBAR BASE */
.navbar-custom {
  background-color: #034c94;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
}

.navbar-custom .navbar-brand {
  color: #ffc107;
  font-size: 22px;
  font-weight: bold;
}

.navbar-custom .navbar-brand:hover {
  color: #ffffff;
}

.navbar-custom .nav > li > a {
  color: #f8f9fa;
  font-weight: 500;
  padding: 15px 20px;
  transition: background 0.3s ease;
}

.navbar-custom .nav > li > a:hover,
.navbar-custom .nav > li.active > a {
  color: #ffc107;
  background: transparent;
}

.navbar-toggle {
  border: none;
  background: none;
  color: #fff;
  font-size: 24px;
  margin-top: 8px;
}

.navbar-toggle:focus {
  outline: none;
}

/* RESPONSIVE BEHAVIOR **********************/
@media (max-width: 767px) {
  
  .navbar-collapse {
    background-color: #3f9407d0;
  }


  .logomega{
    display: none;
  }

  .logomega1{
    width: 200px;
    height: 160px;
  }
  
  .taxi{
    width: 160px;
  }
  .navbar-collapse .nav > li > a {
    display: block;
    text-align: center;
    border-bottom: 1px solid #444;
  }

  .navbar-collapse .nav > li:last-child > a {
    border-bottom: none;
  }
}

 nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      background-color: #4fa019;
    }

    .logo {
      font-size: 1.5rem;
      font-weight: bold;
      color:#e6b822;
    }

    .menu-btn {
      display: none;
      font-size: 1.5rem;
      background: none;
      border: none;
      color: rgb(240, 239, 235);
      cursor: pointer;
    }

    ul.nav-links {
      list-style: none;
      display: flex;
      gap: 1.5rem;
    }

    ul.nav-links li a {
      color: rgb(216, 189, 39);
      text-decoration: none;
      font-weight: bold;
    }

    ul.nav-links li a:hover {
     
      background:#8a530c;
    }

    @media (max-width: 768px) {
      .menu-btn {
        display: none;
      }

      ul.nav-links {
        display: block;
        width: 100%;
        flex-direction: column;
        margin-top: 1rem;
        background-color: #0b3d91;
      }

      ul.nav-links.active {
        display: flex;
      }

      ul.nav-links li {
        padding: 0.5rem 1rem;
        text-align: left;
      }
    }

/* Intro / Hero */
#intro {
  background: url('../img/bg.jpg') no-repeat center center;
  background-size: cover;
  color: rgb(148, 100, 11);
  text-align: center;
  padding: 120px 0;
}

.intro-body h1 {
  font-size: 48px;
  font-weight: 800;
}

.intro-body .btn {
  margin-top: 20px;
  padding: 12px 25px;
  background: #ffc107;
  border: none;
  color: #000;
  font-weight: bold;
}

/* Secciones */
.section-title h2 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-title hr {
  width: 80px;
  height: 4px;
  background: #ffc107;
  margin: 10px auto;
  border: none;
}

.section-title.center {
  text-align: center;
  margin-bottom: 40px;
}

/* About Section */
#about img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.about-text h4 {
  font-weight: 700;
  margin-bottom: 10px;
}

.about-text ul {
  padding-left: 20px;
}

.about-text ul li {
  margin-bottom: 8px;
}

/* Services */
#services {
  background: #fff;
  padding: 60px 0;
}

.service {
  padding: 20px;
  margin-bottom: 20px;
  background: #f1f1f1;
  border-radius: 10px;
  transition: 0.3s;
}

.service:hover {
  background: #ffc107;
  color: #000;
}

.service i {
  font-size: 36px;
  margin-bottom: 10px;
}

/* Team */
#team {
  background: #f8f9fa;
  padding: 60px 0;
}

#team .thumbnail {
  padding: 0;
  border: none;
  background: transparent;
}

.team-img {
  width: 100%;
  border-radius: 8px;
}

/* Testimonials */
#testimonials {
  background: #e9ecef;
  padding: 60px 0;
}

.testimonials blockquote {
  background: #fff;
  border-left: 5px solid #ffc107;
  padding: 20px;
  border-radius: 8px;
  margin: 15px 0;
}

h1{color:green}
/* Legal Info Table */
#works table {
  width: 100%;
  border-collapse: collapse;
}

#works a {
  display: block;
  padding: 10px 0;
}

/* Contact */
#contact {
  padding: 60px 0;
  background: #fff;
}

.contact-item {
  margin-bottom: 20px;
}

.contact-item i {
  color: #ffc107;
  margin-bottom: 10px;
}

/* Social Icons */
.social ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.social ul li {
  margin: 5px;
}

.social ul li a {
  font-size: 20px;
  color: #333;
}

.social ul li a:hover {
  color: #ffc107;
}

/* Footer */
#footer {
  background: #3f9407d0;
  color: #ffc107;
  text-align: center;
  padding: 20px 0;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .intro-body h1 {
    font-size: 32px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .service {
    margin-bottom: 30px;
  }

  .contact-item {
    text-align: center;
  }

  #about .col-md-4 {
    margin-bottom: 20px;
  }

  #works table {
    font-size: 14px;
  }
}