:root {
    /* Light Mode Colors */
    --bg-color: #eceef2;
    --text-color: #727476;
    --primary-color: #0460e5;
    --secondary-color: #11d5ff;
    --box-color: #0460e5;
    --counter-color: #0e0e0e;
    --counter-text: #11d5ff;
    --icon-text: #0460e5;
    --heading-text: #000;

  }
  
  [data-theme="dark"] {
    /* Dark Mode Colors */
    --bg-color: #121212;
    --text-color: #727476;
    --primary-color: #0460e5;
    --secondary-color: #11d5ff;
    --box-color: #11d5ff;
    --counter-color: #2e2f2f;
    --counter-text: #0460e5;
    --icon-text: #11d5ff;
    --heading-text: #fff;

  }
  

*{
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    font-family: "Poppins", serif;

}

html{
    scroll-behavior: smooth;
}

body {
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
p {
    color: var(--text-color);
}

h1, h2, h3, h4, h5{
    color: var(--heading-text);
}


.bodycover{
    width: 90%;
    margin: auto;
    background-color: var(--bg-color);
    height: auto;
    overflow-x: hidden;
}

.btn{
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    color: var(--text-color);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
    font-size: 17px;
    text-decoration: none;
  }
  
.btn:hover {
    border: 2px solid var(--secondary-color);
    background-color: var(--bg-color);
    color: var(--text-color);

  }

  
  #theme-toggle i {
    align-items: center;
    font-size: 20px; /* Custom icon size */
    border-radius: 50%;
    border: 1px solid var(--secondary-color);
    padding: 12px;
    color: var(--text-color);
    transition: 1s;
    background-color: var(--secondary-color);
  }

  #theme-toggle i:hover {
    background-color: var(--bg-color);
    
  }




/* navbar starts   */

.header {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.navbar-row{
    display: flex;
    justify-content: space-around;
    height: 90px;
    width: 100%;
    align-items: center;
    position: fixed;
}

.navbar-col{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.navbar-row img{
    display: block;
    margin-top: 1rem;
    width: 200px;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem, 10vw, 13rem); /* Minimum: 1rem, Preferred: 5% of viewport width, Maximum: 10rem */
}


.navbar-col nav ul{
    display: flex;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
}

.navbar-col ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
    cursor: pointer;
}

.navbar-col ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    display: block;
    margin: auto;
    transition: 0.6s;
}

.navbar-col ul li:hover::after{
    width: 100%;
}

.navbar-col ul li a{
    text-decoration: none;

}

.navbar-light{
    display: flex;
    gap: 1rem;
}

 .navbar-row .fa{
    display: none;
}



/* about home  */

.home{
    width: 100%;
    display: flex;
    justify-content: space-between
}

.home-detail{
    width: 40%;
    margin-top:110px;
}

.home-img{
    width: 55%;
}

.home-img img{
    width: 100%;
    height: 90%;

}

.home-detail-icon{
    width: 50%;
    display: flex;
    gap: 0.8rem;
}


.home-detail-icon .fab{
    cursor: pointer;
    border-radius: 10px;
    font-size: 15px;
    padding: 10px;
    background-color: var(--bg-color);
    color: var(--text-color);
    box-shadow: 4px 4px 6px var(--secondary-color); /* X-offset, Y-offset, blur-radius, shadow color */
    transition: 1s;
}

.home-detail-icon .fab:hover{
    background-color: var(--secondary-color);
    color: var(--text-color);
    box-shadow: 6px 6px 9px var(--secondary-color); /* X-offset, Y-offset, blur-radius, shadow color */
}

.home-detail-desc{
    margin-top: 2rem;
}



.about-heading {
    display: flex;
    align-items: center; /* Align text and line in the center vertically */
    gap: 10px; /* Space between text and line */
    font-family: 'Poppins', sans-serif; /* Optional: Use a matching font */
    margin-bottom: 1rem;
}

.about-heading h2 {
    color: var(--primary-color); /* Bright orange color */
    font-weight: 500; /* Semi-bold font */
    font-size: 10px; /* Adjust size as needed */
}

.about-heading .line {
    display: block;
    width: 30px; /* Length of the line */
    height: 2px; /* Thickness of the line */
    background-color: var(--secondary-color);

}

.home-detail-desc>h1{
    font-size: 34px;
    font-weight: 700;
    color: var(--icon-text);
}

.home-detail-desc span{
    font-size: 40px;
    font-weight: 700;
}

.home-detail-desc p{
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}



/* services  */


/* General Section Styles */
.services {
    text-align: center;
    padding-top: 110px;
}

.services h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.services p {
    font-size: 16px;
    margin-bottom: 40px;
}

/* Grid Container */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns */
    gap: 20px;
    padding: 0 20px;
}

/* Grid Items */
.services-item {
    background-color: var(--bg-color);
    box-shadow: 0 4px 6px var(--text-color); /* Subtle shadow */
    border-radius: 8px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px var(--secondary-color);
}

.services-detail .intro h3{
    color: var(--icon-text);
}

/* Icons */
.services-item i {
    font-size: 40px; /* Icon size */
    color: var(--primary-color); /* Green color */
    margin-bottom: 15px;
}

.services-item h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.services-item p {
    font-size: 14px;
    margin-bottom: 15px;
}

.services-item a {
    color: var(--text-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-item a:hover {
    color: var(--secondary-color);
}



/* about part  */

.about{
    display: flex;
    justify-content: space-between;
    padding-top: 3rem;
}

.about-img{
    width: 49%;
}

.about-img img{
    width: 100%;
}

.about-desc{
    width: 49%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive grid */
    gap: 20px; /* Spacing between items */
    width: 100%;
    max-width: 900px;
    margin-top: 20px;
}

.about-item {
    display: flex;
    background-color: var(--bg-color); /* Light background for each item */
    border-radius: 10px;
    width: 100%;
    height: 80px;
    box-shadow: 0 4px 6px var(--text-color); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    gap: 1rem;
    align-items: center;
}

.about-item:hover{
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px var(--secondary-color);
}

.about-item i{
    font-size: 37px;
    color: var(--primary-color);
    margin-left: 1rem;
}

.about-item p{
    font-size: 10px;
    font-weight: 600;
    padding-bottom: 15px;
}

.about-desc h1{
    font-size: 35px;
    font-weight:600;
}

.about-desc p{
    margin-top: 1rem;
    font-size: 15px;
}




/* counter  */

.counter-section {
    padding: 50px 20px;
    background-color: var(--counter-color); /* Dark section background */
    text-align: center;
    margin: 2rem 0;
}

.counter-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
    background-color: var(--counter-color); /* Dark section background */
}

.counter-item {
    text-align: center;
    background-color: var(--counter-color); /* Dark section background */
}

.counter {
    font-size: 48px;
    font-weight: 600;
    color: var(--counter-text); /* Green color for numbers */
    background-color: var(--counter-color); /* Dark section background */

}

.counter-item p {
    font-size: 18px;
    font-weight: 400;
    margin-top: 10px;
    background-color: var(--counter-color); /* Dark section background */


}


/* blogs  */

.blogs{
    margin: 3rem 0;
}


.blogs h5{
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.blogs h1{
    font-size: 50px;
    font-weight: 600;
}

.blog-row{
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns */
    gap: 40px;
}

.blog-col{
    box-shadow: 0 4px 6px var(--text-color); /* Subtle shadow */
    border-radius: 10px;
    padding-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-height: 550px;
}

.blog-col:hover{
    box-shadow: 0px 8px 15px var(--box-color);
}


.blog-col img{
    width: 100%;
    height: 270px;
    box-sizing: border-box;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    overflow: hidden;
}

.blog-col img:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Adds shadow for a pop-out effect */
}

.blog-col h1{
    font-size: 22px;
    text-transform: capitalize;
}

.blog-col p{
    font-size: 14px;
    padding-top: 1rem;
    line-height: 1.5rem;
    margin-bottom: 1rem;

}


.blog-detail{
    width: 95%;
    margin: 0 auto;
}

.blog-detail .icon-row{
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
}

.blog-detail .icon-item i{
    color: var(--icon-text);
    font-size: 13px;
    padding-left: 2px;

}

.blog-detail .icon-item span{
    padding-left: 4px;
    color: var(--text-color);
    font-size: 13px;
}

.blog-detail a{
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: var(--icon-text);
}

.blog-detail a:hover{
    color: var(--heading-text);
}



/* contact  */
.contact-section {
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styling */
.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h5 {
    font-size: 18px;
    color: var(--icon-text); /* Green color */
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-header h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-header p {
    font-size: 16px;
    color: var(--text-color);
}

/* Contact Content */
.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Contact Info */
.contact-info {
    flex: 1;
    max-width: 400px;
}

.contact-info h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}
.contact-form h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 30px;
    color: var(--icon-text);
    margin-right: 10px;
}

.info-item span {
    font-size: 16px;
    font-weight: 500;
    color: var(--heading-text);
}

/* Contact Form */
.contact-form {
    flex: 2;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form .form-group {
    display: flex;
    gap: 2%;
}
    
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--text-color);
    border-radius: 5px;
    background-color: var(--bg-color);
    font-size: 14px;
    color: var(--text-color);
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

/* Submit Button */
.contact-btn {
    background-color: var(--secondary-color); /* Green button */
    color: var(--text-color);
    border: none;
    padding: 10px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: 50%;
    margin: auto;
}

.contact-btn:hover {
    background-color: var(--bg-color);
    border: 1px solid var(--secondary-color);
}





/* footer   */



.footer {
    background-color: var(--bg-color);
    padding: 10px 20px;
    margin-top: 2rem;
    bottom: 0;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Footer About Section */
.footer-about {
    flex: 1 1 300px;
}

.footer-about p{
    padding-left: 2rem;
}

.footer-logo {
    width: 60%;
    margin-bottom: 2rem;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    align-items: center;
    justify-content: center;
}

.footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--icon-text);
    color: var(--heading-text);
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    border: 2px solid var(--icon-text);

}
.footer-socials a .fab{
    background-color: var(--icon-text);
}


.footer-socials a:hover {
    background-color: var(--bg-color); /* Darker green */
    border: 2px solid var(--icon-text);
}

.footer-socials a:hover .fab{
    background-color: var(--bg-color); /* Darker green */
}

/* Footer Links */
.footer-links {
    flex: 1 1 200px;
}

.footer-links h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--text-color); /* Green color */
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    color: var(--text-color);
}

.footer-bottom span {
    color: var(--text-color);
    font-weight: bold;
}

.footer-bottom a {
    color: var(--text-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--icon-text); /* Darker green */
}




/* media  */


@media(max-width: 800px){

    

    .navbar-col{
        position: fixed;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -300px;
        text-align: left;
        z-index: 5;
        transition: 1s;
        flex-direction: column;
        gap: 1rem;
        border: 2px solid var(--secondary-color);
        justify-content: start;
    }

    nav{
        flex-direction: column;
        gap: 1rem;
    }

    .navbar-col nav ul{
        gap: 1rem;
        flex-direction: column;
    }

    .navbar-row .fa{
        display: block;
        color: var(--primary-color);
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .navbar-col ul{
        padding: 30px;
    }
    
    .navbar-col ul li a{
        color: var(--text-color);
        text-decoration: none;
        font-size: 13px;
    }


    /* home  */

    .home{
        flex-direction: column-reverse;
        width: 100%;
        padding-top: 80px;
    }

    .home-detail{
        width: 100%;
        height: auto;
        margin-bottom: 2rem;
        margin-top: 0;
    }

    .home-img{
        width: 100%;
    }
    
    .home-detail-icon{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .home-detail-desc h1{
        font-size: 26px;
        font-weight: 700;
        color: var(--icon-text);
    }
    
    /* .services  */

    .services-detail>h1{
        font-size: 25px;

    }

    /* about  */

    .about{
        flex-direction: column;
    }

    .about-img{
        width: 100%;
    }
    
    .about-desc{
        width: 100%;
        margin-bottom: 3rem;
    }

    .about-desc>h1{
        text-align: center;
        font-size: 20px;
    }
    
    .about-desc p{
        text-align: center;

    }


    /* conatct   */

    .contact-section>h1{
        font-size: 20px;
    }

    .contact-content{
        flex-direction: column;
    }
    
    /* footer  */

    .footer{
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex: 1 1 100%;
    }

    .footer-about {
        text-align: center;
        padding: 0 auto;
    }
}




@media(min-width: 1300px){
    .services-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); /* Responsive columns */

    }

    .home-detail-desc h1{
        font-size: 40px;
        font-weight: 700;
        color: var(--icon-text);
    }
    
}





