body,
html,
div {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* main {
  padding-top: 10px; 
} */

body {
  font-family: "Roboto", sans-serif;
}

/* Nav bar */
.navbar-nav .nav-link {
  font-size: 1.25rem;
  font-weight: 500;
  padding-left: 1rem;
  padding-right: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover {
  color: red;
  transform: scale(1.1);
  transition: color 0.1s ease, transform 0.3s ease;
}

.navbar-nav .nav-link.active {
  color: red;
  font-weight: bold;
  border-bottom: 2px solid red;
}

/* Hero Section */
.swiper-container {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: transform 1s ease, opacity 1s ease;
}

.slide-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.slide-image-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.slide-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 1.5s ease;
  opacity: 0.85;
  filter: brightness(0.8) saturate(1.2);
}

.swiper-slide-active .slide-content img {
  transform: scale(1.03);
}

.slide-overlay {
  position: relative;
  z-index: 20;
  text-align: center;
  padding: 30px;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slide-title {
  color: white;
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  animation: fadeInUp 1s ease forwards;
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
}

.slide-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeInUp 1.5s ease forwards;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn {
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  text-transform: uppercase;
  font-size: 1.1rem;
  border-radius: 0 !important; /* Square buttons */
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-danger {
  background: #e63946;
  border-color: #e63946;
}

.btn-danger:hover {
  background: #c1121f;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid white;
}

.btn-outline-light:hover {
  background: rgba(230, 57, 70, 0.9) !important; /* Red on hover */
  border-color: #e63946 !important;
  color: white !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: white;
  z-index: 30;
  width: 55px;
  height: 55px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(230, 57, 70, 0.7);
  transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.5rem;
  font-weight: bold;
}

.swiper-button-next {
  right: 30px;
}

.swiper-button-prev {
  left: 30px;
}

.swiper-pagination {
  bottom: 20px !important;
}

.swiper-pagination-bullet {
  background: white;
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #e63946;
  opacity: 1;
  transform: scale(1.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content section */
.content-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 60px auto;
  text-align: center;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
  color: #1d3557;
}

.content-section p {
  font-size: 1.2rem;
  color: #457b9d;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card i {
  font-size: 3rem;
  color: #e63946;
  margin-bottom: 20px;
}

.feature-card h3 {
  color: #1d3557;
  margin-bottom: 15px;
}

.feature-card p {
  color: #457b9d;
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .swiper-container {
    height: 75vh;
  }

  .slide-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 992px) {
  .swiper-container {
    height: 70vh;
  }

  .slide-overlay {
    width: 80%;
    padding: 25px;
  }

  .slide-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .swiper-container {
    height: 65vh;
  }

  .slide-overlay {
    width: 90%;
    padding: 20px;
  }

  .slide-title {
    font-size: 2rem;
  }

  .slide-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 45px;
    height: 45px;
  }

  .swiper-button-next {
    right: 15px;
  }

  .swiper-button-prev {
    left: 15px;
  }
}

@media (max-width: 576px) {
  .swiper-container {
    height: 60vh;
    border-radius: 0 0 15px 15px;
  }

  .slide-overlay {
    width: 95%;
    padding: 15px;
  }

  .slide-title {
    font-size: 1.7rem;
    margin-bottom: 20px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

#contact input:focus,
#contact textarea:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.contact-link {
  color: #dc3545 !important;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-link:hover {
  text-decoration: underline;
  color: #a71d2a !important;
}

.card {
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease-in-out;
}

.team-photo {
  font-size: 6rem;
  color: #dc3545;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.card-title {
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.5rem;
}

.text-muted {
  color: #6c757d !important;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.card-body p {
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.btn-outline-secondary {
  border-color: #dc3545;
  color: #dc3545;
  font-size: 0.85rem;
  padding: 0.3rem 0.5rem;
}

.btn-outline-secondary:hover {
  background-color: #dc3545;
  color: #fff;
  border-color: #dc3545;
}

.accordion-button:not(.collapsed) {
  background-color: #dc3545;
  color: #fff;
  font-weight: bold;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: #dc3545;
}

.accordion-button.collapsed:hover {
  background-color: #f8d7da;
  color: #dc3545;
}

.accordion-body {
  background-color: #fff5f5;
  border-top: 2px solid #dc3545;
  padding: 1rem 1.25rem;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.btn-outline-dark {
  transition: all 0.2s ease-in-out;
}
.btn-outline-dark:hover {
  background-color: #dc3545;
  color: white;
  border-color: #dc3545;
}

.portfolio-img {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-height: 250px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.portfolio-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

footer a:hover {
  color: #dc3545 !important;
  text-decoration: underline;
}
