/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

:root {
    --primary-color: #0d6efd;
    --dark-blue: #001233;
    --gradient: linear-gradient(45deg, #0d6efd, #0099ff);
    --accent-color: #06b6d4;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --primary-blue: #0052cc;
    --secondary-blue: #0077ff;
    --light-blue: #e6f0ff;
    --dark-blue: #003380;
    --white: #ffffff;
}

/* Animated background */
.animated-bg {
    background: linear-gradient(-45deg, #0d6efd, #00a8ff, #0052cc, #001233);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    margin: 0;
    padding: 3rem 0;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.top-bar {
    background: var(--gradient);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 5px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar-brand img {
    width: 60px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    padding: 8px 15px !important;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.search-box {
    border-radius: 25px;
    border: 2px solid transparent;
    padding-right: 40px;
    transition: all 0.3s ease;
    background: rgba(13, 110, 253, 0.05);
}

.search-box:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.2);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.hero-section {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/solar-panels-pink-sky.jpg');
    background-size: cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    100% { left: 100%; }
}

.breadcrumb-item{
    color: white;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255,255,255,0.8);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: white;
}

/* Footer Section */
.footer-section {
    background: #010526;
    color: #fff;
    padding: 60px 0 30px 0;
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
}

.footer-wave {
    position: absolute;
    top: -70px;
    left: 0;
    width: 100%;
    height: 70px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%231a1a1a' d='M0,50 C150,0 300,100 720,50 C1140,0 1290,100 1440,50 L1440,100 L0,100 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about h3,
.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-about p {
    color: #888;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #305df1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}

.footer-social a:hover {
    transform: translateY(-5px);
    background: #219a52;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-services a:hover {
    color: #2a2ac6;
}

.footer-contact-info {
    color: #888;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    color: #455ff1;
    font-size: 1.2rem;
    margin-top: 4px;
}

.contact-text {
    line-height: 1.6;
}

.footer-newsletter {
    margin-top: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 5px;
    background: #222;
    color: white;
}

.newsletter-button {
    padding: 12px 25px;
    background: #3e4fe5;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-button:hover {
    background: #219a52;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 10px 0;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}