/* Reset */
  * { margin:0; padding:0; box-sizing:border-box; }
  body { background:#f9f9f9; }
body {
        font-family: 'Montserrat', sans-serif!important;;
    }

    /* Example for headings */
    h1, h2, h3, h4, h5, h6,li,a {
        font-family: 'Montserrat', sans-serif!important;
        font-weight: 700; /* Bold for headings */
    }
a{
    text-decoration: none;
}
main{
    margin-top: 50px;
    margin-bottom: 50px;
}
    /* Example for paragraphs */
    p {
        font-family: 'Montserrat', sans-serif;
        font-weight: 400; /* Regular for body text */
    }
  /* Navbar */
  nav {
    position: fixed; top:0; left:0; width:100%;
    padding:1rem 2rem; display:flex; justify-content:space-between; align-items:center;
    background:#fff; box-shadow:0 4px 20px rgba(0,0,0,0.08); z-index:1000;
    transition: all 0.3s ease;
    
  }

  .logo { font-size:1.8rem; font-weight:700; background: linear-gradient(90deg,#ff416c,#ff4b2b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; cursor:pointer; transition:0.3s; }
  .logo:hover { transform:scale(1.1); }

  /* Desktop Links */
  .nav-links { display:flex; gap:2rem; }
  .nav-links a { text-decoration:none; font-weight:500; position:relative; color:#333; padding:0.3rem 0; transition:0.3s; }
  .nav-links a::after {
    content:'';
    position:absolute;
    width:0%; height:3px; background:linear-gradient(90deg,#ff416c,#ff4b2b);
    left:0; bottom:-5px; border-radius:2px; transition:0.4s;
  }
  .nav-links a:hover::after { width:100%; }
  .nav-links a:hover { color:#ff416c; }
/* Desktop Links */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    position: relative;
    color: #333;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
}

/* Hover underline animation */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    left: 0;
    bottom: -5px;
    border-radius: 2px;
    transition: width 0.4s ease, transform 0.4s ease;
    transform: scaleX(0);
    transform-origin: left center;
}

.nav-links a:hover::after {
    width: 100%;
    transform: scaleX(1);
}

.nav-links a:hover {
    color: #ff416c;
}

/* ONLY ACTIVE LINK */
.nav-links a.nav-active::after {
    width: 100%;
    transform: scaleX(1);
}

.nav-links a.nav-active {
    color: #ff416c;
}

  /* Hamburger */
  .hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; z-index:1100; }
  .hamburger div { width:28px; height:3px; background:#333; border-radius:2px; transition: all 0.4s ease; }

  /* Mobile Menu */
  @media(max-width:768px) {
    .nav-links {
      position: fixed; top:0; right:-100%;
      height:100vh; width:250px; background:#fff;
      flex-direction:column; padding:6rem 2rem; gap:2.5rem;
      box-shadow:-2px 0 20px rgba(0,0,0,0.1);
      transition: right 0.6s ease, opacity 0.6s ease; opacity:0;
    }
    .nav-links.active { right:0; opacity:1; }

    .nav-links a { opacity:1; transform:translateX(50px);color:black!important; }

    .hamburger { display:flex; }
  }

  /* Hamburger Animation */
  .hamburger.toggle div:nth-child(1) { transform: rotate(45deg) translate(6px,6px); background:#ff416c; }
  .hamburger.toggle div:nth-child(2) { opacity:0; }
  .hamburger.toggle div:nth-child(3) { transform: rotate(-45deg) translate(7px,-7px); background:#ff4b2b; }


  /* Footer Styles */
.footer {
  background-color: #ffffff;
  color: #333;
  padding: 60px 20px 20px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 -3px 10px rgba(0,0,0,0.05);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.footer-brand h2 {
  margin: 0;
  font-size: 1.8em;
  color: #111;
}

.footer-brand p {
  font-size: 0.95em;
  margin-top: 5px;
  color: #555;
}

.footer-links h3,
.footer-social h3 {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #222;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #555;
  transition: color 0.3s, transform 0.3s;
}

.footer-links ul li a:hover {
  color: #3498db;
  transform: translateX(5px);
}

/* Social Icons */
.footer-social .social-icons a {
  display: inline-block;
  margin-right: 10px;
  text-decoration: none;
  color: #555;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid #ddd;
}

.footer-social .social-icons a:hover {
  background: #3498db;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(52,152,219,0.3);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85em;
  color: #888;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
}


/* start */

/* Dropdown container */
.nav-links .dropdown {
  position: relative;
}

/* Dropdown content hidden by default */
.nav-links .dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* directly below link */
  left: 0;
  width: 200px; /* fixed width or adjust as needed */
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  border-radius: 6px;
  z-index: 1001;
  flex-direction: column;
}

/* Show dropdown on hover (desktop only) */
.nav-links .dropdown:hover .dropdown-content {
  display: flex;
}

/* Dropdown link styles */
.nav-links .dropdown-content a {
  padding: 10px 15px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover effect */
.nav-links .dropdown-content a:hover {
  background: linear-gradient(90deg,#ff416c,#ff4b2b);
  color: #fff;
}

/* Make sure dropdown fits nav width and is fixed inside nav */
.nav-links .dropdown {
  display: flex; /* matches other links */
  flex-direction: column;
}

