/* ==========================================================
   IIPE MOBILE PRODUCTION CSS — v4.0
   Minimal | Clean | Zero Desktop Impact | Cross-Device
========================================================== */

/* DESKTOP SAFE - Mobile elements hidden */
@media (min-width: 769px) {
  .mobile-hamburger,
  .mobile-menu-panel {
    display: none !important;
  }
}

/* MOBILE ONLY - No desktop styles affected */
@media (max-width: 768px) {

  /* ----- GLOBAL RESET ----- */
  html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }
  
  * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
  }

  /* ----- HEADER STRUCTURE ----- */
  .header {
    padding: 10px 0 !important;
    width: 100% !important;
  }

  .header .container {
    width: 100% !important;
    padding: 0 16px !important;
    position: relative !important;
  }

  /* ----- LOGO + HAMBURGER ROW ----- */
  .logo {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 60px !important;
  }

  .logo img {
    max-width: 140px !important;
    height: auto !important;
  }

  /* ----- HAMBURGER BUTTON ----- */
  .mobile-hamburger {
    position: absolute !important;
    right: 16px !important;
    top: 12px !important;
    width: 42px !important;
    height: 42px !important;
    background: #153C60 !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
  }

  .mobile-hamburger span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    background: #fff !important;
    margin: 3px 0 !important;
    transition: 0.3s ease !important;
  }

  .mobile-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px) !important;
  }

  .mobile-hamburger.active span:nth-child(2) {
    opacity: 0 !important;
  }

  .mobile-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px) !important;
  }

  /* ----- SUB-HEADER (Keep visible) ----- */
  .sub-header {
    display: block !important;
    width: 100% !important;
  }

  .top-nav {
    display: none !important;
  }

  /* ----- CONTACT ROW - VERTICAL ----- */
  .cart-info {
    width: 100% !important;
    margin: 15px 0 20px !important;
    clear: both !important;
  }

  .cart-info ul {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .cart-info ul li {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #eaeaea !important;
  }

  .cart-info ul li:last-child {
    border-bottom: none !important;
  }

  .cart-info ul li img {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0 !important;
  }

  .cart-info ul li a,
  .cart-info ul li span {
    font-size: 14px !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
    flex: 1 !important;
  }

  /* Remove separators */
  .cart-info ul li .bar,
  .cart-info ul li span:contains("|"),
  .cart-info ul li:after,
  .cart-info ul li:before,
  .bar {
    display: none !important;
  }

  /* ----- MOBILE MENU PANEL ----- */
  .mobile-menu-panel {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 85% !important;
    max-width: 360px !important;
    height: 100vh !important;
    background: #fff !important;
    z-index: 9999 !important;
    transition: left 0.3s ease !important;
    overflow-y: auto !important;
    padding: 80px 20px 30px !important;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1) !important;
  }

  .mobile-menu-panel.active {
    left: 0 !important;
  }

  .mobile-menu-content ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .mobile-menu-content li {
    margin-bottom: 2px !important;
  }

  .mobile-menu-content a {
    display: block !important;
    padding: 15px 12px !important;
    text-decoration: none !important;
    color: #153C60 !important;
    font-size: 16px !important;
    border-bottom: 1px solid #f0f0f0 !important;
  }

  /* ----- SLIDER - FULL WIDTH ----- */
  .callbacks_container,
  .rslides,
  .rslides li,
  .banner,
  .slider {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .rslides img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* ----- WELCOME NOTE CENTERED ----- */
  .callbacks_container .caption,
  .callbacks_container .slider-text,
  .banner-text,
  .welcome-note,
  .slide-text {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    text-align: center !important;
    padding: 20px 15px !important;
    margin: 0 auto !important;
  }

  .callbacks_container h1,
  .callbacks_container h2,
  .callbacks_container h3,
  .callbacks_container p,
  .welcome-note h1,
  .welcome-note h2,
  .welcome-note p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* ----- GALLERY FIX ----- */
  .amazingslider-wrapper,
  .amazingslider {
    max-width: 100% !important;
    padding: 0 10px !important;
  }

  .amazingslider img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  /* ----- BUTTONS RESPONSIVE ----- */
  .as-btn-blue-large,
  .as-btn-blueborder-large,
  .as-btn-orange-large,
  .as-btn-orangeborder-large,
  .as-btn-white-large,
  .as-btn-whiteborder-large,
  .as-btn-navy-large {
    width: 100% !important;
    max-width: 280px !important;
    margin: 10px auto !important;
    display: block !important;
    text-align: center !important;
    white-space: normal !important;
    font-size: 18px !important;
    padding: 12px 20px !important;
  }

  /* ----- FLOAT CLEAR ----- */
  .header *,
  .sub-header *,
  .cart-info *,
  .logo *,
  .container * {
    float: none !important;
  }

  /* ----- BODY MENU STATE ----- */
  body.mobile-menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* ----- RESPONSIVE SIZES ----- */
  @media (max-width: 480px) {
    .logo img { max-width: 120px !important; }
    .mobile-hamburger { width: 40px; height: 40px; top: 10px; }
    .cart-info ul li a { font-size: 13px !important; }
    .cart-info ul li img { width: 20px; height: 20px; }
  }

  @media (max-width: 360px) {
    .logo img { max-width: 110px !important; }
    .mobile-hamburger { width: 38px; height: 38px; }
    .cart-info ul li a { font-size: 12px !important; }
    .cart-info ul li img { width: 18px; height: 18px; }
  }
}

/* ==========================================================
   AMAZING SLIDER GALLERY - MOBILE OPTIMIZATION
   Ensures gallery displays properly on all mobile devices
========================================================== */

@media (max-width: 768px) {
  
  /* ----- GALLERY CONTAINER FIX ----- */
  .amazingslider-wrapper-1,
  .amazingslider-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  
  /* ----- SLIDER CONTAINER FIX ----- */
  .amazingslider-slider-1,
  .amazingslider-slider {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
  
  /* ----- SLIDER SPACE/PLACEHOLDER ----- */
  .amazingslider-space-1,
  .amazingslider-space {
    width: 100% !important;
    height: auto !important;
    padding-bottom: 75% !important; /* 4:3 aspect ratio - adjust as needed */
    position: relative !important;
  }
  
  /* ----- IMAGE BOX CONTAINER ----- */
  .amazingslider-img-box-1,
  .amazingslider-img-box {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  /* ----- SLIDER IMAGES ----- */
  .amazingslider-img-elem-1,
  .amazingslider-img-elem {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-width: 100% !important;
  }
  
  /* ----- FIX FOR IMAGE SIZING ----- */
  .amazingslider-img-elem-1,
  .amazingslider-img-elem {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    left: 0 !important;
    top: 0 !important;
  }
  
  /* ----- FIX FOR IMAGES WITH MARGIN LEFT (FIT MODE) ----- */
  .amazingslider-img-elem-1[style*="margin-left"],
  .amazingslider-img-elem[style*="margin-left"] {
    margin-left: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    left: 0 !important;
  }
  
  /* ----- FIX FOR IMAGES WITH MARGIN TOP (FIT MODE) ----- */
  .amazingslider-img-elem-1[style*="margin-top"],
  .amazingslider-img-elem[style*="margin-top"] {
    margin-top: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    top: 0 !important;
  }
  
  /* ----- NAVIGATION (BULLETS/THUMBNAILS) ----- */
  .amazingslider-nav-1,
  .amazingslider-nav {
    position: relative !important;
    width: 100% !important;
    margin: 10px auto !important;
    bottom: auto !important;
    left: auto !important;
  }
  
  /* ----- NAVIGATION CONTAINER ----- */
  .amazingslider-nav-container-1,
  .amazingslider-nav-container {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 0 !important;
    padding: 5px 0 !important;
  }
  
  /* ----- BULLET WRAPPER (THUMBNAIL CONTAINER) ----- */
  .amazingslider-bullet-wrapper-1,
  .amazingslider-bullet-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    width: auto !important;
    margin: 0 auto !important;
  }
  
  /* ----- INDIVIDUAL BULLETS/THUMBNAILS ----- */
  .amazingslider-bullet-1,
  .amazingslider-bullet {
    flex: 0 0 auto !important;
    width: 60px !important;
    height: 45px !important;
    margin: 0 5px !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
  }
  
  /* ----- THUMBNAIL IMAGES ----- */
  .amazingslider-bullet-img-1,
  .amazingslider-bullet-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  
  /* ----- ARROWS - POSITIONING FIX ----- */
  .amazingslider-arrow-left-1,
  .amazingslider-arrow-left,
  .amazingslider-arrow-right-1,
  .amazingslider-arrow-right {
    width: 30px !important;
    height: 30px !important;
    background-size: contain !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
  }
  
  .amazingslider-arrow-left-1,
  .amazingslider-arrow-left {
    left: 5px !important;
  }
  
  .amazingslider-arrow-right-1,
  .amazingslider-arrow-right {
    right: 5px !important;
  }
  
  /* ----- PLAY VIDEO BUTTON ----- */
  .amazingslider-play-1,
  .amazingslider-play {
    width: 50px !important;
    height: 50px !important;
    background-size: contain !important;
    margin-left: -25px !important;
    margin-top: -25px !important;
  }
  
  /* ----- TIMER BAR ----- */
  .amazingslider-timer-1,
  .amazingslider-timer {
    height: 2px !important;
  }
  
  /* ----- TEXT BOX - POSITIONING ----- */
  .amazingslider-text-box-1,
  .amazingslider-text-box {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(0,0,0,0.5) !important;
    color: #fff !important;
    padding: 10px !important;
    font-size: 14px !important;
    text-align: center !important;
    z-index: 5 !important;
  }
  
  /* ----- TEXT TITLE ----- */
  .amazingslider-title-1,
  .amazingslider-title {
    font-size: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* ----- TEXT DESCRIPTION ----- */
  .amazingslider-description-1,
  .amazingslider-description {
    font-size: 12px !important;
    margin: 5px 0 0 !important;
    padding: 0 !important;
  }
  
  /* ----- VIDEO WRAPPER ----- */
  .amazingslider-video-wrapper-1,
  .amazingslider-video-wrapper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #000 !important;
    z-index: 20 !important;
  }
  
  /* ----- VIDEO CONTAINER ----- */
  .amazingslider-video-container-1,
  .amazingslider-video-container {
    width: 100% !important;
    height: 100% !important;
  }
  
  /* ----- VIDEO ELEMENT ----- */
  .slider-inline-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  
  /* ----- RESPONSIVE ADJUSTMENTS FOR SMALLER SCREENS ----- */
  @media (max-width: 480px) {
    .amazingslider-bullet-1,
    .amazingslider-bullet {
      width: 50px !important;
      height: 38px !important;
    }
    
    .amazingslider-arrow-left-1,
    .amazingslider-arrow-left,
    .amazingslider-arrow-right-1,
    .amazingslider-arrow-right {
      width: 25px !important;
      height: 25px !important;
    }
    
    .amazingslider-title-1,
    .amazingslider-title {
      font-size: 14px !important;
    }
    
    .amazingslider-description-1,
    .amazingslider-description {
      font-size: 11px !important;
    }
  }
  
  @media (max-width: 360px) {
    .amazingslider-bullet-1,
    .amazingslider-bullet {
      width: 40px !important;
      height: 30px !important;
      margin: 0 3px !important;
    }
    
    .amazingslider-title-1,
    .amazingslider-title {
      font-size: 12px !important;
    }
  }
  
  /* ----- FIX FOR CANVAS ELEMENTS (KEN BURNS EFFECT) ----- */
  .amazingslider-img-canvas-1,
  .amazingslider-img-canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  
  /* ----- FIX FOR SLICE TRANSITIONS ----- */
  .amazingslider-img-slice-1,
  .amazingslider-img-slice {
    width: 100% !important;
    height: 100% !important;
  }
  
  /* ----- ENSURE ALL IMAGES ARE VISIBLE ----- */
  .amazingslider img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* ----- PREVENT OVERFLOW ISSUES ----- */
  .amazingslider-box-1,
  .amazingslider-box {
    overflow: hidden !important;
  }
  
  /* ----- FIX FOR 3D TRANSFORMS ON MOBILE ----- */
  .amazingslider-img-cube-wrapper-1,
  .amazingslider-img-cube-wrapper {
    transform-style: flat !important;
  }
}
/* ==========================================================
   MOBILE GALLERY FIX - PRESERVE EXACT DESKTOP APPEARANCE
   NO CROPPING | NO STRETCHING | FULL TEXT VISIBLE
========================================================== */

@media (max-width: 768px) {
  
  /* ----- GALLERY WRAPPER - EXACT SAME AS DESKTOP ----- */
  .amazingslider-wrapper-1,
  .amazingslider-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  
  /* ----- SLIDER CONTAINER - PRESERVE ASPECT RATIO ----- */
  .amazingslider-slider-1,
  .amazingslider-slider {
    width: 100% !important;
    height: auto !important;
    position: relative !important;
  }
  
  /* ----- SPACE CONTAINER - MAINTAIN ORIGINAL RATIO ----- */
  .amazingslider-space-1,
  .amazingslider-space {
    width: 100% !important;
    height: auto !important;
    padding-bottom: 56.25% !important; /* 16:9 aspect ratio - adjust to match your slider */
    position: relative !important;
    visibility: visible !important;
  }
  
  /* ----- IMAGE BOX - ABSOLUTE POSITIONING INSIDE SPACE ----- */
  .amazingslider-img-box-1,
  .amazingslider-img-box {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  /* ----- IMAGES - CONTAIN MODE (NO CROPPING) ----- */
  .amazingslider-img-elem-1,
  .amazingslider-img-elem,
  .amazingslider img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* CRITICAL: Shows FULL image, no cropping */
    object-position: center !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    left: 0 !important;
    top: 0 !important;
  }
  
  /* ----- REMOVE ANY MARGIN OFFSETS FROM DESKTOP ----- */
  .amazingslider-img-elem-1[style*="margin-left"],
  .amazingslider-img-elem[style*="margin-left"] {
    margin-left: 0 !important;
  }
  
  .amazingslider-img-elem-1[style*="margin-top"],
  .amazingslider-img-elem[style*="margin-top"] {
    margin-top: 0 !important;
  }
  
  .amazingslider-img-elem-1[style*="max-width"],
  .amazingslider-img-elem[style*="max-width"] {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* ----- TEXT OVERLAY - POSITIONED EXACTLY LIKE DESKTOP ----- */
  .amazingslider-text-box-1,
  .amazingslider-text-box {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 20px !important; /* Adjust to match desktop position */
    width: 100% !important;
    text-align: center !important;
    z-index: 10 !important;
    pointer-events: none !important;
    background: transparent !important; /* Remove any background */
  }
  
  /* ----- TEXT WRAPPER - MAINTAIN DESKTOP STYLING ----- */
  .amazingslider-text-wrapper-1,
  .amazingslider-text-wrapper {
    display: inline-block !important;
    background: rgba(0, 0, 0, 0.6) !important; /* Match desktop overlay */
    padding: 15px 25px !important;
    border-radius: 4px !important;
    max-width: 90% !important;
    margin: 0 auto !important;
  }
  
  /* ----- TITLE TEXT - EXACT DESKTOP STYLE ----- */
  .amazingslider-title-1,
  .amazingslider-title {
    font-size: 24px !important; /* Match desktop size */
    font-weight: bold !important;
    color: #fff !important;
    margin: 0 0 5px !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
  }
  
  /* ----- DESCRIPTION TEXT - EXACT DESKTOP STYLE ----- */
  .amazingslider-description-1,
  .amazingslider-description {
    font-size: 18px !important; /* Match desktop size */
    color: #fff !important;
    margin: 0 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
  }
  
  /* ----- SUB-TEXT (like dates) - PRESERVE STYLING ----- */
  .amazingslider-description-1 p,
  .amazingslider-description p,
  .amazingslider-description-1 div,
  .amazingslider-description div {
    font-size: inherit !important;
    color: inherit !important;
    margin: 0 !important;
  }
  
  /* ----- SILVER JUBILEE TEXT - SPECIFIC FIX ----- */
  .amazingslider-text-wrapper-1:contains("SILVER JUBILEE"),
  .amazingslider-text-wrapper:contains("SILVER JUBILEE") {
    background: rgba(0, 0, 0, 0.7) !important;
  }
  
  /* ----- ENSURE ALL TEXT IS VISIBLE ----- */
  .amazingslider-text-box-1 *,
  .amazingslider-text-box * {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
  }
  
  /* ----- NAVIGATION ARROWS - PROPER POSITIONING ----- */
  .amazingslider-arrow-left-1,
  .amazingslider-arrow-left {
    position: absolute !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    z-index: 20 !important;
    cursor: pointer !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
  }
  
  .amazingslider-arrow-right-1,
  .amazingslider-arrow-right {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    z-index: 20 !important;
    cursor: pointer !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
  }
  
  /* ----- PLAY BUTTON - PROPER POSITIONING ----- */
  .amazingslider-play-1,
  .amazingslider-play {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 64px !important;
    height: 64px !important;
    z-index: 15 !important;
    cursor: pointer !important;
    background-size: contain !important;
  }
  
  /* ----- BULLET NAVIGATION - HIDE ON MOBILE IF NEEDED ----- */
  .amazingslider-nav-1,
  .amazingslider-nav {
    display: none !important; /* Hide thumbnails on mobile to save space */
  }
  
  /* ============================================
     RESPONSIVE FONT SIZES - SCALE WITH SCREEN
     BUT PRESERVE PROPORTIONS
  ============================================ */
  @media (max-width: 600px) {
    .amazingslider-title-1,
    .amazingslider-title {
      font-size: 20px !important;
    }
    
    .amazingslider-description-1,
    .amazingslider-description {
      font-size: 16px !important;
    }
    
    .amazingslider-text-wrapper-1,
    .amazingslider-text-wrapper {
      padding: 12px 20px !important;
    }
  }
  
  @media (max-width: 480px) {
    .amazingslider-title-1,
    .amazingslider-title {
      font-size: 18px !important;
    }
    
    .amazingslider-description-1,
    .amazingslider-description {
      font-size: 14px !important;
    }
    
    .amazingslider-text-wrapper-1,
    .amazingslider-text-wrapper {
      padding: 10px 15px !important;
    }
  }
  
  @media (max-width: 360px) {
    .amazingslider-title-1,
    .amazingslider-title {
      font-size: 16px !important;
    }
    
    .amazingslider-description-1,
    .amazingslider-description {
      font-size: 12px !important;
    }
    
    .amazingslider-text-wrapper-1,
    .amazingslider-text-wrapper {
      padding: 8px 12px !important;
    }
  }
}
/* ==========================================================
   SAFE APPEND ONLY - HAMBURGER POSITION FIX & FOOTER COPYRIGHT
   NO EXISTING CODE MODIFIED | JUST ADD THESE LINES
========================================================== */

@media (max-width: 768px) {
  
  /* ----- HAMBURGER POSITION FIX - MOVE UP ----- */
  .mobile-hamburger {
    top: 4px !important; /* Changed from 12px to 4px - moves hamburger up */
    right: 16px !important;
  }
  
  /* Ensure hamburger doesn't overlap with extreme top */
  .logo {
    min-height: 50px !important; /* Slightly reduced to accommodate moved hamburger */
  }
  
  /* ----- FOOTER COPYRIGHT TEXT - SMALLER FONT ----- */
  .footer p,
  footer p,
  .footer div,
  footer div,
  [class*="footer"] p,
  [id*="footer"] p,
  .footer .copyright,
  footer .copyright,
  div:contains("©"),
  p:contains("©"),
  span:contains("©") {
    font-size: 11px !important; /* Smaller copyright text */
    line-height: 1.4 !important;
    margin: 5px 0 !important;
    opacity: 0.8 !important; /* Slightly faded for better hierarchy */
  }
  
  /* Specific fix for IIPE copyright text */
  .footer:contains("© 2021 , Indian Institution of Plant Engineers"),
  footer:contains("© 2021 , Indian Institution of Plant Engineers") {
    font-size: 11px !important;
  }
  
  /* Make all footer text slightly smaller */
  .footer,
  footer,
  [class*="footer"],
  [id*="footer"] {
    font-size: 12px !important;
  }
  
  /* Responsive adjustment for very small screens */
  @media (max-width: 480px) {
    .mobile-hamburger {
      top: 2px !important; /* Even higher on very small screens */
      width: 38px !important;
      height: 38px !important;
    }
    
    .footer p,
    footer p,
    .footer div,
    footer div {
      font-size: 10px !important;
    }
  }
  
  @media (max-width: 360px) {
    .mobile-hamburger {
      top: 0px !important;
      width: 36px !important;
      height: 36px !important;
    }
    
    .footer p,
    footer p,
    .footer div,
    footer div {
      font-size: 9px !important;
    }
  }
}
/* =====================================
   RESPONSIVE GALLERY IFRAME FIX
===================================== */

.gallery-frame-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-top: 70%; /* controls height ratio */
}

.gallery-frame-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================
   MOBILE MENU UPDATE — REMOVE HAMBURGER
   SHOW DESKTOP MENU IN 4 EQUAL COLUMNS
   ZERO DESKTOP IMPACT
========================================================== */

@media (max-width: 768px) {

  /* ----- REMOVE HAMBURGER & PANEL COMPLETELY ----- */
  .mobile-hamburger,
  .mobile-menu-panel {
    display: none !important;
  }

  /* ----- SHOW TOP NAV ----- */
  .top-nav {
    display: block !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  .top-nav ul {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* 4 equal columns */
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .top-nav ul li {
    width: 100% !important;
    text-align: center !important;
  }

  .top-nav ul li a {
    display: block !important;
    padding: 12px 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: #153C60 !important;
    color: #fff !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    white-space: normal !important;
    line-height: 1.3 !important;
  }

  .top-nav ul li a:hover {
    background: #0f2c46 !important;
  }

}
/* ==========================================================
   MOBILE LOGO SIZE FIX — SLIGHTLY BIGGER (v2)
   Clean | Balanced | No Desktop Impact
========================================================== */

@media (max-width: 768px) {

  .logo {
    min-height: auto !important;
    justify-content: center !important;
  }

  .logo img {
    width: 100% !important;
    max-width: 305px !important;   /* Increased from 285 */
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

}

/* Smaller devices fine-tune */
@media (max-width: 480px) {

  .logo img {
    max-width: 260px !important;
  }

}

@media (max-width: 360px) {

  .logo img {
    max-width: 235px !important;
  }

}

