body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}
h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #333;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}
h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}
h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}
p {
  font-size: 15px;
}
p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}
a {
  color: #608dfd;
  font-weight: 400;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}
ul,
ol {
  list-style: none;
}
ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}
hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}
/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.8s;
}
#menu.navbar-default {
  background-color: #fff;
  border: none;
  box-shadow: none;
}
#menu a.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
}
#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, #6372ff 0%, #5ca9fb 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, #6372ff 0%, #5ca9fb 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;
}
.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: #A8D5BA;
  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: #5ca9fb;
  background-image: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  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: #6372ff;
}
.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;
}
/* Header Section */
.intro {
  display: table;
  width: 100%;
  padding: 0;
  background: url(../img/site/Hero.jpg) 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: 82px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
}
.intro h1 span {
  font-weight: 800;
  color: #5ca9fb;
}
.intro-logo {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.intro-logo img {
  width: 160px;
  height: 160px;
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  display: block;
}
.intro p {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}
header .intro-text {
  padding-top: 220px;
  padding-bottom: 140px;
  text-align: center;
}
/* Features Section */
#features {
  background: #f6f6f6;
}
#features i.fa {
  font-size: 38px;
  margin-bottom: 20px;
  transition: all 0.5s;
  color: #fff;
  width: 100px;
  height: 100px;
  padding: 30px 0;
  border-radius: 50%;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}
/* About Section */
#about {
  padding: 100px 0;
}
#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
}
#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
  font-family: "Rubik", sans-serif;
}
#about h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
}

#about .about-text p {
  font-size: 17px !important;
  font-family: "Rubik", sans-serif;
}

#about .about-text span {
  font-size: 17px !important;
  font-family: "Rubik", sans-serif;
}

#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
  font-size: 20px;
}
#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #5ca9fb;
  font-size: 16px;
  font-weight: 300;
  padding-right: 8px;
}
#about img {
  width: 100%;
  max-width: 520px;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}
#about p {
  line-height: 24px;
  margin: 30px 0;
}

#about .section-title1 h2::after {

  background: #A8D5BA;

}
/* Services Section */
#services {
  padding: 100px 0;
  background: linear-gradient(to right, #E4F1AC 0%, #E4F1AC 100%);
  color: #fff;
}
#services .row {
  display: flex;
  flex-wrap: wrap;
}
#services .service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}
#services .service-desc {
  margin: 10px 10px 20px;
}
#services h2 {
  color: #fff;
}
#services .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
#services i.fa {
  font-size: 42px;
  width: 120px;
  height: 120px;
  padding: 40px 0;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  border-radius: 50%;
  color: #fff;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}
#services h3 {
  font-weight: 500;
  padding: 5px 0;
  color: #555;
}
#services p {
  color: #555;
}
#services .service-desc {
  margin-bottom: 40px;
}

/* Responsive layout for Services */
@media (max-width: 992px) {
  #services .service-card {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 24px;
  }
}

@media (max-width: 576px) {
  #services .row {
    flex-direction: column;
    align-items: stretch;
  }

  #services .service-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/* Terms & Packages Section */
#terms {
  padding: 90px 0;
  background: #ffffff;
}

#terms .section-title p {
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
}

/* Title underline */
#terms .section-title h2::after {
  background: #A8D5BA;
}

#terms .terms-row {
  margin-top: 20px;
}

.aboutme {
  height: 60rem !important;
  width: 80% !important;
}

.readmore{
  background: #A8D5BA;
 
}

#terms .info-card {
  background: #f6f6f6;
  padding: 30px;
  margin-bottom: 30px;
  border-left: 4px solid #A8D5BA;
  border-radius: 10px;

  height: 250px;              /* FIXED HEIGHT (adjust if needed) */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;


  text-align: left;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.05);
}

#terms .info-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
    font-family: "Rubik", sans-serif;

}

#terms .info-card p {
  margin-bottom: 0;
  line-height: 1.6;
    font-family: "Rubik", sans-serif;

}

#terms .info-card p {
  line-height: 1.7;
  margin-bottom: 0;
}

/* Prevent overflow breaking layout */
#terms .info-card p {
  overflow: hidden;
}

#terms .info-card ul {
  overflow: hidden;
}

#terms .info-card li {
  line-height: 1.7;
    font-family: "Rubik", sans-serif;

}

#terms .info-card p,
#terms .info-card li {
  font-size: 16.5px;   /* increase from default (~14–15px) */
  line-height: 1.8;    /* improves readability */
}

#terms .info-list {
  margin: 10px 0 0;
  padding-left: 18px;
  text-decoration: none;
  list-style: none;
}

#terms .info-list li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 10px;
}

#terms .info-list li::marker {
  color: #A8D5BA;
}

#terms .info-list li::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A8D5BA;
}

#terms .insurance-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-left: 0;
}

#terms .insurance-list li {
  padding-left: 0;
  margin-bottom: 4px;
}

#terms .insurance-list li::before {
  content: none;
}

@media (max-width: 768px) {
  #terms {
    padding: 70px 0;
  }

  #terms .info-card {
    padding: 20px 18px;
  }
}
/* 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;
}
/* Team Section */
#team {
  padding: 100px 0;
}
#team h4 {
  margin: 5px 0;
}
#team .team-img {
  width: 100%;
  max-width: 240px;
}
#team .thumbnail {
  background: transparent;
  border: 0;
}
#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #888;
}
/* Contact Section */
#contact.contact-section {
  padding: 100px 0 70px;
  background: #ffffff;
  color: #555;
}

#contact .section-title {
  margin-bottom: 32px;
}

#contact .section-title h2 {
  color: #333;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
    font-family: "Rubik", sans-serif;

}

#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: #A8D5BA;
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
}

#contact .section-title p {
  font-size: 16px;
    font-family: "Rubik", sans-serif;

}

.contact-title-left {
  text-align: left;
}

.contact-main-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.contact-form {
  margin-top: 10px;
}

label {
  font-size: 13px;
  font-weight: 500;
  font-family: "Rubik", sans-serif;
  display: block;
  margin-bottom: 6px;
}

#contact .form-control {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.42857143;
  color: #444;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ddd;
  border-radius: 8px;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -o-transition: border-color 0.2s ease, box-shadow 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#contact .form-control:focus {
  border-color: #5ca9fb;
  outline: 0;
  -webkit-box-shadow: 0 0 0 3px rgba(99, 114, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(99, 114, 255, 0.12);
}

.form-control::-webkit-input-placeholder {
  color: #999;
}
.form-control:-moz-placeholder {
  color: #999;
}
.form-control::-moz-placeholder {
  color: #999;
}
.form-control:-ms-input-placeholder {
  color: #999;
}

.contact-submit-btn {
  margin-top: 16px;
}

.contact-info-card {
  background: #f9fafc;
  border-radius: 18px;
  padding: 18px 20px 22px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05);
}

.contact-photo img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 18px;
}

.contact-details h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
    font-family: "Rubik", sans-serif;

}

.contact-organization {
  margin-bottom: 10px;
  line-height: 1.6;
}

.contact-organization a {
  color: #608dfd;
}

.contact-notes {
  margin: 10px 0 14px;
  padding-left: 18px;
}

.contact-notes li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 6px;
    font-family: "Rubik", sans-serif;

}

.contact-notes li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A8D5BA;
}

.contact-accessibility {
  margin-bottom: 0;
}

.contact-map-wrapper {
  margin-top: 18px;
}

.contact-map-wrapper h4 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
    font-family: "Rubik", sans-serif;

}

.contact-map-embed {
  width: 100%;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.contact-emergency-row {
  margin-top: 32px;
}

.contact-emergency-card {
  background: #fff7f7;
  border-radius: 14px;
  padding: 18px 20px;
  border-left: 4px solid #e55353;
}

.contact-emergency-card h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 600;
  color: #b32626;
    font-family: "Rubik", sans-serif;

}

.contact-emergency-cardd {
  background: #f6f6f6;
  border-radius: 14px;
  padding: 18px 20px;
  border-left: 4px solid #A8D5BA;
}

.contact-emergency-cardd h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 600;
  color: #252525;
    font-family: "Rubik", sans-serif;

}

.contact-emergency-card p {
  margin-bottom: 0;
  font-size: 14px;
    font-family: "Rubik", sans-serif;

}
/* 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;
    width:100% !important;
  }

  .intro h1 {
    font-size: 42px;
    line-height: 1.1;
  }

  .intro p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 30px;
  }

  header .intro-text {
    padding-top: 140px;
    padding-bottom: 80px;
    padding-left: 15px;
    padding-right: 15px;
  }
}
