/* =============================================
   Solar Cleaning - Premium Professional Design
   ============================================= */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #facc15;
    --secondary-color: #0f172a;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--secondary-color);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-title p {
    font-size: 15px;
    color: var(--text-light);
    max-width: 600px;
    margin: 15px auto 0;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #fde047);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ===== HEADER NAVIGATION ===== */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.header-nav.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 15px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.navbar-brand i {
    font-size: 2rem;
    color: var(--primary-color);
}

.navbar-brand:hover {
    color: var(--primary-color);
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 18px !important;
    margin: 0 2px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(250, 204, 21, 0.1);
}

.btn-primary-custom {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-custom:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-primary-custom:hover::before {
    width: 300px;
    height: 300px;
}

.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7)), 
                url('../images/hero-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    margin-top: 0;
    color: var(--white);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hero-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(250, 204, 21, 0.3);
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-hero-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid var(--white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hero-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-hero-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-hero-secondary:hover::before {
    width: 300px;
    height: 300px;
}

/* Animated Particles in Hero */
.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: particleMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes particleMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50px); }
}

/* ===== HERO CAROUSEL STYLING ===== */
.hero-carousel-section {
    margin-top: 0;
    position: relative;
}

.hero-slide {
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed !important;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.8s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: var(--transition);
}

.carousel-indicators .active {
    width: 40px;
    border-radius: 6px;
    background-color: var(--primary-color);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition);
}

.hero-carousel-section:hover .carousel-control-prev,
.hero-carousel-section:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-icon {
    width: 60px;
    height: 60px;
    background: rgba(250, 204, 21, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-control-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.carousel-control-prev:hover .carousel-control-icon,
.carousel-control-next:hover .carousel-control-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--bg-light);
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.about-feature-item span {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

/* Enhanced About Image Animation */
.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover img {
    transform: scale(1.15) rotate(2deg);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(250, 204, 21, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.about-image:hover .image-overlay {
    opacity: 1;
}

.overlay-content i {
    font-size: 4rem;
    color: var(--white);
    animation: pulse 2s infinite;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: 30px;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--primary-color), #fde047);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(250, 204, 21, 0.3);
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.badge-content {
    text-align: center;
}

.badge-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0;
    line-height: 1;
}

.badge-content p {
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 5px 0 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.section-badge {
    display: inline-block;
    background: rgba(250, 204, 21, 0.1);
    color: #000000;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(250, 204, 21, 0.3);
}

/* ===== SPECIALIZED SERVICES SECTION ===== */
.specialized-services-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.specialized-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.specialized-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.specialized-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.specialized-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.specialized-card:hover .specialized-image img {
    transform: scale(1.2);
}

.specialized-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(250, 204, 21, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.specialized-card:hover .specialized-overlay {
    opacity: 1;
}

.overlay-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.specialized-card:hover .overlay-icon {
    transform: scale(1);
}

.overlay-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.specialized-content {
    padding: 25px;
}

.specialized-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.specialized-content p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--white);
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.1), rgba(250, 204, 21, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--secondary-color);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== VALUED CLIENTS SECTION ===== */
.valued-clients-section {
    background: var(--white);
    padding: 80px 0;
}

.client-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.client-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: var(--shadow-lg);
}

.client-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.client-card:hover .client-image img {
    transform: scale(1.15);
}

.client-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.client-info {
    padding: 20px;
}

.client-info h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.client-location {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.client-location i {
    color: var(--primary-color);
    margin-right: 5px;
}

.client-type {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

/* ===== SOLAR TYPES SCROLLING SECTION ===== */
.solar-types-section {
    background: var(--secondary-color);
    padding: 60px 0;
    overflow: hidden;
}

.solar-types-section .section-title h2,
.solar-types-section .section-title p {
    color: var(--white);
}

.solar-types-slider {
    overflow: hidden;
    position: relative;
    margin-top: 40px;
}

.solar-types-track {
    display: flex;
    gap: 30px;
    animation: scrollRight 30s linear infinite;
}

.solar-types-track:hover {
    animation-play-state: paused;
}

@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.solar-type-item {
    flex: 0 0 300px;
}

.solar-type-card {
    position: relative;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.solar-type-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.solar-type-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solar-type-card:hover img {
    transform: scale(1.2);
}

.solar-type-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
    padding: 20px;
    transform: translateY(10px);
    transition: var(--transition);
}

.solar-type-card:hover .solar-type-overlay {
    transform: translateY(0);
}

.solar-type-overlay h5 {
    font-size: 1.1rem;
    color: var(--white);
    margin: 0;
    font-weight: 600;
}

/* ===== CERTIFICATIONS SECTION ===== */
.certifications-section {
    background: var(--bg-light);
    padding: 60px 0;
    overflow: hidden;
}

.certifications-wrapper {
    overflow: hidden;
    position: relative;
    margin-top: 40px;
}

.certifications-track {
    display: flex;
    gap: 40px;
    animation: scrollLeft 25s linear infinite;
}

.certifications-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.certification-item {
    flex: 0 0 200px;
}

.cert-logo {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.cert-logo img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition);
}

.cert-logo:hover img {
    filter: grayscale(0%);
}

/* ===== WHY CHOOSE US ===== */
.why-choose-section {
    background: var(--bg-light);
}

.why-choose-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.1), transparent);
    transition: left 0.5s ease;
}

.why-choose-card:hover::before {
    left: 100%;
}

.why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.1), rgba(250, 204, 21, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.why-content h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.why-content p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

/* ===== PROCESS SECTION ===== */
.process-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.process-steps {
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.15);
}

.step-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.1), rgba(250, 204, 21, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.process-step h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.process-step p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

/* Connection line between steps */
.process-steps .row::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    z-index: 1;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--secondary-color);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: var(--bg-light);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    height: 100%;
    overflow: hidden;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.testimonial-card::before {
    content: '\f10e';
    font-family: 'Bootstrap Icons';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    color: rgba(250, 204, 21, 0.1);
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #fde047);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.author-info h6 {
    font-size: 15px;
    margin-bottom: 2px;
    color: var(--secondary-color);
}

.author-info p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

.rating {
    color: var(--primary-color);
    font-size: 14px;
    margin-top: 5px;
}

/* ===== ENQUIRY FORM SECTION ===== */
.enquiry-section {
    background: var(--white);
}

.enquiry-form-container {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
}

.form-floating {
    margin-bottom: 20px;
}

.form-floating > .form-control,
.form-floating > .form-select {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    padding: 15px;
    transition: var(--transition);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.form-floating > label {
    font-size: 14px;
    color: var(--text-light);
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-submit:hover {
    background: #eab308;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(250, 204, 21, 0.3);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.alert {
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9)), 
                url('../images/process-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-banner h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* ===== GALLERY PAGE ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: var(--white);
}

/* ===== FOOTER - FIXED FOR MOBILE VISIBILITY ===== */
.footer {
    background: var(--secondary-color) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 60px 0 0;
    position: relative;
    z-index: 10;
}

.footer * {
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer-about {
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo i {
    color: var(--primary-color) !important;
    font-size: 2rem;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--secondary-color) !important;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.1rem;
    color: var(--white) !important;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary-color) !important;
    font-size: 1.2rem;
    margin-top: 2px;
}

.footer-contact a,
.footer-contact span {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--primary-color) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding: 25px 0;
    background: transparent !important;
}

.copyright-text {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.footer-bottom-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6) !important;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color) !important;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 998;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #20ba5a;
    color: var(--white);
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    50% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
}

/* ===== PAGE HEADER (INNER PAGES) ===== */
.page-header {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8)), 
                url('../images/hero-bg.jpg') center/cover no-repeat;
    padding: 140px 0 80px;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(250, 204, 21, 0.1) 0%, transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.breadcrumb-item {
    font-size: 14px;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== CONTENT SECTION (TERMS/PRIVACY) ===== */
.content-section {
    padding: 80px 0;
}

.content-section h2 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-section h3 {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 12px;
}

.content-section p {
    margin-bottom: 15px;
}

.content-section ul {
    margin-bottom: 20px;
    padding-left: 25px;
}

.content-section ul li {
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 15px;
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== SELECTION COLOR ===== */
::selection {
    background: var(--primary-color);
    color: var(--secondary-color);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #eab308;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets */
@media (max-width: 991px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-content h1,
    .hero-slide h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .process-steps .row::before {
        display: none;
    }
    
    .hero-slide {
        min-height: 500px;
        height: auto;
        padding: 120px 0 60px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-icon {
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-icon i {
        font-size: 1.3rem;
    }
    
    .experience-badge {
        width: 110px;
        height: 110px;
        bottom: -20px;
        right: 20px;
    }
    
    .badge-content h3 {
        font-size: 2rem;
    }
    
    .solar-type-item {
        flex: 0 0 250px;
    }
    
    .footer {
        padding: 50px 0 0;
    }
    
    .footer-about,
    .footer-links,
    .footer-contact {
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        padding: 20px 0;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    
    .hero-section {
        height: auto;
        min-height: 500px;
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons a {
        width: 100%;
        justify-content: center;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .enquiry-form-container {
        padding: 25px;
    }
    
    .cta-banner h2 {
        font-size: 1.8rem;
    }
    
    .cta-banner p {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .back-to-top,
    .whatsapp-float {
        right: 20px;
    }
    
    .whatsapp-float {
        bottom: 80px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
    
    .hero-slide {
        min-height: 450px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .experience-badge {
        width: 90px;
        height: 90px;
        bottom: -15px;
        right: 15px;
    }
    
    .badge-content h3 {
        font-size: 1.6rem;
    }
    
    .badge-content p {
        font-size: 10px;
    }
    
    .specialized-image {
        height: 200px;
    }
    
    .client-image {
        height: 180px;
    }
    
    .solar-type-item {
        flex: 0 0 200px;
    }
    
    .solar-type-card {
        height: 150px;
    }
    
    .certification-item {
        flex: 0 0 150px;
    }
    
    .cert-logo {
        height: 100px;
    }
    
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-logo {
        font-size: 1.3rem !important;
    }
    
    .footer-desc,
    .footer-links li,
    .footer-contact li {
        font-size: 14px !important;
    }
    
    .footer-heading {
        font-size: 1rem !important;
    }
}

/* Extra Small Mobile */
@media (max-width: 575px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-brand i {
        font-size: 1.5rem;
    }
    
    .service-card,
    .why-choose-card {
        padding: 25px 20px;
    }
}

/* ===== ADDITIONAL SMOOTH ANIMATIONS ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-in {
    animation: slideInUp 0.6s ease forwards;
}