body, html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}

html {
  font-size: 100%;
}

@media (max-width: 900px) {
  html {
    font-size: 93.75%;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 87.5%;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 81.25%;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.125rem;
  }
  h4, h5, a {
    font-size: 1rem;
  }
  p, p.intro {
    font-size: 0.875rem;
  }
  hr {
    width: 3.125rem;
  }
}

h2, h3, h4 {
  font-family: "Raleway", sans-serif;
}

h2 {
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  font-weight: 800;
  font-size: 2.25rem;
  color: #333;
}

h3 {
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

h4 {
  font-size: 1.125rem;
  color: #333;
  font-weight: 600;
}

h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.25rem;
}

p {
  font-size: 0.9375rem;
}

p.intro {
  margin: 0.75rem 0 0;
  line-height: 1.5rem;
}

a {
  color: #608dfd;
  font-weight: 400;
}

a:hover, a:focus {
  text-decoration: none;
  color: #608dfd;
}

ul, ol {
  list-style: none;
  padding: 0;
}

hr {
  height: 2px;
  width: 4.375rem;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 1.25rem;
  border: 0;
}

/* Navigation */
#menu {
  padding: 20px;
  transition: all 0.8s;
}
#menu.navbar-default {
  background-color: #fff;
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
#menu a.navbar-brand {
  margin-top: 0;
  padding-top: 0;
  display: block;
  position: absolute;
}
#menu.navbar-default .navbar-nav > li > a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
}
#menu.navbar-default .navbar-nav > li > a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #839bb4 0%, #1d4364 100%);
  content: "";
  transition: width 0.2s;
}
#menu.navbar-default .navbar-nav > li > a:hover:after {
  width: 100%;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
}
.navbar-default .navbar-nav > .active > a:after,
.navbar-default .navbar-nav > .active > a:hover:after,
.navbar-default .navbar-nav > .active > a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #839bb4 0%, #1d4364 100%) !important;
  content: "" !important;
  transition: width 0.2s !important;
}
.navbar-toggle {
  border-radius: 0;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #608dfd;
}
.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #608dfd;
}

.logo{
  margin-top: 0 !important;
}

.section-title {
  margin-bottom: 70px;
}
.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right,  #1d4364 0%, #839bb4 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
.section-title p {
  font-size: 18px;
}
.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #1d4364;
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #839bb4;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}

@media (min-width: 700px) and (max-width: 991px) {
  .navbar .logo {
    max-height: 40px; /* smaller logo for medium screens */
  }
  #menu.navbar-default .navbar-nav > li > a {
    padding: 10px 0.1px; /* smaller padding */
    font-size: 0.75rem; /* smaller font size */
  }
}

/* Header Section */
.intro {
  display: table;
  width: 100%;
  padding: 0;
  background: url(../img/AboutUs.jpeg) center center no-repeat;
  background-color: #e5e5e5;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}
.intro .overlay {
  background: rgba(0, 0, 0, 0.2);
}
.intro h1 { 
  font-family: "Raleway", sans-serif;
  color: #fff;
  font-size: 5.125rem; /* 82px to rem */
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0.625rem; /* 10px to rem */
}
.intro h1 span {
  font-weight: 800;
  color: #1d4364;
}
.intro p {
  color: #fff;
  font-size: 1.375rem; /* 22px to rem */
  font-weight: 300;
  line-height: 1.875rem; /* 30px to rem */
  margin: 0 auto;
  margin-bottom: 3.75rem; /* 60px to rem */
}
header .intro-text {
  padding-top: 25rem; /* 400px to rem */
  padding-bottom: 9.375rem; /* 150px to rem */
  text-align: center;
}

/* Features Section */
#features {
  background: #f6f6f6;
  padding: 3rem;
}
#features i.fa {
  font-size: 2.375rem; /* 38px to rem */
  margin-bottom: 1.25rem;
  color: #fff;
  width: 6.25rem; /* 100px to rem */
  height: 6.25rem; /* 100px to rem */
  padding: 1.875rem 0; /* 30px to rem */
  border-radius: 50%;
  background: linear-gradient(to right, #839bb4 0%, #1d4364 100%);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}

/* About Section */
#about {
  padding: 3.125rem 0; /* 50px to rem */
  font-family: Arial, sans-serif;
}
#about .container {
  text-align: justify;
}
#about h3 {
  font-size: 1.375rem; /* 22px to rem */
}
#about h2 {
  position: relative;
  margin-top: 2.5rem; /* 40px to rem */
  margin-bottom: 0.9375rem; /* 15px to rem */
  padding-bottom: 0.9375rem; /* 15px to rem */
}
#about h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #1d4364 0%, #839bb4 100%);
  height: 0.25rem; /* 4px to rem */
  width: 3.75rem; /* 60px to rem */
  bottom: 0;
  left: 0;
}
#about .about-text li {
  margin-bottom: 0.375rem; /* 6px to rem */
  margin-left: 0.375rem; /* 6px to rem */
  list-style: none;
  padding: 1.875rem; /* 30px to rem */
}
#about img {
  max-width: 100%; /* Responsive image */
  height: auto;
  margin-top: 0.625rem; /* 10px to rem */
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}
#about p {
  line-height: 1.5rem; /* 24px to rem */
  margin: 1.875rem 0; /* 30px to rem */
}
#about .section {
  display: flex;
  align-items: flex-start;
  margin-top: 3.125rem; /* 50px to rem */
}
#about .title-area {
  flex-basis: 20%;
  flex-shrink: 0;
  text-align: center;
}
#about .title-area h3 {
  margin: 0;
  padding: 1.25rem 0; /* 20px to rem */
  font-size: 1.875rem; /* 30px to rem */
  color: #333;
  display: block;
  font-weight: bold;
}
#about .content-area {
  flex-grow: 1;
  background-color: #fff;
  padding: 0.9375rem; /* 15px to rem */
  border: 1px solid #bdc3c7;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}
#about .content-area p, #about .content-area ul {
  margin: 0;
}
#about .content-area ul {
  list-style: none;
  padding-left: 0;
}
#about .content-area ul li {
  margin-bottom: 0.3125rem; /* 5px to rem */
  position: relative;
  padding-left: 1.25rem; /* 20px to rem */
}
#about .content-area ul li:before {
  content: "\2022";
  color: #3498db;
  font-size: 1.25rem; /* 20px to rem */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Adjustments for devices up to 768px wide */
@media (max-width: 768px) {
  .intro h1 {
    font-size: 4rem; /* Slightly reduced for tablet screens */
  }
  .intro p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  #header .intro-text {
    padding-top: 15rem;
    padding-bottom: 4.5rem;
  }
  #features i.fa {
    font-size: 1.5rem;
    width: 4rem;
    height: 4rem;
    padding: 1rem 0;
  }
  #features h3 {
    font-size: 1rem;
  }
  #about img {
    width: 100%; /* Ensure images are fully responsive */
  }
}

/* Adjustments for devices up to 900px wide */
@media (max-width: 900px) {
  .intro h1 {
    font-size: 4.5rem; /* A slight adjustment from smaller screens */
  }
  .intro p, #features h3 {
    font-size: 1.125rem;
  }
  #features i.fa{
    padding-top: 0rem;
    padding-bottom: 0rem;
    margin-left: 4rem;
  }
  
  #header .intro-text {
    padding-top: 20rem;
    padding-bottom: 4rem;
  }
  #features i.fa {
    font-size: 1.75rem;
    width: 4.5rem;
    height: 4.5rem;
    padding: 1.25rem 0;
  }
}

/* Adjustments for devices up to 480px wide */
@media (max-width: 480px) {
  .intro h1 {
    font-size: 3rem; /* Optimal size for very small devices */
    padding: 0.5rem 0;
  }
  .intro p {
    font-size: 1.2rem;
  }
  #header .intro-text {
    padding-top: 25rem;
    padding-bottom: 8.5rem;
  }
  #features .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
  }
  
  #features .col-xs-6 {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
    justify-content: center; /* Center children vertically */
  }
  

  #features i.fa {
    font-size: 2rem; /* Smaller icon size */
    width: 5rem;
    height: 5rem;
    margin:1rem;
  }

  #features h3 {
    justify-content: baseline;
    font-size: 0.8rem; /* Ensures text is centered */
  }
  
  #features {
    padding:2rem;
    margin:0;
  }

  #header a {
    font-size: 0.8rem;
  }

  #about img{
    width: 100%; /* Slightly less than full width for some margin */
  }
}


/* Semblanza Section */
#semblanza {
  padding: 1.875rem 0 4.375rem; /* 30px top, 70px bottom to rem */
  font-family: Arial, sans-serif;
}

#semblanza .container {
  text-align: justify;
}

#semblanza h3 {
  font-size: 1.375rem; /* 22px to rem */
}

#semblanza h2 {
  position: relative;
  margin-top: 0.625rem; /* 10px to rem */
  margin-bottom: 0.9375rem; /* 15px to rem */
  padding-bottom: 0.9375rem; /* 15px to rem */
}

#semblanza h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #1d4364 0%, #839bb4 100%);
  height: 0.25rem; /* 4px to rem */
  width: 3.75rem; /* 60px to rem */
  bottom: 0;
  left: 0;
}

#semblanza .about-text li {
  margin-bottom: 0.375rem; /* 6px to rem */
  margin-left: 0.375rem; /* 6px to rem */
  list-style: none;
}

#semblanza .about-text {
  display: inline-block;
}

#semblanza .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #1d4364;
  font-size: 0.6875rem; /* 11px to rem */
  font-weight: 300;
  padding-right: 0.5rem; /* 8px to rem */
}

#semblanza img {
  max-width: 100%; /* Responsive image setup */
  height: auto;
  margin-top: 0.625rem; /* 10px to rem */
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}

#semblanza p {
  line-height: 1.5rem; /* 24px to rem */
  margin: 1.875rem 0; /* 30px to rem */
}

.timeline {
  position: relative;
  height: 200px;
  width: 100%;
  padding: 20px 0;
  overflow-x: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline::before {
  content: '';
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: #3498db;
  top: 50%;
  left: 0;
}

.timeline-item {
  position: relative;
  padding: 0 20px; /* Space between items */
  flex-shrink: 0;
  width: 180px; /* Fixed width for each item */
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-item.top .timeline-content {
  position: absolute;
  top: -80px; /* Adjust top value based on content size */
  text-align: center;
  width: 100%; /* Ensures text wraps within the defined width */
}

.timeline-item.bottom .timeline-content {
  position: absolute;
  bottom: -80px; /* Adjust bottom value based on content size */
  text-align: center;
  width: 100%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #4A90E2;
  border-radius: 50%;
}

.timeline-content {
  background-color: #f9f9f9;
  padding: 5px 10px;
  border-radius: 3px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #semblanza h3, #semblanza h2, #semblanza .title-area h3 {
    font-size: 1.3rem; /* Further reduce font size */
  }
  #semblanza .content-area ul li:before {
    font-size: 1.3rem; /* Further adjust bullet point size */
  }

  #semblanza p, #semblanza .content-area p {
    font-size: 1rem; /* Further adjust paragraph text for readability */
  }
  #semblanza .section, #semblanza .title-area, #semblanza .content-area {
    padding: 0.5rem; /* Adjust padding for a tighter layout */
  }
  #semblanza img {
    width: 100%; /* Full width images for narrow screens */
  }
  .timeline {
    height: auto; /* Allow flexible height */
    flex-direction: column; /* Stack timeline items vertically */
    align-items: flex-start; /* Align items to the start */
  }

  .timeline::before {
    height: 100%;
    width: 2px; /* Make the line vertical */
    top: 0;
    left: 50%; /* Center the line */
  }

  .timeline-item {
    width: 100%; /* Full width for each item */
    justify-content: flex-start; /* Align content to start */
    padding: 10px 0; /* Padding top and bottom for spacing */
  }

  .timeline-item::before {
    top: 10px; /* Position dot at the top of the item */
    left: calc(50% - 5px); /* Center dot relative to the line */
    transform: none;
  }

  .timeline-item.top .timeline-content,
  .timeline-item.bottom .timeline-content {
    position: relative;
    top: 0;
    bottom: 0;
    left: 5%; /* Offset text from the center line */
    width: 90%; /* Reduced width */
    text-align: left; /* Align text left */
  }

  .timeline-content {
    padding: 8px; /* Padding within content boxes */
    font-size: 0.8rem; /* Adjust font size */
  }
}

@media (max-width: 480px) {
  #semblanza h3, #semblanza .title-area h3 {
    font-size: 1rem; /* Smallest screen font size adjustment */
    padding-top: 10px;
  }

  #semblanza h2{
    font-size: 2.25rem;
  }

  #semblanza .about-text li {
    font-size: 1rem; /* Further adjust bullet point size */
    font-family: sans-serif;
  }
  #semblanza .content-area ul li:before {
    font-size: 1rem; /* Adjust for very small screens */
  }
  #semblanza p, #semblanza .content-area p {
    font-size: 1rem; /* Smallest text size for paragraphs */
  }
  #semblanza .section {
    flex-direction: column; /* Stack elements vertically */
  }
  #semblanza img {
    width: 100%; /* Ensure images are fully responsive */
  }
  .timeline-item {
    padding: 8px 0; /* Smaller padding */
  }

  .timeline-content {
    font-size: 1rem; /* Even smaller font size for readability */

  }
}


/* Services Section */

#services {
  padding: 6.25rem 0; /* 100px/16px base font size */
  background: #1d4364;
  color: #fff;
}
#services .service-desc {
  margin: 0.625rem 0.625rem 1.25rem; /* 10px/16px base font size */
}
#services h2 {
  color: #fff;
}
#services .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 0.25rem; /* 4px/16px base font size */
  width: 3.75rem; /* 60px/16px base font size */
  bottom: 0;
  margin-left: -1.875rem; /* -30px/16px base font size */
  left: 50%;
}
#services i.fa {
  font-size: 2.625rem; /* 42px/16px base font size */
  width: 7.5rem; /* 120px/16px base font size */
  height: 7.5rem; /* 120px/16px base font size */
  padding: 2.5rem 0; /* 40px/16px base font size */
  background: linear-gradient(to right, #839bb4 0%, #1d4364 100%);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0.625rem 0.625rem 0.625rem rgba(0, 0, 0, 0.05); /* 10px/16px base font size */
}
#services h3 {
  font-weight: 500;
  padding: 0.3125rem 0; /* 5px/16px base font size */
  color: #fff;
}
#services p {
  color: rgba(255, 255, 255, 0.75);
}
#services .service-desc {
  margin-bottom: 2.5rem; /* 40px/16px base font size */
}

/* Flip card styles using rem units */
.flip-card {
  background-color: transparent;
  width: 18.75rem; /* 300px/16px base font size */
  height: 12.5rem; /* 200px/16px base font size */
  margin: 1.25rem; /* 20px/16px base font size */
  perspective: 62.5rem; /* 1000px/16px base font size */
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}
.flip-card-front {
  background-color: #1d4364;
  color: black;
}
.flip-card-back {
  background-color: #1d4364;
  color: white;
  transform: rotateY(180deg);
}

/* Media queries for tablets (medium devices) */
@media (max-width: 800px) { /* 1024px/16px base font size */
  #services {
    padding: 3.125rem 1.25rem;
  }
  #services i.fa {
    font-size: 3rem; /* 30px/16px base font size */
    width: 6rem; /* 80px/16px base font size */
    height: 6rem; /* 80px/16px base font size */
    align-content: center;
    margin: 1rem;/* 20px/16px base font size */
  }

  .flip-card {
    width: 13rem; /* 192px/16px base font size */
    height: 13rem;
    margin: 0rem 0rem 4rem; /* 128px/16px base font size */

  }
  #services h3{
    font-size:1.1rem;
  }

  .flip-card-inner {
    padding: 0.5rem; /* Reduced padding if necessary */
  }

  #services p{
    font-size: 0.9rem;
  }
}

/* Media queries for phones (small devices) */
@media (max-width: 48rem) { /* 768px/16px base font size */
 
  #services {
    padding: 1.5rem 1.25rem; /* 50px/16px base font size */
  }

  #services i.fa {
    font-size: 1.8rem; /* 24px/16px base font size */
    width: 4rem; /* 60px/16px base font size */
    height: 4rem;
    margin:1rem; /* 60px/16px base font size */
  }
  .section-title{
    margin-bottom: 0;
  }
 
  #services h2 {
    font-size: 1.3rem;
     
  }

  .flip-card {
    width: 10rem; /* 192px/16px base font size */
    height: 8rem; /* 128px/16px base font size */
    margin: 0rem 0rem 4rem; /* 10px/16px base font size */
  }

  #services h3{
    font-size: 0.8rem;
  }

  .flip-card-inner {
    padding: 0.5rem; /* Reduced padding if necessary */
  }

  #services p{
    font-size: 0.6rem;
  }

}



/* Portfolio Section */
#portfolio {
  padding: 100px 0;
}
.portfolio-item {
  margin: 1px -15px 0 -14px;
  padding: 0;
}
.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}
.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(
    to right,
    rgba(99, 114, 255, 0.8) 0%,
    rgba(92, 169, 251, 0.8) 100%
  );
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}
.hover-bg .hover-text > h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}
.hover-bg:hover .hover-text > h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.hover-bg:hover .hover-text {
  opacity: 1;
}



/* Testimonials Section */
#testimonials {
  padding: 100px 0;
  background: #f6f6f6;
}
#testimonials i {
  color: #e6e6e6;
  font-size: 32px;
  margin-bottom: 20px;
}
.testimonial {
  position: relative;
  padding: 20px;
}
.testimonial-image {
  float: left;
  margin-right: 15px;
}
.testimonial-image,
.testimonial-image img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.testimonial-content {
  position: relative;
  overflow: hidden;
}
.testimonial-content p {
  margin-bottom: 0;
  font-size: 14px;
  font-style: italic;
}
.testimonial-meta {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
}

/* Poliza Section */
#poliza{
  padding: 0px 0px 150px 0px;
}


#policy-types{
  padding: 100px 0;
}

.text-success {
  color: green;
}

.text-danger {
  color: red;
}


.accordion-item {
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
}

.accordion-title {
  padding: 15px;
  cursor: pointer;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-title h5 {
  margin: 0;
  font-size: 16px;
}

.fa {
  transition: transform 0.3s ease;
}

.open .fa {
  transform: rotate(-180deg);
}

.accordion-content {
  padding: 15px;
  line-height: 1.5;
  background-color: #fff;
  text-align: justify;
}

.requerimientos-heading {
  margin-top: 20px;
  font-weight: bold;
  font-size: 18px;
  color: #333;
}

.downloadables-intro {
  margin-top: 20px;
  font-style: italic;
  color: #666;
}

.accordion-content ul {
  padding-left: 20px;
}

.accordion-content li {
  list-style-type: disc;
  margin-bottom: 5px;
}

.accordion-content a {
  color: #007bff;
  text-decoration: none;
}

.accordion-content a:hover {
  text-decoration: underline;
}


.requerimientos-heading {
  font-weight: bold;
  font-size: 1em; 
}
.container-form {
  text-align: right; 
}

.google-form-link {
  display: inline-block;
  background-color: #3371a7; 
  color: white; 
  padding: 10px 10px;
  text-align: center; 
  text-decoration: none; 
  font-size: 12px; 
  margin: 4px 2px; 
  cursor: pointer; 
  border-radius: 5px; 
  min-width: 200px; /* Ensuring both buttons are the same size */
}

.google-form-link:hover {
  background-color: #1d4364;
  color: white;
}

.poliza-p {
  text-align: right;
  font-size: 18px; /* Larger font size */
  font-weight: bold; /* Bold text */
  margin: 0 0 10px; /* Adjust bottom margin to space out from the buttons */
}

@media (max-width: 48rem) { /* equivalent to 768px */
  .google-form-link {
    font-size: 0.8rem;
    min-width: 13rem;
  }
  #policy-types h3, #policy-types .title-area h3 {
    font-size: 1rem; /* Smallest screen font size adjustment */
    padding-top: 10px;
  }

  #policy-types h2{
    font-size: 2.25rem;
  }

  #policy-types p{
    font-size: 1rem;
  }

  #poliza h3, #poliza .title-area h3 {
    font-size: 1rem; /* Smallest screen font size adjustment */
    padding-top: 10px;
  }

  #poliza h2{
    font-size: 2.25rem;
  }

  #poliza p{
    font-size: 1rem;
  }

  .accordion-title h5 {
    font-size: 1rem;
  }

}
/* Alianza Section */

#alianza {
  justify-content: center;
  align-items: center;
  margin-bottom: 100px;
}

.section-title {
  text-align: center !important;
}

.carousel-slide img {
  width: 80%; /* Default width */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain !important;
  margin: auto; /* Center the image horizontally */
  display: block; /* Makes margin auto effective for centering */
}

.slick-slider {
  position: relative !important;
  width: 100% !important;
}

.slick-slide {
  height: auto !important;
  display: flex !important;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
}

@media (max-width: 48rem) { /* equivalent to 768px */
  .carousel-slide img {
    width: 60%; /* Reduced width on smaller screens */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain !important;
  }
}

/* Poliza Types Section */
#policy-types .table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem; /* equivalent to 16px */
  background-color: transparent;
}

#policy-types th, #policy-types td {

  padding: 0.5rem; /* equivalent to 8px, adjust as needed */
}

/* Responsive adjustments */
@media (max-width: 48rem) { /* equivalent to 768px */
  #policy-types .table th,
  #policy-types .table td {
    padding: 0.25rem; /* equivalent to 4px */
    font-size: 0.75rem; /* equivalent to 12px, adjust as needed */
  }

  /* For extra small screens, you can make the font size even smaller */
  #policy-types .table {
    font-size: 0.7rem; /* equivalent to 11px, adjust as needed */
  }
}

/* Contact Section */
#contact {
  padding: 60px 0 60px;
  background: #1d4364;
  color: rgba(255, 255, 255, 0.75);
}
#contact .section-title {
  margin-bottom: 40px;
}
#contact .section-title p {
  font-size: 16px;
}
#contact h2 {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 30px;
  display: none;
}
#contact h3 {
  color: #fff;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}
#contact form {
  padding-top: 20px;
}

@media (min-width: 992px) {
  #contact .col-md-8 {
    width: 100%;
  }
}

#contact .text-danger {
  color: #cc0033;
  text-align: left;
}
#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #fff;
}
#contact .btn-custom:hover {
  color: #1f386e;
  background: #fff;
}
label {
  font-size: 12px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  float: left;
}
#contact .form-control {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #444;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ddd;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
#contact .form-control:focus {
  border-color: #999;
  outline: 0;
  -webkit-box-shadow: transparent;
  box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
  color: #777;
}
.form-control:-moz-placeholder {
  color: #777;
}
.form-control::-moz-placeholder {
  color: #777;
}
.form-control:-ms-input-placeholder {
  color: #777;
}
#contact .contact-item {
  margin: 20px 0;
}
#contact .contact-item span {
  color: rgba(255, 255, 255, 1);
  margin-bottom: 10px;
  display: block;
}
#contact .contact-item i.fa {
  margin-right: 10px;
}
#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}
#contact .social ul li {
  display: inline-block;
  margin: 0 20px;
}
#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}
#contact .social i.fa:hover {
  color: #608dfd;
  background: #fff;
}

.row .col {
  width: 50%;
}

.social ul li {
  display: inline-block;
  text-align: center; 
}
.contact-item{
  text-align: center; 
}
.contact-item p {
  text-align: left; 
}
.contact-item-phone  {
  text-align: center; 

}
#contact h2{
  text-align: center; 
}
.contact-item span {
  display: block;
}
.contact-item-phone span {
  display: block;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 10px;
  margin: 20px 0;
}


 .contact-item-phone i.fa {
  margin-right: 10px;
}

#contact .row .col-md-6 {
  float: left;
  width: 50%;
}

.social i.fa {
  font-size: 20px;
  width: 35px;
  height: 35px;
  padding: 7px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
}

.social i.fa:hover {
  background: #608dfd;
}


/* Footer Section*/
#footer {
  background: #f6f6f6;
  padding: 30px 0;
}
#footer p {
  color: #888;
  font-size: 14px;
}
#footer a {
  color: #608dfd;
}
#footer a:hover {
  border-bottom: 2px solid #608dfd;
}

@media (max-width: 768px) {
  #about img {
    margin: 50px 0;
  }
}

.footer {
  background-color: #f8f9fa; /* Match to your footer background color */
  color: #6c757d; /* Match to your footer text color */
}

.footer .btn-outline-dark {
  color: #6c757d; /* Match to your theme */
  border-color: #6c757d; /* Match to your theme */
}

.footer .btn-outline-dark:hover {
  color: #fff; /* Change as per your theme */
  background-color: #6c757d; /* Match to your theme */
  border-color: #6c757d; /* Match to your theme */
}

.footer .fa {
  padding-right: 10px;
}


.footer .container {
  padding-top: 20px; 
  padding-bottom: 30px; 
}

.footer-menu {
  padding: 0;
  list-style: none;
}

.footer .col-md-4 {
  display: flex;
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
}

.footer-menu > li > a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  padding: 3px 2px;
  border-radius: 0;
  display: block;
  position: relative;
  margin: 1px 0;
}

.footer-menu > li > a:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #839bb4 0%, #1d4364 100%);
  transition: width 0.2s;
  opacity: 0;
}

.footer-menu > li > a:hover:after {
  width: 50%;
  opacity: 1;
}

.footer-menu > .active > a,
.footer-menu > .active > a:hover,
.footer-menu > .active > a:focus {
  background-color: transparent;
}

.footer-menu > .active > a:after,
.footer-menu > .active > a:hover:after,
.footer-menu > .active > a:focus:after {
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #839bb4 0%, #1d4364 100%) !important;
  opacity: 1 !important;
}
@media (min-width: 48rem) { /* 768px typically covers landscape phones and tablets */
  .footer .col-md-4 {
    flex: 0 0 33.333%;  /* Ensure each column takes up one-third of the footer */
    max-width: 33.333%; /* This should match the flex basis */
    display: flex;      /* Ensure that the flex properties are applied */
    align-items: center; /* Center items vertically within each column */
    justify-content: center; /* Center items horizontally within each column */
  }

  .footer-menu > li > a, .footer p {
    font-size: 0.75rem; /* Smaller font size for better fit */
  }

  .footer-logo img {
    height: 100px; /* Adjust logo size */
  }
}



/* Styles that only apply to xs devices */