@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');


body {
    background: #ffffff;
    color:rgb(0, 0, 0);
    font-family: "Open Sans", sans-serif;
    margin: 5px;
    box-sizing: border-box;
    width:100%;
}

/* Header Section */

    header.desktop {
        background: rgb(255, 255, 255);
        border-bottom: 4px solid #22c55e;
        width: 100%;
        height: 80px;
        align-items: center;
    }

    .header-row {
        display: flex;
        justify-content: space-between;  
        align-items: center;
        width: 100%;                      
        padding: 0 20px;                  
        box-sizing: border-box;          
        height: 120px;                
    }

    nav ul {
        display: flex;
        align-items: center;
        gap: 36px;         /* Space between nav items */
        padding: 0;
        margin: 0;
        list-style: none;
        overflow: visible;
    }
    nav ul li {
        position: relative;
        margin-right: 5px;
        margin-left: 5px;
    }
    nav ul li a {
        color: rgb(0, 0, 0);
        font-weight: bold;
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 10px;
        font-size: larger;
        display: block;
        text-decoration: none;
        font-family: "Inter", sans-serif;
        text-align: center;
    }
    nav ul li a:hover {
        color: green;
        text-decoration: underline;
    }
    li.logo:hover {
        background-color: transparent;
    }     
    .Logo {
        background-image: url("Images/aselogonobackground.png");
        background-color: transparent;
        background-size: contain;
        background-repeat:no-repeat;
        display:block;
        width: 350px;
        height: 80px;
        text-indent: -99999px;
        margin-right: 0px;
        padding-right: 100px;
    }
    ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }
    nav ul li .submenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;                      
        transform: translateX(-50%);    
        min-width: 200px;               
        background: white;
        border-radius: 0.5rem;
        z-index: 999;
        flex-direction: column;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        text-align: center;             
        padding: 0.5rem 0;    
    }
    nav ul li .submenu li {
        display: block;
        margin: 0;
        padding: 0;
    }
    nav ul li .submenu li a {
        padding: -1px 24px;
        color: #111;
        font-weight: normal;
        text-decoration: none;
        margin: 0;
        line-height: 1.0;
        font-family: "Open Sans", sans-serif;
    }
    nav ul li.has-dropdown:hover .submenu {
        display: flex;
    }
    nav ul li .submenu li a {
        text-decoration: none;
    }
    nav ul li .submenu li a:hover {
        color: green;
        text-decoration: underline;
    }

    /* HOMEPAGE */

    /* Keep dropdown open when hovering over parent or menu */
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
    display: block;
}

/* Remove the hover gap */
.dropdown {
    margin-top: 0 !important; /* ensure it touches the trigger */
    position: absolute;
    left: 0;
    top: 100%; /* directly below the nav link */
    z-index: 999;
}

/* Optional: give slight padding so it's easier to move into */
.dropdown li {
    padding: 8px 16px;
}

    .homepage1 {
        background: #254c42;
        padding: 0;
        color: black;
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content:center;   
        align-items: center;
        height: 220px;
        background-image: linear-gradient(to bottom right, #2eb372, #254c42);
    }

    div.solarscience {
        font-size: larger;
        margin-right: 300px;
        margin-left: 300px;
        text-align: center;
        color: white;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .button1 {
        display: inline-block;
        background-color: #254c42; 
        color: white;
        padding: 15px 30px;
        border: none;
        border-radius: 7px;
        text-decoration: none;     
        font-size: 1.2rem;
        font-weight: bold;
        cursor: pointer;
        transition: background 0.2s; transform: 0.1s;
        margin-top: 0px;
    }
    .button1:hover {
        background:#356c5a;
        transform: scale(1.05);
    }

    .feature-item1 h3.localbusinesstitle {
        color: #1f2937;
        margin: 1rem 0;   /* optional—gives it the same spacing as your other cards */
        font-size: 1.5rem;
        font-weight: 600;
        text-align: center;
    }

    .button2 {
        display: inline-block;
        background-color: #254c42; 
        color: white;
        padding: 15px 30px;
        border: none;
        border-radius: 30px;
        text-decoration: none;     
        font-size: 1.2rem;
        font-weight: bold;
        cursor: pointer;
        transition: background 0.2s; transform: 0.1s;
        margin-top: 0px;
    }
    .button2:hover {
        background-color: #356c5a; 
        transform: scale(1.05);
    }

    .button3 {
        display: inline-block;
        background-color: rgb(166, 239, 166);   /* your base pastel */
        color: black;
        padding: 15px 30px;
        border: none;
        border-radius: 30px;
        font-size: 1.2rem;
        font-weight: bold;
        cursor: pointer;
        text-decoration: none;
        transition: 
            filter   0.2s ease, 
            transform 0.2s ease, 
            box-shadow 0.2s ease;
    }

    .button3:hover {
        filter: brightness(0.9);
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }

    .button-container {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .cta-section {
        margin-top: 0rem;
        padding-top: 2rem;
        border-top: 1px solid #e5e7eb;
        margin-bottom: 30px;   
    }

    .cta-button {
        display: inline-flex;
        align-items: center;
        padding: 0.75rem 1.25rem;
        background-color: #e5e7eb;
        color: #374151;
        border-radius: 0.5rem;
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: bold;
    }

    .cta-button:hover {
        background-color: #d1d5db;
        transform: translateX(4px);
    }

    .arrow-icon {
        width: 1rem;
        height: 1rem;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }

    .cta-button:hover .arrow-icon {
        transform: translateX(4px);
    }

    .hero {
        position: relative;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        border-bottom-color: green;
    }

    .hero-container {
        position: relative;
        width: 100%;
        height: 100vh;
        min-height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        object-fit: cover;
        filter: grayscale(20%);
    }

    .hero-fallback {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.7;
    }

    .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 1rem;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: white;
    margin-bottom: 2rem;
    line-height: 1.5;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.black-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* adjust opacity here */
    z-index: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    min-height: 44px;
}

.btn-primary {
    background: #f3f4f6;
    color: #374151;
}

.btn-primary:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: #374151;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: #374151;
    border: 1px solid #374151;
}

.btn-outline:hover {
    background: #374151;
    color: white;
}

.btn-icon {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(2px);
}

.features {
    padding: 6rem 0;
    background: #f9fafb;
    background-image: 
        linear-gradient(to right, 
            rgb(198,243,198) 0%,
            rgba(198,243,198,0.6) 20%,
            transparent 40%
        );
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-color: #254c42;
}

.feature-item:hover {
    transform: translateY(-4px);
}

.feature-item-icon {
    width: 4rem;
    height: 4rem;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #374151;
}

.feature-item-icon svg {
    width: 2rem;
    height: 2rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-item p {
    color: #6b7280;
    line-height: 1.6;
}

.container1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}


.whatwedo {
    width: 100%;
    background: linear-gradient(to left, 
            rgb(198,243,198) 0%,
            rgba(198,243,198,0.6) 20%,
            transparent 40%
        );
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    align-items: center;
}

.section-titlehome {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    white-space:nowrap;
    text-align: center;
}

.ctheading {
    font-size: 24px;
}

.homepage3 {
    margin-top: 100px;
}

.hero-section1 {
    text-align: center; 
}

.hero-section1 h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.hero-subtitle1 {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 30px;
    font-weight: 400;
    text-align: center;
}

.hero-section2 {
    text-align: center; 
}

.hero-section2 h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.hero-subtitle2 {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 30px;
    font-weight: 400;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.service-card {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 32px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: #30a75e;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: #f0f9ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #0369a1;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #22c55e;
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.team-member {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.member-name {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;

}

.member-role {
    color: black;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.member-bio {
    color: #4c5059;
    font-size: 0.875rem;
    text-align: left;
}

.main-title.animate-fade-in {
    font-family: "Open Sans", sans-serif;
}

.team-section {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
}

.team-description {
    margin-bottom: 2rem;
}

.prose p{
    font-family: "Open Sans", sans-serif;
    text-align: left;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    font-family: "Open Sans", sans-serif;
}

.values-section animate-slide-in animation-delay-200 h2 {
    font-family: "Open Sans", sans-serif;
}

.value-item {
    font-family: "Open Sans", sans-serif;
}

.homepage2 {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    background: linear-gradient(to left, 
            rgb(198,243,198) 0%,
            rgba(198,243,198,0.6) 20%,
            transparent 40%
        );
}

.imagecontainer {
    position: relative;
    width: 300px;
    height: 200px;
    transform-style: preserve-3d;
    animation: animate 30s linear infinite;
    margin-top: -90px;
}

@keyframes animate {
    0%{
        transform: perspective(1000px) rotateY(0deg);
    }
    100%{
        transform: perspective(1000px) rotateY(360deg);
    }
}

.imagecontainer span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i) * 45deg)) translateZ(400px);
    -webkit-box-reflect: below 2px linear-gradient(transparent, transparent, rgba(4,4,4,0.267));
}

.imagecontainer span img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: 4px double black;
}

.phonenumberbottom{
    align-items: center;
    justify-content: center;

}


/* Footer Section */

    .footertop {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 32px 16px 32px;
        border-bottom: 2px solid black;
    }

    .socialmediaicons a {
        font-size: 2.5rem;     /* Make icons bigger. Try 2.5rem, or adjust as needed */
        color: #254c42;        /* Optional: your purple color. Remove if you want default */
        margin-right: 10px;    /* Add space between icons */
        text-decoration: none; /* Remove link underline if any */
        display: inline-block; /* Aligns icons nicely */
        transition: transform 0.2s, color 0.2s;
        margin-left: 5px;
        margin-bottom: 10px;
    }

    .socialmediaicons a:last-child {
        margin-right: 0; /* No margin after the last icon */
    }

    .gotop {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 1.13rem;
        color: white;
        background: #254c42;
        border: none;
        text-decoration: none;
        font-weight: 600;
        padding: 6px 12px;
        border-radius: 22px;
        transition: background 0.18s, color 0.18s;
        outline: none;
        margin-bottom: 10px;
    }
    
    .gotop i {
        font-size: 1.18rem; /* Slightly larger than text, but still subtle */
        margin-bottom: 1px;  /* Center vertically */
    }
    
    .gotop:hover, .gotop:focus {
        text-decoration: underline;
        background-color: #32a261;
    }

    .footerbottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 40px 38px 40px;  /* Adjust padding as needed */
        font-size: 1.15rem;
        flex-wrap: wrap;  /* stack on small screens */
        height: 80px;
    }

    .contractorslicense {
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .contractorslicense img {
        width: 100%;                    /* fill the container width */
        max-width: 900px;               /* cap it so it doesn’t get huge on desktops */
        height: auto;                   /* keep aspect ratio */
        display: block;                 /* removes inline gap */
        object-fit: contain;            /* safe scaling */
    }

    .footerleft {
        color: #111;
        font-weight: 600;
    }

    .footerright {
        text-align: right;
    }

    .footerright a {
        color: #254c42;
        font-weight: 600;
        text-decoration: underline;
        font-size: 1.13rem;
    }

    /* Contact Us Page */
    
    .contactusbanner {

        padding: 0;
        color: black;
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content:center;   
        margin-top: 0; 
        height: 400px;
        border-bottom: 4px solid #22c55e;
    }
    .contactusbanner img {
        width: 100vw;          /* Full width of viewport */
        height: auto;          /* Maintain aspect ratio */
        display: block;
        object-fit: cover;     /* Crops image if necessary */
        margin: 0;
        padding: 0;
    }
    .contactinformation {
        margin-left: 12px;
    }
    .asecontactinfo {
        font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-size:larger;
    }

/* Privacy Policy */

.privacypolicy {
    margin-right: 10px;
    margin-left: 10px;
}

.privacypolicy ul {
    list-style-type: disc;       /* use the default solid circle bullets */
    list-style-position: outside;/* bullets hang outside the text block */
    margin: 1em 0 1em 1.5em;     /* vertical spacing + indent on the left */
    padding: 0;                  /* remove any extra padding */
}

.privacypolicy ul li {
    margin-bottom: 0.5em;        /* space between each bullet item */
    line-height: 1.5;            /* improve readability */
}

h1.ppheading {
    color: green;
    font-weight: bold;
}

.contactinformation .asecontactinfo li {
    margin-bottom: 0.6em;    /* adjust to taste */
    line-height: 1.4;        /* optional, improves readability */
}

/* How Solar Works */

.howsolarheading {
    width: 100%;                        
    margin: 0;                            
    padding: 30px 0;                      
    background: transparent;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    box-sizing: border-box;   
    margin-top: 80px;
}

p.howsolardesc {
    text-align: left;
    margin-left: 15px;
    margin-right: 20px;
    font-family: "Open Sans", sans-serif;
}
h1.howsolartitle {
    text-align: center;
    margin-top: -10px;
}

.text-black {
    color: black;
    font-size: 25px;
    margin-bottom: 1rem;
    font-family: "Open Sans", sans-serif;
}

.story-card1 {
    background-color: rgb(224, 223, 223);
    border-radius: 4rem;
    border: 10px solid #254c42;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 50px;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding: 0;
}

.player {
    aspect-ratio: 16/9;
    width: 100%;
    max-width: 1000px;
    border: none;
}

/* Gallery Section */

.img-gallery {
    padding: 0;
    width: 80%;
    margin: 100px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px
}

.img-gallery img {
    max-width: 300px;
    max-height: 200px;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-radius: 10px;

}

.img-gallery img:hover{
    transform: scale(0.8) rotate(-15deg);
    border-radius: 20px;
    box-shadow: 0 32px 7px rgba(68, 77, 136, 0.2);
}

.full-img {
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.full-img img {
    width: 90%;
    max-width: 900px;
}

.full-img span {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

div.galleryheading {
    text-align: center;
    margin-bottom: -60px;
    font-size: 30px;
    margin-top: -10px;
    font-family: "Open Sans", sans-serif;
}

h1.galleryheading {
    font-family: "Open Sans", sans-serif;
}

.footertop1 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 32px 16px 32px;
        border-bottom: 2px solid black;
        margin-top: 20px;
    }

/* Current Policy */

.policysectiontitlemargin {
    margin-top: 50px;
}

.currentpolicy {
    margin-right: 15px;
    margin-left: 15px;
    margin-top: 100px;
}

.policy-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.policy-text {
    flex: 1;
    min-width: 300px;
    display: flex;
    background-color: rgb(238, 237, 237);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    justify-content: center;
    border: 4px solid #254c42;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
    border-radius: 10px;
    padding: 15px; 
    text-align: center; 
    font-size: 24px;
}

.policy-text h1,
.policy-text h2,
.policy-text h3 {
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100%; /* Ensures the heading takes full width for centering */
}

.policy-text p {
    text-align: left; /* Explicitly left-align paragraph text */
    margin: 0;
    line-height: 1.4; /* Optional: improves readability */
}

.video-wrapper1 {
    flex: 1;
    min-width: 300px;
}

h1.policysectiontitle {
    font-family: "Open Sans", sans-serif;
    font-size: 36px;
    font-weight: bold;
    margin: 20px 0;
    text-align: center;
}

.player1 {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 700px; /* ← Increase or decrease this to control size */
    height: auto;
    border: none;
    border-radius: 12px; /* Optional: gives rounded corners */
}

.curvy-line1 {
    width: 100%;
    height: 100px;
    display: block;
    margin: 0 auto;
    pointer-events: none;
    position: relative;
    top: -60px; /* adjust this value to move it higher or lower */
    z-index: 0;
}

.policy-row1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: -50px 0;
    flex-wrap: wrap; 
}

.curvy-line2 {
    width: 100%;
    height: 100px;
    display: block;
    margin: 0 auto;
    pointer-events: none;
    position: relative;
    top: 20px;
    z-index: 0;
}

.policy-row2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap; 
}

.curvy-line3 {
    width: 100%;
    height: 100px;
    display: block;
    margin: 0 auto;
    pointer-events: none;
    position: relative;
    top: -30px;
    z-index: 0;
}

.curvy-line4 {
    width: 100%;
    height: 100px;
    display: block;
    margin: 0 auto;
    pointer-events: none;
    position: relative;
    top: 30px; /* adjust this value to move it higher or lower */
    z-index: 0;
    bottom: -20px;
}

/* Projects */

.project-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}

.project-image-wrapper {
    flex: 1;
}

.project-image {
    width: 100%;
    max-width: 600px; /* Control how small it should shrink */
    height: auto;
    display: block;
    border-radius: 8px;
    margin-left: 20px;
}

.project-text-box {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-right: 50px;
}

.project-section1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -200px;
    gap: 20px;
    margin-bottom: 20px;
}

.project-image-wrapper1 {
    flex: 1;
}

.project-image1 {
    width: 100%;
    max-width: 600px; /* Control how small it should shrink */
    height: auto;
    display: block;
    border-radius: 8px;
    margin-left: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.project-text-box1 {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-left: 50px;
}

.curvy-line {
    width: 100%;
    height: 100px;
    display: block;
    margin: 0 auto;
    pointer-events: none;
}

.project-section2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    margin-top: -200px;
}

.project-image-wrapper2 {
    flex: 1;
}

.project-image2 {
    width: 100%;
    max-width: 600px; /* Control how small it should shrink */
    height: auto;
    display: block;
    border-radius: 8px;
    margin-left: 20px;
}

.project-text-box2 {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-right: 50px;
}

.project-section3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -110px;
    gap: 20px;
    margin-bottom: 20px;
}

.project-image-wrapper3 {
    flex: 1;
}

.project-image3 {
    width: 100%;
    max-width: 600px; /* Control how small it should shrink */
    height: auto;
    display: block;
    border-radius: 8px;
    margin-left: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.project-text-box3 {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-left: 50px;
}


/* FAQs Section */

.wrapper {
    max-width: 75%;
    margin: auto;
    font-family: "Open Sans", sans-serif;
}

.wrapper > p, .wrapper > h1 {
    margin: 1.5rem 0;
    text-align: center;
    font-family: "Open Sans", sans-serif;
}

.wrapper > h1 {
    letter-spacing: 3px;
    font-family: "Open Sans", sans-serif;
}

.accordion {
    background-color: white;
    color: rgba(0,0,0,0.8);
    cursor: pointer;
    font-size: 1.2rem;
    width: 100%;
    padding: 2rem 2.5rem;
    border: none;
    outline: none;
    transition: 0.4s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.accordion i {
    font-size: 1.6rem;
}

.active, .accordion:hover {
    background-color: #f1f7f5;
}

.pannel {
    padding: 0 2rem 2.5rem 2rem;
    background-color: white;
    overflow: hidden;
    background-color: #f1f7f5;
    display: none;
}

.pannel p {
    color: rgba(0,0,0,0.7);
    font-size: 1.2rem;
    line-height: 1.4;
}

.faq {
    border: 1px solid rgba(0,0,0,0.2);
    margin: 10px 0;
}

.faq.active {
    border: none;
}

/* About Us Section */


.container {
    width: 1200px;
    margin: 0 auto;
}

.max-w-6xl {
    max-width: 72rem;
    margin: 0 auto;
}

.pt-24 { padding-top: 6rem; }
.pb-16 { padding-bottom: 4rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-16 { margin-top: 4rem; }
.pt-8 { padding-top: 2rem; }


@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #6b7280;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #374151;
}

.back-link svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

.main-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
}

.subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
    opacity: 0;
}

.section-title {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.values-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.text-gray {
    color: #6b7280;
    margin-bottom: 1rem;
}

.grid-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .grid-section {
        grid-template-columns: 1fr 1fr;
    }
}

.mission-section {
    opacity: 0;
    transform: translateX(-20px);
    padding-top: 1.1rem;
}

.values-section {
    background-color: #f9fafb;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    opacity: 0;
    transform: translateX(20px);
}

.values-list {
    list-style: none;
    padding: 0;
}

.value-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #374151;
    margin-top: 0.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.story-section {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
}

.story-card {
    background-color: white;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-in {
    animation: slideIn 0.6s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

/* Animation Delays */
.animation-delay-200 {
    animation-delay: 200ms;
}

.animation-delay-400 {
    animation-delay: 400ms;
}

.animation-delay-600 {
    animation-delay: 600ms;
}

/* Responsive Typography */
@media (min-width: 768px) {
    .main-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

.mission-logo-img {
    display: block;
    margin-top: 1rem;
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.team-card {
    scroll-snap-align: start;
    flex: 0 0 85%; /* Responsive width (adjust if needed) */
    max-width: 500px;
    background-color: #f9fafb;
    border: 8px solid #254c42;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.scroll-btn {
    background-color: #254c42;
    color: white;
    border: none;
    padding: 10px 16px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.2s ease;
}

.scroll-btn:hover {
    background-color: #1b3b30;
}

.left-btn {
    margin-right: 10px;
}

.right-btn {
    margin-left: 10px;
}

.testimonial-scroll-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%; /* Full width of screen */
    display: flex;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
}

.testimonial-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 40px; /* Add side padding to prevent overflow */
    scroll-snap-type: x mandatory;
    box-sizing: border-box;
    margin-left: 10px;
}

.testimonial-scroll-container::-webkit-scrollbar {
    display: none;
}

/* HOMEPAGE STYLE TEST */


/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-logo img {
    height: 2rem;
    transition: filter 0.3s ease;
}

.navbar.scrolled .nav-logo img {
    filter: none;
}

.navbar:not(.scrolled) .nav-logo img {
    filter: brightness(0) invert(1);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: #374151;
}

.nav-link:hover {
    color: #6b7280;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    background: none;
    border: none;
    color: white;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Open Sans", sans-serif;
}

.navbar.scrolled .nav-dropdown-trigger {
    color: #374151;
}

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 1rem;
}

.nav-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem;
    text-decoration: none;
    color: #374151;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
}

.dropdown-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.dropdown-desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.nav-contact-btn {
    background: #374151;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.navbar.scrolled .nav-contact-btn {
    background: #f3f4f6;
    color: #374151;
}

.nav-contact-btn:hover {
    background: #6b7280;
}

.navbar.scrolled .nav-contact-btn:hover {
    background: #e5e7eb;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: white;
    position: relative;
    transition: background 0.3s ease;
}

.navbar.scrolled .hamburger {
    background: #374151;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: inherit;
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

.mobile-nav {
    display: none;
    background: white;
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-contact-btn {
    width: 100%;
    background: #374151;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 500;
    margin-top: 1rem;
    cursor: pointer;
}

.phone-link {
  color: #10b981; /* Tailwind Emerald-500 */
  font-weight: bold;
  text-decoration: none;
}

.phone-link:hover {
  text-decoration: underline;
  color: #059669;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 1rem;
    z-index: 10;
    position: relative;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #6b7280;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.feature-desc {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* CTA Section */

footer.cta-section button.cta-button {
    background-color: #22c55e;   /* whatever color you want */
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
}

.cta-section {
    text-align: center;
}

.cta-button {
    background: #22c55e;
    border: none;
    border-radius: 25px;
    padding: 16px 32px;
    font-size: 0.95rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    text-decoration: none;
}

.cta-button:hover {
    background: #088536;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(34, 197, 94, 0.3);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Responsive Design for What ASE Does */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .service-card {
        padding: 24px 20px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px 16px;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 20px 16px;
    }
}

/* Animation for cards on load */
.service-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    background: #374151;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-contact.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-contact:hover {
    background: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.floating-contact svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-group:has(input[type="text"], input[type="email"]) {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .blog-header {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .feature-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }


/* Why Solar Section */

/* Container and layout */
.main-container {
    min-height: 100vh;
    padding: 4rem 1rem;
    background-color: #ffffff;
}

.content-wrapper {
    max-width: 72rem;
    margin: 0 auto;
}

/* Header section */
.header-section {
    text-align: center;
    margin-bottom: 3rem;
}

.main-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.subtitle {
    color: #6b7280;
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* Feature boxes */
.feature-box {
    background-color: #f3f4f6;
    border: 2px solid #166534;
    border-radius: 1rem;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
}

.feature-item {
    flex: 1;
}


.feature-box:hover {
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: scale(1.05);
}

.feature-item1 {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border-color: #254c42;
  align-items: center;
  justify-content: center;
}

.feature-item1:hover {
  transform: translateY(-4px);
}

/* ensure the image fills its container */
.feature-item1 img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.feature-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.icon-container {
    flex-shrink: 0;
}

.icon-wrapper {
    width: 3rem;
    height: 3rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #374151;
}

.text-content {
    flex: 1;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Call to action section */
.cta-section {
    text-align: center;
}

.cta-button {
    background-color: #e5e7eb;
    color: #374151;
    padding: 1rem 2rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    background-color: #d1d5db;
}

.arrow-icon {
    width: 1rem;
    height: 1rem;
}

/* Modal styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    max-width: 42rem;
    max-height: 80vh;
    overflow-y: auto;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.modal-title-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-icon-wrapper {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #374151;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

.close-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    color: #6b7280;
    transition: all 0.3s ease;
}

.close-button:hover {
    color: #374151;
    background-color: #f3f4f6;
}

.close-button svg {
    width: 1.25rem;
    height: 1.25rem;
}

.modal-overview {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-section {
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.benefits-list,
.examples-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefits-list li,
.examples-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.6;
}

.benefits-list li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background-color: #059669;
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.examples-list li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background-color: #2563eb;
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.benefits-list li,
.examples-list li {
    color: #6b7280;
}

.modal-footer {
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 1.5rem;
}

.get-started-button {
    width: 100%;
    background-color: #166534;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.get-started-button:hover {
    background-color: #14532d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-container {
        padding: 2rem 1rem;
    }
    
    .main-title {
        font-size: 1.875rem;
    }
    
    .feature-box {
        padding: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}


/* Tablet adjustments */
@media (max-width: 1024px) {
  .footertop {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footerbottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto; /* remove fixed height for better stacking */
    gap: 8px;
    padding: 16px 20px;
  }

  .footerright {
    text-align: center;
  }
}

/* Large phone adjustments */
@media (max-width: 768px) {
  .socialmediaicons a {
    font-size: 2rem;
    margin-right: 8px;
  }

  .gotop {
    font-size: 1rem;
    padding: 6px 10px;
  }

  .footerright a {
    font-size: 1rem;
  }
}

/* Small phone adjustments */
@media (max-width: 480px) {
  .footertop {
    padding: 0 16px 12px 16px;
  }

  .footerbottom {
    padding: 12px 16px;
    gap: 6px;
  }

  .socialmediaicons a {
    font-size: 1.75rem;
    margin: 0 6px;
  }

  .gotop {
    font-size: 0.95rem;
    gap: 4px;
  }

  .footerright a {
    font-size: 0.95rem;
  }
}

/* Keep header/nav above the hero overlay */
header.desktop { position: relative; z-index: 3000; }
nav ul li .submenu { z-index: 4000; }

/* Let the hero overlay stop catching the mouse on the homepage */
.hero-overlay,
.black-overlay { pointer-events: none; }

/* Make sure nothing clips the dropdown */
header.desktop,
.header-row,
nav,
nav ul { overflow: visible; }