﻿@font-face {
  font-family: "Erstoria-Regular";
  src: url("../fonts/Erstoria/Erstoria-Regular.ttf");
}

@font-face {
  font-family: "SFProDisplay-Bold";
  src: url("../fonts/SF-Pro-Display/SFProDisplay-Bold.OTF");
}

@font-face {
  font-family: "SFProDisplay-Medium";
  src: url("../fonts/SF-Pro-Display/SFProDisplay-Medium.OTF");
}

@font-face {
  font-family: "SFProDisplay-Regular";
  src: url("../fonts/SF-Pro-Display/SFProDisplay-Regular.OTF");
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: capitalize;
  font-family: "Erstoria-Regular";
}

p,
ul {
  font-family: "SFProDisplay-Regular";
  margin: 0;
  padding: 0;
  list-style: none;
}

input,
textarea {
  font-family: "SFProDisplay-Regular";
  margin: 0;
  padding: 0;
}

a,
button {
  font-family: "SFProDisplay-Regular";
  margin: 0;
  padding: 0;
}

a:hover {
  color: inherit;
}


body {
  overflow-x: hidden;
  background: #fff;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

main {
  overflow: hidden;
}

a,
button,
input,
textarea:focus {
  outline: none;
  box-shadow: none;
  text-decoration: none;
}

.form-group input::-webkit-outer-spin-button,
.form-group input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-group input[type=number] {
  appearance: textfield;
  -moz-appearance: textfield;
}

:root {
  --color-primary: #d8242f;
  --color-secondary: #0f2b46;
  --color-text: #182330;
  --color-accent: #f4b740;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  padding-left: 5px;
  background: #c9c9c9;
}

::-webkit-scrollbar-thumb {
  background: #242729;
  border-radius: 10px;
}



header.sticky {
  position: fixed;
  z-index: 999;
  background-color: var(--color-secondary);
}

header.sticky .black-logo{
  display: block;
}
.banner{
  background-position: 100% 67%;
}
.hover-transition {
  transition: transform .3s ease
}

.hover-transition:hover {
  transform: translateY(-5px)
}

::-webkit-scrollbar {
  width: 12px
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 10px;
  border: 3px solid #f1f1f1
}

::-webkit-scrollbar-thumb:hover {
  background: #aa1f28
}
input:focus {
  outline: none;
  box-shadow: none;
}
h1.ct-lh{
  line-height:1.2;
}
.bg_frm input,
.bg_frm select  {
  /*background: rgba(255, 255, 255, 0.25);*/
  box-shadow: 0 8px 32px 0 rgb(129 130 140 / 37%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  /* border: 2px solid rgb(255, 255, 255) */
  border: 2px solid #9c9c9c83;
}

button{
  font-family: "SFProDisplay-Regular" !important;
}

.swiper_book{}

.swiper_book .swiper-slide .detail{
    padding: 0 35px;
    text-align: center;
    position: relative;
    top: -5rem;
    opacity: 0.2;
    transition: all 0.3s ease-in-out;
}
.swiper_book .swiper-slide .picture img {
  opacity: 0.2;
}
.swiper_book .swiper-slide.slick-center .detail,
.swiper_book .swiper-slide.slick-center .picture  img {
  opacity: 1;
  transition: all 0.3s ease-in-out;
}
.swiper_book .picture img{
    width: 79%;
    margin: 0 auto;
    display: block;
}
.swiper_book .detail h3{
    font-size: 32px;
    margin: 13px 0;
    color: #d8242f;
    font-weight: 600;
}
.swiper_book .detail p{
    font-size: 16px;
    margin: 35px 0 0  0;
}
.swiper_book .detail img{
    margin: 0 auto;
}


@media only screen and (min-width:320px) and (max-width:767px){
    .swiper_book .swiper-slide .detail{
    padding: 0 15px;
}
.swiper_book .detail h3{
    font-size: 42px;
}
.banner_area:before {
    content: '';
    background: white;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.5;
}

.banner_area {
    z-index: 9;
}
}

@media only screen and (min-width:1024px) and (max-width:1439px){
.swiper-slide.slick-slide:not(.slick-active) .detail , .swiper-slide.slick-slide:not(.slick-active) .picture img {
    opacity: 1;
}

}
.banner_area {
    background: linear-gradient(135deg, rgba(15, 43, 70, 0.92), rgba(216, 36, 47, 0.58));
    background-position: 100% 48%;
    background-size: cover;
    background-repeat: no-repeat;
}

.loader img {
    width: 40px;
}

.loader {
    display: none;
}

input.error {
    background-color: #f8d7da !important;
    border: 1px solid #f5c2c7 !important;
}

input.error::placeholder {
  color: #842029 !important;
}

label.error {
    display: none !important;
}

/* Modern landing-page polish */
html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-text);
}

.container {
  width: min(1180px, calc(100% - 32px));
}

.site-header nav {
  border: 1px solid rgba(15, 43, 70, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 60px rgba(15, 43, 70, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-btn,
a.site-btn {
  min-height: 46px;
  min-width: 132px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-btn:hover,
a.site-btn:hover {
  transform: translateY(-2px);
}

.site-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  box-shadow: 0 14px 34px rgba(15, 43, 70, 0.22);
}

.site-btn-light {
  color: var(--color-secondary);
  background: #fff;
  border: 1px solid rgba(15, 43, 70, 0.18);
}

.banner {
  min-height: 700px;
  position: relative;
  background:
    radial-gradient(circle at 14% 20%, rgba(244, 183, 64, 0.45), transparent 28%),
    radial-gradient(circle at 86% 28%, rgba(15, 43, 70, 0.16), transparent 26%),
    linear-gradient(135deg, #f8fbff 0%, #fff5f2 48%, #eef6ff 100%);
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.48) 46%, rgba(255, 255, 255, 0.15) 100%);
  pointer-events: none;
}

.banner > .container {
  position: relative;
  z-index: 1;
}

.banner h1 {
  max-width: 690px;
  font-size: clamp(42px, 6vw, 76px) !important;
  line-height: 0.98;
  letter-spacing: 0;
}

.banner p {
  max-width: 620px;
  line-height: 1.7;
}

.hero-form-panel {
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 28px 80px rgba(15, 43, 70, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-boy {
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 24px 24px rgba(15, 43, 70, 0.12));
  pointer-events: none;
  z-index: 0;
}

.hero-form-panel h3,
.hero-form-panel form {
  position: relative;
  z-index: 1;
}

input,
textarea {
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: rgba(216, 36, 47, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(216, 36, 47, 0.1) !important;
}

.intro-section,
.choice-section,
.reviews-section {
  position: relative;
}

.intro-section {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

.intro-wrap {
  justify-content: center;
  gap: clamp(24px, 3vw, 52px);
}

.intro-visual {
  flex: 0 1 520px;
  max-width: 520px;
}

.intro-girl {
  width: min(100%, 520px);
  height: auto;
  max-height: 620px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.intro-copy {
  flex: 0 1 560px;
}

.intro-section img,
.choice-section img {
  filter: drop-shadow(0 28px 34px rgba(15, 43, 70, 0.12));
}

.intro-copy p,
.choice-section p,
.contact-section p,
.services-section p {
  line-height: 1.75;
}

.services-section {
  background:
    radial-gradient(circle at 18% 0%, rgba(216, 36, 47, 0.28), transparent 28%),
    linear-gradient(135deg, #081b2f 0%, #0f2b46 100%) !important;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  min-height: 286px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: #fff;
  padding: 28px;
  text-align: left;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  box-shadow: 0 28px 70px rgba(15, 43, 70, 0.25);
}

.service-card h3 {
  color: #182330 !important;
  line-height: 1.12;
}

.service-card p {
  color: #6c6868 !important;
  margin-top: 14px;
}

.service-card:hover h3,
.service-card:hover p {
  color: #fff !important;
}

.portfolio-section img {
  object-fit: cover;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15, 43, 70, 0.12);
}

.contact-section form {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.06) !important;
}

.contact-address {
  max-width: 430px;
}

.contact-pin {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  border: 2px solid #fff;
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
}

.contact-pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: #fff;
}

.stats-band {
  box-shadow: 0 26px 60px rgba(15, 43, 70, 0.24);
}

.choice-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  text-align: left;
}

.choice-list li {
  position: relative;
  padding-left: 30px;
  color: #616060;
  line-height: 1.55;
}

.choice-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0 0 5px rgba(216, 36, 47, 0.1);
}

.cta-section {
  background:
    linear-gradient(135deg, #0f2b46 0%, #081b2f 100%) !important;
}

.swiper_book .swiper-slide {
  padding: 12px;
}

.swiper_book .picture img {
  border-radius: 22px;
  box-shadow: 0 22px 54px rgba(15, 43, 70, 0.14);
}

.swiper_book .detail {
  border-radius: 24px;
}

footer {
  background: linear-gradient(135deg, #081b2f 0%, #0f2b46 100%) !important;
}

.site-logo {
  object-fit: contain;
}

.footer-brand-logo {
  width: 220px;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 10px 14px;
}

/* New American Book Founders footer */
.section-footer {
  width: 100%;
  padding: 56px 24px 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(25, 70, 126, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%) !important;
  color: #111827;
  overflow: hidden;
}

.section-footer .row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-footer .justify-content-center {
  justify-content: center;
}

.section-footer .justify-content-around {
  justify-content: space-around;
}

.section-footer .align-items-center {
  align-items: center;
}

.section-footer .text-center {
  text-align: center;
}

.section-footer .text-md-start {
  text-align: left;
}

.section-footer .text-md-end {
  text-align: right;
}

.section-footer .col-lg-4,
.section-footer .col-md-4,
.section-footer .col-md-5,
.section-footer .col-md-6,
.section-footer .col-md-7,
.section-footer .col-lg-6,
.section-footer .col-lg-7,
.section-footer .col-sm-5,
.section-footer .col-sm-6,
.section-footer .col-xs-10,
.section-footer .col-xs-12,
.section-footer .col-xxl-2,
.section-footer .col-xl-3,
.section-footer .col-lg-3 {
  width: 100%;
  padding-left: 14px;
  padding-right: 14px;
}

.section-footer .logo-discription img[src*="american-logo"] {
  max-width: 240px;
  height: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 18px;
  padding: 10px 12px;
  box-shadow: 0 18px 44px rgba(15, 43, 70, 0.12);
}

.section-footer .logo-discription p {
  max-width: 420px;
  color: #111827;
  line-height: 1.75;
  font-size: 15px;
}

.footer-nav {
  list-style-type: none;
  line-height: 34px;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  list-style: none;
  margin-bottom: 8px;
}

.footer-list-title {
  margin: 0 0 12px;
  border-left: 5px solid #d10b09;
  padding-left: 12px;
  color: #19467e !important;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.address-pointer {
  cursor: default;
}

.footer-nav li a,
.copyright-sec a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #111827;
  border-left: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  padding-left: 7px;
  line-height: 1.5;
}

.logo-discription .footer-nav li a {
  width: 100%;
  max-width: 430px;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(25, 70, 126, 0.1) !important;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(15, 43, 70, 0.08);
}

.section-footer .footer-nav i {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0 !important;
  border-radius: 999px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #19467e, #0f2a4b);
  font-size: 16px !important;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(25, 70, 126, 0.24);
}

.logo-discription .footer-nav li:nth-child(1) i,
.logo-discription .footer-nav li:nth-child(2) i {
  background: linear-gradient(135deg, #d10b09, #d52321);
  box-shadow: 0 8px 18px rgba(209, 11, 9, 0.24);
}

.footer-nav li a:hover,
.copyright-sec a:hover {
  color: #d10b09 !important;
  border-left-color: #d10b09;
  transform: translateX(2px);
}

.logo-discription .footer-nav li a:hover {
  border-color: rgba(209, 11, 9, 0.28) !important;
  box-shadow: 0 16px 34px rgba(15, 43, 70, 0.12);
}

.section-footer .fw-bold {
  font-weight: 700;
}

.section-footer .text-uppercase {
  text-transform: uppercase;
}

.section-footer .border-0 {
  border-left-color: transparent !important;
}

.section-footer .mt-3 {
  margin-top: 1rem;
}

.section-footer .mb-0 {
  margin-bottom: 0;
}

.section-footer .me-2 {
  margin-right: 0.5rem;
}

.section-footer .fs-3 {
  font-size: 1.45rem;
}

.social-links ul {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
}

.social-links ul li {
  list-style: none;
}

.social-links ul li a {
  width: 48px;
  height: 48px;
  background-color: #f7f9fc;
  text-align: center;
  line-height: 43px;
  font-size: 22px;
  display: block;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 26px rgba(15, 43, 70, 0.12);
}

.social-links ul li a i {
  position: relative;
  color: #262626;
  transition: 0.5s;
  z-index: 3;
}

.social-links ul li a:hover i {
  color: #ffffff;
  transform: rotateY(360deg);
}

.social-links ul li a::before {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 100%;
  transition: 0.5s;
  z-index: 2;
}

.social-links ul li a:hover::before {
  top: 0;
}

.social-links ul li:nth-child(1) a::before {
  background: #3b5999;
}

.social-links ul li:nth-child(2) a::before {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.section-footer .copyright-sec {
  max-width: none;
  margin-top: 24px;
  padding: 18px 24px;
  background: linear-gradient(135deg, #19467e, #0f2a4b);
  border-top: 1px solid #0f2a4b;
}

.section-footer .copyright-sec p,
.section-footer .copyright-sec a {
  line-height: 1.7;
}

.section-footer > .row:nth-of-type(2) {
  gap: 18px;
  padding: 28px 0 12px;
  border-top: 1px solid rgba(25, 70, 126, 0.08);
  margin-top: 24px;
}

.section-footer > .row:nth-of-type(2) img {
  max-height: 76px;
  width: auto !important;
  max-width: 100%;
  object-fit: contain;
}

#t-bottom-move {
  width: 40px;
  height: 40px;
  position: fixed;
  bottom: 100px;
  right: 25px;
  font-size: 20px;
  background-color: rgba(255, 255, 255, 0.86);
  color: #d72f2d;
  cursor: pointer;
  display: none;
  font-weight: 800;
  z-index: 80;
  transition: 0.3s ease-in-out;
  border: 2px dashed #19467e;
  border-radius: 10px;
}

#t-bottom-move:hover {
  background-color: #ffffff;
  color: #d10b09;
  border-style: solid;
  box-shadow: 0 0 8px #19467e;
}

@media screen and (min-width: 576px) {
  .section-footer .col-sm-5 {
    width: 41.666667%;
  }

  .section-footer .col-sm-6 {
    width: 50%;
  }
}

@media screen and (min-width: 768px) {
  .section-footer .col-md-4 {
    width: 33.333333%;
  }

  .section-footer .col-md-5 {
    width: 41.666667%;
  }

  .section-footer .col-md-6 {
    width: 50%;
  }

  .section-footer .col-md-7 {
    width: 58.333333%;
  }

  .section-footer .col-md-11 {
    width: 91.666667%;
  }
}

@media screen and (min-width: 992px) {
  .section-footer .col-lg-3 {
    width: 25%;
  }

  .section-footer .col-lg-4 {
    width: 33.333333%;
  }

  .section-footer .col-lg-6 {
    width: 50%;
  }

  .section-footer .col-lg-7 {
    width: 58.333333%;
  }
}

@media screen and (min-width: 1200px) {
  .section-footer .col-xl-3 {
    width: 25%;
  }
}

@media screen and (min-width: 1400px) {
  .section-footer .col-xxl-2 {
    width: 16.666667%;
  }
}

@media screen and (max-width: 991.98px) {
  .logo-discription {
    text-align: center;
    margin-bottom: 30px;
  }

  .section-footer .logo-discription p {
    margin-left: auto;
    margin-right: auto;
  }

  .social-links ul {
    justify-content: center;
  }

  .logo-discription .footer-nav li a {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .section-footer .text-md-start,
  .section-footer .text-md-end {
    text-align: center;
  }
}

@media screen and (max-width: 575.98px) {
  .section-footer {
    padding: 42px 16px 0;
  }

  .hidden-mob {
    display: none;
  }

  .footer-list-title {
    margin-top: 24px;
  }

  .section-footer .copyright-sec p {
    justify-content: center !important;
  }

  .logo-discription .footer-nav li a {
    max-width: 100%;
    font-size: 14px;
  }

  .section-footer .footer-nav i {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
}

@media screen and (max-width: 336.98px) {
  .email-full {
    display: none;
  }
}

@media screen and (min-width: 337px) {
  .email-consize {
    display: none;
  }
}


@media only screen and (max-width: 1023px) {
  .banner {
    min-height: auto;
    padding-top: 140px !important;
  }

  .banner::before {
    opacity: 0.24;
  }

  .hero-form-panel {
    margin-top: 18px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 767px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .site-header {
    padding-top: 12px !important;
  }

  .site-header nav {
    gap: 14px;
    border-radius: 18px;
  }

  .site-btn,
  a.site-btn {
    min-width: 118px;
    min-height: 42px;
    padding: 9px 14px;
    font-size: 14px;
  }

  .banner {
    padding-top: 170px !important;
  }

  .banner h1 {
    font-size: 38px !important;
  }

  .hero-form-panel {
    padding: 24px !important;
  }

  .intro-section {
    padding-left: 14px !important;
    padding-right: 14px !important;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .intro-copy,
  .choice-section [data-aos=fade-left] {
    text-align: center !important;
  }

  .cta-row {
    justify-content: center !important;
    flex-wrap: wrap;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    text-align: center;
  }

  .contact-section form {
    padding: 22px;
  }

  .stats-band {
    position: static !important;
    margin-top: -80px;
  }

  .contact-section {
    margin-bottom: 40px !important;
  }

  .swiper_book .detail h3 {
    font-size: 30px;
  }
}
