:root {
    --primary-color: #021f63;
    --secondary-color: #00adef;
    --tertiary-color: #ffffff;
    --primary-font: 'nunito', sans-serif;
    --secondary-font: 'Bona Nova SC', serif;
}

/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--primary-font);
}

p {
    font-family: var(--secondary-font);
}

/* ============================================ */
.head-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    /* margin-bottom: 20px; */
    font-family: var(--primary-font);
}

.head-title span {
    color: var(--secondary-color);
    font-family: var(--secondary-font);
    font-size: 3rem;
}

.head-title .underline {
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
    /* margin: 0 auto; */
}

@media screen and (max-width: 768px) {
    .head-title h2 {
        font-size: 2rem;
    }

    .head-title span {
        font-size: 2rem;
    }

}

/* =========================================== */
.title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--primary-font);
}

/* ============================================ */
.hero {
    padding: 100px 0 60px;
    background: var(--primary-color);
    color: var(--tertiary-color);
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: var(--primary-font);
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--tertiary-color);
    font-family: var(--secondary-font);
}

.hero img {
    max-width: 100%;
    height: auto;
    animation: floatImage 6s ease-in-out infinite;
}

/* Image movement animation */
@keyframes floatImage {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0;
        text-align: start;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero img {
        margin-top: 30px;
        animation: floatImage 6s ease-in-out infinite;
    }
}

/* ====================================================== */
.services {
    background: url(../images/background/2.avif);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.services .service-card i {
    font-size: 40px;
    color: var(--secondary-color);
    transition: all 0.6s ease;
}

.services .service-card:hover i {
    color: var(--tertiary-color);
    transform: translateY(-10px);
}

.services .service-card:hover h5,
.services .service-card:hover p {
    color: var(--tertiary-color);
    font-size: 20px;
    transition: all 0.9s ease;
}

.services .service-card {
    transition: all 0.6s ease;
    background: var(--tertiary-color);
    /* color:var(--tertiary-color); */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.services .service-card:hover {
    background: linear-gradient(rgba(25, 154, 193, 0.9), rgba(25, 154, 193, 0.9)), url(../images/services/background.avif);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transform: translateY(-10px);
}

/* ================================================ */
.why-choose-us .card {
    background: var(--tertiary-color);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(5, 99, 139, 0.6);
    color: var(--primary-color);
    transition: all 0.4s ease-in-out;
    border-radius: 50px 10px 10px 10px;
}

.why-choose-us .card:hover {
    background: linear-gradient(rgba(2, 31, 99, 0.8), rgba(2, 31, 99, 0.8)), url(../images/background/3.avif);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    border-radius: 10px 10px 50px 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: var(--tertiary-color);
    transition: all 0.4s ease-in-out;
}

.why-choose-us .card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease-in-out;
}

.why-choose-us .card:hover i {
    color: var(--tertiary-color);
    font-size: 3rem;
    transition: all 0.4s ease-in-out;
}

/* ======================================= */
.counter {
    background: var(--primary-color);
    color: var(--tertiary-color);
}

.counter-box h2 {
    font-size: 2.5rem;
    /* margin-bottom: 0.5rem; */
    position: relative;
}

.counter-box h2::after {
    content: "+";
    position: absolute;
    top: 0;
    font-size: 1.8rem;
    color: inherit;
}

/* =============================================================== */
.contact-section .card {
    border: none !important;
}

.contact-section .card h6{
    color:var(--secondary-color);
}

@media screen and (max-width: 768px) {
    .contact-section .card h6 {
       font-size:12px;
    }
    
}

.contact-section .card i {
    font-size: 50px;
    /* padding: 20px; */
    /* background: var(--secondary-color); */
    color: var(--primary-color);
}

.contact-section .contact-form {
    background: var(--primary-color);
    border-radius: 10px;
    padding: 15px;
    height: 100%;
}

.contact-section label {
    color: var(--tertiary-color);
    font-weight: 600;
    font-size: 1.1rem;
    font-family: var(--secondary-font);
}

.contact-section input,
.contact-section textarea {
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid var(--tertiary-color);
    font-family: var(--secondary-font);
}

.contact-section select {
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid var(--tertiary-color);
    /* color: var(--tertiary-color); */
    font-family: var(--secondary-font);
}

/* ===================================================== */
.btn {
    position: relative;
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: var(--secondary-color);
    /* Red base */
    border: none;
    border-radius: 8px;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.btn svg {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.btn rect {
    stroke: var(--tertiary-color);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 500, 0;
    transition: all 0.5s linear;
}

.btn:hover {
    background: transparent;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.btn:hover rect {
    stroke-dasharray: 40, 300;
    stroke-width: 3;
    stroke-dashoffset: 30;
    transition: all 1s ease-in-out;
}
/*=============================================================*/
.btn-quote{
  position: relative;
  right: 20px;
  bottom: 20px;
  border:none;
  box-shadow: none;
  width: 130px;
  height: 40px;
  line-height: 42px;
  -webkit-perspective: 230px;
  perspective: 230px;
}
.btn-quote span {
  /* background: var(--tertiary-color); */
background: linear-gradient(0deg, rgba(0,172,238,1) 0%, rgba(2,126,251,1) 100%);
  display: block;
  position: absolute;
  color: var(--tertiary-color);
  width: 130px;
  height: 40px;
  box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
  border-radius: 5px;
  margin:0;
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.btn-quote span:nth-child(1) {
  box-shadow:
   -7px -7px 20px 0px #fff9,
   -4px -4px 5px 0px #fff9,
   7px 7px 20px 0px #0002,
   4px 4px 5px 0px #0001;
  -webkit-transform: rotateX(90deg);
  -moz-transform: rotateX(90deg);
  transform: rotateX(90deg);
  -webkit-transform-origin: 50% 50% -20px;
  -moz-transform-origin: 50% 50% -20px;
  transform-origin: 50% 50% -20px;
}
.btn-quote span:nth-child(2) {
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  transform: rotateX(0deg);
  -webkit-transform-origin: 50% 50% -20px;
  -moz-transform-origin: 50% 50% -20px;
  transform-origin: 50% 50% -20px;
}
.btn-quote:hover span:nth-child(1) {
  box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  transform: rotateX(0deg);
}
.btn-quote:hover span:nth-child(2) {
  box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
 color: transparent;
  -webkit-transform: rotateX(-90deg);
  -moz-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
}
/* ============================================================ */
.image {
    border-radius: 50px 1px 50px 1px;
}

/* ============================================================ */
.why-choose-us {
    background: linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)),
        url(../images/background/6.avif);
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */
    color: var(--tertiary-color);
}

/* ============================================================ */
.stats .card {
    border: none !important;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1) !important;
    padding: 20px;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.stats .card:hover {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3) !important;
    transform: rotate(-2deg) !important;
    transition: all 0.6s ease-in-out;
}

/* ============================================================ */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.5)),
        url(../images/background/4.svg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    z-index: 1;
}

/* ========================================================= */
.background {
    background: var(--primary-color);
    color: var(--tertiary-color);
}