/* Premium Navigation Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.premium-navbar {
    transition: transform 0.3s ease, opacity 0.3s ease, pointer-events 0.3s ease;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Premium Navbar */
.premium-navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 0 2%;
}
body {
    scroll-padding-top: 80px; /* Height of your navbar */
}

.premium-logo a {
    display: block;
}

.premium-logo img {
    height: 75px;
    width: 100%;
}

/* Premium Hamburger Icon */
.premium-hamburger {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

.premium-hamburger span {
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.premium-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.premium-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.premium-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Premium Menu Overlay */
.premium-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #111;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    visibility: hidden;
    overflow-y: auto;
}

.premium-menu-overlay.active {
    visibility: visible;
}

.premium-menu-container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    padding: 0 50px;
    gap: 100px;
}

.premium-menu-left {
    flex: 1;
    padding: 5%;
    padding-top:10% !important;
}
ul{
    padding-left: 0% !important;
}
.premium-menu-right {
    flex: 1;
    position: relative;
}

.premium-menu-overlay {
    background: #050505;
    color: #f5f5f5;
    padding: clamp(40px, 8vh, 80px) max(32px, 4vw) clamp(32px, 6vh, 72px);
}

.premium-menu-overlay .premium-menu-container {
    align-items: stretch;
    gap: clamp(36px, 6vw, 120px);
    padding: 0;
}

.premium-menu-overlay .premium-menu-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: clamp(24px, 5vh, 72px);
    padding: 0;
}

.premium-menu-overlay .premium-main-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(18px, 3vh, 40px);
}

.premium-menu-overlay .premium-main-menu li {
    display: flex;
    align-items: center;
    gap: clamp(16px, 1vw, 32px);
    margin-bottom: 0;
    width: 100%;
}

.premium-menu-overlay .premium-menu-index {
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.28);
    min-width: 48px;
    text-align: right;
    transition: color 0.3s ease;
}

.premium-menu-overlay .premium-main-menu li:hover .premium-menu-index {
    color: #12c694;
}

.premium-menu-overlay .premium-main-menu li:has(.premium-menu-item.active) .premium-menu-index {
    color: #12c694;
}

.premium-menu-overlay .premium-menu-item {
    display: inline-flex;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
    font-size: clamp(30px, 5.5vw, 68px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.premium-menu-overlay .premium-main-menu li:hover .premium-menu-item,
.premium-menu-overlay .premium-main-menu .premium-menu-item.active {
    color: #12c694;
    font-weight: 300;
}

.premium-menu-overlay .premium-main-menu li:hover .premium-menu-item::after,
.premium-menu-overlay .premium-main-menu .premium-menu-item.active::after {
    opacity: 1;
    transform: scale(1);
}

.premium-menu-overlay .premium-menu-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: clamp(24px, 4vw, 48px);
    color: rgba(255, 255, 255, 0.6);
    min-height: clamp(280px, 45vh, 520px);
    height: 100%;
}

.premium-menu-overlay .premium-submenu h3 {
    font-size: clamp(12px, 1.1vw, 18px);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: clamp(24px, 4vw, 40px);
    align-items: flex-start;
}

.premium-menu-overlay .premium-submenu h3 {
    font-size: clamp(12px, 1.1vw, 18px);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: clamp(24px, 4vw, 40px);
}

.premium-menu-overlay .premium-submenu ul {
    gap: clamp(12px, 2vw, 20px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.premium-menu-overlay .premium-submenu ul li {
    margin-bottom: clamp(4px, 1.2vh, 12px);
}

.premium-menu-overlay .premium-submenu ul li a {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    transition: color 0.3s ease;
    white-space: nowrap;
    line-height: 1;
}

.premium-menu-overlay .premium-submenu ul li a:hover {
    color: #12c694;
}

/* Premium Main Menu */
.premium-main-menu {
    list-style: none;
}

.premium-main-menu li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

/* Chevron for submenu items - HIDDEN BY DEFAULT */
.premium-has-submenu::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 24px;
    transition: all 0.3s ease;
    display: none;
}

.premium-has-submenu.submenu-open::after {
    transform: translateY(-50%) rotate(90deg);
    color: #12C694;
}
/* Mobile Arrow Styles */
.premium-submenu-arrow {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 20px;
  color: #666;
  margin-left: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block !important;
}

.premium-has-submenu.submenu-open .premium-submenu-arrow {
  transform: rotate(90deg);
  color: #12C694;
}

/* Remove the old ::after pseudo-element on mobile */
@media (max-width: 767px) {
  .premium-has-submenu::after {
    display: none !important;
  }
}

.premium-main-menu .premium-menu-item {
    font-size: 48px;
    font-weight: 300;
    color: #FFFFFF;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
    cursor: pointer;
}

.services-sub-menu-item {
    display: flex;
    font-weight: 300;
    flex-direction: column;
    gap: 0px;
    justify-content: center;
}
.services-sub-menu-item-desktop {
    display: flex;
    flex-direction: row;
    gap: 0px;
    justify-content: flex-start;
}
.premium-menu-overlay .services-sub-menu-item-desktop {
    gap: clamp(32px, 5vw, 80px);
}

.premium-main-menu .premium-menu-item:hover,
.premium-main-menu .premium-menu-item.active {
    color: #fff;
}

/* Premium Submenu - Desktop Default */
.premium-submenu {
    position: absolute;
    top: 0;
    left: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    font-weight: 400;
}

.premium-submenu.active {
    opacity: 1;
    visibility: visible;
}

.premium-submenu h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 30px;
}

.premium-submenu ul {
    list-style: none;
}

.premium-submenu ul li {
    margin-bottom: 15px;
}

.premium-submenu ul li a {
    font-size: 24px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.premium-submenu ul li a:hover {
    color: #fff;
}

.premium-menu-overlay .premium-menu-right .premium-submenu {
    position: absolute;
    top: 50%;
    bottom: auto;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
}

.premium-menu-overlay .premium-menu-right .premium-submenu h3 {
    margin-bottom: clamp(12px, 2.5vh, 28px);
}

.premium-menu-overlay .premium-menu-right .premium-submenu ul li {
    margin-bottom: clamp(6px, 1.4vh, 16px);
}

@media (min-width: 768px) {
    .premium-menu-overlay .premium-menu-container {
        height: 100%;
    }
}

/* ========================================
   MOBILE RESPONSIVE (max-width: 767px)
   ======================================== */
@media (max-width: 767px) {
    .premium-navbar {
        height: 70px;
        position: relative;
        padding: 1rem;
    }

    .premium-logo img {
        height: 60px;
    }

    .premium-hamburger {
        width: 26px;
        position: absolute;
        right: 1rem;
    }

    .premium-menu-overlay {
        align-items: flex-start;
        padding-top: 100px;
        padding-left: 24px;
        padding-right: 24px;
        /* ALLOW INTERNAL SCROLL */
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .premium-menu-container {
        flex-direction: column;
        gap: 20px;
        padding: 0;
        padding-bottom: 50px;
        width: 100%;
        display: flex;
    }

    /* Hide desktop menu-right on mobile */
    .premium-menu-right {
        display: none !important;
        position: relative !important;
        flex: none !important;
    }

    .premium-menu-left {
        width: 100%;
        gap: 0;
        padding: 0;
    }

    .premium-main-menu {
        width: 100%;
        gap: 0;
    }

    .premium-main-menu li {
        margin-bottom: 0;
        gap: 12px;
        width: 100%;
        flex-wrap: wrap;
    }

    .premium-main-menu .premium-menu-item {
        font-size: 28px;
        gap: 12px;
    }

    .premium-menu-overlay .premium-menu-index {
        font-size: 14px;
        min-width: 38px;
    }

    .premium-menu-overlay .premium-menu-item {
        font-size: clamp(24px, 8vw, 42px);
    }

    /* Show chevron on mobile for submenu items */
    .premium-has-submenu::after {
        display: block;
        font-size: 20px;
        right: auto;
        position: relative;
        transform: rotate(0deg) !important;
        margin-left: 12px;
    }

    .premium-has-submenu.submenu-open::after {
        transform: rotate(90deg) !important;
    }

    /* Mobile Submenu Styles - INLINE IN MAIN MENU */
    .premium-submenu {
        position: static !important;
        display: none;
        max-height: 0;
        overflow: hidden;
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
        transform: none !important;
        width: 100%;
        padding: 0% 6%;
    }

    .premium-submenu.active {
        display: block;
    }

    .premium-submenu h3 {
        font-size: 11px;
        letter-spacing: 0.28em;
        text-transform: uppercase;
        font-weight: 300;
        color: rgba(255, 255, 255, 0.45);
        margin-bottom: 12px;
        margin-top: 15px;
    }

    .premium-submenu ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-flow: column;
        gap: 8px 15px;
        align-items: start;
        margin-bottom: 20px;
    }

    /* Services submenu: 8 items total */
    #services-submenu ul {
        grid-template-rows: repeat(4, auto);
    }

    /* Digital Marketing submenu: 7 items total */
    #digital-submenu ul {
        grid-template-rows: repeat(4, auto);
    }

    .premium-submenu ul li {
        margin-bottom: 0;
        list-style: none;
        opacity: 1 !important;
        transform: none !important;
    }

    .premium-submenu ul li a {
        font-size: 14px;
        line-height: 1.4;
        word-wrap: break-word;
        color: rgba(255, 255, 255, 0.75);
        font-weight: 300;
        transition: color 0.3s ease;
        display: inline;
    }

    .premium-submenu ul li a:hover {
        color: #12c694;
    }

    /* Wrapper for submenus to appear inline */
    .premium-submenu-wrapper {
        width: 100%;
        display: contents;
    }
}

/* Very Small Screens (max-width: 320px) */
@media (max-width: 320px) {
    .premium-navbar {
        height: 60px;
        padding: 0.5rem;
    }

    .premium-logo img {
        height: 50px;
    }

    .premium-hamburger {
        width: 24px;
        right: 0.5rem;
    }

    .premium-menu-container {
        padding: 0;
    }

    .premium-main-menu .premium-menu-item {
        font-size: 24px;
    }

    .premium-submenu ul li a {
        font-size: 12px;
    }

    .premium-has-submenu::after {
        font-size: 18px;
    }

    /* Single column on very small screens */
    .premium-submenu ul {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        grid-template-rows: auto;
    }
}

/* Small Screens (321px - 480px) */
@media (min-width: 321px) and (max-width: 480px) {
    .premium-navbar{
        position: sticky;
    }
    .premium-main-menu .premium-menu-item {
        font-size: 26px;
    }

    .premium-submenu ul {
        gap: 8px 12px;
    }

    .premium-submenu ul li a {
        font-size: 13px;
    }
}

/* Medium Mobile (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .premium-main-menu .premium-menu-item {
        font-size: 28px;
    }

    .premium-submenu ul {
        gap: 10px 18px;
    }

    .premium-submenu ul li a {
        font-size: 15px;
    }
}

/* ========================================
   TABLET & DESKTOP (768px+)
   ======================================== */

/* Tablets (768px - 1200px) */
@media (min-width: 768px) and (max-width: 1200px) {
    .premium-navbar {
        height: 75px;
    }

    .premium-logo img {
        height: 75px;
    }

    .premium-hamburger {
        width: 28px;
    }

    .premium-menu-container {
        flex-direction: column;
        gap: 50px;
        padding: 0 35px;
    }

    .premium-menu-right {
        display: flex !important;
        position: relative !important;
        flex: 1 !important;
    }

    .premium-main-menu .premium-menu-item {
        font-size: 36px;
    }

    .premium-main-menu li {
        margin-bottom: 18px;
    }

    .premium-submenu ul li a {
        font-size: 20px;
    }

    .premium-submenu h3 {
        font-size: 13px;
        margin-bottom: 25px;
    }
}

/* Small Desktops (1201px - 1440px) */
@media (min-width: 1201px) and (max-width: 1440px) {
    .premium-menu-overlay{
        padding: clamp(40px, 8vh, 80px) max(0px, 2vw) clamp(32px, 6vh, 72px);
    }
    .premium-menu-overlay .premium-menu-right .premium-submenu {
        top: 70%;
        left: -25%;
    }     
    .premium-navbar {
        height: 80px;
    }

    .premium-logo img {
        height: 75px;
    }

    .premium-menu-container {
        flex-direction: row;
        gap: 80px;
        padding: 0 45px;
    }

    .premium-menu-right {
        display: flex !important;
        position: relative !important;
        flex: 1 !important;
    }

    .premium-main-menu .premium-menu-item {
        font-size: 32px;
    }

    .premium-submenu ul li a {
        font-size: 20px;
    }
}

/* Standard Desktops (1441px - 1640px) */
@media (min-width: 1441px) and (max-width: 1640px) {
    .premium-menu-overlay .premium-menu-right .premium-submenu {
        top: 60%;
    }      
    .premium-navbar {
        height: 85px;
    }

    .premium-logo img {
        height: 75px;
    }

    .premium-menu-container {
        flex-direction: row;
        gap: 100px;
        padding: 0 50px;
    }

    .premium-menu-right {
        display: flex !important;
        position: relative !important;
        flex: 1 !important;
    }

    .premium-main-menu .premium-menu-item {
        font-size: 42px;
    }

    .premium-submenu ul li a {
        font-size: 20px;
    }
}

/* Large Desktops (1641px - 1920px) */
@media (min-width: 1641px) and (max-width: 1920px) {
    .premium-menu-overlay .premium-menu-right .premium-submenu {
        top: 60%;
    }
    .premium-navbar {
        height: 90px;
        padding: 0 4%;
    }

    .premium-logo img {
        height: 75px;
    }

    .premium-menu-container {
        flex-direction: row;
        gap: 120px;
        padding: 0 60px;
        max-width: 1600px;
    }

    .premium-main-menu .premium-menu-item {
        font-size: 52px;
    }

    .premium-submenu ul li a {
        font-size: 26px;
    }

    .premium-submenu h3 {
        font-size: 15px;
    }
}

/* Extra Large Displays (1921px - 2560px) */
@media (min-width: 1921px) and (max-width: 2560px) {
    .premium-navbar {
        height: 100px;
        padding: 0 4%;
    }

    .premium-logo img {
        height: 75px;
    }

    .premium-menu-container {
        flex-direction: row;
        gap: 150px;
        padding: 0 80px;
        max-width: 1800px;
    }

    .premium-main-menu .premium-menu-item {
        font-size: 58px;
    }

    .premium-main-menu li {
        margin-bottom: 25px;
    }

    .premium-submenu ul li a {
        font-size: 28px;
    }

    .premium-submenu h3 {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .premium-submenu ul li {
        margin-bottom: 18px;
    }
}

/* Ultra Wide Displays (2561px+) */
@media (min-width: 2561px) {
    .premium-navbar {
        height: 120px;
        padding: 0 6%;
    }

    .premium-logo img {
        height: 75px;
    }

    .premium-menu-container {
        flex-direction: row;
        gap: 200px;
        padding: 0 100px;
        max-width: 2200px;
    }

    .premium-main-menu .premium-menu-item {
        font-size: 64px;
    }

    .premium-main-menu li {
        margin-bottom: 30px;
    }

    .premium-submenu ul li a {
        font-size: 32px;
    }

    .premium-submenu h3 {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .premium-submenu ul li {
        margin-bottom: 20px;
    }
}