@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ================= GLOBAL SAFETY FIX ================= */




* {
    box-sizing: border-box;
}

body {
              font-family: 'poppins',sans-serif;


    margin: 0;
    padding: 0;
    background: var(--vanilla-bg);
    overflow-x: hidden;   /* ✅ prevents horizontal overlap */
}

/* ================= FORCE PAGE FLOW RESET ================= */
main, section {
    width: 100%;
    display: block;
    position: relative;
}

/* ================= HERO FIX (MOST IMPORTANT) ================= */
.hero {
    width: 100%;
    display: flex;
    flex-direction: column;

    padding: 20px 5% 60px;
    margin: 0;

    background: linear-gradient(135deg, var(--dark-bg), var(--gold-dark));
    color: var(--text-light);

    min-height: auto;
    overflow: hidden;
}

/* ================= NAV FIX ================= */
.hero nav {
    position: relative !important;  /* 🔥 FORCE override */
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 10px 0;
    right: -50px;
}

/* NAV LIST */
.hero nav ul {
    display: flex;
    flex-wrap: wrap;  /* ✅ prevents overflow */
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ================= TEAM SECTION ISOLATION ================= */
.experienced-team {
  margin-top: 200px;
    width: 100%;
    display: block;
    position: relative;

    padding: 60px 5%;
    margin: 0;

    background: linear-gradient(
        to bottom right,
        var(--icecream-pink),
        var(--soft-honey-tint),
        var(--icecream-mint)
    );
}

/* FORCE STACKING INSIDE TEAM */
.team-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

/* ================= CARD SAFETY ================= */
.team-card {
    width: 220px;
    background: var(--icecream-pink);
    padding: 20px;
    border-radius: 15px;

    position: relative;
    z-index: 1; /* ✅ prevents overlap */
}

/* ================= IMAGE SAFETY ================= */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================= DROPDOWN FIX ================= */
.hero .dropdown-menu {
    position: absolute;
    z-index: 9999;
}

.hero .submenu {
    position: absolute;
    z-index: 9999;
}

/* ================= SECTION GAP FIX ================= */
section {
    margin-bottom: 40px;
}

/* LINKS */
.hero nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;

    padding: 6px 8px;
    transition: 0.3s;

    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

/* HOVER MAIN LINK */
.hero nav ul li a:hover {
    color: rgb(241, 241, 28);
    transform: translateY(-2px);
}

/* ================= DROPDOWN ================= */
.hero nav ul li {
    position: relative;
}

/* dropdown box */
.hero .dropdown-menu {
    display: none;
    position: absolute;
    top: 120%;
   left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: #fff;

    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);

    padding: 8px 0;
}

/* show dropdown */
.hero .dropdown:hover > .dropdown-menu {
    display: block;
}

/* dropdown items */
.hero .dropdown-menu li a {
    color: #2b1a0f;
    text-shadow: none;

    display: block;
    padding: 10px 15px;
}

/* ⭐ ICECREAM PINK HOVER */
.hero .dropdown-menu li a:hover {
    /* icecream pink */
      background: #be5462;   /* icecream pink */
    color: #ffd700 !important;   /* strong gold yellow */

  color: rgb(241, 241, 28);
    transform: translateY(-2px);}




/* ================= SUBMENU ================= */
.hero .dropdown-sub {
    position: relative;
}

/* submenu box */
.hero .submenu {
    display: none;
    position: absolute;
    top: 0;
    right: auto;
left:100%;
    min-width: 200px;
    background: #fff;

    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* show submenu */
.hero .dropdown-sub:hover > .submenu {
    display: block;
}

/* submenu items */
.hero .submenu li a {
    display: block;
    padding: 10px 15px;
    color: #2b1a0f;
    text-shadow: none;
}

/* ⭐ ICECREAM PINK HOVER SUBMENU */
.hero .submenu li a:hover {
    /* icecream pink */
      background: #be5462;   /* icecream pink */
    color: #ffd700 !important;   /* strong gold yellow */

  color: rgb(241, 241, 28);
    transform: translateY(-2px);}





/* Hero Section */
.hero {
 
    justify-content: flex-start; /* text left, image right */
    padding: 13px 5%;
  background-image: url("../images/mka.jpg");
           background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)), url("../images/mka.jpg");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    position: relative;
    display: flex;
    align-items: center;      /* vertical alignment fix */
    justify-content: space-between;

    min-height: 60vh;         /* controlled height */
    overflow: hidden;     
       /* ⭐ prevents topbar overlap */
         height: 700px;        /* jitna cut chahiye */
}

/* =========================================
   MOBILE RESPONSIVE ONLY
   LAPTOP / DESKTOP PAR KOI EFFECT NAHI
========================================= */

@media screen and (max-width: 900px) {

    /* HERO SECTION */
    .hero {

        display: flex;
        flex-direction: column;

        justify-content: center;
        align-items: center;

        text-align: center;

        height: auto;
        min-height: auto;

        padding: 120px 20px 353px;

        overflow: hidden;
    }

}


/* ================= DESKTOP (DEFAULT) ================= */
.hamburger {
    display: none;   /* 🔥 laptop me hide */
}



@media screen and (max-width: 900px) {

    /* ================= HAMBURGER ================= */
    .hamburger {

        display: flex;

        flex-direction: column;
        gap: 5px;

        cursor: pointer;

        position: absolute;

        top: -90px;
        right: 50px;

        z-index: 999999;
    }

    .hamburger span {

        width: 28px;
        height: 3px;

        background: #fff;

        border-radius: 5px;

        display: block;
    }

    /* ================= MENU ================= */
    .menu {

        position: fixed;

        top: 76px;
        left: -100%;

        width: 80%;
height: calc(100vh - 190px); /* 🔥 bottom space kam feel hoga */
        background: linear-gradient(135deg, #2b1a0f, #b8860b);

        display: flex;
        flex-direction: column;

        overflow-y: auto;

        transition: 0.3s ease;

        z-index: 99999;
        max-height: 67vh;   /* 👈 yaha control karo (try 60-70vh) */

        padding-top: 20px;
    }
    .menu.active {
        left: 0;
    }
/* MENU SCROLLBAR HIDE (KEEP SCROLL WORKING) */
.menu {
    overflow-y: auto;   /* scroll chalega */
    scrollbar-width: none; /* Firefox */
}

/* Chrome, Edge, Safari */
.menu::-webkit-scrollbar {
    display: none;
}
    /* ================= MENU ITEMS ================= */
    .menu li {

        width: 100%;

        padding: 0;
        list-style: none;
    }

    /* ================= LINKS ================= */
    .menu li a {

        color: #fff;

        display: block;

        padding: 14px 18px;

        text-decoration: none;
    }

    .dropdown > a::after{
        content:"▼";
        font-size:12px;
        margin-left:10px;
    }

    .dropdown-sub > a::after{
        content:"▶";
        font-size:12px;
        margin-left:10px;
    }

    /* ================= REMOVE DESKTOP HOVER ================= */
    .dropdown:hover > .dropdown-menu,
    .dropdown-sub:hover > .submenu {

        display: none !important;
    }

    /* ================= DROPDOWN ================= */
    .dropdown-menu {

        display: none;

        position: static !important;

        width: 100%;

        background: rgba(255,255,255,0.08);

        padding-left: 10px;

        box-shadow: none;

        border-radius: 0;
    }

    .dropdown.open > .dropdown-menu {

        display: block !important;
    }

    /* ================= SUBMENU ================= */
    .submenu {

        display: none;

        position: static !important;

        width: 100%;

        margin-left: 0 !important;

        margin-top: 5px;

        padding-left: 15px;

        background: rgba(255,255,255,0.05);

        border-left: 2px solid rgba(255,255,255,0.3);

        box-shadow: none;
    }

    .dropdown-sub.open > .submenu {

        display: block !important;
    }

}
@media screen and (max-width: 900px) {

  /* 🔥 FORCE RESET EVERYTHING RELATED TO SIDE POSITION */
  .dropdown-menu,
  .submenu {

    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;

    transform: none !important;

    width: 100% !important;

    float: none !important;
  }

  /* dropdown behavior */
  .dropdown.open > .dropdown-menu {
    display: block !important;
  }

  .dropdown-sub.open > .submenu {
    display: block !important;
  }

  /* remove any side effects */
  .hero .submenu {
    margin-left: 0 !important;
  }
}
/* REMOVE BOX */
.hero-content {
  
 position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* perfect center */

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    z-index: 2;
    margin-top: -20px;   /* 👈 top se gap control */

}

/* TEXT STYLE */
.hero-title {
    font-family: 'poppins','sans-sarif';
    font-size: 70px;
    color: #f3f3f3;
    text-align: center;

    /* DARK SHADOW (background readable banane ke liye) */
    text-shadow:
        0 0 5px rgba(0,0,0,0.8),
        0 0 10px rgba(49, 47, 47, 0.7),
        0 0 20px rgba(212,175,55,0.6),
        0 0 30px rgba(173,216,230,0.4);
}

/* ================= MOBILE RESPONSIVE ONLY ================= */
@media screen and (max-width: 768px) {

    .hero-content {

        top: 50%;                 /* 👈 mobile me neeche */
        left: 50%;

        transform: translate(-50%, -50%);

        width: 90%;
        padding: 0 15px;

        margin-top: 0;            /* desktop margin remove */

        text-align: center;
    }

    .hero-title {

        font-size: 34px;          /* mobile font size */
        line-height: 1.3;

        word-break: break-word;
    }

}


/* ================= MISSION SECTION ================= */
.mission-section {
    padding: 60px 6%;
    background: linear-gradient(135deg, #fffaf0, #fff3c4, #ffe9a8);
    text-align: center;
}

/* ================= TITLE ================= */
.mission-title {
    font-size: 42px;
    font-weight: bold;
    color: #b8860b;
    margin-bottom: 40px;
text-align: center;
    text-shadow: 0 3px 10px rgba(0,0,0,0.15);
    margin-top: 20px;
}

/* ================= CONTENT BOX ================= */
.mission-box {
    max-width: 900px;
    margin: auto;

    background: #ffffff;
    padding: 35px;
    border-radius: 18px;

    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);

    text-align: left;
    position: relative;
    overflow: hidden;
font-weight: 600;
    transition: 0.3s ease;
}

/* HOVER EFFECT */
.mission-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(184, 134, 11, 0.25);
    border-color: gold;
}

/* GOLD LIGHT EFFECT */
.mission-box::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -60%;
    width: 200%;
    height: 200%;

    background: radial-gradient(circle, rgba(255,215,0,0.10), transparent 60%);
    transform: rotate(25deg);
}

/* TEXT STYLE */
.mission-box p {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
}
/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {

    .mission-section {
        padding: 50px 15px;   /* mobile me compact */
    }

    .mission-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .mission-box {
        padding: 20px;
        border-radius: 14px;

        /* slightly better mobile spacing */
        margin: 0 10px;

        /* subtle border for clean look */
        border: 1px solid rgba(255, 215, 0, 0.4);
    }

    .mission-box p {
        font-size: 14px;
        line-height: 1.6;
    }
}