*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary-color: #007bff; /* Blue */
  --secondary-color: #00bcd4; /* Cyan/Teal */
  --text-color: #333;
  --light-bg: #f5f8ff;
  --card-bg: #ffffff; /* White card background for contrast */
  --accent-color: #ffc107; /* New accent for highlights */
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
}

/* === NAVIGATION BAR === */
.navbar {
  display: flex;
  justify-content: center;
  background: var(--card-bg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-link {
  text-decoration: none;
  color: var(--primary-color);
  margin: 0 15px;
  font-weight: 600;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0; /* Changed from -5px to 0 for a cleaner look */
  width: 0%;
  height: 3px;
  background: var(--secondary-color);
  transition: width 0.3s;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link:hover::after {
  width: 100%;
}

/* === HERO SECTION (Replaces original header and .image) === */
.hero-section {
  border-radius: 20px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.90)), url(img/hands.jpg);
  background-size: cover;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    /* Optional: Make the logo stand out more */
    background: white; 
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.hero-section h1 {
  margin: 0;
  font-size: 3em;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.hero-section p {
  margin-top: 15px;
  font-size: 1.4em;
  font-weight: 300;
}

/* === SECTIONS GENERAL STYLE === */
section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

section h2 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 2em;
}

.section-subtitle {
    font-size: 1.1em;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px;
}

hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 40px auto;
}


/* === PRINCIPLES & BENEFITS GRID (Replaces original card-grid) === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.info-card {
  background: var(--card-bg);
  border-radius: 10px;
  border-top: 5px solid var(--secondary-color); /* Highlight with a border top */
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.info-card h3 {
  color: var(--primary-color);
  margin-top: 0;
  border-bottom: 2px solid var(--light-bg);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

/* Style for lists inside the info-cards */
.clean-list {
    list-style: none;
    padding-left: 0;
}

.clean-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.clean-list li::before {
    content: "✔️"; /* Custom bullet point */
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* === PROJECTS GRID (Replaces original .projects and .card) === */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.project-card {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 25px;
  transition: background 0.3s, color 0.3s;
  text-align: center;
}

.project-card h3 {
  color: var(--secondary-color);
  margin-top: 0;
  font-size: 1.4em;
}

.project-card:hover {
    background: var(--secondary-color);
    color: white;
}

.project-card:hover h3 {
    color: white; /* Header color changes on hover */
}

/* === CONTACT SECTION === */
.contact-detail {
    font-size: 1.2em;
    font-weight: 600;
    margin: 10px 0;
    color: var(--primary-color);
}


/* === FOOTER === */
.main-footer {
  border-radius: 10px;
    background-color: #333;
    color: white;
    padding: 50px 20px 0; 
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px;
    padding-bottom: 40px;
    text-align: left;
}

.footer-column h3 {
  color: #ffc107;
    margin-bottom: 20px;
    font-size: 1.9rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}


.contact-column p {
    margin: 8px 0;
    font-size: 0.95em;
}

.contact-column p {
  font-size: 1.2rem;
    margin-right: 10px;
    color: #ffff;
}

.social-column {
    text-align: center; 
}

.social-links p {
    color: white;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links p:hover {
    color: var(--secondary-color);
}


.faq-column ul {
    list-style: none;
    padding: 0;
}

.faq-column ul li {
    margin-bottom: 8px;
}

.faq-column ul a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.faq-column ul a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}


.footer-bottom {
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
}

.heart {
    color: red;
    font-size: 1.2em;
}

/* === RESPONSIVENESS === */
@media (max-width: 850px) {
  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Switches to 2 or 1 column layout */
    text-align: center;
  }

  .footer-column {
      text-align: center;
  }

  /* Specific rule for the FAQ list on small screens */
  .faq-column ul {
      display: inline-block; /* allows the list to be centered */
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5em;
  }

  .nav-link {
    margin: 0 10px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    .nav-link {
        margin: 5px 0;
    }
    
    .hero-section h1 {
        font-size: 2em;
    }

    .hero-section p {
        font-size: 1.1em;
    }
}

/* === RESPONSIVENESS === */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5em;
  }

  .nav-link {
    margin: 0 10px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    .nav-link {
        margin: 5px 0;
    }
    
    .hero-section h1 {
        font-size: 2em;
    }

    .hero-section p {
        font-size: 1.1em;
    }
}