/* === RESET AND BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary: #18AA01;
    --primary-dark: #146807;
    --secondary: #0063c9;
    --success: #00C853;
    --info: #00B8D4;
    --btn-cta: #18AA01;
    --btn-cta-hover: #1cbc04ae;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --dark: #0C1406;
    --light: #f8f9fa;
    --bg-light: #ffffff;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Arial', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.preloader-content {
    position: relative;
    text-align: center;
}

.preloader-logo {
    margin-bottom: 30px;
    position: relative;
}

.preloader-logo span {
    color: var(--primary);
    font-weight: 700;
}

.preloader-logo h2 {
    color: var(--light);
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
}

.solar-panel {
    width: 120px;
    height: 80px;
    background: linear-gradient(145deg, #007a2b, #00b041);
    margin: 30px auto;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 156, 55, 0.3);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    padding: 4px;
    overflow: hidden;
}

.solar-cell {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.solar-cell:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shineEffect 2s infinite;
}

.solar-cell:nth-child(2n):after {
    animation-delay: 0.5s;
}

.solar-cell:nth-child(3n):after {
    animation-delay: 0.7s;
}

.solar-cell:nth-child(4n):after {
    animation-delay: 0.9s;
}

@keyframes shineEffect {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.energy-bar-container {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin: 15px auto;
    position: relative;
    overflow: hidden;
}

.energy-bar {
    height: 100%;
    width: 0;
    background-color: var(--primary);
    border-radius: 4px;
    position: relative;
    animation: loadingAnimation 3s forwards;
}

@keyframes loadingAnimation {
    0% {
        width: 0%;
    }
    60% {
        width: 60%;
    }
    80% {
        width: 80%;
    }
    100% {
        width: 100%;
    }
}

.preloader-text {
    color: var(--light);
    font-size: 14px;
    margin-top: 10px;
    letter-spacing: 1px;
}

.percentage {
    font-weight: 700;
    color: var(--primary);
}

/* Header */
.navbar {
    padding: 15px 0;
    font-family: Lora, Sans-serif;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.bg-navbar {
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease;
}

.bg-navbar .nav-link,
.bg-navbar .navbar-brand {
    color: #fff !important;
}

.bg-navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

.navbar-toggler {
    background-color: var(--light);
}

.navbar.scrolled {
    padding: 8px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 50px;
    transition: all 0.3s ease;
}

.navbar-brand span {
    color: var(--primary);
}

.navbar-brand {
    font-size: 2rem;
    font-weight: bold;
}

.navbar.scrolled .navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--light);
    font-weight: 600;
    position: relative;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    left: 0;
    bottom: -3px;
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.padding-top-lg {
    padding-top: 9rem !important;
}
/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), url('../img/bbg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-family: Arial;
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 60px;
    letter-spacing: 5px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 60px;
    text-transform: capitalize;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-image {
    position: absolute;
    left: 0;
    bottom: -50px;
    width: 40%;
    max-width: 500px;
    z-index: 3;
    filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.3));
}

.hero-title span {
    color: var(--primary);
}

.title-b span {
    color: var(--primary)
}

.btn-learn {
    background-color: var(--btn-cta);
    color: var(--light);
    font-weight: 600;
    padding: 12px 30px;
    font-family: Lora, Sans-serif;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(20, 20, 19, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-learn:hover {
    background-color: var(--btn-cta-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(20, 20, 19, 0.5);
}

.btn-cta {
    background-color: var(--btn-cta);
    font-family: Lora, Sans-serif;
    color: var(--light);
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(20, 20, 19, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta:hover {
    background-color: var(--btn-cta-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(20, 20, 19, 0.5);
}

/* Solution Section */
.solution {
    padding: 100px 0;
    background-color: #fff;
} 

.solution {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.solution::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 159, 110, 0.05) 0%, rgba(14, 159, 110, 0) 70%);
    z-index: 0;
}

.solution::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0) 70%);
    z-index: 0;
}

.solution img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.solution img:hover {
    transform: translateY(-10px);
}


.section-title {
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary);
    left: 0;
    bottom: -10px;
    border-radius: 10px;
}
.section-title span {
    color: var(--primary);
  }
  .section-title.center-title {
    text-align: center;
    display: block;
  }
  
  .section-title.center-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
    text-align: center;
  }

/* Expertise Section */
.expertise {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark), var(--dark));
    color: white;
}

.expertise-title {
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.expertise-subtitle {
    font-weight: 600;
    margin-bottom: 50px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expertise-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 0px 12px rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.902);
    padding: 9px;
}

.solar-category {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.solar-category:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ffc107;
}

.solar-category:hover, .solar-category.active {
    background-color: var(--primary);
    border: 1px solid var(--light);
}

/* Products Section */
/* .products {
    padding: 100px 0;
    background-color: #f8f9fa;
} */
  /* Products Section */
  .products {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14, 159, 110, 0.05) 0%, rgba(14, 159, 110, 0) 70%);
    top: 10%;
    right: -150px;
    border-radius: 50%;
    z-index: 0;
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    height: 300px;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 1.5rem;
    transition: var(--transition);
}

.product-title {
    color: var(--light);
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.2rem;
    position: relative;
    padding-left: 0;
    transition: var(--transition);
}

.product-title::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.product-card:hover .product-title::before {
    width: 50px;
}

.product-card .btn-view {
    position: absolute;
    bottom: 20px;
    right: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .btn-view {
    opacity: 1;
    transform: translateY(0);
}
 /* Modern stats counter */
 .stats-container {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 3rem 0;
    border-radius: 20px;
    margin-top: 3rem;
    box-shadow: 0 15px 30px rgba(14, 159, 110, 0.2);
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Curved separator */
.curve-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.curve-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.curve-separator .shape-fill {
    fill: #f8fafc;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

.center-title {
    text-align: center;
    margin-bottom: 10px;
}

.center-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.subtitle {
    text-align: center;
    font-size: 20px;
    margin-bottom: 50px;
    color: #666;
}

.subtitle-p {
    font-size: 19px;
    line-height: 30px;
    margin-bottom: 50px;
    color: #666666;
}

/* .product-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 300px;
    width: 100%;
    object-fit: contain;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: var(--light);
    text-align: center;
}

.product-title {
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
} */


/* services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
  }
  
  .service-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  }
  
  .service-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 7px;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  }
  
  .service-card-inner {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .service-icon-wrapper {
    display: inline-flex;
    width: 80px;
    height: 80px;
    justify-content: center;
    align-items: center;
    background: var(--gray-100);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }
  
  .service-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    z-index: -1;
    transform: scale(0);
    transition: var(--transition);
  }
  
  .service-card:hover .service-icon-wrapper::before {
    transform: scale(1);
  }
  
  .service-icon {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
  }
  
  .service-card:hover .service-icon {
    color: white;
  }
  
  .service-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
  }
  
  .service-card p {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    flex-grow: 1;
  }
  
  .service-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
  }
  
  .service-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 0;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
  }
  
  .service-btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0.7rem;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
  }
  
  .service-btn i {
    margin-left: 0.5rem;
    transition: var(--transition);
  }
  
  .service-card:hover .service-btn::after {
    width: 80%;
  }
  
  .service-card:hover .service-btn i {
    transform: translateX(5px);
  }
  
  /* Company Overview */
  .about-overview {
    margin-bottom: 5rem;
  }
  
  .about-overview img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: var(--transition);
  }
  
  .about-overview img:hover {
    transform: translateY(-10px);
  }
  
  .about-overview p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
  }
  
  .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
  }
  
  .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(14, 159, 110, 0.2) 0%, rgba(14, 159, 110, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}
  .feature-icon i {
    color: var(--primary);
    font-size: 1.2rem;
}
  .feature-text {
    font-weight: 500;
  }
  
  /* Mission & Vision */
  .mission-vision {
    position: relative;
    overflow: hidden;
  }
  
  .mission-vision::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(255, 184, 0, 0.1) 100%);
    border-radius: 50%;
    top: -150px;
    left: -150px;
    z-index: 0;
  }
  
  .mission-vision::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 184, 212, 0.1) 0%, rgba(0, 200, 83, 0.1) 100%);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
    z-index: 0;
  }
  
  .mission-card, .vision-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.07);
    height: 100%;
    padding: 3rem 2rem;
    transition: var(--transition);
    z-index: 1;
  }
  
  .mission-card:hover, .vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }
  
  .mission-card::before, .vision-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 7px;
    top: 0;
    left: 0;
  }
  
  .mission-card::before {
    background: linear-gradient(90deg, var(--primary) 0%, var(--success) 100%);
  }
  
  .vision-card::before {
    background: linear-gradient(90deg, var(--success) 0%, var(--info) 100%);
  }
  
  .icon-box {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: var(--gray-100);
    position: relative;
    z-index: 1;
  }
  
  .icon-box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    transform: scale(0);
    transition: var(--transition);
  }
  
  .mission-card:hover .icon-box::before {
    transform: scale(1);
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
  }
  
  .vision-card:hover .icon-box::before {
    transform: scale(1);
    background: linear-gradient(135deg, var(--success) 0%, var(--info) 100%);
  }
  
  .mission-card:hover .icon-box i, .vision-card:hover .icon-box i {
    color: white;
  }
  
  .mission-card h3, .vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
  }
  
  .mission-card p, .vision-card p {
    color: var(--gray-500);
    font-size: 1.05rem;
  }
  
  .icon-box i {
    transition: var(--transition);
    color: var(--success);
  }
  
  /* Core Values */
  .values {
    position: relative;
  }
  
  .value-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2.5rem 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
  }
  
  .value-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(0, 102, 255, 0.05) 0%, rgba(0, 200, 83, 0.05) 100%);
    bottom: 0;
    left: 0;
    transition: var(--transition);
    z-index: -1;
  }
  
  .value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }
  
  .value-card:hover::before {
    height: 100%;
  }
  
  .icon-circle {
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: var(--transition);
  }
  
  .value-card:hover .icon-circle {
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
  }
  
  .icon-circle i {
    color: var(--primary);
    transition: var(--transition);
  }
  
  .value-card:hover .icon-circle i {
    color: white;
  }
  
  .value-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  .value-card p {
    color: var(--gray-500);
  }
  
  /* Achievements */
  .achievements {
    background-color: var(--light);
  }
  
  .counter-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.07);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  }
  
  .counter-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--success) 100%);
    bottom: 0;
    left: 0;
  }
  
  .counter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  }
  
  .counter-icon {
    margin-bottom: 1.5rem;
  }
  
  .counter-icon i {
    color: var(--success);
  }
  
  .counter {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--primary) 0%, var(--success) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .counter-card p {
    color: var(--gray-500);
    font-size: 1.1rem;
    font-weight: 500;
  }
/* Footer */
.footer {
    background-color: #0C1406;
    color: white;
    padding: 70px 0 20px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-info {
    margin-bottom: 30px;
}

.footer-info i {
    color: var(--primary);
    margin-right: 10px;
    width: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    cursor: pointer;
}

.back-to-top:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.floating-buttons {
    position: fixed;
    bottom: 100px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 999;
  }
  
  .btn-floating {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    border: none;
    cursor: pointer;
  }
  
  .whatsapp {
    background-color: rgb(70, 199, 86);
    text-decoration: none;
  }
  
  .email {
    background-color: #e74c3c;
  }

/* Floating Elements Animation */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-image {
        width: 50%;
    }
    .scenario-card {
        flex-direction: column;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
      
      .section-title h1 {
        font-size: 2.5rem;
      }
      .about-overview img {
        margin-bottom: 2rem;
      }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .solution {
      padding: 38px 0;
  }
  .cust-mt-5 {
    margin-top: 0.1rem !important;
    }
    .cust-pt-4{
      padding-top: 2rem;
    }
    .hero-image {
        width: 60%;
        left: 50%;
        transform: translateX(-50%);
        bottom: 10%;
    }

    .hero-content {
        text-align: center;
        padding-top: 100px;
    }
    .btn-cta {
        font-size: 0.889rem;
    }

    .bg-navbar {
        background-color: rgba(0, 0, 0, 1.5);
    }
    .navbar-collapse {
        height: 46vh;
    }
    .counter {
        font-size: 2rem;
      }
      .section-padding {
        padding: 3rem 0;
      }
      
      .section-padding-sm {
        padding: 2rem 0;
      }
      .counter {
        font-size: 2rem;
      }
      .scenario-image {
        height: auto !important;
    }
    .scenario-description {
        font-size: 0.95rem;
    }
    .product-details {
      padding-bottom: 4rem !important;
  }
   .curve-separator {
      left: 215px;
  }
}

@media (max-width: 576px) {
    .hero h1 {
      font-size: 2.5rem;
      line-height: 2.5rem;
      letter-spacing: 1px;
      font-weight: 900;
    }

    .hero h2 {
        font-size: 1.6rem;
    }
    
     .curve-separator {
      left: 215px;
  }

    .hero-image {
        width: 80%;
        bottom: 5%;
    }

    .section-title h1 {
        font-size: 2rem;
    }
    .service-card-inner {
        padding: 2rem 1.5rem;
      }
      .feature-item {
        padding: 0.75rem;
      }
      
      .feature-icon {
        width: 40px;
        height: 40px;
      }
      .scenario-image {
        height: auto;
    }
    .scenario-description {
        font-size: 0.95rem;
    }
}
.section-padding {
    padding: 5rem 0;
  }
  
  .section-padding-sm {
    padding: 3rem 0;
  }
/* Mega Menu Styles */
.mega-menu {
    padding: 20px 0;
    border-radius: 0;
    border-top: 3px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    margin-top: 0;
}

.mega-menu-title {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.dropdown-menu .dropdown-item {
    padding: 8px 10px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: rgba(0, 99, 201, 0.1);
    color: var(--primary);
    transform: translateX(5px);
}

.mega-menu-gallery img {
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.mega-menu-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Regular dropdown styles */
.dropdown-menu {
    border: none;
    border-radius: 0;
    border-top: 3px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    min-width: 200px;
}

.dropdown-toggle::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f107";
    vertical-align: 0;
    border: none;
    margin-left: 5px;
}

.dropdown-menu.mega-menu {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
}

.navbar .position-static {
    position: static !important;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-left: none;
}

/* Enhancement for mobile */
@media (max-width: 991px) {
    .mega-menu {
        padding: 15px;
    }

    .mega-menu-gallery {
        margin-top: 20px;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .dropdown-menu .dropdown-item {
        padding: 8px 15px;
    }

    .mega-menu-title {
        margin-top: 15px;
    }

    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
}

.nav-link:focus,
.nav-link:hover {
    color: none;
    border: none;
}

/* modal */
.modal-content {
    border-radius: 10px;
  }
  
  .modal-header .modal-title {
    font-size: 28px;
  }
  .custom-modal-size {
    max-width: 620px;
  }
  
  /* Modal Scroll */
  .modal-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1055;
    border-bottom: 1px solid #dee2e6;
  }
  .modal-body p {
    font-size: 14px;
    color: #555;
  }
  .modal-body {
    max-height: 78vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    scroll-behavior: smooth;
  }
  .modal-description {
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
  }

  .form-control {
    border: 1px solid #214457;
    border-radius: 5px;
    padding: 15px;
  }
  .form-control:focus {
    border-color: #00b300; 
    box-shadow: 0 0 5px rgba(0, 179, 0, 0.5);
    outline: none;
  }
  
  .btn-success {
    background-color: #00b300;
    border-color: #00b300;
    font-weight: bold;
  }
  
  .btn-success:hover {
    background-color: #009900;
    border-color: #009900;
  }
  
  .services-bg {
    position: relative;
    padding: 2rem;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease;
  }
  
  .services-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--primary);
    z-index: 0;
    transition: width 0.4s ease;
    border-radius: 12px;
  }
  
  .services-bg:hover::after {
    width: 100%;
  }

  .services-bg .service-icon {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
  }
  
  .services-bg:hover .service-icon {
    color: #fff !important;
  }

  .services-bg * {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
  }
  
  .services-bg:hover h2,
  .services-bg:hover p {
    color: #fff !important;
  }
  .page-header{
    padding-top: 8rem;
  }
  .padding-large{
    padding-top: 4rem;
  }
  .padding-large-bottom{
    padding-bottom: 4rem;
  }

  .product-feature-card, .product-details{
    margin-top: -4rem;
  }
  .product-details{
    text-align: center;
    padding-bottom: 2rem;
  }

  .product-info{
    text-align: center;
  }

  .h-95 {
    height: 95% !important;
}

#specificationsList{
    font-size: 12px;
}

.btn-outline-primary {
    color: var(--btn-cta);
    border-color: var(--btn-cta) !important;
    font-size: 1rem;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #18AA01;
    --bs-btn-active-border-color: #18AA01;
  }

  .btn-outline-primary:hover {
    color: var(--light);
    background-color: var(--btn-cta-hover);
    border-color: var(--btn-cta-hover) !important;
  }

  .bg-success{
    background-color: var(--primary) !important;
  }

  /* Contact Page Specific Styles */
  .contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/img/contact-hero.jpg');
    background-size: cover;
    background-position: center;
    padding: 180px 0 100px;
    color: white;
    position: relative;
}

.contact-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-info-box {
    padding: 30px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-form {
    padding: 40px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form input, 
.contact-form textarea {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: #0d6efd;
    box-shadow: none;
}

.map-container {
    height: 450px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-section {
    padding: 80px 0;
    background-color: white;
}

.accordion-item {
    border: none;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    padding: 20px;
    font-weight: 600;
    background-color: white;
    text-transform: uppercase;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: var(--light);
    text-transform: uppercase;
}

.accordion-body {
    padding: 20px;
}

.divider {
    height: 6px;
    width: 70px;
    background-color: var(--primary);
    margin: 20px 0;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 25px;
        margin-bottom: 30px;
    }
}

.applications-section {
    padding: 80px 0;
    background-color: var(--light-green);
}

.application-scenario {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.scenario-content {
    padding: 25px;
}

.scenario-title {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 20px;
    transition: var(--transition);
}

.scenario-description {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.scenario-image {
    width: 100%;
    height: 376px;
    object-fit: contain;
}

.scenario-card {
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.scenario-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
 /* Newsletter Styles */
 .newsletter-section {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 156, 55, 0.2) 0%, rgba(0, 156, 55, 0) 70%);
    border-radius: 50%;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 156, 55, 0.2) 0%, rgba(0, 156, 55, 0) 70%);
    border-radius: 50%;
}

.newsletter-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.form-input {
    flex: 1;
    min-width: 250px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 0 20px;
    color: var(--light);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(0, 156, 55, 0.5);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.subscribe-btn {
    height: 50px;
    padding: 0 30px;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscribe-btn:hover {
    background: #00b041;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 156, 55, 0.4);
}

.subscribe-btn i {
    margin-left: 10px;
}

.newsletter-privacy {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-top: 20px;
}

/* Preloader Animation for Demo */
#demo-preloader {
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

/* Solar cells grid */
.solar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    width: 100%;
    height: 100%;
}

/* Solar benefits */
.benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    color: var(--light);
    margin: 5px 0;
}

.benefit-item i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 16px;
}

/* Demo buttons */
.demo-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.demo-btn {
    padding: 8px 15px;
    background: var(--dark);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* spinner animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.2em;
  animation: spin 0.75s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

/* chat assistant */
.assist-popup {
  position: fixed;
  bottom: 224px;
  left: 23px;
  background: white;
  padding: 5px 28px;
  border-radius: 15px;
  border-bottom-left-radius: 0px;
  border: 1px solid #ccc;
  z-index: 9999;
  max-width: 266px;
  display: none;
  animation: fadeInUp 0.5s ease-out forwards;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.assist-popup a{
  color: var(--primary);
}

.assist-popup .close-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  float: right;
  margin-top: -5px;
  margin-right: -5px;
  cursor: pointer;
}

.floating-chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  cursor: pointer;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.floating-chat-icon:hover {
  background-color: #1ebe5d;
}

.chat-badge {
  position: absolute;
  top: -7px;
  right: -10px;
  background-color: red;
  color: white;
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 50%;
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
