/* Base Styles & Reset */
:root {
  --primary-color: #2a5c8d;
  --primary-dark: #1e4568;
  --secondary-color: #e67e22;
  --secondary-dark: #d35400;
  --accent-color: #27ae60;
  --text-color: #333;
  --text-light: #666;
  --text-lighter: #888;
  --bg-light: #f9f9f9;
  --bg-dark: #222;
  --white: #fff;
  --black: #000;
  --gray-light: #eee;
  --gray-medium: #ccc;
  --gray-dark: #777;
  --error-color: #e74c3c;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --border-radius: 4px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --nav: #3BA4D8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Header & Navigation */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 0.8rem 0;
  /* slightly smaller padding looks cleaner */
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* ✅ Updated logo image container */
.logimg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  /* controls logo height */
  width: auto;
}

/* ✅ Make image scale correctly */
.logimg img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  color: var(--nav);
  text-decoration: none;
}

/* .nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
} */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 8rem 0 3rem;
  /* background: url(../images/view-kids-practicing-health-wellness-activity.jpg); */
  background-color: #3BA4D8;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  height: auto;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(255,
    255,
    255,
    0.6); */
}

/* .hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,
    255,
    255,
    0.6);

  z-index: 1;
}
.hero .overlay {
  backdrop-filter: blur(3px);
} */

.hero-content {
  position: relative;
  z-index: 2;
  /* ensure it’s above the overlay */
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  max-width: 800px;
  text-align: center;
  justify-content: center;
  padding: 5rem;
}

.hero h1 {
  font-size: 3.8rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  z-index: 2;
  background-color: transparent;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--bg-dark);
  margin-bottom: 2rem;
  font-weight: 700;
  
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-image {
  flex: 1;
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-dark);
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-about p {
  margin-bottom: 1.5rem;
  color: var(--gray-medium);
}

/* Add this to your CSS file */

/* Font Awesome Setup (add this in head of HTML) */
/* <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> */

/* Logo image styling */
.logo-img {
  border-radius: 50%;
  /* border: 2px solid var(--primary-color); */
  object-fit: contain;
  padding: 5px;
  background-color: white;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--nav);
  transform: translateY(-3px);
}

.footer-social i {
  font-size: 16px;
}

/* Contact info icons */
address i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  color: var(--nav);
}



/* Responsive adjustments */
@media (max-width: 768px) {}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: var(--gray-medium);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

address p {
  color: var(--gray-medium);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

address a {
  color: var(--gray-medium);
  transition: var(--transition);
}

address a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}


.copyright {
  color: var(--gray-medium);
  font-size: 0.9rem;
  text-align: center;
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--box-shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
  }

  .about-section {
    flex-direction: column;
  }

  .newsletter-card {
    flex-direction: column;
  }

  .newsletter-image {
    order: -1;
    height: 250px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    transition: var(--transition);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .logimg {
    height: 40px;
  }

  /* Animation */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-in {
    animation: fadeIn 0.6s ease forwards;
  }
}

@media (max-width: 425px) {
  .hero-content {
    flex: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .hero h1 {
    font-size: 1.8rem;
    margin: 0px;
    padding-bottom: 0.5rem;

  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 375px) {
  .hero-content {
    flex: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .hero h1 {
    font-size: 1.8rem;
    margin: 0px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 0rem;
    padding-bottom: 0rem;
  }
}

@media (max-width: 320px) {
  .hero-content {
    flex: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .hero h1 {
    font-size: 1.5rem;
    margin: 0px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    width: 100%;
  }
}