*{

    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif


}

html{
    scroll-behavior: smooth;
}


/* animation */

.reveal{

    opacity: 0;
    transform: translateY(60px);
    transition: 1s ease;

}

.reveal.active{
    opacity: 1;
    transform: translateY(0);
}


/* Hamburger icon for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 30px;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 4px;
    background-color: #0ea5e9;
    border-radius: 5px;
}


/* navbar */
.navbar{

    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;

    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    
    border-bottom: 1px solid lightgray;

}


.logo{
    margin-left: 30px;
    height: 80px;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;


    h1{
        color: rgba(28, 21, 92, 0.815);
    }

    p{
        color: #0284c7;
        font-weight: 700;
    }

    #logo{
        height: 80px;
        width: 150px;
    }

    .logoname{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

}

.navtabs{
    width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-evenly;  

    margin-right: 30px;


    a{
        
        text-decoration: none;
        font-weight: 700;
        font-size:  1rem;
        color: gray;
    }

    a:hover{
        color: #0284c7;
        cursor: pointer;
    }

    button{
        font-size: 1rem;
        font-weight: 700;
        color: white;
        background-color: #0ea5e9;
        width: 150px;
        height: 50px;
        border-radius: 30px;
        border: 2px solid lightgray;

        transition: 0.3s ease;
    }

    button:hover{
        transform: translateY(-3px);
        background-color: #0284c7;
        cursor: pointer;
    }

}


.hr{
    height: 1px;
    background-color: lightgray;
}
/* navbar end */


/* herosec */

.herosec{

    height: calc(100vh - 100px);
    width: 100%;
    display: flex;
    align-items: center;
    
    scroll-margin-top: 100px;

}


.heromain{

    
    width: 40%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    

    h4{
        color: #0284c7;
    }

    h1{
        font-size: 3rem;
    }

    span{
        color: #0284c7;
    }

    p{
        font-size: 1.5rem;
        color: gray;
    }

    button{
        font-size: 1rem;
        font-weight: 700;
        color: white;
        background-color: #0ea5e9;
        width: 150px;
        height: 50px;
        border-radius: 30px;
        border: 2px solid lightgray;

        transition: 0.3s ease;
    }

    button:hover{
        transform: translateY(-3px);
        background-color: #0284c7;
        cursor: pointer;
    }

    

}


.heading{
    width: 80%;
    height: 70%;

    display: flex;
    flex-direction: column;
    
    justify-content: space-evenly;

    
}


.heroimg{

    width: 60%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;

    #heroimg{
        height: 70%;
        width: 80%;
        border-radius: 20px;
        box-shadow: 1px 2px 10px;
    }

    

}


.heroimg{
        animation: float 4s ease-in-out
        infinite;
    }

    @keyframes float {
        0%, 100%{
            transform: translateY(0)
        }

        50% {
            transform: translateY(-20px)
        }
}

/* herosec end */


    /* about us */


.about{

    height: calc(100vh - 100px);
    width: 100%;
    display: flex;
    align-items: center;


    scroll-margin-top: 100px;
    
}


.aboutimg{

    width: 60%;
    height: 85%;
    display: flex;
    justify-content: center;
    align-items: center;

    #aboutimg{
        height: 80%;
        width: 70%;
        border-radius: 20px;
        box-shadow: 1px 2px 10px;
    }

}


.aboutimg{
        animation: float 3s ease-in-out
        infinite;
    }

    @keyframes float {
        0%, 100%{
            transform: translateY(0)
        }

        50% {
            transform: translateY(-20px)
        }
}

/* about img end */


.aboutmain{

    width: 40%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 50px;
}

.aboutheading{

    

    width: 100%;
    height: 80%;

    display: flex;
    flex-direction: column;
    
    justify-content: space-evenly;


    h4{
        color: #0284c7;
    }

    h1{
        font-size: 3rem;
    }

    span{
        color: #0284c7;
    }

    p{
        font-size: 1.2rem;
        color: gray;
    }

    #exp{
        padding-top: 30px;
    }

}

.experience{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;

    P{
        font-size: 0.8rem;
    }

}

/* aboutus end */


/* services */


.service{

    margin-top: 50px;

    height: calc(100vh - 100px);
    width: 100%;
    scroll-margin-top: 100px;

}

#line {
    width: 50px;
    height: 2px;
    background-color: #0284c7;
    margin: 0 10px 0 10px;

}
    

.service-subhead{
    
    color: #0ea5e9;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    h5{
        font-weight: 800;
    }

}

.service-title{

    height: 100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;


    h1{
        font-size: 3rem;
    }

    p{
        font-size: 1.3rem;
        color: gray;
        font-weight: 100;
    }

}


.service-box{

    height: 500px;
    width: 100%;

    display: flex;
    justify-content: space-evenly;
    align-items: center;


}

.sbox{

    height: 350px;
    width: 350px;

    border: 1px solid lightgray;
    border-radius: 40px;
    border: border-box;
    
    transition: 0.3s ease;
}

.sbox:hover{

    transform: translateY(-10px);
    box-shadow: 2px 5px 20px  #0ea5e9 ;
    cursor: pointer;

}

.sbox-logo{
    padding-left: 50px;
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;

    img{
        height: 50px;
        width: 50px;
        
    }


}


.sbox-content{


    

    padding-left: 50px;
    height: 200px;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    

    h1{
        font-size: 1.8rem;
        
    }

    p{
        color: gray;
        font-size: 1.1rem;
        display: flex;
        justify-content: center;
        align-items: center;
            
    }


}



   /* =========================================
   Contact Section
   ========================================= */
.contact {
    height: calc(100vh - 100px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-margin-top: 100px;
}

.contact-info {
    width: 40%;
    padding-right: 50px;
}

.contact-info h4 { color: #0284c7; }
.contact-info h1 { font-size: 3rem; margin-bottom: 20px; }
.contact-info span { color: #0284c7; }
.contact-info p { font-size: 1.2rem; color: gray; margin-bottom: 20px; }
.contact-details p { color: black; font-size: 1rem; margin-top: 10px; }

.contact-form {
    width: 40%;
    display: flex;
    flex-direction: column;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    border: 1px solid lightgray;
    border-radius: 10px;
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
}

.contact-form button {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background-color: #0ea5e9;
    padding: 15px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background-color: #0284c7;
    transform: translateY(-3px);
} 




/* =========================================
   Footer Section
   ========================================= */
.footer {
    background-color: rgba(28, 21, 92, 1); 
    color: white;
    padding: 50px 0 20px 0;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content {
    width: 80%;
    display: flex;
    justify-content: center; 
    text-align: center;      
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo {
    width: 100%;             
    max-width: 600px;
}

.footer-logo h2 {
    color: #0ea5e9;
    margin-bottom: 15px;
    font-size: 2rem;
}

.footer-logo p {
    color: lightgray;
    line-height: 1.5;
}

.footer-bottom {
    margin-top: 20px;
    color: lightgray;
    font-size: 0.9rem;
    text-align: center;
}









/* =========================================
   Mobile View Layout (Stacked & Spaced)
   ========================================= */
@media (max-width: 900px) {
    
    /* Remove restricted heights to stop text from overflowing */
    .herosec, .about, .service {
        height: auto; 
        min-height: calc(100vh - 100px);
        padding: 50px 20px; 
    }

    /* 1. HERO SECTION: Text first, Image second */
    .herosec {
        flex-direction: column; 
        gap: 100px; /* Adds space between text and image */
    }
    .heromain, .heroimg {
        width: 100%; /* Expands to full screen width */
        text-align: center;
    }
    .heading {
        width: 100%;
        align-items: center;
    }

    /* 2. ABOUT SECTION: Text first, Image second */
    .about {
        /* Flips the HTML order so text goes above the image */
        h1{
            margin-bottom: 50px;
        }
        flex-direction: column-reverse; 
        gap: 50px;
    }
    .aboutmain, .aboutimg {
        width: 100%;
        padding-right: 0; /* Removes the desktop spacing */
    }
    .aboutheading {
        align-items: center;
        text-align: center;
    }

    /* 3. SERVICE SECTION: Heading first, Boxes below */

    .service-title {
        height: auto; 
        gap: 20px; 
        margin-bottom: 50px; 
        text-align: center;
    }

    .service-box {
        height: auto;
        flex-direction: column; /* Stacks all 3 service boxes vertically */
        align-items: center;
        gap: 40px;
        margin-top: 40px;
    }
    .sbox {
        width: 100%; 
        max-width: 350px; /* Stops boxes from stretching too wide on tablets */
    }

    /* Mobile Navbar & Dropdown Setup */
    .navbar {
        flex-direction: row; 
        justify-content: space-between;
        height: 100px;
        
    }
    
    .hamburger {
        display: flex; 
    }

    .navtabs {
        display: none; 
        position: absolute;
        top: 100px; 
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        border-bottom: 2px solid lightgray;
        padding: 20px 0;
        gap: 20px;
        z-index: 999;
    }

    .navtabs.show-menu {
        display: flex; 
    }

   /* =========================================
   Mobile View (Master Block)
   ========================================= */
@media (max-width: 900px) {
    
    /* 1. Global Section Adjustments */
    .herosec, .about, .service, .contact {
        height: auto; 
        min-height: 100vh;
        padding: 50px 20px; 
    }

    /* 2. Hero Section */
    .herosec {
        flex-direction: column; 
        gap: 50px; 
    }
    .heromain, .heroimg {
        width: 100%; 
        text-align: center;
    }
    .heading {
        width: 100%;
        align-items: center;
    }

    /* 3. About Section */
    .about {
        flex-direction: column-reverse; 
        gap: 50px;
    }
    .aboutmain, .aboutimg {
        width: 100%;
        padding-right: 0; 
    }
    .aboutheading {
        align-items: center;
        text-align: center;
    }

    /* 4. Service Section */
    .service-title {
        height: auto; 
        gap: 20px; 
        margin-bottom: 50px; 
        text-align: center;
    }
    .service-box {
        height: auto;
        flex-direction: column; 
        align-items: center;
        gap: 40px;
        margin-top: 40px;
    }
    .sbox {
        width: 100%; 
        max-width: 350px; 
    }

    /* 5. Navbar & Hamburger Menu */
    .navbar {
        flex-direction: row; 
        justify-content: space-between;
        height: 100px;
    }
    .hamburger {
        display: flex; 
    }
    .navtabs {
        display: none; 
        position: absolute;
        top: 100px; 
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        border-bottom: 2px solid lightgray;
        padding: 20px 0;
        gap: 20px;
        z-index: 999;
    }
    .navtabs.show-menu {
        display: flex; 
    }

    /* 6. Contact Section */
    .contact {
        flex-direction: column;
        gap: 40px;
    }
    .contact-info, .contact-form {
        width: 100%;
        padding-right: 0;
        text-align: center;
    }

    /* 7. Footer Adjustment */
    .footer-content {
        width: 95%; /* Expands the footer text to fit better on tiny screens */
    }
}

}

    