/* Nidhi Solar Premium Styles - Light Theme Enhancement */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bs-font-sans-serif: 'Inter', system-ui, -apple-system, sans-serif;
    --solar-bg: #ffffff;
    --solar-surface: #f8fafc;
    --solar-blue: #1d4ed8;
    /* Primary Blue */
    --solar-blue-dark: #0f172a;
    /* Navy for Headings */
    --solar-yellow: #f59e0b;
    /* Sunny Yellow */
    --solar-green: #10b981;
    /* Eco Green */
    --solar-glass: rgba(255, 255, 255, 0.85);
    --solar-glass-border: rgba(29, 78, 216, 0.1);

    --text-primary: #1e293b;
    --text-muted: #64748b;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--bs-font-sans-serif);
    color: var(--text-primary);
    background-color: var(--solar-bg);
    overflow-x: hidden;
}

img {
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
    color: var(--solar-blue-dark);
}

/* Glassmorphism Utilities (Light Mode) */
.glass-panel {
    background: var(--solar-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--solar-glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, var(--solar-blue), var(--solar-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-yellow {
    background: linear-gradient(135deg, #d97706, var(--solar-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Color Utility Classes */
.bg-solar-blue {
    background-color: var(--solar-blue) !important;
}

.bg-solar-yellow {
    background-color: var(--solar-yellow) !important;
}

.bg-solar-green {
    background-color: var(--solar-green) !important;
}

.bg-solar-surface {
    background-color: var(--solar-surface) !important;
}

.text-solar-blue {
    color: var(--solar-blue) !important;
}

.text-solar-yellow {
    color: var(--solar-yellow) !important;
}

.text-solar-green {
    color: var(--solar-green) !important;
}

.text-solar-dark {
    color: var(--solar-blue-dark) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Premium Buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--solar-blue), #2563eb);
    color: #ffffff;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb, var(--solar-blue));
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-premium:hover {
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.3);
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-yellow {
    background: var(--solar-yellow);
    color: #000;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
}

.btn-yellow:hover {
    background: #d97706;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--solar-blue-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: #ffffff;
    color: var(--solar-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar-solar {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.navbar-solar .nav-link {
    color: var(--solar-blue-dark) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1.2rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-solar .nav-link:hover,
.navbar-solar .nav-link.active {
    color: var(--solar-blue) !important;
}

.navbar-solar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    background-color: var(--solar-blue);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar-solar .nav-link:hover::after,
.navbar-solar .nav-link.active::after {
    /* width: 60%; */
}

.dropdown-menu {
    margin-top: 0 !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    margin-top: 0 !important;
    color: var(--solar-blue-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.7rem 1.5rem;
}

.dropdown-item:hover {
    background: var(--solar-surface);
    color: var(--solar-blue);
    padding-left: 1.8rem;
}

/* Hero Section */
.hero-carousel-item {
    min-height: 85vh;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 0 0 40px 40px;
    overflow: hidden;
}

.hero-overlay {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(29, 78, 216, 0.5) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Cards & Hover Effects */
.solar-product-card {
    background: #ffffff;
    border: 1px solid var(--solar-glass-border);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.solar-product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(29, 78, 216, 0.12), 0 0 20px rgba(16, 185, 129, 0.1);
    border-color: rgba(29, 78, 216, 0.2);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.card-img-wrapper img {
    transition: transform 0.6s ease;
}

.solar-product-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

/* Micro-animations */
.hover-float {
    transition: transform 0.3s ease;
}

.hover-float:hover {
    transform: translateY(-5px);
}

/* Footer Styling */
footer {
    background: var(--solar-blue-dark);
    color: #f8fafc;
}

footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--solar-yellow);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.ns_clients {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin-top: 20px;
    gap: 36px;
}

.ns_clients .client_img {
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    filter: grayscale(100%);
    transition: filter .5s;
    flex: 0 0 11.5%;
}

.ns_clients .client_img:hover {
    filter: none;
    cursor: pointer
}

.ns_clients .client_img .ns_client_img {
    width: 80%;
}