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

body {
  background: #f5f7fa;
  color: #333;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Navbar ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 80px;
  background: #fff;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
.hero-logo {
  position: relative;
  z-index: 10;
}

.hero-logo img {
  height: 40px;
  width: auto;
}

/* Nav */
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  transition: all 0.3s ease;
}

nav ul li a {
  text-decoration: none;
  font-weight: 500;
  color: #000;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #808000;
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #333;
}

/* ===== Specialities Section ===== */
.specialities {
  text-align: center;
  padding: 60px 100px;
}

.specialities h3 {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #808000;
}

.specialities h2 {
  font-size: 28px;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Grid */
.specialities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

/* Cards */
.card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
}

.icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #3a4b57;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon i {
  color: #fff;
  font-size: 22px;
}

.card h4 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
}

.card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
  background: #2b3035;
  color: #dcdcdc;
  padding: 40px 20px;
  width: 100%;
  font-family: 'Poppins', sans-serif;
}

/* Footer container: left, center, right */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Social Logos */
.footer-left .social-logos,
.footer-right .social-logos {
  display: flex;
  gap: 12px;
}

.footer-left .social-logos a,
.footer-right .social-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #444;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  transition: transform 0.3s ease, background 0.3s ease;
  text-decoration: none !important;
  
}


  
.footer-left .social-logos a:hover{
  transform: scale(1.1);
  background: #808000;
}
.footer-right .social-logos a:hover {
  transform: scale(1.1);
  background: #808000;
}

.footer-right .social-logos a img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

/* Center content */
.footer-center {
  text-align: center;
  flex: 1;
}

.footer-center p {
  margin: 3px 0;
  font-size: 14px;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 13px;
  color: #aaa;
  text-align: center;
}

/* ===== Responsive Styles ===== */

/* Tablet */
@media (max-width: 992px) {
  header {
    padding: 15px 40px;
  }

  .specialities {
    padding: 40px 40px;
  }

  .specialities h2 {
    font-size: 24px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Show hamburger */
  .menu-toggle {
    display: block;
  }

  /* Hide nav by default */
  nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    height: calc(100vh - 70px);
    background: #fff;
    box-shadow: -3px 0 12px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    display: flex;
    justify-content: center;
    padding-top: 50px;
    z-index: 999;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 25px;
  }

  .hero-logo img {
    height: 32px;
  }

  .specialities {
    padding: 30px 20px;
  }

  .specialities h2 {
    font-size: 22px;
  }

  .card {
    padding: 25px 20px;
  }

  /* Footer stacked layout */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Slight adjustment for smaller tablets (optional) */
@media (max-width: 991px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 25px;
    top: 20px;
  }

  nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    height: calc(100vh - 70px);
    background: #fff;
    box-shadow: -3px 0 12px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    display: flex;
    justify-content: center;
    padding-top: 50px;
    z-index: 100;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  nav ul li {
    margin: 15px 0;
  }
}
