/* =============================== RESET ================================ */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Arial, sans-serif; } /* =============================== HEADER (Mobile First) ================================ */ .header { background: linear-gradient(135deg, #f72585, #09b73d); border-radius: 16px; margin: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); display: flex; flex-direction: column; position: relative; z-index: 1000; overflow: visible; } /* =============================== TOP BAR ================================ */ .header-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; } /* BRAND */ .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 30px; color: #fff; } .brand img { height: 50px; width: 50px; padding: 4px; } .brand-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; } /* =============================== HAMBURGER ================================ */ .menu-toggle { font-size: 26px; background: none; border: none; cursor: pointer; color: #fff; } /* =============================== NAV (COLLAPSIBLE) ================================ */ .nav { height: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: height 0.35s ease; } /* EXPAND HEADER + NAV */ .nav.open { height: auto; padding: 12px 0 16px; } /* NAV LINKS */ .nav a, .dropdown-toggle { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 24px; text-decoration: none; color: #fff; background: rgba(255,255,255,0.08); border: none; text-align: center; width: 90%; border-radius: 10px; cursor: pointer; transition: background 0.2s ease; } .nav a:hover, .dropdown-toggle:hover { background: rgba(255,255,255,0.18); } /* =============================== DROPDOWN (CLICK ONLY) ================================ */ .nav-dropdown { width: 100%; display: flex; flex-direction: column; align-items: center; } .dropdown-icon { font-size: 12px; transition: transform 0.25s ease; } .nav-dropdown.open .dropdown-icon { transform: rotate(180deg); } .dropdown-menu { display: none; flex-direction: column; width: 85%; margin-top: 6px; gap: 4px; } .nav-dropdown.open .dropdown-menu { display: flex; } .dropdown-menu a { font-size: 14px; padding: 10px; background: rgba(0,0,0,0.25); border-radius: 8px; } /* =============================== DESKTOP LAYOUT ================================ */ @media (min-width: 768px) { .menu-toggle { display: none; } .header { flex-direction: row; align-items: center; padding: 0 28px; } .header-top { padding: 18px 0; } .nav { max-height: none; overflow: visible; flex-direction: row; align-items: center; gap: 18px; margin-left: auto; padding: 0; } .nav.open { padding: 0; } .nav a, .dropdown-toggle { width: auto; background: transparent; padding: 10px 14px; border-radius: 8px; } .nav-dropdown { width: auto; position: relative; } .dropdown-menu { position: absolute; top: 120%; left: 0; width: 200px; background: #fff; border-radius: 10px; padding: 8px; box-shadow: 0 10px 24px rgba(0,0,0,0.15); z-index: 1000; } .dropdown-menu a { background: transparent; color: #333; text-align: left; } .dropdown-menu a:hover { background: #f1f1f1; } } /* =============================== FEEDBACK MODAL ================================ */ .modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); display: none; align-items: center; justify-content: center; z-index: 9999; } .modal-overlay.open { display: flex; } .modal-box { width: 92%; max-width: 640px; height: 85vh; background: #fff; border-radius: 14px; overflow: hidden; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.25); } .modal-box iframe { width: 100%; height: 100%; border: none; } .modal-close { position: absolute; top: 10px; right: 20px; background: rgba(0,0,0,0.6); color: #fff; border: none; font-size: 18px; padding: 6px 10px; border-radius: 50%; cursor: pointer; z-index: 10; }