/* styles.css */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    background: #fafafa;
    color: #333;
}

header {
    background: #1e3d59;
    color: #fff;
    padding: 1.5rem;
    text-align: center;
}

header.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

header img {
    max-height: 120px; /* Adjust based on your design */
	margin: 10px auto;
    display: block;
    vertical-align: middle;
	background:white;
}

header h1 {
    font-size: 3.8rem;
    margin-bottom: 0.5rem;
}

.navbar {
  background-color: #1e3d59;
  color: white;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
    height: 50px;
    background: white;
}

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

.nav-links a {
  color: #ffb400;
  text-decoration: none;
  font-weight: bold;
}

#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  #menu-toggle:checked + .hamburger + .nav-links {
    display: flex;
  }
  .hamburger {
    display: block;
  }
}

.hero {
  background-size: cover;
  background-position: center;
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
}

.overlay {
  background: rgba(0,0,0,0.5);
  padding: 2rem;
}
.hero-logo {
  width: 120px;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.2rem;
}

.hero {
  height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero .overlay {
  background-color: rgba(0,0,0,0.6);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.logo {
  width: 180px;
  margin-bottom: 20px;
}
.accreditation {
  display: block;
  max-width: 180px;
  margin: 30px auto 0;
}


@media screen and (max-width: 768px) {
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 20px 0;
  }

  nav ul li {
    list-style: none;
  }

  nav ul li a {
    font-size: 18px;
    color: orange;
    text-decoration: none;
  }
}


.hero {
    background: linear-gradient(to right, #3a7bd5, #3a6073);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn {
    padding: 0.75rem 2rem;
    background-color: #ffb400;
    color: #1e3d59;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}

.btn:hover {
    background-color: #ff9900;
}

section {
    padding: 4rem 2rem;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}


.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
}

@media (max-width: 992px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.about-section {
    background-color: #fdfdfd; /* or #fefefe */
    padding: 60px 20px;
}


.about-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.about-content {
    max-width: 900px;
    margin: auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.about-content p {
    margin-bottom: 20px;
}

.about-content strong {
    color: #222;
    font-weight: 600;
}

.card {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.card img:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

.card h3 {
    font-size: 1.125rem; 
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.card p {
    font-size: 0.95rem; 
    line-height: 1.4;    
    margin-top: 0.2rem;  
    color: #444;
}

.card {
    text-align: center;
}

.card.empty {
  visibility: hidden;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 30px;
  justify-content: center;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}



.grid.center-only {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.grid.center-only .card.standard-width {
  width: 100%;
  max-width: 350px; /* Match your usual card width */
}




.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 80px;
  z-index: 999;
}


.whatsapp-float img {
  width: 100%;
  border-radius: 10px;
}



footer {
    background-color: #1e3d59;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .btn {
        font-size: 1rem;
    }
}



