footer a:hover {
    color: #0d6efd;
    transition: 0.3s;
}

footer h5 {
    margin-bottom: 15px;
}

footer p {
    font-size: 14px;
    color: #ccc;
}

/* HERO */
.hero-section {
    background: url('../images/solar-bg.jpg') center/cover no-repeat;
    height: 90vh;
}

/* SERVICE CARD */
.service-card {
    border: none;
    transition: 0.3s;
    padding: 30px 20px !important; /* thoda zyada padding */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.service-card img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* CTA */
.cta-section {
    background: linear-gradient(to right, #0d6efd, #00c6ff);
}


/* VALUES SECTION */
.values-section {
    background: #f4f6f5;
}

.value-card {
    background: #1f4e6b;
    color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    transition: 0.3s;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.value-card h5 {
    margin-bottom: 15px;
    font-weight: bold;
}

.value-card p {
    font-size: 14px;
    color: #ddd;
}

.icon {
    font-size: 40px;
}

/* Global fixes for responsive behavior */
* {
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden; /* remove accidental horizontal scroll on small devices */
}

/* Team images wrapper — responsive sizing */
.team-img-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-section { height: 70vh; }
    .service-card img { max-width: 280px; }
    .mission-vision-card { padding: 2.5rem; }
}

@media (max-width: 768px) {
    .hero-section { height: 60vh; }
    .mission-vision-card { padding: 1.5rem; }
    .service-card { padding: 18px; }
    .value-card { padding: 18px; }
    .team-img-wrapper { width: 100px; height: 100px; }
    .team-name { font-size: 1.1rem; }
    .team-role { font-size: 0.95rem; }
}

@media (max-width: 576px) {
    .hero-section { height: 50vh; }
    .service-card img { max-width: 220px; }
    .mission-vision-card { padding: 1rem; }
    .value-card { padding: 14px; }
    .team-img-wrapper { width: 90px; height: 90px; }
    .container { padding-left: 12px; padding-right: 12px; }
}
