/*
Theme Name: SolarGlow
Author: ModinaTheme
Author URI: https://themeforest.net/user/modinatheme/
Description: Solar Renewable Energy Html Template
Version: 1.0.0
*/

/*
=================================
|***    Table of contents:   ***|
=================================

Main Style file-> assets/css/main.css 

All the SCSS File in SCSS Folder of Assets Folder. You can read the doc file also for better understand.

// BASIC
@import 'basic';

// MIXIN
@import 'variables';

// TYPOGRAPHY
@import 'typography';

// MIX
@import 'mix';

// HELPER
@import 'helper';

// ICON FONTS
@import 'icon';

// ANIMATION
@import 'animation';

// Button 
@import 'btn';

// Colors 
@import 'colors';

// Preloader 
@import 'preloader';

/* ----------------------------------
    Template Section Styles
 ------------------------------------*/

 /* // Menu - Header Section 
 @import 'header';
 
 // Hero Slide - Section 
 @import 'hero';
 
 // Section Title - Heading 
 @import 'section';
 
 // About - Section 
 @import 'about';
 
 // Features - Section 
 @import 'features';
 
 // services - Section 
 @import 'services';
 
 // testimonial - Section 
 @import 'testimonial';
 
 // Portfolio - Cases - Section 
 @import 'project';
 
 // Price Table - Section 
 @import 'price';
 
 // Call To Action - Section 
 @import 'cta';
 
 // Content Block - Section 
 @import 'contentblock';
 
 // team - Section 
 @import 'team';
 
 // funfact - Section 
 @import 'funfact';
 
 // Download - Section 
 @import 'carousel';
 
 // FAQ - Section 
 @import 'faq';
 
 // Blog - Section 
 @import 'blog';
 
 // Contact Us - Section 
 @import 'contact';
 
 // footer - Section 
 @import 'footer';n facts */

/* Mission & Vision */
.mission-vision-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.mission-vision-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--theme), #79b84f);
}

.mission-vision-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(91, 155, 55, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-vision-card h3 {
    margin: 18px 0 10px;
}

.mission-vision-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.mission-vision-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text);
}

.mission-vision-list li:not(:last-child) {
    margin-bottom: 10px;
}

.mission-vision-list li i {
    color: var(--theme);
    margin-top: 4px;
}

/* WhatsApp Floating Button */
.whatsapp-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
}

.whatsapp-popup {
    position: absolute;
    right: 72px;
    bottom: 0;
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
    max-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.whatsapp-popup::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: 22px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    transform: rotate(45deg);
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.08);
}

.whatsapp-widget.is-open .whatsapp-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.whatsapp-popup__logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex: 0 0 auto;
}

.whatsapp-popup__copy {
    display: flex;
    flex-direction: column;
}

.whatsapp-popup__title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2a1f;
    margin-bottom: 6px;
}

.whatsapp-popup__link {
    font-size: 13px;
    font-weight: 600;
    color: #25d366;
    text-decoration: none;
}

.whatsapp-popup__link:hover,
.whatsapp-popup__link:focus {
    color: #1fb85a;
    text-decoration: underline;
}

.call-float {
    position: fixed;
    right: 22px;
    bottom: 92px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #a7ab1a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.call-float::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(167, 171, 26, 0.35);
    animation: call-pulse 1.6s ease-out infinite;
    pointer-events: none;
    z-index: 0;
}

.call-float__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e53935;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    z-index: 2;
}

.call-float i {
    position: relative;
    z-index: 1;
}

.call-float:hover,
.call-float:focus {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
}

.call-float:focus-visible {
    outline: 3px solid rgba(167, 171, 26, 0.5);
    outline-offset: 4px;
}

.whatsapp-float {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.35);
    animation: wa-pulse 1.6s ease-out infinite;
    pointer-events: none;
}

.whatsapp-float i {
    position: relative;
    z-index: 1;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
}

.whatsapp-float:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.5);
    outline-offset: 4px;
}

@keyframes wa-pulse {
    0% {
        transform: scale(0.85);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@keyframes call-pulse {
    0% {
        transform: scale(0.85);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@media (max-width: 576px) {
    .whatsapp-widget {
        right: 16px;
        bottom: 16px;
    }

    .whatsapp-popup {
        min-width: 210px;
        right: 66px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 25px;
    }

    .call-float {
        right: 16px;
        bottom: 80px;
        width: 52px;
        height: 52px;
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float::before {
        animation: none;
    }

    .whatsapp-popup {
        transition: none;
    }

    .call-float::before {
        animation: none;
    }
}


/* About: Key Specifications flip cards */
.about-company-section .about-spec-card {
    padding: 0;
    border-radius: 12px;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.about-company-section .about-spec-card:hover,
.about-company-section .about-spec-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.12);
}

.about-company-section .about-spec-card:focus-visible {
    outline: 3px solid rgba(22, 150, 72, 0.45);
    outline-offset: 4px;
}

.about-company-section .about-spec-card__inner {
    position: relative;
    min-height: 240px;
    transform-style: preserve-3d;
    transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: transform;
}

.about-company-section .about-spec-card:hover .about-spec-card__inner,
.about-company-section .about-spec-card:focus-within .about-spec-card__inner {
    transform: rotateY(180deg);
}

.about-company-section .about-spec-card__face {
    position: absolute;
    inset: 0;
    padding: 40px;
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
}

.about-company-section .about-spec-card__front {
    background: #ffffff;
}

.about-company-section .about-spec-card__front::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #169648, #79b84f);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.55s ease;
    z-index: 0;
}

.about-company-section .about-spec-card:hover .about-spec-card__front::before,
.about-company-section .about-spec-card:focus-within .about-spec-card__front::before {
    transform: scaleY(1);
}

.about-company-section .about-spec-card__face > * {
    position: relative;
    z-index: 1;
}

.about-company-section .about-spec-card__back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #169648, #79b84f);
    color: #ffffff;
}

.about-company-section .about-spec-card .icon {
    transition: background-color 0.35s ease;
}

.about-company-section .about-spec-card:hover .about-spec-card__front .icon,
.about-company-section .about-spec-card:focus-within .about-spec-card__front .icon {
    background-color: rgba(255, 255, 255, 0.22);
}

.about-company-section .about-spec-card__back .icon {
    background-color: rgba(255, 255, 255, 0.22);
}

.about-company-section .about-spec-card__front .content h2,
.about-company-section .about-spec-card__front .content p {
    transition: color 0.35s ease;
}

.about-company-section .about-spec-card:hover .about-spec-card__front .content h2,
.about-company-section .about-spec-card:hover .about-spec-card__front .content p,
.about-company-section .about-spec-card:focus-within .about-spec-card__front .content h2,
.about-company-section .about-spec-card:focus-within .about-spec-card__front .content p {
    color: #ffffff;
}

.about-company-section .about-spec-card__back .content h2 {
    color: #ffffff;
}

.about-company-section .about-spec-card__back .content p {
    color: rgba(255, 255, 255, 0.92);
}

.about-company-section .about-spec-card__back .spec-unit {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.92;
}

@media (prefers-reduced-motion: reduce) {
    .about-company-section .about-spec-card {
        transition: none;
    }

    .about-company-section .about-spec-card__inner {
        transition: none;
    }

    .about-company-section .about-spec-card:hover,
    .about-company-section .about-spec-card:focus-within {
        transform: none;
    }

    .about-company-section .about-spec-card:hover .about-spec-card__inner,
    .about-company-section .about-spec-card:focus-within .about-spec-card__inner {
        transform: none;
    }
}

/* About: Certificates */
.certificates-section {
    position: relative;
    overflow: hidden;
    background: #f6fbf7;
}

.certificates-section::before {
    content: "";
    position: absolute;
    inset: -140px -80px auto -80px;
    height: 360px;
    background: radial-gradient(circle at 20% 30%, rgba(22, 150, 72, 0.18), transparent 60%),
        radial-gradient(circle at 80% 10%, rgba(121, 184, 79, 0.16), transparent 58%);
    filter: blur(2px);
    opacity: 0.9;
    pointer-events: none;
}

.certificates-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(22, 150, 72, 0.12) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.22;
    pointer-events: none;
}

.certificates-section .container {
    position: relative;
    z-index: 1;
}

.certificates-section .section-title p {
    max-width: 700px;
    margin: 12px auto 0;
}

.certificate-card {
    display: block;
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.certificate-card:hover,
.certificate-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.12);
}

.certificate-card:focus-visible {
    outline: 3px solid rgba(22, 150, 72, 0.45);
    outline-offset: 4px;
}

.certificate-card__thumb {
    position: relative;
    background: #ffffff;
    aspect-ratio: 3 / 4;
    padding: 14px;
    overflow: hidden;
}

.certificate-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1);
    transition: transform 0.6s ease;
}

.certificate-card__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 150, 72, 0.88), rgba(121, 184, 79, 0.88));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.certificate-card__zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 34px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 2;
}

.certificate-card:hover .certificate-card__thumb img,
.certificate-card:focus-within .certificate-card__thumb img {
    transform: scale(1.05);
}

.certificate-card:hover .certificate-card__thumb::after,
.certificate-card:focus-within .certificate-card__thumb::after {
    opacity: 1;
}

.certificate-card:hover .certificate-card__zoom,
.certificate-card:focus-within .certificate-card__zoom {
    opacity: 1;
    transform: translateY(0);
}

.certificate-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
}

.certificate-card__meta h4 {
    font-size: 18px;
    margin: 0;
}

.certificate-card__meta span {
    font-weight: 700;
    color: var(--theme);
}

@media (prefers-reduced-motion: reduce) {
    .certificate-card,
    .certificate-card__thumb img,
    .certificate-card__thumb::after,
    .certificate-card__zoom {
        transition: none;
    }

    .certificate-card:hover,
    .certificate-card:focus-within {
        transform: none;
    }
}

/* Project page: product cards */
.project-section .project-box-items-2 .project-image {
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
}

.project-section .project-box-items-2 .project-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


