*{
    margin : 0;
    padding : 0;
    box-sizing :border-box;
    text-decoration: none;
    list-style : none;
    border : none;
    outline : none;
    scroll-behavior : smooth;
    font-family: -apple-system,sans-serif;
}
:root{
    --bg-color : #ffffff;
    --snd-bg-color : #0b0122;
    --text-color : #ffffff;
    --main-color : #37aefc;
}
html{
    /* scroll-snap-type: y mandatory; */
    font-size:62.5%;
    overflow-x :hidden;  
    overflow-y: scroll;
    scroll-behavior :smooth;
}
body{
    background-color: var(--bg-color);
    color:var(--text-color);
}

section {
    top : 0;
    /* position : sticky;  */
    min-height: 100vh;
    padding: 10rem 8% 2rem;
}


 /* header sectin */

header{
    position : fixed;
    width : 100%;
    height : 90px;
    top : 0;
    right : 0;
    z-index : 10;
    display : flex;
    justify-content : space-between;
    align-items : center;
    background : #000000d5;
    backdrop-filter : blur(10px);
    transition : all 0.5s ease;
    
}
.logo{
    margin-left : 2.5rem;
    font-size : 3.8rem;
    font-weight : 700;
    cursor : pointer;
    transition : 0.3s ease-in-out;
}

.logo:hover{
    transform : scale(1.1);
}

.s1{
    color : var(--main-color);
}

.navbar {
    display : flex;
}

.navbar a{
    display : inline-block;
    position : relative;
    font-weight : 500;
    font-size : 1.8rem;
    color : var(--text-color);
    margin-left : 3.5rem;
    transition : all 0.5s ease;
    border-bottom : 3px solid transparent;
    transition: 0.3 ease-in-out;
    padding-bottom: 4px;
} 

.navbar a:hover::after{
    transform: scaleX(1);
    transform-origin: center;
}

.navbar a::after{
    content : '';
    position : absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color : var(--main-color);
    transform: scaleX(0);
    transform-origin :center; 
    transition : transform 0.3s ease;
}
#menu-check{
    display : none;
}
.top-btn{
    display : inline-block;
    text-align : center;
    font-size : 1.6rem;
    font-weight : 600;
    background : #28A745;
    border-radius : 8px;
    transition : 0.3s ease;
    margin-right: 3rem;
}

.top-btn a{
    display : inline-block;
    padding : 1rem 2rem;
    color: var(--text-color);
}
.top-btn:hover{
    background : #28A745;
    box-shadow: 0 0 20px #28A745;
}

#menu-icon{
    font-size: 3.9rem;
    color : var(--text-color);
    transition : .3s ease;
    display : none;
    cursor : pointer;
}
#menu-icon:hover{
    color : var(--main-color);
}

.all{
    position: relative;
    /* height: 100vh; */
    overflow-y: scroll;
    /* scroll-snap-type: Y mandatory; */
    background-color: #b1b0a353;
}


.home {

    /* position: relative;
    scroll-snap-align: start; */
    display:flex;
    justify-content : center;
    align-items : center;
   
    /* background: #ffffff; */
}

.home-content h1{
    font-size : 9rem;
    font-weight : 600;
    color : #5b61b6d0;
    line-height : 1.2;
}
.home-content p {
    font-size : 4rem;
    color :#5b61b6d0;
    margin-top : 1.5rem;
    margin-bottom : 2rem;
    font-weight : 600;
}


.home-content p span{
    font-size : 4.5rem;
    font-weight : 700;
    color: #28A745;
    transition : 0.3s ease-in-out;
}

.home-img{
    margin-left : 7rem;
    width : 70vh;
    filter : drop-shadow(2px 2px 7px black);
}


.home-btn {
    color : var(--snd-bg-color);
    display : inline-block;     
    background : var(--main-color);
    font-weight : 600;
    border-radius: 13px;
    padding : 1.5rem 3rem;  
    margin-top : 2rem;
    margin-left : 2rem;
    transition : 0.3s ease-in-out;
    letter-spacing: 1px;
}
.home-btn a{
    color : var(--snd-bg-color);
    font-size : 2.5rem;
    font-weight : 600;
}


.home-btn:hover{
    box-shadow: var(--main-color) 0px 0px 23px;
    transform : scale(1.1);
}


/* service page -- */
.services{
    /* position: relative;
    scroll-snap-align: start; */
    width : 100%;
    padding : 50px 30px;
    background : var(--snd-bg-color);
    font-family: 'Poppins',sans-serif;
    text-align: center;
    color: var(--text-color);
    width : 95%;
    background-size: auto;
    margin-left : 2.5%;
    margin-right : 2.5%;
    border-radius: 20px;
}
  
.service-header h2{
    font-size : 4rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

.services-content{
    display : grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap : 2rem;
    max-width: 1200px;
    margin : auto;
    height : 400px;
    justify-content: center;
    margin-bottom : 50px;
    padding : 0 20px;
}

.Calculator{
    width : 100%;
    background : rgb(224, 224, 220);
    border-radius : 16px;
    padding : 30px 20px;
    box-shadow : 0 5px 20px rgba(0,0,0,0.1);
    transition : 0.3s ease;
}

.Calculator:hover{
    transform: translateY(-10px);
}

.Calculator img{
    max-width : 310px;
    height : 260px;
    /* object-fit: contain; */
    margin-bottom : 20px;
    border-radius: 16px;
}

.Calculator h3{
   font-size : 2.5rem;
   color: #222;
   margin-bottom : 10px;
}

.Calculator p{
    font-size : 1.6rem;
    color: #555;
    margin-bottom : 20px;
}

.Calculator .btn {
    background : white;
    border : 2px solid var(--snd-bg-color);
    color : var(--snd-bg-color);
    padding : 1rem 2rem;
    font-size : 1.6rem;
    font-weight : 600;
    border-radius : 10px;
    transition : 0.3s ease;
} 
.Calculator .btn a{
    color : var(--snd-bg-color);
}   

.Calculator .btn:hover { 
    background : var(--snd-bg-color);
    color : white;
    box-shadow: var(--main-color) 0px 0px 0px;
    transform : scale(1);
    a{
        color : var(--text-color);
    }
}


/* Plan page */

.plans{
    /* position: relative;
    scroll-snap-align : start; */
    min-height : 100vh;
    width : 100%;
    color : black;
    background-color: #ebeae153;;

}

.plans h1{
    font-size : 4.5rem;
    text-align : center;
    margin-bottom : 50px;
    font-family: 'Poppins',sans-serif;
    width: 100%;
}

.plan-content{
    display : grid;
    grid-template-columns : repeat(auto-fit, minmax(250px,1fr));
    gap : 2rem;
    max-width : 1200px;
    margin : auto;
    align-items: center;
    margin-bottom : 50px;
}

.plan{
    border : 3px solid var(--snd-bg-color);
    border-radius : 16px;
    padding : 30px 20px;
    height : 450px;
    width : 350px;
    margin : auto;
    gap : 2rem;
    transform : 0.5s ease;

}   

.plan:hover{
    box-shadow : var(--snd-bg-color) 0px 0px 11px;
    transform: translateY(-10px);
}

.plan h3{
    font-size : 3.5rem;
    margin-bottom : 20px;
    color : var(--snd-bg-color);  
}

.plan h2{
    font-size : 4.5rem;
    color : #28A745;
    font-weight : 700;
    margin-bottom : 50px;
}

.plan ul li{
    list-style : disc;
    font-size : 1.8rem;
    color : rgba(9, 2, 35, 0.85);
    margin-left : 2rem;
}
.p-btn{
    margin-top : 40px;
    border : 2px solid var(--snd-bg-color);
    padding : 1rem 1.5rem;
    font-size : 1.6rem;
    border-radius : 1.5rem;
    background-color: #dfe0d353;
    transform : all 0.5s ease;
}

.p-btn:hover{
    /* transform: translateY(-10px); */
    transform : scale(1.1);
    background : var(--snd-bg-color);
    color : var(--text-color);
    box-shadow : 0px 5px 20px rgba(0, 0, 0, 0.5);
}

.footer{
    position : relative;
    scroll-snap-align : start;
    width : 100%;
    height : 130px;
    display : column;
    background : var(--snd-bg-color);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.socialmedia{
    text-align: center;
    margin : auto; 
    margin-bottom: 40px;
    
}

.socialmedia a{
    font-size: 27px;
    border : 1.5px solid var(--main-color);
    color : var(--main-color);
    height: 50px;
    width: 50px;
    line-height: 50px;
    display : inline-block;
    margin-left: 10px;
    margin-bottom : 20px;
    transform: 0.5s ease-in-out;
    border-radius: 60%;
    margin-top : 20px;
}

.socialmedia a:hover{
    transform: scale(1.1) translatey(-3px); 
    box-shadow: var(--main-color) 0px 0px 10px;
    
}

footer.copyright {
    background-color: var(--snd-bg-color);
    text-align: center;
    margin : auto;
    margin-bottom: 40px;
    font-size : 1.7rem;
    color : var(--text-color);
}

@media (max-width : 1200px){
    html{
        font-size : 55%;
    }
    .home-content p{
        font-size : 4rem;
    }
    
    .plan{
        width : 270px;
        height : 420px; 
        
     }
     .services{
        padding : 6rem;
        height : 154vh;
    }
    .home-content h1{
        font-size : 7rem;
    }
} 

@media (max-width : 991px){
    #menu-icon{
        display:block;
    }
    header ul{
        position :fixed;
        height : 100vh;
        width : 100%;
        background-color: #111111e7;
        top: 90px;
        left : -100%;  
        display : flex;
        flex-direction: column;
        align-items: center;
        gap : 2.5rem;
        padding-top : 4rem;
        transition :all 0.3s ease-in-out;
    }

    #menu-check:checked~ul{
         left : 0;
    }

    .navbar li{
        display : flex;
        flex-direction: column;
        align-items: center;
        height : 5vh;
    }
    .navbar li a{
        font-size: 3.5rem;
        transition: .3s ease-in-out;
        padding-bottom: 3.5px;
    }
    .navbar a:hover::after{
        border-bottom : .5px solid var(--main-color);
        border-radius : 100px;
    }
    header{
        padding : 2rem 3%;
    }
    section{
        padding : 10rem 3%;
    }
    .home-content h1{
        font-size : 6rem;
    }
    .services{
        padding : 6rem;
        height : 130vh;
    }
    .services-content h3{
        margin-top : 10px;
        margin-bottom : 15px;
    }
    .Calculator img{
        max-width : 180px;
        height : 180px;
    }
    .plan-header h1{
        font-size : 4rem;
    }
    .plan{
       width : 250px;
       height : 400px; 
    }
    .socialmedia a{
        font-size: 25px;
        border : 1.3px solid var(--main-color);
        
    } 
}   

@media (max-width:786px){
    
    html{
        font-size : 55%
    } 
    .home {
        flex-direction: column; 
        align-items: center;   
        text-align: center; 
    }

    .home-content p{
        font-size : 4rem;
    }
    .home-content{
        order : 2;
    }
    .home-img img{
        width : 70vw;
        margin-top : 40px;
    }

    .home-content {
        display: flex;
        flex-direction: column;
    }
    .home-btn {
        display: block;
        margin: auto; 
        margin-top : 2rem;
        height : 60px;
    }
    .home-content h1{
        font-size : 6rem;
    }
    .home-img {
        margin-right : 63px
    }
    .services{
        height : 169vh;
        /* width : 85%; */
        background-size: auto;
        /* margin-left : 7.5%;
        margin-right : 7.5%; */
        border-radius: 20px;
        background-repeat: no-repeat;
        background-position: center;
    }
    .services-content{
        /* padding : 0 80px; */
        display : grid;
        grid-template-columns: repeat(auto-fit, minmax(400px,1fr));
        gap : 2.5rem;
        max-width: 100px;
        height : 300px;
        padding-bottom : 20px;
    }
    .service-header {
        margin-top : 20px;
        margin-bottom : -5px;
    }
    .services-content h3{
        margin-top : -10px;
        margin-bottom : 20px;
    }
    .btn{
        width: fit-content;
        margin: 1rem auto;
    }
    .Calculator img{
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .plan-header h1{
        font-size : 4rem;

    }
    .plan-content{
        display : grid;
        grid-template-columns : repeat(auto-fit, minmax(250px,1fr));
        display : flex;
        flex-direction : column;
        align-items : center;
        display: flex;
    }
    .plans h1{
        
        margin-top : -10px;
        margin-bottom : 33px;
    }
    .plan{
        width : 400px;
        height : 360px; 
    }

    .features{
        margin-top : -30px;
    }
    .p-btn {
        margin-bottom :20px;
    }
    .socialmedia a{
        font-size: 20px;
        border : 1.5px solid var(--main-color); 
        height : 40px;
        width : 40px;
        line-height: 40px;
        margin-top : 30px;
    } 

}

@media (max-width:618px){
    html{
        font-size: 55%;
    }
    .logo{
        font-size : 3rem;
        margin-left : .8rem;
    }
    .top-btn{
        font-size : 1.5rem;
        font-weight : 600;
        background : #28A745;
        border-radius : 8px;
        transition : 0.3s ease;
        margin-right: 1rem;
        margin-left: 3rem;

    }
    
    .top-btn a{
        display : inline-block;
        padding : 1rem 2rem;
        color: var(--text-color);
    }
    .home {
        flex-direction: column; 
        align-items: center;   
        text-align: center; 
    }
    .home-img img{
        width : 84vw;
        margin-top : 20px;
    }

    .services{
        height : 165vh;
        /* width : 93%; */
        background-size: auto;
        /* margin-left : 3.5%;
        margin-right : 3.5%; */
        border-radius: 20px;
    }
    .services-content{
        /* padding : 0 80px; */
        display : grid;
        grid-template-columns: repeat(auto-fit, minmax(360px,1fr));
        gap : 2.5rem;
        max-width: 100px;
        height : 300px;
        padding-bottom : 20px;
    }
    .service-header {
        margin-top : -5px;
        margin-bottom : -20px;
    }
    .services-content h3{
        font-size : 2.8rem;
        margin-top : -10px;
        margin-bottom : 20px;
    }
    .Calculator p{
        font-size : 1.8rem;
    }
    .btn{
        width: fit-content;
        margin: 1rem auto;
    }
    
    .plans h1{
        margin-top : -20px;
        margin-bottom : 27px;
    }
    .plan{
        width : 380px;
        height : 360px; 
    }

    .features{
        margin-top : -30px;
    }
    .p-btn {
        margin-bottom :20px;
    }
    .socialmedia a{
        font-size: 20px;
        border : 1.5px solid var(--main-color); 
        height : 40px;
        width : 40px;
        line-height: 40px;
        margin-top : 30px;
    } 

}

@media (max-width:400px){
    html{
        font-size: 46%; 
    }
    .logo{
        font-size : 2.5rem;
    }
    .services{
        height : 195vh;
        width : 96%;
        background-size: auto;
        margin-left : 2%;
        margin-right : 2%;
        border-radius: 20px;
    }
    .services-content{
        display : grid;
        grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
        gap : 3rem;
        height : 300px;
    }
    .service-header {
        margin-top : -20px;
        margin-bottom : -30px;
    }
    .services-content h3{
        font-size : 2.9rem;
        margin-top : 7px;
        margin-bottom : 20px;
    }
    .Calculator p{
        font-size : 2rem;
    }
    .plans h1{
        margin-top : -20px;
        margin-bottom : 27px;
    }
    .plan{
        width : 300px;
        height : 340px; 
    }

    .features{
        margin-top : -40px;
    }
    .p-btn {
        margin-bottom :20px;
        color : var(--snd-bg-color);
    }
    .socialmedia a{
        font-size: 20px;
        border : 1.5px solid var(--main-color); 
        height : 40px;
        width : 40px;
        line-height: 40px;
        margin-top : 30px;
    } 
}