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

    }
   .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 0.5rem 1rem;
  position: relative;   /* ✅ make navbar a positioning context */
  z-index: 1000;        /* ✅ ensure navbar stays on top */
}
   .logo{
    width: 150px;
    display: flex;
    align-items: center;
   }
   .logo img{
    width: 100%;
    height: auto;
    }

    .headingmain{
      font-weight: 900;
      font-size: 2rem;
      color: #648DD1;
    }
    .techclass{
      font-weight: 400;
      font-size: 1rem;
      color: #000;
    }
    .navbar .nav-links {
      display: flex;
      gap: 2rem;
    }
    .navbar .nav-links a {
      color: #000;
      text-decoration: none;
      font-size: 1.2rem;
      transition: color 0.2s;
    }
    .navbar .nav-links a:hover {
      color: #648DD1;
    }
    .navbar .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }
    .navbar .menu-toggle span {
      height: 3px;
      width: 25px;
      background: #000;
      margin: 4px 0;
      border-radius: 2px;
      transition: 0.3s;
    }
    @media (max-width: 768px) {
      .navbar .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: #fff;
        flex-direction: column;
        width: 150px;
        display: none;
        padding: 1rem ;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      }
      .navbar .nav-links.active {
        display: flex;
      }
      .navbar .menu-toggle {
        display: flex;
      }
    }
    /*  */


    .sheet {
  max-width: 800px;          /* comfortable reading width on desktop */
  margin: 2rem auto;
  padding: 2rem 1.25rem;     /* breathing space */
}

/* ---------- typography ---------- */
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.25;
  margin: 1.75em 0 .5em;
}

h1 { font-size: 1.9rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.15rem; }

p, ul {
  margin: 0 0 1em;
}

.contacts {
  list-style: none;
  padding-left: 0;
}
.contacts li {
  margin-bottom: .35em;
}

a {
  color: #0059c1;
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* ---------- responsiveness ---------- */
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .sheet { padding: 1.25rem 1rem; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
}


/* footer */
footer {
  background: #76a3eb;
  padding: 50px 20px 20px;
  color: #ddd;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: bold;
  color: #fff;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
}

.footer-col p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #f9f9f9;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin: 10px 0;
}

.footer-col ul li a {
  text-decoration: none;
  color: #f9f9f9;
  font-size: 14px;
  position: relative;
  transition: 0.3s;
}

/* Hover underline animation */
.footer-col ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: #000;
  transition: width 0.3s ease-in-out;
}

.footer-col ul li a:hover {
  color: #000;
}

.footer-col ul li a:hover::after {
  width: 100%;
}

.contact-info p {
  margin: 10px 0;
  font-size: 14px;
  color: #f9f9f9;
}

.social-links {
  margin-top: 15px;
  display: flex;
  gap: 10px;       /* space between icons */
  flex-wrap: nowrap; /* ✅ prevents wrapping */
}

.social-links a {
  display: inline-block;
  width: 35px;
  height: 35px;
  margin-right: 10px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #648DD1;
  font-size: 16px;
  transition: 0.3s;
}

.social-links a:hover {
  background: #648DD1;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #fff;
  padding: 15px;
  margin-top: 30px;
  font-size: 14px;
  color: #fff;
}
/* =============================
   Responsive Footer
   ============================= */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-col h3 {
    font-size: 16px;
  }

  .footer-col p,
  .footer-col ul li a,
  .contact-info p {
    font-size: 13px;
  }
}

/* Mobiles (≤ 600px) */
@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 25px;
  }

  .footer-col h3 {
    font-size: 15px;
  }

  .footer-col p {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer-col ul li {
    margin: 8px 0;
  }

  .footer-col ul li a {
    font-size: 13px;
  }

  .contact-info p {
    font-size: 13px;
  }

  .social-links {
    justify-content: center;
  }
}
