/* ===== ABOUT PAGE ===== */

:root{
  --bg: #d8f9ff;
  --ink: #062433;
  --muted: #0b4b6b;
  --accent: #f28b66;
  --accent-2: #ff9f80;
  --ease: cubic-bezier(.2,.9,.3,1);
  --anim-duration: 640ms;

}
* { box-sizing: border-box; margin:0; padding:0; }
html,body { height:100%; }
body {
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
  min-height:100vh;
}

/* NAVBAR */
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 60px;
  border-bottom:2px solid #000;
  position:sticky;
  top:0;
  background:var(--bg);
  z-index:50;
}

.logo { display:flex; align-items:center; gap:12px; }
.logo-img { width:42px; height:auto; display:block; }
.brand { font-family: 'Playfair Display', serif; font-size:22px; letter-spacing:1px; }
/* nav links */
nav ul {
  list-style:none;
  display:flex;
  gap:28px;
  align-items:center;
}
nav a {
  text-decoration:none;
  color:var(--ink);
  font-weight:500;
  padding-bottom:6px;

    font-family: 'Lato', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

nav a:hover, nav a.active { 
    border-bottom:2px solid var(--muted); 
    color: var(--muted);
}
/* menu button for small screens */
.menu-btn {
  display:none;
  background:transparent;
  border:none;
  font-size:26px;
  cursor:pointer;
}

@media (max-width: 1100px){
  .navbar{ padding:14px 20px; }
  .menu-btn{ display:block; }
  nav ul{ display:none; position:absolute; top:62px; right:0; left:0; background:var(--bg); flex-direction:column; gap:14px; padding:14px 20px; border-top:2px solid #000; z-index:60; }
  nav ul.show { display:flex; }
  .hero{ padding:40px 18px 140px 18px; }
  .image-wrap{ width:300px; }
  .hero-text h2{ font-size:1.9rem; }
}

.About-Company{
    background: var(--bg);
    padding: 40px 100px 100px 100px;
}
.section-title{
    font-family: "Playfair Display", serif;
    font-size: 2.8rem;
    color: rgb(6, 36, 51);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}
.content {
    display: flex;
    gap: 80px;
}

.content img {
    height: 348px;
    width: auto;
    border-radius: 40px;
}
.content p{
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 28px;
    margin-top: 10px;
    text-align: justify;
    line-height: 1.6;
}


@media(max-width : 1100px) {
  .content {
    display: flex;
    flex-direction: column-reverse;
  }
  .content img {height: 230px;
                width: auto;
                border-radius: 40px;
                display: none;
              }
  .content p  {
              color: var(--muted);
              font-size: 0.9rem;
              margin-bottom: 28px;
              margin-top: 0px;
            }
}
@media(max-width : 550px) {
  .About-Company{
    padding: 40px 50px 10px 50px;
}
}

/*-----------------------------------------*/

.mission-vision {
  background: var(--bg);
  padding: 80px 10%;
  text-align: center;
}
.mv-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}
.mv-box {
  background: #f7f4e8;
  border-radius: 16px;
  padding: 40px;
  flex: 1 1 300px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.4s ease;
}
.mv-box:hover {
  transform: translateY(-10px);
}
.mv-box h3 {
  color: #222;
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.mv-box p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

@media(max-width : 950px) {
  .mission-vision {
    margin: 0 20px;
    padding: 40px 5%;
    text-align: center;
  }
  .mv-box {
    padding: 40px;
  }
  .mv-box h3 {
    font-size: 1.2rem;
  }
  .mv-box p {
    font-size: .8rem;
  }
}

.team-section {
  background: var(--bg);
  padding: 80px 10%;
  text-align: center;
}
.team-section .section-title {
  font-size: 2rem;
  margin-bottom: 50px;
  color: #222;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.team-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  padding: 30px 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  margin: 0 0 30px 0;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.team-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #e0d7c3;
}
.team-card h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 5px;
}
.team-card p {
  color: #777;
  font-size: 0.8rem;
}

.team-card h4 {
  font-weight: normal;
  color: #777;
}

/* Fade-up animation (uses existing system) */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.2s; }
.fade-up.delay-2 { transition-delay: 0.4s; }
.fade-up.delay-3 { transition-delay: 0.6s; }

.footer {
  display: flex;
  justify-content: center;
}

   /* ===== Dropdown Styles ===== */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  min-width: 230px;
  padding: 10px 0;
  z-index: 1000;
}

.dropdown:hover > .dropdown-menu {
  display: block;
  animation: fadeDrop 0.3s ease forwards;
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--ink);
  font-weight: 500;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover {
  background: #e8f4ff;
  color: var(--muted);
}

/* ===== Sub-dropdown ===== */
.sub-dropdown-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: #fff;
  border-radius: 8px;
  min-width: 230px;
  padding: 10px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}



@keyframes fadeDrop {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDropRight {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== Mobile dropdown fix ===== */
@media (max-width: 1100px) {
  .dropdown-menu,
  .sub-dropdown-menu {
    position: static;
    box-shadow: none;
    background: transparent;
    padding-left: 15px;
  }


  .dropdown-menu a,
  .sub-dropdown-menu a {
    background: transparent;
    padding: 8px 0;
  }
}


.sub-dropdown-menu.show {
  animation: fadeDropRight 0.3s ease forwards;
}

.dropdown-menu.show,
.sub-dropdown-menu.show {
  display: block !important;
  opacity: 1;
  visibility: visible;
}

 