/* ================= ROOT & BASE ================= */
:root {
  --primary-color: #0d1b2a;
  --accent-color: #d4af37;
  --text-color: #333;
  --light-bg: #f8f9fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ================= HEADER ================= */
header {
  background-color: white;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

header h1 {
  font-size: 1.6rem;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent-color);
}



.btn-primary {
  background-color: var(--accent-color);
  color: #000;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #c19e2b;
  transform: scale(1.05);
}

/* ================= HERO ================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 3rem 2rem;
  background: linear-gradient(rgba(13,27,42,0.8), rgba(13,27,42,0.8)), url('/assets/img/header-image.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: left;
  animation: fadeIn 1.2s ease;
}

.hero-text {
  flex: 1 1 45%;
  animation: slideIn 1.5s ease;
}

.hero-text h2 {
  font-size: 2.7rem;
  margin-bottom: 1rem;
}

.hero-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* ================= SECTIONS ================= */
.section {
  padding: 4rem 2rem;
  text-align: center;
  background-color: var(--light-bg);
  animation: fadeUp 1s ease;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

/* ================= SERVICES ================= */
#services h1.card-header {
  text-align: center;
  font-weight: 700;
  color: #0b3c6f;
  margin-bottom: 40px;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

#services p {
    font-size: 1.1rem;
    text-align: left;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--primary-color);
  margin-bottom: 0.7rem;
}

/* ================= ABOUT ================= */
#about h1.card-header {
  text-align: center;
  font-weight: 700;
  color: #0b3c6f;
  margin-bottom: 40px;
}

#about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  font-size: 1.1rem;
}

#about p {
    text-align: left;
}

/* ================= WHY US ================= */
.why-us {
  background-color: white;
  background-image: url('/assets/img/background-1.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
  padding: 4rem 2rem;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13,27,42,0.8);
  border-radius: inherit;
}

.why-us h2, .why-grid { 
  position: relative; 
  z-index: 2; 
  color: white;
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.why-item {
  flex: 1 1 250px;
  background-color: rgba(255,255,255,0.1);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 5px solid var(--accent-color);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease;
  text-align: left;
}

.why-item:hover {
  transform: translateY(-5px);
}

/* ================= FOOTER ================= */
#footer {
    font-size: 14px;
    background: var(--primary-color);
  }
  
  #footer .footer-newsletter {
    padding: 50px 0;
    background: #f3f5fa;
    text-align: center;
    font-size: 15px;
    color: #444444;
  }
  
  #footer .footer-newsletter h4 {
    font-size: 24px;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1;
    font-weight: 600;
    color: #37517e;
  }
  
  #footer .footer-newsletter form {
    margin-top: 30px;
    background: #fff;
    padding: 6px 10px;
    position: relative;
    border-radius: 50px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.06);
    text-align: left;
  }
  
  #footer .footer-newsletter form input[type=email] {
    border: 0;
    padding: 4px 8px;
    width: calc(100% - 100px);
  }
  
  #footer .footer-newsletter form input[type=submit] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border: 0;
    background: none;
    font-size: 16px;
    padding: 0 20px;
    background: #47b2e4;
    color: #fff;
    transition: 0.3s;
    border-radius: 50px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  }
  
  #footer .footer-newsletter form input[type=submit]:hover {
    background: #209dd8;
  }
  
  #footer .footer-top {
    padding: 60px 0 30px 0;
    background: #fff;
  }
  
  #footer .footer-top .footer-contact {
    margin-bottom: 30px;
  }
  
  #footer .footer-top .footer-contact h3 {
    font-size: 28px;
    margin: 0 0 10px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 600;
    color: #37517e;
  }
  
  #footer .footer-top .footer-contact p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: "Jost", sans-serif;
    color: #5e5e5e;
  }
  
  #footer .footer-top h4 {
    font-size: 16px;
    font-weight: bold;
    color: #37517e;
    position: relative;
    padding-bottom: 12px;
  }
  
  #footer .footer-top .footer-links {
    margin-bottom: 30px;
  }
  
  #footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  #footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: #47b2e4;
    font-size: 18px;
    line-height: 1;
  }
  
  #footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
  }
  
  #footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
  }
  
  #footer .footer-top .footer-links ul a {
    color: #777777;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
  }
  
  #footer .footer-top .footer-links ul a:hover {
    text-decoration: none;
    color: #47b2e4;
  }
  
  #footer .footer-top .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #47b2e4;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
  }
  
  #footer .footer-top .social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
  }
  
  #footer .footer-bottom {
    padding-top: 30px;
    padding-bottom: 30px;
    color: #fff;
  }
  
  #footer .copyright {
    float: left;
  }
  
  #footer .credits {
    float: right;
    font-size: 13px;
  }
  
  #footer .credits a {
    transition: 0.3s;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
  }

  #footer .credits a span{
    color: #a3a3a3;
  }

  #footer .credits a span:hover{
    color: #ffffff;
  }

  #footer .credits a:hover {
    color: #a3a3a3;
  }

  #footer a {
    text-decoration: none;
  }
  
  @media (max-width: 768px) {
    #footer .footer-bottom {
      padding-top: 20px;
      padding-bottom: 20px;
    }
  
    #footer .copyright,
    #footer .credits {
      text-align: center;
      float: none;
    }
  
    #footer .credits {
      padding-top: 4px;
    }
  }
}

/* ================= CONTACT ================= */
.contact_us {
  padding: 30px 20px;
  animation: fadeInUp 1s ease;
}

#contact_us_section {
  max-width: 100%;
  margin: auto;
  padding: 40px;
}

#contact_us_section h1.card-header {
  text-align: center;
  font-weight: 700;
  color: #0b3c6f;
  margin-bottom: 40px;
}

#contact_us_section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

#contact_us_section a {
  display: block;
  margin-bottom: 10px;
  color: #0b3c6f;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

#contact_us_section a:hover {
  color: #F5A623;
}

.contact_us_form input,
.contact_us_form textarea {
  font-size: 1rem;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
}

.contact_us_form input:focus,
.contact_us_form textarea:focus {
  border-color: #0b3c6f;
  box-shadow: 0 0 8px rgba(26, 115, 232, 0.3);
}

.contact_us_form button {
  background-color: #0b3c6f;
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.contact_us_form button:hover {
  background-color: #1a73e8;
  transform: translateY(-2px);
}

.contact_us iframe {
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact_us .phones {
  padding-top: 30px;
  padding-bottom: 30px;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= MEDIA QUERIES ================= */
@media (max-width: 1200px) {
  .hero-text h2 { font-size: 2.4rem; }
}

@media (max-width: 992px) {
  header { flex-direction: column; gap: 1rem; }
  nav ul { flex-direction: column; gap: 1rem; }
  .hero { flex-direction: column; text-align: center; padding: 2rem 1rem; }
  .hero-text { flex: 1 1 100%; }
  .hero-text h2 { font-size: 2rem; }
  .hero-text p { font-size: 1rem; }
  .why-grid { flex-direction: column; gap: 1.5rem; }
  .contact_us .phones { padding: 20px; }
}

@media (max-width: 576px) {
  .hero-text h2 { font-size: 1.8rem; }
  .section h2 { font-size: 1.6rem; }
  .card { padding: 1.5rem; }
  .contact_us { padding: 20px 10px; }
  #contact_us_section { padding: 20px; }
  .contact_us_form input, .contact_us_form textarea { font-size: 0.9rem; }
  .contact_us_form button { padding: 8px 16px; font-size: 0.9rem; }
}

/* ================= WHATSAPP BUTTON ================= */
.whatsapp-button .float{
	position:fixed;
	width:46px;
	height:46px;
	bottom:15px;
	right:20px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
    font-size:30px;
	box-shadow: 2px 2px 3px #999;
    z-index:100;
}

.whatsapp-button .bounce {
    animation: bounce 2s infinite;
}

.whatsapp-button .bounce:hover {
  animation: none;
  background-color:rgb(43, 240, 115);
}

.whatsapp-button .center{
  margin-left: auto;
  margin-right: auto;
  display: block !important;
} 

@keyframes bounce {
    0%,
    25%,
    50%,
    75%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-12px);
    }
}
/*----------------------*/