/* 
--- 01 TYPOGRAPHY SYSTEM

- Font Sizes (px)
  10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

//***************************************************
- Font Weights
    Default: 
            - 400
    Medium: 
            - 500
    Semi Bold: 
            - 600
    Bold: 
            - 700

//***************************************************
- Line Heights
    Default: 
            - 1
    Heading default: 
            - 1.05
    Paragraph default: 
            - 1.6

//***************************************************
- Letter spacing:
            - 0.5px
            - 0.75px

//***************************************************
--- 02 COLORS

- Primary: 
    - rgb(26,43,109)
- Tints:
    
- Shades:
   
- Accents:
    - #d41317
- Greys: 
    - #555      // primary text color
    - #333
    - rgb(242 242 242)

//***************************************************
--- 05 SHADOWS


//***************************************************
--- 06 BORDER-RADIUS:
        -Default: 9px

//***************************************************

--- 07 WHITESPACE

- Spacing System (px)
  2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
 
*/




.body {
    color: #555;
    line-height: 1;
    font-weight: 400;
    
}
:root {
    --primary-color: #1a2b6d;
}

/*********************************/
/* HEADER & NAVIGATIONN BAR  */
/*********************************/

.header {
    height: 8rem;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    padding-right: 6.4rem;
}


.main-nav-list {
    display: flex;
    align-items: center;
    justify-content: end;
    list-style: none;
    gap: 4.8rem;
    
}

.main-nav-link:link,
.main-nav-link:visited {
    font-size: 1.8rem;
    text-decoration: none;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 0.75px;
    transition: all 0.4s;
}

.main-nav-link:hover,
.main-nav-link:active {
    color: #d41317;
}

.icon-mobile-nav {
    font-size: 4.8rem;
    color: white;
}

.icon-mobile-nav[name='close-btn'] {
    display: none;
    font-size: 4.8rem;
}

.icon-mobile-nav[name='hamburger-icon'] {
    font-size: 4.8rem;
    color: var(--primary-color);
}
.btn-mobile-nav {
    border:none;
    background: none;
    cursor: pointer;
    display: none;
    
    
    /* tmep */
    position: fixed;
    top: 2rem;
    right: 2rem;
}

.sticky {
    position: fixed;
    top:0;
    bottom:0;
    width: 100%;
    z-index: 100000;
    background-color: rgb(242, 242, 242);
    height: 8rem;
    box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

.logo-link {
    margin-right: auto;
    height: 8rem;

    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5rem;
    overflow: hidden;

}
.logo-link:focus {
    outline:none;
}
.logo {
    max-width: 15rem;

    padding-top: 1.6rem;
}


/*********************************/
/* MAIN SECTION  */
/*********************************/

.section-main {
    margin-bottom: 30rem;
    /* temp */
    position: relative;
    margin-top: 8rem;

}


.img-container {
    width: 100%;
    height: 62.0rem;
    border-bottom: 1.5rem solid var(--primary-color);

    /* temp */
    position: relative;
}
.main-img {
    width: 100%;
    height: 100%;

    /* This ensures no stretching of image */
    object-fit: cover;
    
}

.main-text{
    display: grid;
    grid-template-rows: min-content 1fr;
    
    padding: 4.8rem;
    background-color: rgb(242 242 242);

    /* temp */
    border-radius: 4px;

}
.main-container {
    overflow: hidden;
}
.main-text-container {
    max-width: 90rem;
    display:flex;
    flex-direction: column;
    flex-grow: 1;
    transition: all 1s ease-in;
    transform: translateX(-100%);
    
    /* position */
    position: absolute;
    top: 30rem;
    right: 15rem;

    /* temp */
    opacity: 0;
    visibility: none;
    pointer-events: none; 
}

.show-main-text {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);

}

.text-container {
    display: grid;
    grid-template-columns: 25fr 75fr;
    column-gap: 3.5rem;
    align-items: top;
}

.main-text-heading-1 {
    padding-right: 8rem;
}

.horizontal-bar {
    width: 97%;
    border-top: 3px solid var(--primary-color);
    margin-top: 1rem;
    justify-self: center;
}

.para-text {

    font-size: 1.6rem;
    text-align: justify;
    word-spacing: 1px;
    hyphens: auto;
    line-height: 2.72rem;
    letter-spacing: 1px;
    color: #666666;
}

.btn-container {
    display: flex;
    transition: all 0.4s;
    justify-content: end;
    align-items: stretch;
}

.btn-container span {
    display: flex;
    align-items: center;
    justify-content: start;
}

.btn:link,
.btn:visited {
    transition: all 0.3s;

    font-size: 1.5rem;
    text-decoration: none;
    color: white;
    letter-spacing: 0.75px;
    
    
    background-color: #d41317;
    padding: 1.6rem 2.4rem;

    /* temp */
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;


}

.btn:hover,
.btn:active {
    background-color: var(--primary-color);
}

.btn-icon {
    padding: 1.2rem;
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s;

    /* temp */
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.btn-icon:hover {
    background-color: #d41317;
}




/*********************************/
/* SERVICE SECTION  */
/*********************************/

.section-service {

    margin-bottom: 9.6rem;
    padding-top: 4.8rem;
    /* background-color: var(--primary-color); */

    background: linear-gradient(to bottom, var(--primary-color) 35%, transparent 35%);
}


.service-container {
    /* padding:4.7rem; */
    row-gap: 4.8rem;
    column-gap: 2.4rem !important;
    justify-items: center;
    justify-items: start;
    
}

.service-box-container:nth-child(2), 
.service-box-container:nth-child(5) {
    justify-self: center;
}

.service-box-container:nth-child(3), 
.service-box-container:nth-child(6) {
    justify-self: end;
}

.service-heading-1 {
    color: white;
    font-weight: normal;
    margin-bottom: 1.2rem;
}

.service-box-heading-2 {
    padding-right: 4.8rem;;
}

.service-header {
    /* background-color: bisque; */
    margin-bottom: 4.8rem;
    transform: translate(-1.1rem, 0px);
}

.service-para {
    color: rgb(242 242 242);
    width: 65%;
    hyphens: auto;
    font-size: 1.6rem;
    word-spacing: 1px;
    line-height: 2.72rem;
    letter-spacing: 1px;

}

.service-box-container {
    border: 3px solid rgb(242 242 242);
    max-width: 35rem;

    /* to strech the grid items and change their width */
    align-self: stretch;

    


    /* temp */
    border-radius: 4px;
}

.service-box {
    max-width: 35rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    
    padding: 3.2rem 2.4rem;
    background-color: rgb(242 242 242);
    transform: translate(-1.5rem, -1.5rem);
    
    /* temp */
    border-radius: 4px;
}

.service-text {
    color: #666666;
    font-size: 1.6rem;
    letter-spacing: 0.75px;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.service-icon {
    font-size: 1.6rem !important;
    padding-left: 0;

}

.service-link:link,
.service-link:visited {

    display: flex;
    align-items: center;
    gap: 0.2rem;
    transition: all 0.3s;

    text-decoration: none;
    color:#d41317;
    font-size: 1.6rem;
    letter-spacing: 0.5px;

    /* to align it with above content */
    margin-left: -0.3rem;

    /* to move it at end of flexbox */
    margin-top: auto;
}

.service-link:active,
.service-link:hover {
    color: var(--primary-color);
}


/*********************************/
/* TESTIMONIALS SECTION  */
/*********************************/

.section-testimonials {
    margin-bottom: 9.6rem;
    padding-top: 4.8rem;
    background-color: rgb(242 242 242);
    border-bottom: 1.5rem solid var(--primary-color);
    position: relative;
}

.heading-testimonial {
    font-size: 2.8rem;
    font-weight: 300;
}

.carousel-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.testimonials{
    display: flex;
}


.testimonial {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-text {
    width: 70%;
    font-size: 3.5rem;
    /* line-height: 1.2; */
    margin-bottom: 4.8rem;
}
.cus-name {
    font-weight: 600;
    font-size: 1.8rem;
}
.cus-info {
    color: #d41317;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;

    margin-bottom: 4.8rem;
}

.dot-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4.8rem;

    /* temp */
    /* background-color: violet; */
}

.dot:link,
.dot:visited {
    height: 1rem;
    width: 1rem;
    background-color: var(--primary-color);
    border-radius: 100%;
    border: 2px solid var(--primary-color);
    text-decoration: none;
}

.dot:active,
.dot:hover,
.active-dot {
    background-color: rgb(242 242 242) !important;
}


.right-icon:link,
.right-icon:visited {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translate(0%, -50%);
    z-index: 1;
}

.left-icon:link,
.left-icon:visited {
    position: absolute;
    top: 50%;
    left: -10%;

    transform: translate(0%, -50%);
    z-index: 1;
}



.carousel-icon {
    font-size: 8rem !important;
    color: var(--primary-color) !important;
    transition: all 0.3s;
}

.carousel-icon:hover {
    transform: scale(1.3);
}



/*********************************/
/* READ MORE SECTION  */
/*********************************/

.section-read-more {
    margin-bottom: 12rem;
    padding-top: 4.8rem;
    
}

.read-more-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-text-container {
    max-width: 90%;
    /* height: 90%; */
    display:flex;
    flex-direction: column;
    flex-grow: 1;

    
}

.more-text {
    display: grid;
    grid-template-rows: min-content 1fr;
    
    padding: 4.8rem 4.8rem;
    background-color: rgb(242 242 242);

    /* temp */
    border-radius: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.read-more-heading {
    letter-spacing: 2.4px;
    margin-bottom: 3.2rem;
    line-height: 1.2;
}


.read-more-text-container {
    grid-template-columns: 20fr 80fr;
}


/*********************************/
/* CALL TO ACTION SECTION  */
/*********************************/

.section-cta {

    padding-top: 4.8rem;

    /* temp */
    background-color: var(--primary-color);
}

.footer {
    border-top: 1px solid #eeeeee30;
    color: white;
    padding-bottom: 4.8rem;
}
.cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.cta-heading {
    color: white;
    font-size: 4.8rem;
    margin-bottom: 6.4rem;
    letter-spacing: 5px;
    font-weight: 100;
}

.cta-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 6.4rem;
    column-gap: 3.2rem;
    width: 65%;

    margin-bottom: 4.8rem;
}

.form-label {
    color: white;
    display: block;
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 1.6rem;
}

.form-input {
    width: 100%;
    border:none;
    border-right: #1a2b6d;
    background-color: transparent !important;
    box-shadow: 3px 0px var(--primary-color), -3px 0px var(--primary-color), 0px 1px white;
    /* box-shadow: inset 0px -1px 0px white; */
    color: rgb(200 199 199);
    font-size: 1.6rem;
    letter-spacing: 0.75px;
    font-weight: 300;

    padding: 0.8px 0.8rem 0.8rem 0.8rem;
    font-family: 'Helvetica', sans-serif;
}



.textarea {
    font-size: 1.6rem;
    letter-spacing: 1px;
    line-height: 1.2;
    /* height: 5rem; */
    resize: none;
    border: none;


    /* temp */
    margin: 0;       
    /* padding: 0;       */
    border: none;    
    outline: none;   
    background: none;
    resize: none;    
    /* box-shadow: none; */       
    overflow: hidden;   
}

.form-input:focus,
.form-input:hover {
    outline:none;
    /* border-bottom: 2px solid white; */
    box-shadow:  3px 0px var(--primary-color), -3px 0px var(--primary-color), 0px 3px white;
}

.input-container-3,
.input-container-4
{
    grid-column: 1/-1;
    text-align: center;
}
.cta-form .form-btn-container {
    margin-top: -2.4rem;
}
.form-btn-container {
    margin-top: 2.4rem;
    grid-column: 1/-1;
    text-align: center;
}
.modal-form .form-btn-container .submit-btn {
    background-color: #d41317;
}
.submit-btn {
    text-align: center;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 2.4rem;
    font-weight: 300;
    letter-spacing: 1.75px;
    cursor: pointer;
    padding: 0.8rem 3.2rem;
    transition: all 0.3s;

    /* temp */
    border-radius: 4px;
}

.submit-btn:hover {
    background-color: #d41317;
}

.address-container {
    padding-top: 4.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.address {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    
    margin-bottom: 3.2rem;
}
.address p, .address a {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.8rem;
    text-decoration: none;
    flex-shrink: 0;
}
.footer-link {
    color: white;
}

.copyright {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
}

.copyright-container {
    display: flex;
    gap: 3rem;
    
    
    
    font-size: 1.6rem;
    letter-spacing: 0.5px;
}

.privacy-link:link,
.privacy-link:visited,
.terms-link:link,
.terms-link:visited {
    color: white;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    transition: all 1s;
    position:relative;
}

.copyright-container a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px; /* Thickness of underline */
    background-color:#d41317; /* Color of underline */
    left: 0;
    bottom: -2px; /* Positioning the underline below the text */
    transition: width 0.3s ease; /* Control the speed and smoothness */
}
.copyright-container a:hover::after  {
    width: 100%;
}

.privacy-link:hover,
.privacy-link:active,
.terms-link:hover,
.terms-link:active {
}




/*********************************/
/* MODAL  */
/*********************************/

.modal {
    /* display: none; Hidden by default */
    display: none;

    position: fixed; /* Stay in place */
    z-index: 100000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
    justify-content: center;
    align-items: center;
}

/* Modal content */
.modal-content {
    color: white;
    border-radius: 9px;
    position: relative;
    overflow-y: hidden;
    background-color: var(--primary-color);

    /* display: flex;
    align-items: center;
    justify-content: center; */
    /* flex-direction: column; */
    /* width: 182rem;
    height: 155.5rem; */
    /* width: 80%; */

    padding: 4.8rem;


    /* temp */
    display: grid;
    justify-items: center;
    /* grid-template-columns: 10fr 60fr 30fr; */
    /* column-gap: 4.8rem; */
}

/* Close button */
.close {
    position: absolute;
    top: 1rem;
    right: 3rem;
    font-size: 4rem;
    cursor: pointer;
}

.modal-heading {
    /* font-size: 8.4rem; */
    color: white;
    margin-bottom: 4.8rem;
    line-height: 1.2;
}

.modal-content .input-container-4,
.modal-content .input-container-5,
.modal-content .input-container-6, 
.modal-content .input-container-7{
    grid-column: 1 / -1;
    text-align: center;
}


.modal-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 2rem;
    column-gap: 2.4rem;
    width: 70%;

    /* temp */
    align-items: center;
    justify-self: center;
}

.modal-address-container .form-btn-container{
    grid-column: 1 / -1;
    justify-self: center;
    margin-bottom: 1.2rem;
    /* margin-top: auto; */
    padding: 0.8rem 3.2rem;
    flex-grow: 0;
}

.modal-address-container .form-btn-container .submit-btn{
    transition: all 0.3s;

    background-color: #d41317;
}

.modal-address-container .form-btn-container:hover .submit-btn {
    background-color: #b61315;
}

.modal-address-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-address {
    flex-direction: column;
    gap: 2.4rem;
    align-items: start;
    padding: 0.8rem 3.2rem;
    margin-bottom: 0;
}



/*********************************/
/* SCROLL UP BUTTON   */
/*********************************/

.scroll-up-btn {

    position: fixed;
    bottom: 3rem;
    right: 2.5rem;
    background-color: var(--primary-color);
    border: none;
    font-size: 2.4rem;
    width: 4.8rem;
    height: 4.8rem;
    transition: all 0.5s ease;

    border-radius: 4px;

    display: flex;
    align-items: center;
    justify-content: center;
    /* css for hiding */
    /* I have hide general class added to the element */
}
.arrow {
    color: #fff;
}


/* TEMP */
.temp-form form {
    font-size: 2.4rem;
}