:root {
  --primary-color: #1A376B;
  --secondary-color: #FBB705;
  --accent-color: #5E6D87;
  --accent-secondary: #121212;
  --text-color: #121212;
  --secondary-text: #5E6D87;
  --background-color: #F4F6F9;
  --gradient-1: linear-gradient(135deg, #1A376B, #5E6D87);
  --gradient-2: linear-gradient(135deg, #FBB705, #ffd700);
  --gradient-3: linear-gradient(135deg, #F4F6F9, #ffffff);
  --gradient-4: linear-gradient(135deg, #1A376B, #2a4a7f);
  --gradient-5: linear-gradient(135deg, #FBB705, #f4a703);
  --box-shadow: 0 10px 30px rgba(26, 55, 107, 0.15);
  --box-shadow-hover: 0 15px 35px rgba(26, 55, 107, 0.25);
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background: var(--background-color);
}

header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a4a7f 100%);
    padding: 0.5rem 2rem;
    box-shadow: 0 4px 15px rgba(26, 55, 107, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

header nav {
    padding: 0;
}

header nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.1);
}

header nav ul li a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }

    header .logo h1 {
        margin-bottom: 1rem;
    }

    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    header nav ul li a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

nav ul li a:hover {
  background-color: var(--secondary-color);
}

section {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff; /* Ensure sections have a white background */
}

.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

th, td {
  padding: 1rem;
  border: 1px solid #ddd;
  text-align: center;
}

th {
  background-color: var(--primary-color);
  color: white;
}

.bank-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.bank-logo {
    width: 120px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(50%);
    transition: filter 0.3s ease;
}

.bank-logo:hover {
    filter: grayscale(0%);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

header {
  background: var(--gradient-1);
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero-section {
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('./images/solar panels.jpg');
  background-attachment: fixed;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text {
  font-size: 1.5rem;
  margin: 2rem auto;
  max-width: 800px;
  animation: fadeIn 1s ease-out;
}

.cta-buttons {
  margin: 2rem 0;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  margin: 0.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
  background: var(--gradient-2);
  color: white;
  box-shadow: 0 4px 15px rgba(251, 183, 5, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(26, 55, 107, 0.2);
}

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-5px); /* Increased hover effect */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  border-top: 5px solid var(--accent-color);
}

.feature-card:hover {
  transform: translateY(-5px);
}

table {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
}

th {
  background: var(--gradient-1);
  padding: 1.2rem;
}

tr:nth-child(even) {
  background-color: #f8f9fa;
}

.bank-logos {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bank-logo {
  width: 150px;
  padding: 1rem;
  transition: transform 0.3s;
}

.bank-logo:hover {
  transform: scale(1.1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

section {
  animation: fadeIn 1s ease-out;
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--gradient-2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: none; /* Initially hidden */
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 10000; /* Significantly increased z-index to ensure it's above all elements */
}

/* When footer is visible, adjust position */
.scroll-top.above-footer {
  bottom: 100px; /* Lift higher to avoid footer overlap */
}

.scroll-top:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 5px 15px rgba(255, 153, 0, 0.6) !important;
  background: linear-gradient(45deg, var(--secondary), #ff6a00) !important;
}

.scroll-top i {
  transition: transform 0.3s;
}

.scroll-top:hover i {
  transform: translateY(-2px);
}

/* Make it more visible */
.scroll-top.scroll-visible {
  opacity: 1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.value-card i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
  outline: none;
}

/* Section Headers */
section h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-2);
  border-radius: 2px;
}

/* About Section */
#about {
  background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('./images/about-bg.jpg');
  background-size: cover;
  padding: 4rem 2rem;
  border-radius: 20px;
  margin: 2rem auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border: none;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-2);
  z-index: -1;
}

.service-card:nth-child(2)::before {
  background: var(--gradient-3);
}

.service-card:nth-child(3)::before {
  background: var(--gradient-4);
}

.service-icon-header {
  background: var(--gradient-1);
  margin: -2rem -2rem 1.5rem -2rem;
  padding: 2rem 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.service-icon-header::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(rgba(255,255,255,0.1), transparent);
  border-radius: 50%;
  top: -75px;
  right: -75px;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--box-shadow-hover);
}

.service-content ul li {
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(248, 249, 250, 0.6);
}

.service-content ul li:hover {
  background: rgba(0, 86, 179, 0.08);
  transform: translateX(8px);
  color: var(--primary-color);
}

/* Enhanced Value Cards */
.value-card {
  position: relative;
  background: white;
  padding: 3rem 2rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all 0.4s ease;
  z-index: 1;
}

.value-card::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-2);
  opacity: 0.1;
  z-index: -1;
  transition: all 0.5s ease;
}

.value-card:nth-child(2)::before {
  background: var(--gradient-3);
}

.value-card:nth-child(3)::before {
  background: var(--gradient-4);
}

.value-card:hover::before {
  width: 120%;
  height: 120%;
  top: -20%;
  left: -20%;
}

.value-card i {
  position: relative;
  z-index: 2;
  font-size: 3rem;
  color: var(--accent-color);
  background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  transition: all 0.5s ease;
}

.value-card:nth-child(2) i {
  background: linear-gradient(45deg, var(--secondary-color), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.value-card:nth-child(3) i {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Enhanced Projects Section */
.project-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  transition: all 0.4s ease;
  border-left: 5px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.project-card:nth-child(2) {
  border-left: 5px solid var(--secondary-color);
}

.project-card h3 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.project-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 2px;
}

.project-card:nth-child(2) h3::after {
  background: var(--gradient-2);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

/* Enhanced Contact Section - MODIFIED to avoid conflicts with footer */
.contact-grid {
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(248, 249, 250, 0.9));
  backdrop-filter: blur(10px);
}

/* Add more specific selectors to avoid affecting footer */
section .contact-info, 
section .address {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}

section .contact-info {
  border-left: 4px solid var(--accent-color);
}

section .address {
  border-left: 4px solid var(--secondary-color);
}

/* Make these styles specific to the main content section, not footer */
section .contact-info ul li, 
section .address p {
  margin: 1.2rem 0;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: rgba(248, 249, 250, 0.5);
  transition: all 0.3s ease;
}

section .contact-info ul li:hover {
  background: rgba(0, 168, 89, 0.08);
  transform: translateX(5px);
}

/* Ensure these footer-specific styles don't affect main contact section */
.footer-section .contact-info li {
  background: transparent !important; 
  padding: 0.5rem 0 !important;
  border-radius: 0 !important;
  margin: 1rem 0 !important;
}

.footer-section .contact-info li span {
  color: rgba(255, 255, 255, 0.9) !important; 
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
}

/* Background variances for sections */
section:nth-of-type(even) {
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.8), rgba(255, 255, 255, 0.9));
}

section:nth-of-type(odd) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 247, 250, 0.8));
}

section {
  padding: 5rem 2rem;
  margin: 0rem;
  max-width: 100%;
  border-radius: 0;
}

.container {
  max-width: 1200px;
}

/* Enhanced scroll to top button */
.scroll-top {
  background: var(--gradient-5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(255, 165, 0, 0.25);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1000;
}

.scroll-top:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 10px 25px rgba(255, 165, 0, 0.4);
}

/* ...existing code... */