* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(orangered, orange);
    color: black;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/*.... NAV BAR STARTS HERE ....*/

nav {
    display: flex;
    justify-content: space-between;
    align-self: flex-start;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #052153 0%, #022053 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: padding 0.3s ease;
}

nav .logo {
    font-size: 500;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    align-self: sta;
}

nav .nav-links {
    list-style: none;
    display: flex;
}

nav .nav-links li {
    margin-left: 2rem;
}

nav .nav-links a {
    color: orangered;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav .nav-links a:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

nav .nav-links a.active {
    background: #FFD700;
    color: #1e3c72;
}

nav .nav-links a.active::after {
    content: '';
}

nav .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

nav .hamburger span {
    height: 3px;
    width: 25px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}


/*.... NAV BAR ENDS HERE ....*/


/*.... HERO SECTION STARTS HERE ....*/

.hero {
    position: relative;
    padding: 8rem 2rem;
    text-align: center;
    color: white;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), url('../images/w1920h1080_Solarenergy.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#tit{
    color: orangered;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: wheat;
    line-height: 1.2;
    animation: slideInDown 0.8s ease;
}

.hero p {
    margin-bottom: 2rem;
    font-size: 1.3rem;
    max-width: 700px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.8s ease 0.2s both;
}

.hero .btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, orangered, #FFA500);
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    animation: slideInUp 0.8s ease 0.4s both;
}


@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero>* {
    position: relative;
    z-index: 1;
}


/*.... HERO SECTION ENDS HERE ....*/


/*...... MAIN SECTION STARTS HERE ....*/

section {
    padding: 5rem 2rem;
    text-align: center;
}

section h1,
section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: black;
    position: relative;
    padding-bottom: 1rem;
}
/*......... MAIN SECTION ENDS HERE .............*/


/*......... SERVICES CARDS STARTS HERE ....*/

.service-cards,
.project-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: burlywood;
    width: 280px;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;

}

.card h3 {
    color: rgb(27, 39, 207);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.card p {
    color: #022053;
    font-size: 0.95rem;
    line-height: 1.6;
}

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


/*.... SERVICE CARDS ENDS  HERE ....*/


/*.... FORMS STARTS HERE ....*/

form {
    max-width: 600px;
    margin: 2rem auto;
    background: whitesmoke;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
#fill{
    color: black;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 1rem;
    margin: 0.8rem 0 1.5rem 0;
    border: 2px solid #ffffff;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

form label {
    display: block;
    text-align: left;
    color: #1e3c72;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

form button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
}


/*.... FORMS ENDS HERE ....*/


/* ....  FOOTER STARTS HERE  .... */

.footer {
    background: #0A1F44;
    color: #ffffff;
    padding: 60px 8% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #dcdcdc;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #dcdcdc;
}

.footer-col ul li a {
    text-decoration: none;
    color: #dcdcdc;
    transition: 0.3s ease;
}

.footer-col ul li a:hover {
    color: #00BFFF;
    padding-left: 5px;
}

.footer-col i {
    margin-right: 8px;
    color: green;
}

/* .... BOTTOM FOOTER STARTS HERE ....*/

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    color: #cccccc;
}


/* .... BOTTOM FOOTER ENDS HERE ....*/


/* ....  FOOTER ENDS HERE  .... */


/* .... MOBILE RESPONSIVENES STARTS HERE .... */

@media (max-width: 768px) {
    .footer {
        padding: 50px 5% 20px;
    }
}

@media(max-width:768px) {
    nav {
        padding: 1rem 1.5rem;
    }
    nav .nav-links {
        display: none;
        flex-direction: column;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    nav .nav-links li {
        margin: 0;
        padding: 1rem;
    }
    nav .nav-links.active {
        display: flex;
    }
    nav .hamburger {
        display: flex;
    }
    .hero {
        padding: 4rem 1rem;
        min-height: 400px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .service-cards,
    .project-cards {
        flex-direction: column;
        align-items: center;
    }
    section {
        padding: 3rem 1rem;
    }
    section h1,
    section h2 {
        font-size: 2rem;
    }
    .card {
        width: 100%;
        max-width: 400px;
    }
}


/* .... MOBILE RESPONSIVENES ENDS HERE .... */


/*.... ABOUT PAGE WHY CHOOSE US? STARTS HERE ....*/

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 0.5fr));
    gap: 30px;
    text-align: center;
}

.service-card {
    background: burlywood;
    padding: 30px 20px;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    margin: 15px 0;
    color: #052153;
    font-family: 'Montserrat', sans-serif;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}


/*.... ABOUT PAGE WHY CHOOSE US? ENDS HERE ....*/


/* .... ABOUT PAGE SPECIFIC STYLES STARTS HERE .... */

.about-section {
    max-width: 900px;
    margin: 0 auto;
}

.intro-paragraph {
    font-size: 1.1rem;
    color: black;
    margin: 1.5rem 0;
}

.mission-box {
    background: burlywood;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.mission-box h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.mission-box p {
    color: #052153;
    line-height: 1.8;
}

.section-heading {
    color: black;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.achievements-list {
    color: black;
    list-style-position: inside;
    line-height: 2;
    font-size: 1.05rem;
}


/* .... SERVICE PAGE SPECIFIC STYLES STARTS HERE .... */

.services-section>p {
    color: black;
    max-width: 700px;
    margin: 1rem auto;
    font-size: 1.1rem;
}

.service-highlight {
    color: #FFD700;
    font-weight: bold;
    margin-top: 1rem;
}


/* .... PROJECT PAGE SPECIFIC STYLES STARTS HERE .... */

.projects-section>p {
    color: #5a6c7d;
    max-width: 700px;
    margin: 1rem auto;
    font-size: 1.1rem;
}

.project-highlight {
    color: #FFD700;
    font-weight: bold;
    margin-top: 1rem;
}


/* .... CONTACT PAGE SPECIFIC STYLES STARTS HERE .... */

.contact-section>p {
    color: #5a6c7d;
    max-width: 700px;
    margin: 1rem auto;
    font-size: 1.1rem;
}

.contact-info-box {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: burlywood;
    border-radius: 12px;
    text-align: left;
}

.contact-info-box h3 {
    color: #022053;
    margin-bottom: 1rem;
}

.contact-info-box p {
    color: #0A1F44;
    margin: 0.8rem 0;
}

