{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Mukta', sans-serif;
    line-height: 1.4;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    align-items: center;
    align-self: center;
}


.button2 {
    background:rgba(0, 126, 60, 1.0);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 07px;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: rgba(0, 0, 0, 0.91);
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease 0.4s both;
}

.button2:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}


.button3 {
    background:rgba(0, 126, 60, 1.0);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 07px;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: rgba(0, 0, 0, 0.91);
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease 0.4s both;
}

.button3:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.container h3 {
    text-align: left;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;    
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 1.1s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.navlogo {
    background: #ffffff;
    border-radius: 10px;
    transition: all 1.1s ease;
}

.navlogo img {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 0.2rem;
    padding-top: 0.5rem;
}

.navlogo a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: rgb(255, 255, 255);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Hamburger animation when active */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-7px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -6px);
}

/* Dropdown menu styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(139, 196, 51, 0);
    backdrop-filter: blur(10px);
    /*-webkit-backdrop-filter: blur(10px);*/
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    backdrop-filter: blur(10px);
}

.menu-list {
    list-style: none;
    padding: 1rem 0;
}

.menu-list li {
    margin: 0;
}

.menu-list a {
    display: block;
    color: rgb(255, 255, 255);
    text-decoration: none;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 0 0.5rem;
    margin-block-start: 0rem;
    margin-block-end: 0rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
}

.menu-list a:hover {
    background: rgba(74, 144, 226, 10.3);
    color: rgb(255, 255, 255);
    text-shadow: rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

/* Main content styles */
.main-content {
    margin-top: 80px;
    padding: 2rem;
}

.hero {
    text-align: center;
    color: white;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.content {
    max-width: 800px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.content h2 {
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.content p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Additional animation for smooth appearance */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.active {
    animation: slideDown 0.4s ease forwards;
}


/* Carousel - Now starts from top */
.carousel-section {
    position: relative;
    height: 100vh;
    /*min-height: 600px;*/
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.0);
    z-index: 1;
}

.carousel-content {
    position: absolute;
    top: 80%;
    left: 80%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.carousel-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    animation: fadeInUp 1s ease;
}

.carousel-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    animation: fadeInUp 1s ease 0.2s both;
}

.button1 {
    background: #0087ff;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease 0.4s both;
}

.button1:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.0);
    border: 2px solid rgba(255,255,255,0.0);
    color: white;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 3;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,1);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid #0087FF;
}

.dot.active {
    background: #0087FF;
    border-color: #8AB941;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255,255,255,0.8);
}

/* Sections */
.section {
    /*padding: 80px 0;*/
}

.alt-bg {
    background: #f8f9fa;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    /*margin-bottom: 2rem;*/
    color: #002F69;
}

.section h3 {
    text-align: center;
    font-size: 1.5rem;
    /*margin-bottom: 1rem;*/
    color: #8AB941;
}

.section p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Solar */
.whysolar {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 3rem;
    margin: 0 auto;
}

.whysolarbg {
    background-image: url("bg1a.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-items: center;
}

.whysolarhead {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);

    text-align: center;
    padding-left: 1.7rem;
    padding-right: 1.7rem;
    transition: transform 0.3s;
    max-width: 400px;
}
.whysolar p {
    color: rgb(255, 255, 255);
    text-align: left;
    font-size: 24px;
    padding: 1.5rem;
    background: rgb(33, 151, 255);
    transition: transform 0.3s;
}

.whysolar h3 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: bold;
    padding: 0.0rem;
}

.whysolarhead:hover {
    transform: translateY(-5px);
    transition: transform 0.3s;
}

/* Book Assesment */
.book {
    background: rgba(139, 196, 51, 1.0);
    color: #f8f9fa;
    padding-left: 5rem;
    padding-right: 5rem;
    padding-bottom: 2.2rem;
    padding-top: .1rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: lighter;

}

.book-grid {
    display: grid;
    grid-template-columns: repeat( minmax(250px, 1fr));
    gap: 30px;
}

.book-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.book-card:hover {
    transform: translateY(-5px);
}

.book-card h3 {
    color: #4a90e2;
    margin-bottom: 1rem;
}


/*Subsidy*/
.subsidy {
    background-image: url("bg2a.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #868686;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.subsidygrid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-self: center;
    padding: 20px;
}

.subsidyhead {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);

    text-align: left;
    width: minmax(250px, 400px);
    margin: 10px;
}

.subsidy h2{
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
}

.subsidy p {
    color: rgb(255, 255, 255);
    text-align: left;
    font-size: 22px;
    max-width: 500px;
}

/* Our Solutions */

.oursolutions-bg {
    background: #8AB941;
}

.oursolutions-head{
    font-size: 1.9rem;
    font-weight: bold;
    font-size: 4rem;
    color: #ffffff;
    text-align: center;
    background: #0087FF;
    padding-bottom: 0.1rem;
}



.oursolutions-grid {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding-top: 5.7rem;
    padding-bottom: 2rem;
    padding-left: 50px;
    padding-right: 50px;
    margin: 0 auto;
}

.oursolutions-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #EEEEF0;
    border-radius: 0px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
    text-align: center;
    overflow: visible;
}

.oursolutions-member:hover {
    transform: translateY(-5px);
}

.oursolutions-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: -75px; /* Half of image height to push it outside */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    z-index: 2;
}

.oursolutions-member h3 {
    color: #FF9254;
    margin-top: 80px; /* Add space for the image above */
    font-size: 2.0rem;
    padding-bottom: 0.0rem;
}
.oursolutions-member p {
    text-align: left;
    color: #002F69;
    font-size: 1.4rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.oursolutions-bt{
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
    padding-bottom: 2rem;
}   


/* About Us */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /*gap: 30px;*/
}

.about-post {
    /*height: 700px;*/
    background:rgba(0, 0, 0, 0.0);
    transition: transform 0.3s;
    padding-left: 4rem;
    padding-right: 1rem;
    overflow: hidden;
}

.about-about{
    /*overflow-y: scroll;
    /*height: 700px;*/
}

.about-post h2 {
    color: #0087FF;
    font-size: 4rem;
    text-align: left;
    padding: 0%;
    margin: 0%;
    padding-top: 1rem;
}

.about-post h3 {
    color: #FF9254;
    margin-bottom: 1rem;
    text-align: left;
    padding: 0%;
    margin: 0%;
}

.about-post p {
    color: #002F69;
    margin-bottom: 1rem;
    text-align: left;
}
.about-post img {
    border-radius: 0px;
    width: 450px;
    /*padding: 0px;
    object-fit: cover;
    margin: 0px;*/
    float: right;
}

.read-more {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Contact Form*/

.contact{
    background: #0087FF;
    align-items: center;
}

.contact-container{
    padding: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
}

.contact-tally {
    margin: 0 0;
    width: 500px;
}

.contact h2 {
    text-align: center;
    font-size: 3.5rem;
    color: #ffffff;
    padding: 1%;
    margin: 0%;
}

.contact h3 {
    text-align: center;
    font-size: 2.1rem;
    margin: 0%;
    padding: 0%;
    padding-bottom: 1%;
    color: #ffffff;
}

.submit-btn {
    background: #4a90e2;
    color: white;
    padding: 12px 35px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #8AB941;
    transform: translateY(-2px);
}

/* Footer */

.foot {
    background: #4a90e2;
    display: flex;
    flex-direction: row;
    flex-flow: row;
    justify-content: center; /* Space columns left, center, right */
    align-items: stretch;
    gap: 0;
}

.foot .container {
    padding: 2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

.foot1, .foot2, .foot3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 400px;
    justify-content: center;
    padding: 20px;
}

.foot3 {
    align-items: center;
    background: #ffffff;
    color: #002F69;
}

.foot3 img{
    margin-top: 20px;
}

.foot h3 {
    color: #ffffff;
    font-size: 2.5rem;
    margin: 15px;
    text-align: left;
}

.foot h4{
    color:#002F69;
    font-weight: bold;
    text-align: center;
    align-items: center;
    padding-top: 1rem;
    margin: 0px;
}

.foot h5{
    color:#002F69;
    font-weight: bold;
    text-align: center;
    align-items: center;
    margin: 0px;
    padding-top: 15px;
}

.foot td {
    margin-left: 10px;
    color: #ffffff;
    text-align: left;
    text-decoration: none;
    font-weight: lighter;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    align-items: center;
}

.foot a {
    color: #ffffff;
    text-align: left;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        width: 100%;
        right: -100%;
    }
    
    .carousel-content h2 {
        font-size: 2.5rem;
    }
    
    .carousel-content p {
        font-size: 1.1rem;
    }
    
    .carousel-btn {
        font-size: 1.5rem;
        padding: 10px 15px;
        width: 50px;
        height: 50px;
    }
    
    .prev {
        left: 20px;
    }
    
    .next {
        right: 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
        .nav-container {
        padding: 0 1rem;
    }
    
    .dropdown-menu {
        right: 1rem;
        left: 1rem;
        min-width: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 1rem;
    }

    
.contact-tally  {
    margin: 0 0;
    width: 55%;
    align-items: center;
    align-self: center;
    }

}

@media (max-width: 480px) {

    .navlogo {
        border-radius: 10px;
        padding-left: 2px;
        padding-right: 7px;
        padding-top: 7px;
        padding-bottom: 0px;
    }

    .navlogo img {
        padding-left: .1rem;
        padding-right: .1rem;
        padding-bottom: .02rem;
        padding-top: .05rem;
        width: 120px;
    }
    
.hamburger .bar {
    background-color: #0087FF;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}


    .carousel-section {
        margin-top: 70px;
        width: 100vw;
    }

    .carousel-content h2 {
        font-size: 2rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }

    
    .carousel-dots {
    bottom: 15px;
    gap: 7px;
    }

    .dot {
    width: 7px;
    height: 7px;
    }

    .button1 { 
        border-radius: 10px;
        font-weight: 300;
        letter-spacing: 1px;
        animation: fadeInUp .31s ease 0.4s both;
        padding: 7px 10px;
        font-size: 10px;
        margin-bottom: 20px;
        margin-right: 0px;
    }

    .button2 {
        padding: 7px 15px;
        font-size: 15px;
    }

    .carousel-btn {
        font-size: 1.2rem;
        padding: 8px 12px;
        width: 40px;
        height: 40px;
    }
    
    .prev {
        left: 15px;
    }
    
    .next {
        right: 15px;
    }

    .whysolar {
    gap: 00px;
    padding: 0rem;
    padding-bottom: 10px;
    }
    
    .whysolarhead {
    padding-left: 10px;
    padding-right: 10px;
    }

    .whysolar p {
    font-size: 1.2rem;
    padding: 1.2rem;
    margin: 0rem;
    }

    .whysolar h3 {
    font-size: 1.8rem;
    padding: 0.0rem;
    }

    
    /* Subsidy*/
    .subsidygrid{
        max-width: 100%;
        margin: 0 auto;
        align-self: center;
    }
    
    .subsidyhead {
        padding: 10px;
        width: 100%;
        margin: 0px;
        margin-right: 10px;
        margin-top: 10px;
        align-items: center;
        justify-content: center;
        align-self: center;
    }

    .subsidy h2{
    font-size: 2rem;
    font-weight: bold;
    padding-left: 1.0rem;
    padding-right: 1.0rem;
}

.subsidy h3{
    font-size: 1.2rem;
    padding-left: 1.0rem;
    padding-right: 1.0rem;
}

/* Our Solutions */
    .oursolutions-grid {
    padding-top: 5.7rem;
    padding-bottom: 2rem;
    padding-left: 0px;
    padding-right: 0px;
    }

    .oursolutions-head{
    font-size: 3rem;
    padding-bottom: 0.1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
    .nav-container {
        padding: 0 15px;
    }

    .about-post {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .about-post h2 {
        font-size: 3rem;
    }

    .about-post img {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin-top: 20px;
    }

    .contact-tally {
    align-items: center;
    align-self: center;
    margin: 0 0;
    width: 75%;
    margin-right: 10px;
    }


    
    .foot {
    max-width: 100vw;
    width: 100vw;
}

.foot .container {
    max-width: fit-content;
}

    .foot1, .foot2, .foot3 {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    }

    .foot3 img{
    margin-top: 5px;
    }

    .foot h3 {
    color: #ffffff;
    font-size: 2rem;
    margin: 15px;
    text-align: left;
    }

    .foot h4{
    color:#002F69;
    font-weight: bold;
    text-align: center;
    align-items: center;
    padding-top: 1rem;
    margin: 0px;
}

.foot h5{
    color:#002F69;
    font-weight: bold;
    text-align: center;
    align-items: center;
    margin: 0px;
    padding-top: 15px;
}

.foot td {
    margin-left: 10px;
    color: #ffffff;
    text-align: left;
    text-decoration: none;
    font-weight: lighter;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    align-items: center;
}

.foot a {
    color: #ffffff;
    text-align: left;
    text-decoration: none;
}

}