@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&family=Tilt+Neon&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;600&display=swap");

.amc-hero {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url(/static/assets/footer_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    transform: skew(30%, 20%);
    background-attachment: fixed;
    background-position: center center;
}

.amc-hero h1 {
    font-size: 2.5rem;
    margin-top: 120px;
    margin-bottom: 0.5em;
    color: var(--color-bg);
    font-weight: 900;
    padding: 10px;
    border-bottom: 2px solid blue;
    border-radius: 20px;
    border-top: 2px solid white;
}

.amc-hero p {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.description > p {
    font-family: "Nunito", sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.review_process_section p {
    font-size: 4rem;
    text-align: start;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 200;
    width: 50%;
    text-align: center;
    margin-left: 20rem;
    margin-top: 20px;
}

.review_process_section p::first-letter {
    color: rgb(42, 237, 255);
}

.reviews {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 5rem;
    background-color: #d6d1d14e;
    padding: 2rem;
}

.first_review {
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 400px;
    margin: 0 auto;
    width: 60vh;
}

.first_review img {
    width: 100%;
    height: auto;
    max-width: 200px;
    margin: 0 auto;
}

.first_review h1 {
    color: white;
    font-size: 1.6rem;
    font-weight: 400;
}

.first_review p {
    color: rgb(223, 217, 217);
    font-size: 0.9rem;
    font-weight: 400;
}

.sub_part_review {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.sub_part_review img {
    width: 100%;
    height: auto;
    max-width: 124px;
}

.review_block {
    background-color: rgb(171, 161, 149);
    border-radius: 10px;
    padding: 10px;
    width: 80vh;
}

.review_block h1 {
    color: black;
    font-size: 1rem;
}

.review_block p {
    color: rgb(30, 29, 29);
    font-size: 0.8rem;
}

.main_container_block {
    display: grid;
    gap: 5rem;
}

.last_container {
    margin-top: 3rem;
}

.last_container h1 {
    color: #fff;
    font-size: 2rem;
}

.last_container p {
    color: #d6d1d1;
    font-size: 1rem;
}

.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; /* Darker green */
}

/******* SECTION - 2 *******/

.section2 h2 {
    text-align: center;
    font-size: 2.5rem;
    padding: 0.8rem;
    background-color: #FFFFFF;
    color: #6baff8;
    font-weight: 600;
}
.s2container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
  }
  
  .s2card {
    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;
  }
  
  .s2card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .s2card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
  }
  
  .s2card p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
  }

@media (max-width: 1215px) {
    .description > p {
        font-size: 1rem;
    }
}

@media (max-width: 1015px) {
    .description > p {
        font-size: 1rem;
    }
}

@media (max-width: 815px) {
    .users-color-container {
        display: none;
    }
}

@media (max-width: 815px) {
    .description > p {
        font-size: 1rem;
    }
}

@media (max-width: 460px) {
    .home {
        gap: 0;
        padding: 72px 40px;
    }

    .first_review img {
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .first_review h1 {
        font-size: 1.2rem;
    }

    .first_review p {
        font-size: 0.8rem;
    }

    .reviews {
        grid-template-rows: auto;
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .first_review {
        width: 80vw;
        height: 300px;
    }
}

/* =========================================== */

.features {
    margin-top: 8rem;
}

#features-column {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#features-column {
    display: flex;
    flex-direction: row;
}

#heading {
    width: 590px;
    color: var(--color-light);
}

#feature-block {
    display: flex;
    flex-direction: row;
}

#feature-column {
    margin-right: 24px;
}

#content {
    width: 100%;
}

.body-mid {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 180%;
    color: #c7c7cc;
}

.body-small {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 180%;
    color: #c7c7cc;
}

#feature-icon {
    margin-bottom: -10px;
}

#image {
    justify-content: center;
    align-items: center;
}

/* ============================================= */

.mazi-container {
    width: 100vw;
    padding: 0;
}

.Sec-title {
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 20px;
    color: #16003b;
    font-family: "Rubik", sans-serif;
    font-weight: 600;
}

.mazi-wrapper {
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 100%;
    margin: 1rem;
}

.sec-md-35 {
    width: 35%;
    margin-top: 0;
}

.sec-md-30 {
    width: 30%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -40px;
    z-index: 3;
}

.cards {
    position: relative;
    margin: auto;
    margin-top: 220px;
}

.cards .card {
    width: 100%;
    height: auto;
    background: #fff;
    padding: 30px;
    margin-top: 20px;
    border-radius: 10px;
    font-family: "Rubik", sans-serif;
    line-height: 10px;
}

.cards .card h2 {
    margin-top: 0;
    font-style: 1.5rem;
}

.cards .card p {
    line-height: 1.5rem;
}

.left-t {
    margin-left: 15%;
    opacity: 0;
    animation: 1s ease-out forwards 1 slideInFromLeft;
    animation-delay: 1s;
}

.left-b {
    margin-left: 45%;
    opacity: 0;
    animation: 1s ease-out forwards 1 slideInFromLeft;
    animation-delay: 3s;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.right-t {
    margin-left: -4%;
    opacity: 0;
    animation: 1s ease-out forwards 1 slideInFromRight;
    animation-delay: 2s;
}

.right-b {
    margin-left: -32%;
    opacity: 0;
    animation: 1s ease-out forwards 1 slideInFromRight;
    animation-delay: 4s;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.all-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 100;
}

.all-path .no1,
.all-path .no2,
.all-path .no3,
.all-path .no4 {
    animation: 4s ease-out forwards 1 draw;
    opacity: 0;
}

.all-path .no2 {
    animation-delay: 1s;
}

.all-path .no3 {
    animation-delay: 2s;
}

.all-path .no4 {
    animation-delay: 3s;
}

@keyframes draw {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    100% {
        opacity: 1;
        stroke-dashoffset: 0;
    }
}

.last_container {
    background: linear-gradient(to right, #c9ffbf, #ffafbd);
    color: #333;
    padding: 50px 0;
    text-align: center;
}

.last_container h1 {
    color: #333;
}

.last_container p {
    color: #333;
    padding: 20px;
}

/*SECTION1*/
.section1 {
    width: 100%;
    margin: 5vh 0;
    position: relative;
    font-family: "Oswald", sans-serif;
}

.section1 .title_header {
    width: 45%;
    margin: 5vh 4vw;
    text-transform: uppercase;
    font-weight: 400;
}

.section1 table {
    width: 90%;
    margin: auto;
    border-collapse: collapse;
}

.section1 table td {
    width: 25%;
    position: relative;
    border: 1px solid white;
}

.section1 table td img {
    width: 100%;
    height: auto;
}

.section1 table td:nth-child(odd):before {
    position: absolute;
    right: -25px;
    top: 50%;
    height: 50px;
    width: 50px;
    background: #fff;
    content: "";
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-top: -25px;
    z-index: 1;
}

.section1 table td i {
    font-size: 3.3em;
    color: #fff;
    display: block;
}

.section1 table td section {
    padding: 10px;
    padding-left: 30px;
    font-weight: 300;
}

.section1 table td p {
    line-height: 1.4em;
}

.section1 table td .title {
    color: rgb(109, 230, 252);
    font-size: 1rem;
    text-transform: uppercase;
}

.section1 table td .table-para {
    color: #fff;
    font-size: 14px;
}

@media (max-width: 820px) {
    .section1 {
        max-width: 99%;
        margin: 0;
    }

    .section1 .title_header {
        max-width: 99%;
        width: 99%;
        margin: 0;
        padding: 0;
    }

    .section1 table td img {
        width: 100%;
        height: 60%;
    }

    .section1 table {
        width: 100%;
    }

    .section1 table td {
        display: block;
        width: 100%;
    }

    .section1 table tr:nth-child(1) td:nth-child(1):after {
        position: absolute;
        right: 45%;
        bottom: -20px;
        height: 50px;
        width: 50px;
        background: #fff;
        content: "";
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        margin-top: -25px;
        z-index: 1;
    }
}

/* media query  */
@media (max-width: 1215px) {
    .description > p {
        font-size: 1rem;
    }
}

@media (max-width: 1015px) {
    .description > p {
        font-size: 1rem;
    }

    #features-column {
        display: flex;
        flex-direction: column;
    }

    #heading {
        width: 100%;
    }
}

@media (max-width: 815px) {
    .users-color-container {
        display: none;
    }

    .description > p {
        font-size: 1rem;
    }
}

@media (max-width: 460px) {
    .home {
        gap: 0;
        padding: 72px 40px;
    }

    .first_review img {
        max-width: 150px;
    }

    .mazi-container {
        display: none;
    }

    .review_process_section p {
        display: none;
    }
}

@media (max-width: 768px) {
    .first_review h1 {
        font-size: 1.2rem;
    }

    .first_review p {
        font-size: 0.8rem;
    }

    .reviews {
        grid-template-rows: auto;
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .first_review {
        width: 80vw;
        height: 300px;
    }

    #image img {
        width: 100%;
        margin-top: 7rem;
    }

    #feature-block {
        margin-top: 4rem;
    }

    .right-t {
        margin-left: -27%;
    }
}

@media (max-width: 820px) {
    .section1 {
        max-width: 100%;
        margin: 0;
    }

    .section1 .title_header {
        max-width: 99%;
        width: 99%;
        margin: 0;
        padding: 0;
    }

    .section1 table td img {
        width: 100%;
        height: 60%;
    }

    .section1 table {
        width: 100%;
    }

    .section1 table td {
        display: block;
        width: 100%;
    }

    .section1 table tr:nth-child(1) td:nth-child(1):after {
        position: absolute;
        right: 45%;
        bottom: -20px;
        height: 50px;
        width: 50px;
        background: #fff;
        content: "";
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        margin-top: -25px;
        z-index: 1;
    }
}

@media (max-width: 420px) {
    .reviews {
        margin-top: 3rem;
    }

    .first_review {
        width: 90%;
        height: auto;
    }

    .first_review img {
        max-width: 40%;
        margin-bottom: 1rem;
        margin-top: 1rem;
    }

    .review_block {
        width: 90%;
    }

    .last_container h1 {
        font-size: 24px;
    }

    .last_container p {
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    .reviews {
        margin-top: 2rem;
    }

    .first_review {
        width: 95%;
    }

    .last_container h1 {
        font-size: 20px;
    }

    .last_container p {
        font-size: 12px;
    }
}
