/* SECTION 1 - Static Background Before Animation */
.section1 {
    background-image: url('assets/images/sun-setting-silhouette-electricity-pylons.png');
    /* Static first background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 1.5s ease-in-out, opacity 1s ease-in-out, visibility 1s ease-in-out;
    overflow: hidden;
    opacity: 1;
    /* Fully visible initially */
    visibility: visible;
}

/* FADE-OUT CLASS FOR HIDING SECTION 1 (AFTER BUTTON CLICK) */
.section1.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    /* Fully hides everything */
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}


/* TEXT ANIMATION */
.fade-text {
    width: 60%;
    font-size: 40px;
    text-align: center;
    position: absolute;
    bottom: -50px;
    opacity: 1;
    /* Ensure it's visible initially */
    transition: transform 1s ease-in-out, opacity 1s ease-in-out, color 1s ease-in-out;
}

/* TEXT ACTIVE STATE */
.fade-text.active {
    transform: translateY(-300px);
    /* Moves text to the center */
    width: 50%;
    font-size: 40px;
    text-align: center;
    opacity: 1;
}



@keyframes neonGlow {
    0% {
        box-shadow: 0 0 20px #00eaff, 0 0 30px #00eaff, 0 0 40px #00eaff;
    }

    50% {
        box-shadow: 0 0 30px #00eaff, 0 0 40px #00eaff, 0 0 50px #00eaff;
    }

    100% {
        box-shadow: 0 0 20px #00eaff, 0 0 30px #00eaff, 0 0 40px #00eaff;
    }
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.neon-glow-button {
    display: flex;
    align-items: center;
    padding: 5px 20px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: #282828;
    border: none;
    border-radius: 30px;
    text-shadow: 0 0 10px #00eaff;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: neonGlow 1s infinite alternate ease-in-out;
    margin-top: 15%;
}

.neon-glow-button i {
    margin-right: 10px;
    animation: iconPulse 1.5s infinite ease-in-out;
}

/* FADE OUT BUTTON EFFECT */
.neon-glow-button.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.power-btn {
    width: 35px;
    height: 35px;

}

/* BACKGROUND TEXT COLORS */
.text-light {
    color: #fff;
}

.text-dark {
    color: red;
}

/* section2 */
.section2 {
    padding: 2%;
}

.about-us {
    font-family: var(--family);
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0 10px;
    text-align: center;
}

.about-para {
    font-family: var(--family);
    font-size: 16px;
    font-weight: 400;
    color: #131513;
    text-align: center;
    padding-bottom: 3%;
}

.icons-aling {
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
}


.heading-align {
    text-align: center;
}

/* Hide elements initially for animations */
.heading-align h2,
.heading-align p,
.icons-aling div {
    opacity: 0;
}



/* Shop Section */
.shop-section {
    text-align: center;
    padding: 2%;
    background: #f8f9fa;
}

/* Section Header */
.shop-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.shop-description {
    font-size: 16px;
    color: #555;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Categories Navigation */
.shop-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.shop-categories a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 20px;
    transition: 0.3s;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.shop-categories .active-category {
    background: #ff9800;
    color: white;
    font-weight: bold;
}

/* Modern Product Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Product Card */
.shop-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding: 20px;
    transition: transform 0.1s ease-in-out, box-shadow 0.4s ease-in-out;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px; /* Adds 3D depth */
}

.shop-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

/* 🟡 3D Effect on Hover */
.shop-item:hover {
    transform: rotateX(10deg) rotateY(10deg) translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8); /* Electric glow */
}

/* Product Info */
.shop-item-info {
    padding: 15px 10px;
}

.shop-item-info h3 {
    font-size: 18px;
    color: #333;
}

.shop-item-info p {
    font-size: 14px;
    color: #777;
    margin: 5px 0 10px;
}

/* Buy Button */
.shop-btn {
    background: #ff9800;
    color: white;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.shop-btn:hover {
    background: #e68900;
}

/* View All Button */
.shop-footer {
    margin-top: 30px;
}

.shop-view-all {
    background: black;
    color: white;
    font-size: 16px;
    padding: 12px 24px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.shop-view-all:hover {
    background: #333;
}


/* products */
.products-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 2%;
}
/* Products Container */
.products-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.section-title{
    margin-bottom: 20px;
}
.section-description{
    padding-bottom: 20px;
}
/* Product Cards */
.product-card {
    background: #BC0404;
    border-radius: 15px;
    padding: 0px;
    /* width: 100%; */
    /* max-width: 400px; */
    width: 300px;
    height: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
    margin: 1%;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-image-container {
    background: white;
    border-top-right-radius: 30%;
    border-bottom-left-radius: 30%;
    padding: 30px;
    margin-top: 8%;
}

.product-image-container img {
    width: 200px;
    height: 200px;
}

.product-para-arrow {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    margin-top: 30px;
}

.product-para-arrow .product-name {
    color: white;
    font-size: 16px;
    font-weight: 400;
}

.product-para-arrow .product-para {
    color: white;
    font-size: 14px;
    font-weight: 400;
}

/* Product Link Icon */
.product-link {
    bottom: 15px;
    right: 15px;
    background: white;
    color: black;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.product-link i {
    font-size: 20px;
}

.product-link:hover {
    background: #f4a500;
    color: white;
}

.view-btn {
    background-color: #131513;
    color: white;
    text-align: center;
    border-radius: 50px;
    border: none;
    width: 120px;
    padding: 5px;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 900px) {
    .products-container {
        flex-direction: column;
        align-items: center;
    }
}

/* Hide elements initially for animations */
.heading-align h2,
.section-description,
.view-btn,
.product-card {
    opacity: 0;
    transform: translateY(30px);
}



/* parteners */
/* section6 */
.logo-card {
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    margin: 20px;
    background-color: white;
}

.logo-card .logo {
    width: 250px;
    height: 150px;
}

@media screen and (min-width:1650px) {
    .cfo-para2 {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    .logo {
        font-size: 14px;
    }

    .logo-card {
        height: 50px;
        border-radius: 5px;
    }
}

/* Partner Section */
.our-partners {
    text-align: center;
    font-size: 40px;
    font-family: var(--font-family);
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--primary-color);
}

@media screen and (min-width:760px) and (max-width:1020px) {
    .our-partners {
        font-size: 25px;
    }
}

.bg-scroll {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    background-color: transparent;
    padding-top: 2.5%;
    padding-bottom: 2.5%;
}

.frame {
    display: flex;
    align-items: center;
    background-color: black;
    width: calc(150px * 20 + 30px * 19);
    /* Width adjusted to fit all logos */
    animation: scroll 26s linear infinite;
    gap: 30px;
    /* Adjusted for better spacing */
    padding-top: 2%;
    padding-bottom: 2%;
}


.frame .logo {
    width: 50%;
    height: 100px;
    /* Adjusted size to fit five logos in view */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.bg-scroll:hover .frame {
    animation-play-state: paused;
}



/* smaller laptops for partners section */
@media screen and (min-width: 1120px) and (max-width: 1280px) {
    .our-partners {
        font-size: 36px;
        /* Adjust font size for medium screens */
        margin-bottom: 15px;
        /* Adjust bottom margin for better spacing */
    }

    .bg-scroll {
        padding-top: 2.5%;
        padding-bottom: 2.5%;
    }

    .frame {
        width: calc(150px * 15 + 30px * 14);
        /* Adjust width to fit fewer logos */
        gap: 20px;
        /* Reduce gap for medium screens */
    }

    .frame .logo {
        height: 80px;
        /* Adjust logo size for medium screens */
    }
}

/* mobile view */

@media screen and (max-width: 767px) {
    .our-partners {
        font-size: 19px;
        /* Reduce font size for mobile screens */
        margin-bottom: 10px;
        margin-top: 5px;
        /* Adjust bottom margin for better spacing */
    }

    .bg-scroll {
        padding-top: 3%;
        padding-bottom: 3%;
        margin-top: 4%;
    }

    .frame {
        width: auto;
        /* Allow the frame to be flexible in width */
        gap: 10px;
        /* Reduce gap for mobile screens */
        width: calc(150px * 20 + 30px * 19);
        animation: scroll 23s linear infinite;
        /* Speed up animation for mobile */
    }

    .frame .logo {
        height: 80px;
        /* Reduce logo size for mobile screens */
    }
}



/* certification section */
.certification-bg {
    background-color: #f4a500;
    height: 40vh;
}

/* Contact Section */
.contact-bg {
    background-color: #CAE8C2B2;
    padding: 60px 20px;
}

/* Section Title */
/* .section-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 10px;
} */

/* Subtitle */
.about-para {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
    width: 90%;
    margin: auto;
    margin-bottom: 1%;
}

/* Form Styling */
.contact-form {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Form Fields Alignment */
.fields-align {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

/* Label */
.form-group {
    flex: 1;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #000;
}

/* Input & Textarea */
input {
    width: 98%;
    padding: 8px;
    border: 1px solid black;
    border-radius: 5px;
    /* font-size: 1rem; */
    background: white;
    outline: none;
}

textarea {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 5px;
    border: 1px solid black;
    background: white;
    outline: none;

}

/* Textarea */
textarea {
    height: 100px;
    resize: none;
}

/* Full-width message box */
.full-width {
    width: 100%;
}

/* Submit Button */
.submit-btn {
    background-color: #22c122;
    color: white;
    font-size: 1rem;
    border: none;
    padding: 12px 40px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}


.contact-btn-sub {
    background-color: #22c122;
    color: white;
    font-size: 1rem;
    border: none;
    padding: 5px 40px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.contact-btn-sub:hover {
    background-color: #1a9d1a;
}


/* Hide elements initially for animations */
.section-title,
.about-para,
.form-group,
.contact-btn-sub {
    opacity: 0;
    transform: translateY(30px);
}

/* Focus Effect on Input Fields */
input:focus,
textarea:focus {
    border-color: #22c122;
    box-shadow: 0 0 10px rgba(34, 193, 34, 0.5);
    transition: all 0.3s ease-in-out;
}

/* Submit Button Hover Effect */
.contact-btn-sub:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(34, 193, 34, 0.5);
}


/* footer  */
/* Footer Styles */
footer {
    background-color: #f8f8f8;
    /* padding: 20px 0; */
    text-align: center;
    padding: 0;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 5px;
    width: 80%;
    margin: auto;
}

.footer-container div {
    /* flex: 1;
    min-width: 200px; */
    margin: 10px;
}

.footer-container h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.footer-container p {
    font-size: 14px;
    color: #555;
}

/* Social Media Icons */
.social-media-con a {
    color: #000;
    font-size: 18px;
    margin: 0 5px;
    text-decoration: none;
}

.social-media-con a:hover {
    color: #007bff;
}



/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #777;
    border-top: 1px solid #ddd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fields-align {
        flex-direction: column;
        gap: 15px;
    }

    .form-group {
        width: 100%;
    }
}