@font-face {
  font-family: 'Liberation Sans';
  src: url('/shaddai/fonts/LiberationSans-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

.navbar-brand {
  font-family: 'Liberation Sans', sans-serif;
  font-weight: bold;
}

.navbar {
transition: all 0.3s ease-in-out;
padding: 20px 0;
background-color: rgba(255, 255, 255, 0.9);
}


.navbar.scrolled {
padding: 10px 0;
background-color: white !important;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar-nav .nav-link:hover {
  background-color: rgba(0, 74, 173, 0.1);
  color: #004aad !important;
}


.box {
padding: 60px 0;
border-bottom: 1px solid #e5e5e5;
}	

.card {
background-color: #004aad;
}


.navbar-nav .nav-link.active {
background-color: #004aad !important;
color: white !important;
border-radius: 5px;
transition: background-color 0.3s ease;
}

.navbar-nav .nav-link {
transition: background-color 0.3s ease, color 0.3s ease;
}

.position-absolute {
background: rgba(0, 0, 0, 0.5);
}

#home .text-white {
font-weight: bold;
}

body {
padding-top: 80px;
}

.section {
  min-height: 100vh;
  padding-top: 100px; 
}

/* Section Background */
.sobre-section {
  background: linear-gradient(135deg, #29068b, #1b045f);
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 60px 0;
  color: white; 
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Cards */
.value-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  height: 100%; 
  margin-bottom: 20px; /* Add bottom margin for better spacing on mobile */
}

/* Only apply hover effects on devices that support hover */
@media (hover: hover) {
  .value-card {
    transition: transform 0.3s ease-in-out;
  }
  
  .value-card:hover {
    transform: translateY(-10px);
  }
}

/* Additional mobile-specific adjustments */
@media (max-width: 767.98px) {
  .value-card {
    margin-bottom: 15px; /* Slightly reduced margin for very small screens */
    height: auto; /* Let height be determined by content on mobile */
    min-height: 150px; /* Set a minimum height for consistency */
  }
  
  /* Make cards in the same row have equal heights */
  .row {
    display: flex;
    flex-direction: column;
  }
}

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

/* Icons */
.icon {
  font-size: 40px;
  color: #004aad;
  margin-bottom: 15px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 120px; 
}

.logo-shaddai {
  height: 235px;
  width: auto;
  display: block;
  margin-right: 20px;
}

@media (max-width: 1024px) {
  .navbar-brand {
    justify-content: flex-start !important;
  }

  .logo-shaddai {
    height: 200px;
    margin-right: 10px;
  }

  .navbar-text {
    font-size: 1rem; 
  }
}

@media (max-width: 768px) {
  .navbar-brand {
    justify-content: flex-start !important;
  }

  .logo-shaddai {
    height: 150px;
    margin-right: 10px;
  }

  .navbar-text {
    font-size: 1rem; 
  }
}

@media (max-width: 425px) {
  .logo-shaddai {
    height: 120px;
  }
}

@media (max-width: 320px) {
  .logo-shaddai {
    height: 100px;
  }
}




/* Navbar Text */
.navbar-text {
  font-family: 'Liberation Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: black !important; /* Ensure text stays black */
  white-space: nowrap;
  margin-left: 10px;
}

/* Hide Navbar Text on Small Screens */
@media (max-width: 1024px) {
  .navbar-text {
    display: none; /* Hides brand text on tablets and phones */
  }

  .navbar {
    padding: 10px 0; /* Reduce padding for smaller screens */
  }
}

/* Navbar Collapse (Mobile View) */
@media (max-width: 1024px) {
  .navbar-collapse {
    /* background: white; */
    padding: 10px;
  }
  
  /* Center Navbar Items */
  .navbar-nav .nav-item {
    text-align: center;
    padding: 10px 0;
  }
}

/* Background and Section Styles */
.servicos-section {
  background: #f8f9fa; /* Light gray background */
  padding: 80px 0;
  text-align: center;
}

/* Section Title & Subtitle */
.servicos-section .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.servicos-section .section-subtitle {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-bottom: 40px;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  margin-bottom: 20px;
  
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Service Icons */
.service-card .icon {
  font-size: 50px;
  color: #004aad; /* Shaddai Blue */
  margin-bottom: 15px;
}

/* Background and Section Styles */
.contato-section {
  background: #29068b; /* Deep blue background */
  padding: 80px 0;
  text-align: center;
  color: white; /* Ensures readability */
}

/* Section Title & Subtitle */
.contato-section .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.contato-section .section-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

/* Contact Cards */
.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  margin-bottom: 20px;
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  height: 100%; 
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Contact Icons */
.contact-card .icon {
  font-size: 50px;
  color: #004aad; /* Shaddai Blue */
  margin-bottom: 15px;
}

/* Contact Links */
.contact-link {
  font-size: 1.2rem;
  font-weight: bold;
  color: #004aad;
  text-decoration: none;
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
}



.contact-link:hover {
  text-decoration: underline;
}

/* Footer Styling */
.footer {
  background: white; /* Deep blue, same as your theme */
  color: black;
  padding: 40px 0;
  font-size: 1rem;
}

.footer h5 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer p {
  margin: 5px 0;
}

/* Footer Links */
.footer a {
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #f8b400; /* Yellow Highlight on Hover */
}

/* Shamslux Branding */
.shamslux-link {
  font-size: 1.3rem;
  font-weight: bold;
  color: black;
  background: linear-gradient(to right, #f8b400, #ff5733);
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.shamslux-link:hover {
  color: white;
  background: linear-gradient(to right, #ff5733, #f8b400);
}

/* Copyright Section */
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 20px;
  padding-top: 15px;
  font-size: 0.9rem;
}

/* Ensure the contact cards stack properly at 1024px and below */
@media (max-width: 1024px) {
  .row.mt-4 {
    flex-wrap: wrap; /* Ensures proper wrapping */
    justify-content: center; /* Centers the items */
  }
  
  .contact-card {
    margin-bottom: 20px; /* Adds spacing between cards */
    max-width: 90%; /* Prevents overflow by reducing card width */
  }

  .col-md-4 {
    flex: 0 0 50%; /* Each card takes 50% of the width */
    max-width: 50%; 
  }
}

/* Further adjust for 768px screens (stacking in full width) */
@media (max-width: 768px) {
  .col-md-4 {
    flex: 0 0 100%; /* Makes each card take full width */
    max-width: 100%;
  }

  .contact-card {
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
}
/* Ensure cards have proper vertical spacing for 1024px and 768px screens */
@media (max-width: 1024px) {
  .row {
    row-gap: 30px; /* Adds spacing between rows */
  }

  .col-md-4 {
    margin-bottom: 30px; /* Adds space between stacked cards */
  }

  .value-card, 
  .contact-card, 
  .service-card {
    padding: 20px; /* Ensures internal spacing */
  }
}

@media (max-width: 375px) {
  .contact-card {
    max-width: 95%; /* Limits the card width */
    margin: 0 auto 20px auto; /* Centers and adds spacing */
    word-wrap: break-word; /* Ensures long words break */
    overflow-wrap: break-word; /* Ensures overflow handling */
  }

  .contact-link {
    display: block; /* Forces the email/phone number to stay inside the card */
    font-size: 0.9rem; /* Slightly reduces text size for small screens */
    word-break: break-word; /* Ensures long words break correctly */
  }

  .row {
    justify-content: center; /* Centers cards properly */
    row-gap: 20px; /* Adds space between stacked cards */
  }
}

/* Special Fix for 320px Screens */
@media (max-width: 320px) {
  .contact-card {
    max-width: 100%; /* Uses full width to prevent overflow */
    padding: 15px; /* Reduces padding for smaller screens */
  }

  .contact-link {
    font-size: 0.85rem; /* Slightly smaller font for very narrow screens */
  }
}














