body{
    font-family:'Times New Roman', sans-serif;
    color: #333;
    line-height: 1.6;
}
:root {
    --primary-color: #047aed;
    --secondary-color: #1c3fa8;
    --black-color: #002240;
    --white-color: #f4f4f4;
    --success-color: #5cb85c;
    --error-color: #d9534f;
}

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
 
ul{
    list-style: none;
}

a{
    text-decoration: none;
    color: #333;
}

h1, h2, h3{
    font-weight: 300;
    line-height: 1.2;
    margin: 10px 0;
}

p{
    margin: 10px 0;
}

img{
    width: 100%;
}

pre, 
code {
    background-color: #333;
    color: #fff;
    padding: 10px;
}


/* NAVBAR STYLING*/
.navbar{
    background-color: var(--primary-color);
    color: #fff;
    height: 70px;
}

.navbar ul {
    display: flex;
}

.navbar a {
    color: #fff;
    padding: 10px;
    margin: 0 5px;
}

.navbar .arrange {
    justify-content: space-between;
}



/* SHOWCASE OR HERO SECTION */
.showcase{
    background-color: var(--primary-color);
    height: 400px;
    color: #fff;
    position: relative;
}

.showcase h1 {
    font-size: 40px;
}

.showcase p {
    margin: 20px 0; 
}

.showcase .align {
    grid-template-columns: 55% 45%;
    gap: 30px;
    overflow: visible;
}

.showcase-text {
    animation: slideInFromLeft 1s ease-in;
}

.showcase-form{
    position: relative;
    top: 60px;
    height: 350px;
    width: 350px;
    padding: 40px;
    z-index: 100;
    justify-self: flex-end; 
    animation: slideInFromRight 1s ease-in;
}

.showcase-form .form-control {
    margin: 30px 0;
}

.showcase-form input {
    border: 0;
    border-bottom: 1px solid #b4becb;
    width: 100%;
    padding: 3px;
    font-size: 16px;
}

.showcase::before,
.showcase::after {
    content: '';
    position: absolute;
    height: 100px;
    bottom: -70px;
    right: 0;
    left: 0;
    background: #fff ;
    transform: skewY(-2.5deg); 
    -webkit-transform: skewY(-2.5deg); 
    -moz-transform: skewY(-2.5deg); 
    -ms-transform: skewY(-2.5deg);
}


/* STATS SECTION */
.stats {
    padding-top: 100px;
    animation: slideInFromBottom 2.3s ease-in;
}

.stats-heading {
    max-width: 500px;
    font-weight: bold;
}

.stats .align h3 {
    font-size: 35px;
}

.stats .align p {
    font-size: 20px;
    font-weight: bold;
}


/* CLIENT SIDE */
.cli .align {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    animation: slideInFromBottom 2.3s ease-in;
}

.cli .align > *:first-child {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    max-width: 700px;
    animation: slideInFromBottom 2.3s ease-in;
}

.cli .align .card {
    animation: slideInFromBottom 2.3s ease-in;
}


/* CLOUD HOSTING */
.cloud .align {
    grid-template-columns: 4fr 3fr;
    animation: slideInFromBottom 2.3s ease-in;
}
.cloud .align > *:first-child {
    animation: slideInFromBottom 2.3s ease-in;
}
.cloud .align > *:nth-child(2) {
    animation: slideInFromBottom 2.3s ease-in;
}


/* LANGUAGES SECTION */
.languages .arrange {
    flex-wrap: wrap;
    animation: slideInFromBottom 2s ease-in;
}

/* .languages .card img {
    max-width: 80px;
} */

.languages .card {
    text-align: center;
    margin: 18px 10px 40px;
    transition: transform 0.2s ease-in;
    animation: slideInFromBottom 2.3s ease-in;
}

.languages .card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}


/* SECOND PAGE */
/* FEATURES SECTION */
.features-sub-head {
    animation: slideInFromBottom 2.3s ease-in;
}

.features-head img {
    width: 200px;
    justify-self: flex-end;
}

.features-sub-head img {
    width: 300px;
    justify-self: flex-end;
}

.features-content .card i {
    margin-right: 22px;
}

.features-content .align {
    padding: 25px;
}

.features-content .align > *:first-child {
    animation: slideInFromLeft 2s ease-in;
}

.features-content .align > *:nth-child(2) {
    animation: slideInFromLeft 2s ease-in;
}

.features-content .align > *:nth-child(3) {
    animation: slideInFromRight 2s ease-in;
}

.features-content .align > *:nth-child(4) {
    animation: slideInFromLeft 2s ease-in;
}

.features-content .align > *:nth-child(5) {
    animation: slideInFromRight 2s ease-in;
}

.features-content .align > *:nth-child(6) {
    animation: slideInFromRight 2s ease-in;
}

.features-content .align > *:first-child {
    grid-column: 1 / span 3;
}

.features-content .align > *:nth-child(2) {
    grid-column: 1 / span 2;
}


/* THIRD PAGE */
/* DOCS SECTION */
.docs-sub-head .align > *:first-child {
    animation: slideInFromLeft 1.3s ease-in;
}

.docs-sub-head .align > *:nth-child(2) {
    animation: slideInFromRight 1.3s ease-in;
}

.docs-head img,
.docs-sub-head img {
    width: 200px;
    justify-self: flex-end;
}

.docs-sub-head h3 {
    margin: 20px 0;
}

.docs-sub-head .align {
    grid-template-columns: 1fr 2fr;
    align-items: flex-start;
}

.docs-sub-head nav li {
    font-size: 17px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px #ccc solid;
}


/* FOOTER SECTION */
.footer .social a {
    margin: 0 10px;
}

/* EXTRA STYLING EFFECTS */
.navbar a:hover{
    border-bottom: 2px #fff solid; 
}

.showcase-form input:focus {
    outline: none;
}

.btn:hover {
    transform: scale(0.95);
}

.languages .card:hover {
    transform: translateY(-17px);
} 

.docs-sub-head a:hover {
    font-weight: bold;
}


/* ANIMATION */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateX(0);
    }
}


/* MEDIA QUERIES */
/* QUERIES FOR TABLETS AND BELOW SCREEN*/
@media(max-width: 768px){
     /* body {
    display: none;
} */

   .align, 
   .showcase .align,
   .stats .align, 
   .cli .align, 
   .cloud .align,
   .features-head .align,
   .features-sub-head .align,
   .docs-head .align,
   .docs-sub-head .align {
    grid-template-columns: 1fr; 
    grid-template-rows: 1fr;
}

   .showcase {
    height: auto;
}

   .showcase-text {
    text-align: center;
    margin-top: 40px;
    animation: slideInFromTop 1.3s ease-in;
}

   .showcase-form {
    justify-self: center;
    margin: auto;
    animation: slideInFromBottom 1.3s ease-in;
}

   .cli .align > *:first-child {
    grid-column: 1 ;
    grid-row: 1;
}

.features-head,
.features-sub-head ,
.docs-head {
    text-align: center;
}

.features-head img,
.features-sub-head img,
.docs-head img {
    justify-self: center;
}

.features-content .align > *:first-child,
.features-content .align > *:nth-child(2), 
.features-content .align > *:nth-child(3),
.features-content .align > *:nth-child(4), 
.features-content .align > *:nth-child(5), 
.features-content .align > *:nth-child(6) {
    grid-column: 1 / span 3;
}

}

/* QUERIES FOR MOBILE SCREEN */
@media(max-width: 500px) {
    .navbar {
        height: 110px;

    }

    .navbar .arrange {
        flex-direction: column;
    }

    .navbar ul {
        padding: 10px;
        background-color: rgba(0, 0, 0, 0.1);
    }

    /* .showcase-form {
        width: 300px;
    } */
}