/* ================= GLOBAL SAFETY FIX ================= */

/* ================= DESKTOP (DEFAULT) ================= */
.hamburger {
    display: none;   /* 🔥 laptop me hide */
}



* {
    box-sizing: border-box;
}

body {
    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;
}

/* 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 {
    width: 100%;
    display: block;
    position: relative;

    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;
}


/* 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%;
    right: 0;
left:auto;
    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 {
    background: #ffb6c1;   /* icecream pink */
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 {
    background: #ffc0cb;   /* icecream pink */

    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/corn.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 */
}
/* ================= GLOBAL SAFETY FIX ================= */
* {
    box-sizing: border-box;
}

body {
    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 {
    width: 100%;
    display: block;
    position: relative;

    padding-top: 15px;

    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;
}


/* 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 center align */
.hero .dropdown-menu {
    display: none;
    position: absolute;

    top: 120%;
    left: 50%;                /* ⭐ center point */
    transform: translateX(-50%); /* ⭐ perfect center */

    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 {
  
     background: #be5462;   /* icecream pink */

  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 {
    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/cornno1.jpg");
           background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), url("../images/cornno1.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 */
}

/* =========================================
   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: 100000;
    }

    .hamburger span {

        width: 28px;
        height: 3px;

        background: #fff;

        border-radius: 5px;

        display: block;
    }

    /* ================= MENU ================= */
    .menu {

        position: fixed;

        top: 73px;
        left: -100%;

        width: 80%;
height: calc(100vh - 200px); /* 🔥 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 ITEMS ================= */
    .menu li {

        width: 100%;

        padding: 0;
        list-style: none;
    }

    /* ================= LINKS ================= */
    .menu li a {

        color: #fff;

        display: block;

        padding: 14px 18px;

        text-decoration: none;
    }

    /* ================= 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;
  }
}

/* ================= DESKTOP ================= */

/* Laptop/Desktop par arrows hide */
.dropdown > a::after,
.dropdown-sub > a::after{
    content: "";
}

/* ================= MOBILE ONLY ================= */

@media screen and (max-width: 900px){

    .dropdown > a::after{
        content:"▼";
        font-size:12px;
        margin-left:10px;
    }

    .dropdown-sub > a::after{
        content:"▶";
        font-size:12px;
        margin-left:10px;
    }

}

/* 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-size: 70px;
    color: #fcfcfb;
    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;
    }

}

/* Section background gradient */
.experienced-team {
    margin-bottom: 0;
  text-align: center;
  position: relative;
  color:black;
        font-size:16px;
line-height: 1.8rem;
  background: linear-gradient(
      to bottom right,
      var(--icecream-pink),
      var(--soft-honey-tint),
      var(--icecream-mint)
    );
}

.experienced-team h1 {
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 700;
    color: #2b1a0f;
}


.experienced-team h2 {
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 700;
    color: #2b1a0f;
}

.experienced-team::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.2);
  z-index: 0;
}

/* Top tribute */
.top-tribute {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 15px;
}

.top-tribute img {
    margin-top: 10px;
  width: 200px;
  border-radius: 50%;
  border: 3px solid var(--golden);
  margin-bottom: 8px;
}

.top-tribute .tribute-text h2 {
  font-size: 22px;
  margin-bottom: 3px;
  color:black;
  font-weight: bold;
}

.top-tribute .tribute-text h3 {
  font-size: 19px;
  margin: 0px;
  font-weight: bold;
}

.top-tribute .tribute-text p {
  font-size: 16px;
font-weight: bold;
  color:black;
  margin-bottom: 8px;
}

/* Quote */
.team-quote {
    padding-top: 0;
    margin-top:0;
  font-size: 2rem;
  font-weight: bold;
  color:black;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

/* Team cards */
.team-cards {
    margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.team-card {
  background-color:var(--icecream-pink);
  opacity: 0.9; /* creamy soft look */
  padding: 20px;
  border-radius: 15px;
  width: 220px;
  transition: transform 0.3s, background 0.3s, opacity 0.3s;
}

.team-card img {
  width: 100%;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid var(--golden);
    color:black;

}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color:black;
}

.team-card p {
  font-size: 15px;
  color: var(--text-dark);
    color:black;
    font-weight: bold;
    

}

/* Hover effect using theme pink */
.team-card:hover {
  transform: translateY(-10px);
  background-color: var(--vanilla-bg);
  opacity: 1;
}

@media (max-width: 768px) {
  .team-cards {
    flex-direction: column;
    align-items: center;
  }

  .team-card {
    width: 80%;
  }

  .top-tribute img {
    width: 150px;
  }}
/* ================= EXPERIENCED TEAM - MOBILE ONLY ================= */
@media (max-width: 768px) {

    .experienced-team {
        padding: 40px 15px !important;
        font-size: 14px !important;
        line-height: 1.6rem !important;
    }

    /* HEADINGS */
    .experienced-team h1,
    .experienced-team h2 {
        font-size: 24px !important;
        text-align: center;
    }

    /* TOP TRIBUTE */
    .top-tribute {
        margin-bottom: 30px !important;
        padding: 0 10px;
    }

    .top-tribute img {
        width: 140px !important;
        height: 140px !important;
    }

    .top-tribute .tribute-text h2 {
        font-size: 18px !important;
    }

    .top-tribute .tribute-text h3 {
        font-size: 16px !important;
    }

    .top-tribute .tribute-text p {
        font-size: 14px !important;
    }

    /* QUOTE */
    .team-quote {
        font-size: 20px !important;
        padding: 0 10px;
    }

    /* TEAM CARDS */
    .team-cards {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .team-card {
        width: 85% !important;
        padding: 18px !important;
    }

    .team-card img {
        width: 120px !important;
        height: 120px !important;
        margin: 0 auto 10px;
        display: block;
    }

    .team-card h3 {
        font-size: 18px !important;
    }

    .team-card p {
        font-size: 14px !important;
    }

    /* REMOVE OVERLAY ISSUE ON MOBILE */
    .experienced-team::before {
        background: rgba(0,0,0,0.1) !important;
    }
}

