*{
    font-family: 'Oswald', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    text-transform: capitalize;
}
/* stylenew.css */

/* Default body font */
body {
    font-family: 'Roboto', sans-serif; /* This will apply Roboto for general text */
}

/* Heading fonts */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif; /* This will apply Oswald for all headings */
}

/* Special text or quotes */
blockquote, .highlight, .callout {
    font-family: 'Lora', serif; /* This will apply Lora for special sections */
}

/* Other CSS styles */
.nav-links a {
    font-family: 'Roboto', sans-serif;
}

footer {
    font-family: 'Lora', serif;
}

/* Additional styling examples */
.home h1 {
    font-family: 'Oswald', sans-serif;
}

.content p {
    font-family: 'Roboto', sans-serif;
}

.whatsapp-float a {
    font-family: 'Roboto', sans-serif;
}


@mixin grid($val) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minimax($val, 1fr));
    gap:1.5rem;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;

    &::-webkit-scrollbar{
        width: 1rem;
    }

    &::-webkit-scrollbar-track{
        background: black;
    }

    &::-webkit-scrollbar-track{
        background: blue;
        border-radius: 5rem;
    }
}

body{
    /*------*/background: black;
    padding-bottom: 6.5rem;

}

section{
    padding: 2rem 9%;
}


.heading{
    text-align: center;
    font-size: 6vw;
    top: 0;
    color: white; /*white*/
    margin-bottom: 3rem;
    text-transform: uppercase;

    span{
        color: #1e90ff;
        top: 0;
    }
}



.btn{
    display: inline-block;
    margin-top: 1rem;
    border-radius: 5rem;
    background: #1e90ff
    padding: .7rem;
    font-size: 2rem;
    color: white;
    padding-left: 2rem;

    i{
        height: 4rem;
        width: 4rem;
        line-height: 4rem;
        font-size: 2rem;
        text-align: center;
        background: white;
        color: #1e90ff;
        border-radius: 2rem;
        margin-left: 1rem;
        transition: .3s linear;
    }

    &:hover i{
        margin-left: 2rem;
    }
}



/* Navbar Styles */
.navbar {
    text-decoration: none;
    font-size: 3rem;
      position: fixed;
      left: 0;
      width: 100%;
      bottom: 40px;
      background-color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 3px 4px;
      border-radius: 5px 35px 35px  5px;
      box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      cursor: pointer;
}

.navbar .logo img {
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 6px 15px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    padding: 3px 10px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: black;
}
.navbar .highlight {
    font-size: 2rem;
  background-color: red;
  color: white;
  padding: 4px 8px;
  border-radius: 40px 40px  40px;
}

.navbar .highlight:hover {
  background-color: rgb(179, 3, 3);
  color: white;
}

/* Dropdown Menu */
.dropdown-popup {
    display: none;
    position: absolute;
    bottom: 100%;
    left: -40%;
    background: white;
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.3);
    min-width: 150px;
    padding: 10px;
}

.dropdown:hover .dropdown-popup {
    display: flex;
}

.dropdown-popup a {
    display: block;
    color: black;
    padding: 5px 10px;
    text-decoration: none;
    text-align: center;
    align-items: center;
}

.dropdown-popup a:hover {
    background-color: #555;
    color: white;
}

.dropdown-img {
    width: 100px;
    height: 100px;
    border-radius: 5px;
}



/* Dropdown-------- login Menu */

.dropdown-popup-login {
    display: none;
    position: absolute;
    bottom: 100%;
    left: -40%;
    background: white;
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.3);
    min-width: 150px;
    padding: 10px;
}

.dropdown:hover .dropdown-popup-login {
    display: block;
}

.dropdown-popup-login a {
    display: block;
    color: black;
    padding: 5px 10px;
    text-decoration: none;
    text-align: center;
    align-items: center;
}

.dropdown-popup-login a:hover {
    background-color: #555;
    color: white;
}


   /* footer manin section*/

   .footer_main {
    background-color: #00A000; /* Green background */
    text-align: center;
    padding: 2px 0;
    width: 100%;
    position: fixed;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-family: sans-serif;
    font-weight: bold;
    background: green;
}

.footer_main span {
        font-size: 15px; /* Increased font size */
        font-weight: bold;
        color: white;
        padding: 2px 0;
}
.partner-button {
    background: goldenrod;
    color: white;
    font-size: 15px; /* Increased font size */
    font-weight: bold;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}
.partner-button:hover {
    background: darkgoldenrod;
}




    .heading_main{
        padding: 20px;
         width: 100%;
    overflow: hidden;
    white-space: nowrap;
          position: fixed;
        top: 10px;
        background-color: goldenrod;
        color: rgb(185, 4, 4);
    }
    
        /* Scrolling and rotating animation */
    .heading_main h1 {
        font-size: 2rem;
        color: red;
 display: inline-block;
        top: 10px;
        position: absolute;
        left: 150%;
        animation: scrollText 30s linear infinite, rotateText 2s ease-in-out infinite alternate;
    }
    
    /* Scrolling animation: Moves text from right to left */
    @keyframes scrollText {
        from {
            left: 100%;
        }
        to {
            left: -100%;
        }
    }


.home{
    top: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    min-height: calc(100vh - 2.5rem);

    .image{
        flex: 1 1 35rem;
        text-align: center;

        img{
            height: 40rem;
            width: 45rem;
            border-radius: 90% 70% 70% 60%/ 70% 60% 60% 90%;
        }
        h1{
            color: goldenrod;
            font-size: 4rem;
            padding-bottom: .2rem;
            margin-bottom: .2rem;
            cursor: pointer;
        }
    }

    .content{
        flex: 1 1 35rem;

        h3{ 
            font-weight: bold;
            white-space: nowrap;
            flex: 0;
            color: #1e90ff;
            font-size: 5rem;
            padding-bottom: -5rem;
            margin-bottom: -5rem;
            padding:-2rem 0 0 0;
            cursor: pointer;
            text-transform: none;
        }
                    span{
                color: goldenrod;
                font-size: 6rem;
                padding-bottom: -5rem;
                margin-bottom: -5rem;
                cursor: pointer;
            }
          p{
            font-size: 3rem;
            color: lightgrey;/* black  */;
            padding: -10rem 0;
            margin: -4rem 0 0 0;
            line-height: 2;
            cursor: pointer;
        }
        span{
            font-size: 5rem;
            color: #1e90ff;
            padding: 1rem 0;
            display: block;
            cursor: pointer;
        }

        .btn{
            background-color: #1e90ff;
            padding:.5rem;
            margin-top: 6rem;

        }

    }
}

.box-container{
    padding: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;

    .box{
        flex: 1 1 20rem;
        cursor: pointer;

        h3{
            font-size: 3rem;
            cursor: pointer;
        }
    }
    img{
        border-radius: 5px;
    }
}

.box-container .box img:hover{
    transform: scale(1.1);
    transition-duration: .5s;
}

.services{
    .box-container{
        flex: 2;

        @include grid(16rem);

        .box{
            padding: 2rem;
            text-align: center;
            box-shadow: $box-shadow;
            border-radius: .5rem;
           /* background: black; */
           box-shadow: #1e90ff;

            img{
                height: 30rem;
                width: 30rem;
                margin-bottom: 1rem;
                flex: 1;
                border-radius: 3rem;
                box-shadow: #1e90ff;
            }
            h3{
              /* ---------  */color: white;
                font-size: 2rem;
                font-weight: normal;
                text-transform: uppercase;
            }
        }
    }
    &:hover{
        transform: scale3d(1.2);
    
        .box:hover{
            transform: scale3d(1.2);
    
            img:hover{
                transform: scale3d(1.2);
                box-shadow: #1e90ff;
            }
        }
    }
    
}

.box-container:hover{
    transform: scale3d(1.2);

    .box:hover{
        transform: scale3d(1.2);

        img:hover{
            transform: scale3d(1.2);
        }
    }
}


.about{

    .box-container{
        display: flex;
        flex-wrap: wrap;

        .box{
            flex: 1 1 42rem;
            margin-left: 2rem;
            padding: 2rem;
            padding-left: 3.5rem;
            padding-bottom: 2rem;
            border-left: .3rem solid rgba(51, 51, 51, 0.8);
            position: relative;


            i{
                height: 4rem;
                width: 4rem;
                line-height: 4rem;
                font-size: 1.5rem;
                border-radius: 50%;
                background: #1e90ff;
                color: white;
                text-align: center;
                position: absolute;
                top: 0; left: -2.2rem;
            }

            h3{
                font-size: 4rem;
                color: #1e90ff;
            }

            p{
                color: white;
                font-size: 2rem;
            }
        }
    }
}

.contact{

    .row{
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 2rem;


        .info-container{
            width: 40rem;

            h1{
                font-size: 3rem;
                text-transform: uppercase;
                color: white;
                padding-bottom: 1rem;
            }

                p{
                    font-size: 1.5rem;
                    line-height: 2;
                    color: grey;
                    padding: 1rem 0;
                }

                .box-container{
                    padding: 1rem 0;

                    .box{
                        display: flex;
                        gap: 2rem;

                        i{
                            font-size: 4rem;
                            color: #1e90ff;
                        }

                        h3{
                            font-size: 2rem;
                            color: white;
                        }
                    }
                }
                
                .share{
                    a{
                        font-size: 2rem;
                        height: 4.5rem;
                        width: 4.5rem;
                        line-height: 4.5rem;
                        border-radius: 50%;
                        background: rgb(51, 51, 51);
                        color: white;
                        text-align: center;
                        margin-right: .3rem;


                        &:hover{
                            background: #1e90ff;

                        }
                    }
                }
            }
    
        form{
            flex: 1 1 42rem;

            .inputBox{
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;

                input{
                    width: 49%;
                }
            }

            .inputBox input,
            textarea{
                border-radius: 3rem;
                padding: 1.2rem 1.8rem;
                font-size: 1.6rem;
                color: white;
                text-transform: none;
                margin: .7rem 0;
                background: white;
            }
            textarea{
                width: 100%;
                border-radius: 1rem;
                resize: none;
                height: 25rem;
            }

            .btn{
                padding: 1rem 3rem;
                cursor: pointer;
                color:white;
                background: #1e90ff;

                &:hover{
                    background: blue;
                    color: black;
                    transition: .4s;
                }
            }
        }
    }
}

/*--------------------------------------------------------------------footer*/

.footer{
    background-color: rgb(31, 30, 30);
    padding: 1rem 4rem 1rem;
    cursor: pointer;
    display:contents;
    margin-top :1000px;
    width:100%;

    h2{
        text-align: center;
        align-items: center;
        margin-bottom: 5px;
    }

    
                        
}

   .footer .container{
        margin: auto;
}
       .footer .container .row{
            display: flex;
            flex-wrap: wrap;
            text-align: center;
}

 .footer h4{
     border-bottom: 2px solid #00f
        color: white;
        margin-bottom:10px;
        position:fixed;
        display:inline-block;
        
 }
            .footer-col{
                width: 25%;
}
    .footer-col  h4{
        font-size: 2rem;
        color: white;
        text-transform: capitalize;
        margin-bottom: 30px;
        font-weight: 500;
        position: relative;
        cursor: pointer;


        &::before{
            content: '';
            position: absolute;
            left: 0;
            bottom: -10px;
            background-color: #1e90ff;
            height: 2px;box-sizing: border-box;
            width: 50px;
            cursor: pointer;
        }
      }

           .footer-col ul{
                list-style: none;
                padding: 0 15px;
                cursor: pointer;

                li{
                    margin-bottom: 10px;
                }
                a{
                    font-size: 1.5rem;
                    color: white;
                    text-decoration: none;
                    font-weight: 200;
                    color: white;
                    display: block;
                    cursor: pointer;
                    transition: all .2s ease;


                    &:hover {
                        color: grey;
                    }

                 }
            }

 /*--------------------------------------------menu-----------------*/
 #menu-section{
    min-height: 740px;
    width: 100%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
 }

 #menu-section h2{
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
 }

 #menu-section h2::after{
    position: absolute;
    content: "";
    top: 8px;
    left: -30px;
    height: 0;
    width: 0;
    border-top: 20px solid transparent;
    border-left: 20px solid orangered;
 }

 #menu-section h2::before{
    position: absolute;
    content: "";
    top: 8px;
    right: -30px;
    height: 0;
    width: 0;
    border-top: 20px solid transparent;
    border-right: 20px solid orangered;
 }

 #menu-section #paragraph{
    width: 40%;
    font-size: 2rem;
    color: white;
    text-align: center;
    line-height: 1.5rem;
    white-space: 1px;
    margin-bottom: 40px;
    text-transform: uppercase;
 }

 .cards{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
    z-index: 9;
    margin-top: 20px;
 }

 .cards .card{
    height: 280px;
    width: 380px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0 8%;
    background: #007bff;
    position: relative;
 }

 .cards .card::before{
    position: absolute;
    content: " ";
    height:100%;
    width: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: #fd562a;
   transform: rotate(0deg);
   z-index: -1;
 } 

 .cards .card:hover.card::before{
    transform: rotate(10deg);
    transition: .5s;
 }

 .cards .card i{
    font-size: 4rem;
    color: #ccc;margin-top: 40px;
    text-align: center;
    align-items: center;
 }


 .cards .card .content p{
    font-size: 2rem;
    color: white
 }




/*---------------------------------------------------------solar starts*/


header {
    background: url(solar2.jpg);
    color: white;
    padding: 1rem;
    text-align: center;
    font-size:3rem;
}

/* Section styling */
.preloadSection {
    position:right;
    padding: 60px;
    text-align: right;
}

.deferredImageContainer {
    display: absolute;
    align-items: right;
}

.deferredImage {
    align-items:right;
    margin-right:5px;
    text-align:right;
     height: 30rem;
     width: 30rem;
     border-radius: 90% 70% 70% 60%/ 70% 60% 60% 90%;
    
}

/* Banner overlay */
.new_banner_overlay {
    position: absolute;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    z-index: 1;
}

/* Button styling */
.slick-next.slick-arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: #007bff;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
}

/* Call-to-action section */
.call-today {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
}

.call-today a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.ph_icon {
    display: inline-block;
    margin-right: 10px;
}

/* Form styling */
.hero-form {
    background-color: #1a1a1a;
    color: white;
    padding: 20px;
    border-radius: 10px;
}

.hero-form input[type="text"],
.hero-form input[type="number"],
.hero-form input[type="email"] {
    width: calc(50% - 10px);
    margin: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.hero-form input[type="submit"] {
    width: 100%;
    padding: 10px;
    background: green;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.hero-form input[type="submit"]:disabled {
    background: yellow;
    cursor: not-allowed;
}

.hero-form .agree_text a {
    color: red;
    text-decoration: underline;
}

/* Bottom form section */
.bottom-form {
    background-color: green;
    color: white;
    padding: 20px;
}

.bottom-form .form-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
h6{
    font-size:3rem;
}


section#calculator-section {
    font-size:2rem;
    padding: 10rem;
    margin: 10rem;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2, h3 {
    font-size:2rem;
    color: white;
}

form {
    font-size:2rem;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
    font-size:2rem;
}

input[type="text"], input[type="number"] {
    font-ize:2rem
    padding: 8px;
    margin: 5px 0;
    border: 1px solid black;
    border-radius: 5px;
}

button {
    font-size:3rem;
    background-color: green;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background-color: darkgreen;
}

#results {
    margin-top: 20px;
}

/*----------------------------------------------------about us starts*/

.aboutus{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
    min-height: calc(100vh - 6.5rem);

    .image{
        flex: 1 1 42rem;
        text-align: center;



        img{
            height: 50rem;
            width: 50rem;
            border-radius: 90% 70% 70% 60%/ 70% 60% 60% 90%;
        }
    }

        h2{ 
            flex: 0;
            color: #1e90ff/*white*/;
            font-size: 5rem;
            padding-bottom: .3rem;
            margin-bottom: .3rem;
            cursor: pointer;
            text-transform: none;
            
            span{
                color: goldenrod;
                font-size: 6rem;
                padding-bottom: .3rem;
                margin-bottom: .3rem;
                cursor: pointer;
            }
        }
        p{
            font-size: 3rem;
            color: lightgrey;/* black  */;
            padding: .4rem 0;
            line-height: 1;
            cursor: pointer;
        }
    }

/*____________________________whatsapp logo*/
.whatsapp-float{
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 70px;
    text-align: right;
    z-index: 10;
}
.whatsapp-float img {
    width: 100px;
    transition: 0.3s;
}


/*____________________________shikshyan logo*/
.shikshyan_main{
    position: fixed;
    bottom: 5px;
    left: 15px;
    text-align: left;
    z-index: 10;
    cursor:pointer;
}


/*------------------------------------------media queries*/

        @media (max-width: 768px) {
            .navbar {
                flex-direction: row;
                justify-content: space-around;
            }

            .nav-links {
                display: flex;
                flex-direction: row;
                width: 100%;
                justify-content: space-around;
            }

            .nav-links li {
                padding: 5px;
            }

            .nav-links a {
                font-size: 20px; /* Larger icons for mobile */
            }

            .nav-links a i {
                margin-right: 0; /* Remove spacing */
            }

            .nav-links a span {
                display: none; /* Hide text */
            }
        }

/* Media Queries *
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .dropdown-popup {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
    }

    .dropdown-popup a:hover::before {
        width: 50px;
        height: 30px;
    }

    .footer_main {
        font-size: 10px;
        padding: 3px 0;
    }
}

@media screen and (zoom: 1.5) {
    .navbar {
        padding: 5px 10px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .footer_main {
        font-size: 11px;
    }
}
