* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  background-image: url('T4 copy.jpg'); /* Replace with your actual image path */
  background-size: cover;         /* Ensures image covers entire screen */
  background-position: center;    /* Center the image */
  background-repeat: no-repeat;   /* Prevent image from repeating */
  background-attachment: fixed;   /* Makes the background static while content scrolls */
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

body, html {
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

header {
  background: darkgreen;
  color: white;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.logo img {
  height: 50px; /* Adjust as needed */
  width: auto;  /* Keeps aspect ratio */
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px; /* Rounded corners */
  border: 2px solid #eee; /* Optional subtle border */
  padding: 2px; /* Optional padding inside border */
  background-color: #fff; /* Optional background */
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #00c897;
}

.dropdown-menu {
  display: none;
  position: absolute;
  min-width: 220px; 
  background: black;
  border-radius: 10px;
  top: 100%;
  left: 0;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0.5rem 1rem;
  list-style: none;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; /* Adjust based on header height */
    left: 0;
    width: 100%;
    background-color: darkgreen;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* KidSpark Section Overrides */
#kidspark {
  background: #f0faff;
  padding: 100px 20px 80px;
}

/* Reuse existing container styling */
.kidspark-container {
  max-width: 850px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
}

/* Centered image with spacing */
.center-image {
  display: block;
  margin: 100px auto ;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Heading */
.kidspark-container h1 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Centered paragraph text */
.kidspark-container p {
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}

/* Stats list styling */
.stats-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
  text-align: left;
}

.stats-list li {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

/* Call-to-action button */
.kidspark-button {
  display: inline-block;
  margin-top: 30px;
  padding: 0.75rem 1.5rem;
  background-color: #0bc4a8;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.kidspark-button:hover {
  background-color: #099c87;
  transform: translateY(-2px);
}

.contact-section {
  background-color: darkgreen;
  color: rgb(11, 196, 168);
  padding: 40px 20px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: auto;
}

.contact-card {
  flex: 1;
  min-width: 280px;
  margin: 20px;
   background: linear-gradient(135deg, #e8fdf5, #d9f2ff); /* Soft gradient background */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.contact-card h3 {
  color: #191502;
  margin-bottom: 15px;
}

.contact-card a {
  color: #00BFFF;
  text-decoration: none;
}
.contact-card a:hover {
  text-decoration: underline;
}


footer {
  background: linear-gradient(135deg, #e8fdf5, #d9f2ff); /* Soft gradient background */
  color: rgb(11, 196, 168);
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}





/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .dropdown-menu {
    position: static;
  }
}
@media (max-width: 600px) {
  .logo img {
    height: 40px;
  }
}
