@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

body,
html {
  font-family: "Inter", sans-serif !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}
/* 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-style: normal;
  font-weight: 600;
  font-size: 24px;
  color: #000000;
  line-height: 170%;
  text-align: center;
}
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-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
#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 {
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  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;
  border-bottom: 4px solid #5f9fd5;
  display: inline-block;

  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 170%;
  text-align: center;
  text-transform: uppercase;
  color: #000000;
}

.section-titler h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  border-bottom: 4px solid #ffffff;
  display: inline-block;

  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 170%;
  text-align:start;
  text-transform: uppercase;
  color: #ffffff;
}
/* .section-title h2::after {
  position: absolute;
  content: "";
  background: #5F9FD5;
  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: linear-gradient(90deg, #5f9fd5 0%, #5892c4 50%, #4f85b2 100%);
  border-radius: 62px;
  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/intro-bg.png) 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 {
  color: #5f9fd5;
  font-size: 48px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  font-style: normal;
  line-height: 58px;
}
/* .intro h1 span {
  font-weight: 800;
  color: #5ca9fb;
} */
.intro p {
  color: #000000;
  font-size: 15px;
  font-weight: 500;
  line-height: 170%;
  margin-top: 25px;
  margin-bottom: 60px;
  width: 60%;
}

header .intro-text {
  white-space: pre-line;
  padding-top: 150px;
  padding-bottom: 200px;
  text-align: start;
}
/* Features Section */
#services,
#features {
  background-color: rgba(95, 159, 213, 0.15);
  padding: 60px 0;
  text-align: center;
}

.features-item {
  margin-bottom: 40px;
}

.features-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  overflow: hidden;
  padding: 40px;
  background: linear-gradient(
    159.55deg,
    #5f9fd5 13.58%,
    #4f85b2 84.42%,
    #32536f 182.95%
  );
}

.features-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.features-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.features-icon i {
  color: white;
  font-size: 30px;
}

#services p,
#features p {
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 170%;
  text-align: center;
  color: #000000;
}

#features i.fa-solid {
  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(
    159.55deg,
    #5f9fd5 13.58%,
    #4f85b2 84.42%,
    #32536f 182.95%
  );
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}

/* About Section */
#contact,
#about {
  padding: 20px 0 70px 0;
  background: linear-gradient(103.55deg, #5f9fd5 1.2%, #32536f 118.85%);
  color: #ffffff;
}

#about h3 {
  font-weight: 600;
  font-size: 40px;
  line-height: 48px;
  text-align: center;
  color: #ffffff;
  white-space: pre-line;
}

#contact,
#about h2 {
  color: #ffffff;
}

.about-section {
  text-align: center;
}
/* Desktop styles */
@media (min-width: 1025px) {
  .about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    gap: 40px;
    width: 100%;
  }
}

#about img {
  width: 520px;
  border-radius: 8px;
  flex: 1;
}

#about p {
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 190%;
  text-align: left;
  margin: 0;
  color: #ffffff;
}

.about-text {
  flex: 1;
}

/* Services Section */
/* #services {
  background-color: rgba(95, 159, 213, 0.15);
  padding: 60px 0;
  text-align: center;
} */

/* #services .service-desc {
  margin: 10px 10px 20px;
} */
/* #services h2 {
  color: #fff;
} */
/* #services .section-title h2::after {
  position: absolute;
  content: "";
  background: #5f9fd5;
  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: #fff;
} */
/* #services p {
  color: rgba(255, 255, 255, 0.75);
} */
/* #services .service-desc {
  margin-bottom: 40px;
} */

/* 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: 240px;
}
#team .thumbnail {
  background: transparent;
  border: 0;
}
#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #888;
}
/* Contact Section */
#contact .section-title {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

#about,
#contact .section-title h2 {
  color: #ffffff;
}

#contact .section-title p {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 170%;
  color: #ffffff;
}

#contact h3 {
  color: #fff;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}
#contact form {
  padding-top: 20px;
}
#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: 10px 12px;
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 170%;
  color: #868686;
  line-height: 1.42857143;
  color: #444;
  background-color: #d9d9d9;
  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: 30px 0 0 0;
}
#contact .contact-item h3 {
  text-align: left;
}

#contact .contact-item p {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 170%;
  color: #ffffff;
  text-align: left;
}

#contact .contact-item span {
  margin-bottom: 10px;
  display: block;
}
#contact .contact-item i.fa-solid,
i.fa-regular {
  margin-right: 10px;
  font-size: 25px;
}
#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-brands {
  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-brands:hover {
  color: #608dfd;
  background: #fff;
}

/* 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;
}

/* For devices with max-width 991px (your original breakpoint) */
@media (max-width: 991px) {
  .about-content {
    flex-direction: column;
    gap: 10px;
  }

  #about img {
    width: 100%;
    max-width: 520px;
  }

  #about h3 {
    font-size: 30px;
  }

  #about p {
    font-size: 20px;
    text-align: center;
  }

  .section-title {
    margin-bottom: 30px;
  }
}

/* For devices with width ≤ 1024px AND height ≤ 1366px (iPad portrait) */
@media (max-width: 1024px) and (max-height: 1366px) {
  .about-content {
    flex-direction: column;
    gap: 10px;
  }

  #about img {
    width: 100%;
    max-width: 520px;
  }

  #about h3 {
    font-size: 30px;
  }

  #about p {
    font-size: 20px;
    text-align: center;
  }

  .section-title {
    margin-bottom: 30px;
  }
}


@media (max-width: 768px) {
  #contact .contact-item h3 {
    text-align: left;
  }

  #contact .contact-item p {
    text-align: left;
  }
}

@media (max-width: 480px) {

  .intro {
    background: url(../img/intro-bg-mobile.png) center center no-repeat;
    background-color: rgba(95, 159, 213, 0.15);
    background-size: cover;
    height: 100vh
  }
  
   .intro h1 {
    margin-top: 20%;
    width: 100%;
    text-align: center;
  }
  .intro p {
    margin-top: 10%;
    margin-bottom: 20%;
    width: 100%;
    text-align: center;
  }

  header .intro-text {
    text-align: center;
  }

  header .intro-text p{
    text-align: center;
  }

  .section-title h2 {
    font-size: 32px;
  }

  #contact {
    text-align: center;
  }

  #contact .contact-item h3 {
    text-align: left;
  }
}

@media (max-width: 768px) {

  .intro {
    background: url(../img/intro-bg-mobile.png) center center no-repeat;
    background-color: rgba(95, 159, 213, 0.15);
    background-size: cover;
    height: 100vh
  }
  
  .intro h1 {
    margin-top: 20%;
    width: 100%;
    text-align: center;
  }
  .intro p {
    margin-top: 10%;
    margin-bottom: 20%;
    width: 100%;
    text-align: center;
  }

  header .intro-text {
    text-align: center;
  }

  header .intro-text p{
    text-align: center;
  }

  .section-title h2 {
    font-size: 32px;
  }

  #contact {
    text-align: center;
  }

  #contact .contact-item h3 {
    text-align: left;
  }
}

@media (max-width: 820px) {

  .intro {
    background: url(../img/intro-bg-mobile.png) center center no-repeat;
    background-color: rgba(95, 159, 213, 0.15);
    background-size: cover;
    height: 100vh
  }
  
   .intro h1 {
    margin-top: 20%;
    width: 100%;
    text-align: center;
  }
  .intro p {
    margin-top: 10%;
    margin-bottom: 20%;
    width: 100%;
    text-align: center;
  }

  header .intro-text {
    text-align: center;
  }

  header .intro-text p{
    text-align: center;
  }

  .section-title h2 {
    font-size: 32px;
  }

  #contact {
    text-align: center;
  }

  #contact .contact-item h3 {
    text-align: left;
  }
}

@media (max-width: 912px) {

  .intro {
    background: url(../img/intro-bg-mobile.png) center center no-repeat;
    background-color: rgba(95, 159, 213, 0.15);
    background-size: cover;
    height: 100vh
  }
  
  .intro h1 {
    margin-top: 20%;
    width: 100%;
    text-align: center;
  }
  .intro p {
    margin-top: 10%;
    margin-bottom: 20%;
    width: 100%;
    text-align: center;
  }

  header .intro-text {
    text-align: center;
  }

  header .intro-text p{
    text-align: center;
  }

  .section-title h2 {
    font-size: 32px;
  }

  #contact {
    text-align: center;
  }

  #contact .contact-item h3 {
    text-align: left;
  }

  
}

