/* ===== CSS RESET & GLOBAL STYLES ===== */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

:root {
  --primary: #004466;
  --primary-light: #005580;
  --secondary: #60B45A;
  --accent: #0077aa;
  --light-bg: #f0f9ff;
  --dark-text: #333;
  --light-text: #fff;
  --border-radius: 8px;
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

body { 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
  background: #f9f9f9; 
  color: var(--dark-text); 
  line-height: 1.6; 
  scroll-behavior: smooth; 
}

a { 
  text-decoration: none; 
  color: inherit; 
}

img { 
  max-width: 100%; 
  height: auto; 
}

.container { 
  width: 90%; 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 20px; 
}

section { 
  padding: 80px 0; 
}

h1, h2, h3, h4, h5 { 
  color: var(--primary); 
  margin-bottom: 1rem; 
  line-height: 1.3;
}

h1 { 
  font-size: 2.8rem; 
}

h2 { 
  font-size: 2.2rem; 
  text-align: center; 
  margin-bottom: 2.5rem; 
}

h3 { 
  font-size: 1.8rem; 
}

h4 { 
  font-size: 1.4rem; 
  color: var(--accent); 
  margin-top: 1.5rem; 
}

p { 
  margin-bottom: 1.2rem; 
}

ul { 
  margin-left: 1.5rem; 
  margin-bottom: 1.5rem; 
}

li { 
  margin-bottom: 0.5rem; 
}

.btn { 
  display: inline-block; 
  background: var(--secondary); 
  color: white; 
  padding: 12px 24px; 
  border-radius: var(--border-radius); 
  font-weight: 600; 
  transition: var(--transition); 
  border: none; 
  cursor: pointer; 
}

.btn:hover { 
  background: #4a9446; 
  transform: translateY(-3px); 
  box-shadow: var(--shadow); 
}

/* ===== NAVIGATION ===== */
nav { 
  background: var(--primary); 
  color: white; 
  padding: 15px 0; 
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  transition: var(--transition); 
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav.shrink { 
  padding: 10px 0; 
  background: #00334d; 
}

.nav-container { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}

.logo img { 
  max-height: 55px; 
  width: auto; 
}

.nav-links { 
  display: flex; 
  gap: 30px; 
}

.nav-links a { 
  color: white; 
  font-weight: 500; 
  position: relative; 
  transition: var(--transition); 
}

.nav-links a::after { 
  content: ''; 
  position: absolute; 
  bottom: -5px; 
  left: 0; 
  width: 0; 
  height: 2px; 
  background: var(--secondary); 
  transition: var(--transition); 
}

.nav-links a:hover { 
  color: var(--secondary); 
}

.nav-links a:hover::after { 
  width: 100%; 
}

.hamburger { 
  display: none; 
  font-size: 1.5rem; 
  cursor: pointer; 
  background: none; 
  border: none; 
  color: white; 
}

/* ===== HERO SECTION ===== */
.hero { 
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); 
  color: white; 
  padding: 120px 0 100px; 
  text-align: center; 
  position: relative; 
  overflow: hidden; 
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2300334d" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: bottom;
}

.hero .container { 
  position: relative; 
  z-index: 1; 
}

.hero h1 { 
  color: white; 
  font-size: 3rem; 
  margin-bottom: 1.5rem; 
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero p { 
  font-size: 1.2rem; 
  max-width: 700px; 
  margin: 0 auto 2rem; 
  color: rgba(255,255,255,0.9); 
}

.hero .btn { 
  background: var(--secondary); 
  font-size: 1.1rem; 
  padding: 14px 30px; 
}

/* ===== SERVICES SECTION ===== */
.services { 
  background: var(--light-bg); 
  padding: 100px 0; 
}

.services-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 30px; 
  margin-top: 40px; 
}

.service-tile { 
  background: white; 
  padding: 30px; 
  border-radius: var(--border-radius); 
  text-align: center; 
  box-shadow: var(--shadow); 
  transition: var(--transition); 
  position: relative; 
  overflow: hidden; 
  border-top: 4px solid var(--accent);
}

.service-tile:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 12px 20px rgba(0,0,0,0.15); 
}

.service-tile i { 
  font-size: 2.5rem; 
  color: var(--accent); 
  margin-bottom: 20px; 
  display: block; 
}

.service-tile h5 { 
  font-size: 1.3rem; 
  margin-bottom: 15px; 
  color: var(--primary); 
}

.service-tile p { 
  color: #666; 
  font-size: 0.95rem; 
}

/* Accreditation logos in service tile */
.accreditation-logos { 
  display: flex; 
  justify-content: center; 
  flex-wrap: wrap; 
  gap: 10px; 
  margin-top: 15px; 
}

.accreditation-logos img { 
  height: 25px; 
  width: auto; 
  object-fit: contain; 
  opacity: 0.8; 
  transition: var(--transition); 
}

.accreditation-logos img:hover { 
  opacity: 1; 
}

/* ===== DETAILED CONTENT SECTIONS ===== */
.content-section { 
  padding: 80px 0; 
  background: white; 
}

.content-section:nth-child(even) { 
  background: var(--light-bg); 
}

.content-section .container { 
  max-width: 900px; 
}

.content-section h3 { 
  text-align: center; 
  margin-bottom: 2.5rem; 
  position: relative; 
  padding-bottom: 15px; 
}

.content-section h3::after { 
  content: ''; 
  position: absolute; 
  bottom: 0; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 80px; 
  height: 3px; 
  background: var(--secondary); 
}

.content-section h4 { 
  margin-top: 2rem; 
  color: var(--primary); 
}

.content-section ul { 
  margin-left: 1.5rem; 
}

.content-section li { 
  margin-bottom: 0.8rem; 
  position: relative; 
  padding-left: 10px; 
}

.content-section li::before { 
  content: '•'; 
  color: var(--secondary); 
  font-weight: bold; 
  position: absolute; 
  left: -15px; 
}

/* ===== ACCREDITATION BANNER ===== */
.accreditation-banner { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  gap: 30px; 
  flex-wrap: wrap; 
  margin-top: 30px; 
}

.accreditation-card { 
  background: white; 
  border-radius: var(--border-radius); 
  padding: 20px; 
  box-shadow: var(--shadow); 
  transition: var(--transition); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}

.accreditation-card:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 8px 15px rgba(0,0,0,0.1); 
}

.accreditation-card img { 
  max-height: 60px; 
  width: auto; 
  object-fit: contain; 
}

/* ===== ABOUT SECTION ===== */
.about { 
  text-align: center; 
}

.about img { 
  max-width: 300px; 
  border-radius: var(--border-radius); 
  margin: 30px 0; 
  box-shadow: var(--shadow); 
}

/* ===== CONTACT SECTION ===== */
.contact { 
  background: var(--light-bg); 
}

.contact form { 
  max-width: 600px; 
  margin: 0 auto; 
  display: flex; 
  flex-direction: column; 
  gap: 20px; 
}

.contact input, 
.contact textarea { 
  padding: 15px; 
  border: 1px solid #ddd; 
  border-radius: var(--border-radius); 
  font-size: 1rem; 
  transition: var(--transition); 
  font-family: inherit;
}

.contact input:focus, 
.contact textarea:focus { 
  border-color: var(--accent); 
  box-shadow: 0 0 0 3px rgba(0, 119, 170, 0.1); 
  outline: none; 
}

.contact textarea { 
  min-height: 150px; 
  resize: vertical; 
}

.contact button { 
  background: var(--accent); 
  color: white; 
  border: none; 
  padding: 15px; 
  border-radius: var(--border-radius); 
  font-size: 1.1rem; 
  font-weight: 600; 
  cursor: pointer; 
  transition: var(--transition); 
}

.contact button:hover { 
  background: #005f88; 
  transform: translateY(-3px); 
}

/* ===== FOOTER ===== */
footer { 
  background: var(--primary); 
  color: white; 
  padding: 60px 0 20px; 
}

.footer-container { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 40px; 
  margin-bottom: 40px; 
}

.footer-about h3, 
.footer-links h4, 
.footer-contact h4, 
.footer-social h4 { 
  color: var(--secondary); 
  margin-bottom: 20px; 
}

.footer-links ul { 
  list-style: none; 
  margin: 0; 
}

.footer-links li { 
  margin-bottom: 10px; 
}

.footer-links a { 
  transition: var(--transition); 
}

.footer-links a:hover { 
  color: var(--secondary); 
  padding-left: 5px; 
}

.footer-contact div { 
  margin-bottom: 15px; 
  display: flex; 
  align-items: center; 
}

.footer-contact i { 
  margin-right: 10px; 
  color: var(--secondary); 
  width: 20px; 
}

.footer-social { 
  display: flex; 
  flex-direction: column; 
}

.social-icons { 
  display: flex; 
  gap: 15px; 
}

.social-icons a { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  width: 40px; 
  height: 40px; 
  background: rgba(255,255,255,0.1); 
  border-radius: 50%; 
  transition: var(--transition); 
}

.social-icons a:hover { 
  background: var(--secondary); 
  transform: translateY(-3px); 
}

.footer-bottom { 
  text-align: center; 
  padding-top: 20px; 
  border-top: 1px solid rgba(255,255,255,0.1); 
  font-size: 0.9rem; 
  color: rgba(255,255,255,0.7); 
}

/* ===== BACK TO TOP BUTTON ===== */
#backToTop { 
  position: fixed; 
  bottom: 30px; 
  right: 30px; 
  width: 50px; 
  height: 50px; 
  border-radius: 50%; 
  background: var(--accent); 
  color: white; 
  border: none; 
  cursor: pointer; 
  display: none; 
  justify-content: center; 
  align-items: center; 
  transition: var(--transition); 
  box-shadow: var(--shadow); 
  z-index: 999; 
}

#backToTop:hover { 
  background: var(--secondary); 
  transform: translateY(-5px); 
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { 
    flex-direction: column; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    background: var(--primary); 
    padding: 20px; 
    display: none; 
    box-shadow: 0 5px 10px rgba(0,0,0,0.1); 
  }
  
  .nav-links.active { 
    display: flex; 
  }
  
  .hamburger { 
    display: block; 
  }
  
  .hero { 
    padding: 100px 0 80px; 
  }
  
  .hero h1 { 
    font-size: 2.2rem; 
  }
  
  .hero p { 
    font-size: 1.1rem; 
  }
  
  section { 
    padding: 60px 0; 
  }
  
  .services-grid { 
    grid-template-columns: 1fr; 
  }
  
  .accreditation-banner { 
    gap: 20px; 
  }
  
  .accreditation-card { 
    padding: 15px; 
  }
  
  .accreditation-card img { 
    max-height: 50px; 
  }
  
  .footer-container { 
    grid-template-columns: 1fr; 
    text-align: center; 
  }
  
  .footer-contact div { 
    justify-content: center; 
  }
  
  .social-icons { 
    justify-content: center; 
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }
  
  .hero { 
    padding: 80px 0 60px; 
  }
  
  .service-tile { 
    padding: 20px; 
  }
  
  .accreditation-banner { 
    gap: 15px; 
  }
  
  .accreditation-card { 
    flex: 1 1 40%; 
  }
}