.cto-hero {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cto-hero h1 {
    font-size: 2.5rem;
    margin-top: 300px;
    margin-bottom:0;
    padding: 10px;
    color: #f1c3bd;
    border-radius: 20px;
}

.cto-hero p {
    color: #fff;
    font-size: 1.2rem;
}

.cto-hero .cto-btn {
    display: block;
    width: 200px;
    padding: 1em;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
    border: 1px solid #fff;
    border-radius: 20px;
}

.cto-btn:hover {
    border: 2px solid var(--color-light);
    background-color: rgba(240, 248, 255, 0.105);
}

.enquire-btn {
    font-size: 1rem;
    color: white;
    background-color: #4ebdff;
    width: 10rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    display: inline-block;
    margin-left: 2rem;
    margin-top: 1rem;
    cursor: default;
}

.enquire-btn:hover {
    background-color: #B7DAE0;
    color: black;
}

/******* SECTION - 1 *******/

.section1 h2 {
    text-align: center;
    font-size: 2.5rem;
    padding: 0.8rem;
    background-color: #FFFFFF;
    color: #6baff8;
    font-weight: 600;
}
.s1container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
  }
  
  .s1card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .s1card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .s1card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
  }
  
  .s1card p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
  }

@media screen and (max-width: 750px) {
    .cto-hero {
        margin-top: 4rem;
    }

    .cto-hero h1 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 470px) {
    .cto-hero h1 {
        font-size: 1.5rem;
    }
}

#our-service-section {
    position: relative;
    background-color: #07254f;
    padding: 50px 0;
    overflow: hidden;
}

#title {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 38px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-bottom: 4rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service-box {
    width: calc(33.33% - 40px);
    margin: 20px;
    position: relative;
    border: 4px solid #25508c;
    padding: 40px 20px;
    transition: border-color 0.3s ease;
}

.service-box:hover {
    border-color: white;
}

.service-box h1 {
    font-size: 20px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 10px;
}

.service-box p {
    font-size: 14px;
    color: white;
}

#our-service-section::before {
    content: "\f57e";
    color: #0b2e5e;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 400px;
    position: absolute;
    bottom: -100px;
    right: 0px;
}

.icon-box {
    position: absolute;
    top: -20px;
    left: 20%;
    transform: translateX(-50%);
    background-color: #07254f;
    padding: 0px 14px;
}

.icon-box i {
    color: white;
    font-size: 34px;
}

@media (max-width: 768px) {
    .service-box {
        width: calc(50% - 40px);
    }
}

@media (max-width: 576px) {
    .service-box {
        width: calc(100% - 40px);
    }
}

/* ----------------------WHY CHOOSE CTO SECTION----------------------------- */
.timeline {
    /*   colors */
    --clr-primary-blue: hsl(235, 94%, 66%);
    --clr-grey: hsl(210, 22%, 49%);
    --clr-white: #f6f6f6;
    --clr-black: #242424;
    /*   radius */
    --radius: 1rem;
    /*   fonts */
    --ff-primary: "Roboto", sans-serif;
    --ff-secondary: "Open Sans", sans-serif;
}

.section-center {
    width: 90vw;
    max-width: 1170px;
    /*   width: min(95vw,1170px); */
    margin: 2rem auto;
}

.section-title {
    text-align: center;
}

.section-title h1 {
    font-size: 3rem;
    text-transform: capitalize;
    color: var(--clr-white);
    margin-top: 5rem;
    padding-top: 3rem;
}

.underline {
    width: 5rem;
    height: 0.25rem;
    margin-left: auto;
    margin-right: auto;
    background: var(--clr-primary-blue);
}

/* start timeline style */
.timeline .timeline-center {
    /*   width: 80vw;
      max-width:40rem; */
    width: min(80vw, 40rem);
}

.timeline-center .section-item {
    position: relative;
    padding: 4rem 2rem;
    margin: 0;
    border-top: dashed 0.25rem var(--color-light);
}

.timeline-center .section-item:first-child {
    border-top: 0;
    /*   border-top-right-radius:0; */
}

/* odd */
.timeline-center .section-item:nth-child(odd) {
    border-right: dashed 0.25rem #8247e5;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
    margin-left: 2rem;
    padding-left: 0;
}

/* even */
.timeline-center .section-item:nth-child(even) {
    border-left: dashed 0.25rem #8247e5;
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
    margin-right: 2rem;
    padding-right: 0;
}

.section-item h2 {
    font-weight: 700;
    color: rgb(185, 133, 237);
}

.section-item p {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    color: var(--clr-white);
}

.number {
    display: inline-block;
    position: absolute;
    top: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-item:nth-child(odd) .number {
    right: 0;
    transform: translate(50%, -50%);
}

.section-item:nth-child(even) .number {
    left: 0;
    transform: translate(-50%, -50%);
}

/* end timeline style */

/* -------------------CTO CARD SECTION------------------------------- */

.cto-card {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    gap: 60px;
    margin: 2rem;
}

@media screen and (max-width: 750px) {
    .cto-card {
        flex-direction: column;
    }
}

.cto-card .box {
    position: relative;
    width: 300px;
    height: 350px;
    background: #2e2e2e;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cto-card .box::before {
    content: "";
    position: absolute;
    inset: -10px 50px;
    border-top: 4px solid var(--clr);
    border-bottom: 4px solid var(--clr);
    z-index: -1;
    transform: skewY(15deg);
    transition: 0.5s ease-in-out;
}

.cto-card .box:hover::before {
    transform: skewY(0deg);
    inset: -10 40px;
}

.cto-card .box::after {
    content: "";
    position: absolute;
    inset: 60px -10px;
    border-left: 4px solid var(--clr);
    border-right: 4px solid var(--clr);
    z-index: -1;
    transform: skewY(15deg);
    transition: 0.5s ease-in-out;
}

.cto-card .box:hover::after {
    transform: skewY(0deg);
    inset: 40 -10px;
}

.cto-card .box .content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 0 20px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cto-card .box .content .icon {
    color: var(--clr);
    width: 80px;
    height: 80px;
    box-shadow: 0 0 0 4px #2e2e2e, 0 0 0 6px var(--clr);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    background: #2e2e2e;
    transition: 0.5s ease-in-out;
}

.cto-card .box:hover .content .icon {
    background: var(--clr);
    color: #2e2e2e;
    box-shadow: 0 0 0 4px #2e2e2e, 0 0 0 300px var(--clr);
}

.cto-card .box .content .text h3 {
    font-size: 1.5em;
    color: #fff;
    font-weight: 500;
    transition: 0.5s ease-in-out;
}

.cto-card .box:hover .content .text h3 {
    color: #2e2e2e;
}

.cto-card .box .content .text p {
    color: #999;
    transition: 0.5s ease-in-out;
}

.cto-card .box:hover .content .text p {
    color: #2e2e2e;
}

.cto-card .box .content .text a {
    position: relative;
    background: var(--clr);
    color: #2e2e2e;
    padding: 8px 15px;
    display: inline-block;
    text-decoration: none;
    margin-top: 10px;
    transition: 0.5s ease-in-out;
}

.cto-card .box:hover .content .text a {
    background: #2e2e2e;
    color: var(--clr);
}

/* -------------------------------------------------------------------- */
.section-bg {
    background-color: #05070b;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
    margin-top: 150px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: #bbcce9;
    padding: 2rem;
}

.section-title h2::before {
    content: "";
    position: absolute;
    display: block;
    width: 120px;
    height: 1px;
    background: #ddd;
    bottom: 1px;
    left: calc(50% - 60px);
}

.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: #47b2e4;
    bottom: 0;
    left: calc(50% - 20px);
}

.section-title p {
    margin-bottom: 0;
    color: white;
    font-size: 14px;
}


/* -------------------------------------------- */
.apply-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.apply-button:hover {
    background-color: #0056b3;
    color: #fff;
    text-decoration: none;
}

.apply-now-section {
    background-color: #f9f9f9;
    padding: 50px;
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.content {
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.content h2 {
    text-transform: uppercase;
    color: var(--color-bg);
}

.content p {
    font-size: 16px;
}
