/*
Theme Name: Fortex Insurance
Theme URI: https://fortexinsurance.com
Description: Corporate insurance theme for Fortex.
Version: 1.0
*/
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: white;
  color: #333;
}

header {
  position: sticky;
  top: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 10;
  flex-wrap: wrap;
}

.logo img {
  height: 130px;
  object-fit: contain;
  margin-right: 0px;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #003366;
  font-weight: 1000;
  font-size: 1.3rem; 
}


.cta-buttons .btn {
  background: #003366;
  color: white;
  padding: 10px 16px; 
  font-size: 1.3rem; 
  border-radius: 4px;
  text-decoration: none;
  margin-left: 20px;
}

.btn.call {
  background: #0099cc;
}

.slide::before 
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.caption {
  position: absolute;
  z-index: 2;
  bottom: 40%;
  left: 30%;
  color: white;
  text-shadow: none;
}
.slider-container {
  position: relative;
  max-width: 100%;
  height: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: filter 0.5s ease;
}
.slide.active img {
  filter: brightness(1) saturate(1);
}
.slide.active {
  opacity: 1;
}
.caption {
  position: absolute;
  bottom: 35%;
  left: 8%;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.caption h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.caption p {
  font-size: 1.4rem;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 28px;
  padding: 10px 16px;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 10;
}

.nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.nav.prev { left: 15px; }
.nav.next { right: 15px; }


#about {
  padding: 60px 20px;
  background-color: #ffffff;
}

.about-header {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.about-header img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-header h2 {
  font-size: 2.2rem;
  color: #003366;
  margin-bottom: 15px;
}

.about-header p {
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 0 20px;
}

#services {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.services-header {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.services-header img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.services-header h2 {
  font-size: 1.8rem;
  color: #003366;
  margin-bottom: 15px;
}

.services-header p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 0 20px;
  text-align: justify;
}

.service-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 20px;
}

.service-card {
  flex: 1 1 280px;
  max-width: 420px;
  background-color: #ffffff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #003366;
}

.service-card p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  text-align: justify;
  color: #333;
}

#partners {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

#partners img:first-of-type {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#partners h2 {
  font-size: 1.8rem; 
  color: #003366;
  margin-bottom: 15px;
}

#partners .section-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  padding: 0 20px;
  text-align: justify;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.partner-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 40px 20px;
}

.partner-card {
  width: 280px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.image-wrapper {
  width: 300px;
  height: 300px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.partner-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.partner-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem; 
  color: #003366;
  font-weight: 700;
}

.partner-card p {
  font-size: 1rem;  
  line-height: 1.6;
  color: #333;
  text-align: justify;
}

#contact h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 30px;
  color: #003366;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
}

form input,
form textarea {
  margin: 10px 0;
  padding: 12px;
  border: 1px solid #ccc;
  font-size: 1rem;
  border-radius: 6px;
}

form button {
  padding: 12px;
  background: #003366;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.contact-info p {
  margin: 15px 0;
}

.contact-info i {
  margin-right: 10px;
  color: #0099cc;
}


footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 1.6rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #0099cc;
}


@media (max-width: 768px) {
  .slider-container {
    height: 300px;
  }

  .nav {
    font-size: 22px;
    padding: 8px 12px;
  }

  .caption h2 {
    font-size: 1.4rem;
  }

  .caption p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .service-card {
    width: 90%;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
  }
}
