/* load Font Awesome (required for <i class="fas fa-...">) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* -------------------------------
   General Reset and Base Styles
---------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Special button*/
@import url(" https:/fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap"); *,

*:before,
*:after {
  margin: 0; 
  padding: 0;
  box-sizing: border-box;
}

.learns-more-btn{
  all: unset;
  font-size: 24px;
  margin-top: 100px;
  padding: 14px 52px;
  background: rgba(0, 123, 255, 0.225);
  color: #fefefe;
  text-transform: uppercase;
  position: relative;
  border-radius: 100px;
  cursor: pointer;
}

.learns-more-btn:hover > span
{
  color: hsl(var(--primary));
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.learns-more-btn > span {
   font-family: "Roboto";
   letter-spacing: normal;
   z-index: 10;
   transition: 0.25s;
}

:root {
    --primary: #006eff;
    --secondary: #000000;
    --dark: #1c1c1c;
    --light: #ffffff;
    --gray: #4a4a4aa1;
    --accent-glow: #1E90FF;
}

body {
  background-color: #bfbfbf;
  color: #1a1a1a;
  overflow-x: hidden;
  font-size: 16px;
}

.menu-icon {

    display: block; /* Ensures proper centering */
    width: clamp(32px, 5vw, 48px);
    height: clamp(32px, 5vw, 48px);
    flex-shrink: 0; /* Prevents icon from shrinking */
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(rgba(0, 0, 0, 0), rgb(0, 0, 0)),
        url('Images/Website.png') no-repeat center center;
    background-size: cover;
}

/* -------------------------------
   Navbar
---------------------------------*/
.navbar {
  width: 100%;
  background-color: #0000008c;
  padding: 1rem 3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 130px;
  height: auto;
  display: block;
}

/* -------------------------------
   Main Layout
---------------------------------*/
.content {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 5vw 3vw;
  gap: clamp(1.5vw, 2.5vw, 3vw);
  min-height: calc(100vh - 80px);
}

/* -------------------------------
   Left Section
---------------------------------*/
.left-section {
  flex: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: clamp(0.5vw, 1vw, 1.5vw);
  min-height: clamp(300px, 50vh, 600px);
}

.left-section h1 {
  font-size: clamp(2rem, 4vw, 3.125rem);
  font-weight: 400;
  margin-bottom: 1.5625rem;
  color: rgb(255, 255, 255);
}

.left-section p {
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 1.875rem;
  max-width: 600px;
}

.left-section h1 span{
    color: rgb(0, 72, 255)
}

.face iframe {
    width: 150% !important;
    height: 160% !important;
    border: none !important;
    outline: none !important;
    display: block !important;
    position: absolute !important;
    top: -28% !important;
    left: -10% !important;
    object-fit: fill !important;
}


/* Button heartbeat system */
:where(
  .learn-btn,
  .learn-more-btn,
  .cta .btn,
  .contact-form button.btn,
  .nav-btn,
  .button,
  .btn
) {
  --btn-padding: var(--btn-padding, 0.85rem 2.4rem);
  --btn-radius: var(--btn-radius, 999px);
  --btn-bg: rgba(0, 22, 64, 0.45);
  --btn-text: var(--light);
  --btn-shadow: rgba(26, 130, 255, 0.35);
  --heartbeat-speed: 2.8s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: var(--btn-padding);
  border: 2px solid var(--primary);
  border-radius: var(--btn-radius);
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-decoration: none;
  box-shadow: 0 0 0 var(--btn-shadow);
}

:where(
  .learn-btn,
  .learn-more-btn,
  .cta .btn,
  .contact-form button.btn,
  .nav-btn,
  .button,
  .btn
)::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -120%;
  width: 85%;
  height: 180%;
  background: linear-gradient(120deg, rgb(3, 120, 255) 10%, rgba(102, 188, 255, 0.35) 50%, rgba(0, 119, 255, 0.14) 90%);
  transform: translateX(-120%) rotate(18deg);
  opacity: 0;
  mix-blend-mode: screen;
  filter: blur(1px);
  pointer-events: none;
}

:where(
  .learn-btn,
  .learn-more-btn,
  .cta .btn,
  .contact-form button.btn,
  .nav-btn,
  .button,
  .btn
):hover,
:where(
  .learn-btn,
  .learn-more-btn,
  .cta .btn,
  .contact-form button.btn,
  .nav-btn,
  .button,
  .btn
):focus-visible {
  background: transparent;
  color: var(--primary);
  box-shadow: 0 0 12px rgba(26, 130, 255, 0.45), 0 10px 22px rgba(5, 36, 105, 0.35);
}

:where(
  .learn-btn,
  .learn-more-btn,
  .cta .btn,
  .contact-form button.btn,
  .nav-btn,
  .button,
  .btn
):hover::after,
:where(
  .learn-btn,
  .learn-more-btn,
  .cta .btn,
  .contact-form button.btn,
  .nav-btn,
  .button,
  .btn
):focus-visible::after {
  opacity: 1;
  animation: btn-glass-pulse 3.6s ease-in-out infinite;
}

:where(
  .learn-btn,
  .learn-more-btn,
  .cta .btn,
  .contact-form button.btn,
  .nav-btn,
  .button,
  .btn
):focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 130, 255, 0.25), 0 0 14px rgba(26, 130, 255, 0.35);
  animation: btn-border-heartbeat 2.8s ease-in-out infinite;
}

:where(
  .learn-btn,
  .learn-more-btn,
  .cta .btn,
  .contact-form button.btn,
  .nav-btn,
  .button,
  .btn
):hover,
:where(
  .learn-btn,
  .learn-more-btn,
  .cta .btn,
  .contact-form button.btn,
  .nav-btn,
  .button,
  .btn
):focus-visible {
  transform: translateY(-3px);
  animation: btn-border-heartbeat var(--heartbeat-speed) ease-in-out infinite;
}

@keyframes btn-glass-pulse {
  0% {
    transform: translateX(-160%) rotate(18deg);
    opacity: 0;
  }
  35% {
    opacity: 0.35;
  }
  55% {
    opacity: 0.6;
  }
  100% {
    transform: translateX(260%) rotate(18deg);
    opacity: 0;
  }
}

@keyframes btn-border-heartbeat {
  0%,
  100% {
    border-color: #1a82ff;
    box-shadow: 0 0 10px rgba(26, 130, 255, 0.35), 0 10px 20px rgba(5, 36, 105, 0.3);
  }
  30% {
    border-color: #4fb9ff;
    box-shadow: 0 0 22px rgba(79, 185, 255, 0.55), 0 14px 24px rgba(5, 36, 105, 0.35);
  }
  55% {
    border-color: #2d9cff;
    box-shadow: 0 0 16px rgba(45, 156, 255, 0.5), 0 12px 22px rgba(5, 36, 105, 0.32);
  }
  75% {
    border-color: #60c4ff;
    box-shadow: 0 0 28px rgba(96, 196, 255, 0.6), 0 16px 28px rgba(5, 36, 105, 0.4);
  }
}

.learn-btn {
  --btn-padding: 0.7rem 1.9rem;
  font-size: 0.875rem;
}

.slide .learn-btn {
  --btn-padding: 0.6rem 1.7rem;
  --btn-bg: transparent;
  font-size: 0.85rem;
}

.learn-more-btn {
  --btn-padding: 0.9rem 2.5rem;
  font-size: 0.95rem;
}

/* -------------------------------
   Right Section (White Box Grid)
---------------------------------*/
.right-section {
 flex: 1;
 background-color: #31313152;
 padding: clamp(0.9rem, 1.8vw, 1.8rem) clamp(1rem, 2vw, 2rem); /* Trimmer vertical space while keeping comfortable width */
 padding-top: clamp(1.4rem, 2.6vw, 2.4rem); /* Extra breathing room for the floating logo */
 min-height: clamp(260px, 48vh, 360px); /* Lower profile while preserving content area */
 display: flex;
 align-items: center; /* Ensures vertical centering */
 justify-content: center; /* Ensures horizontal centering */
 box-shadow: 0 10px 30px rgba(0,0,0,0.08);
 border-radius: 8px;
 position: relative; /* Anchors the logo */
 overflow: hidden; /* Prevents content from overflowing */
}

.menu-grid {
     display: grid;
     grid-template-columns: repeat(3, minmax(60px, 1fr));
     grid-auto-rows: 1fr;
     gap: clamp(0.75rem, 2vw, 1.5rem); /* Responsive gap that scales with screen size */
     margin: auto; /* Centers the grid horizontally and vertically */
     max-width: 100%; /* Prevents overflow on all devices */
     width: 100%;
     padding: 0; /* Remove any internal padding */
     margin-top: clamp(1.5rem, 6vw, 3rem);
     margin-bottom: clamp(1.5rem, 6vw, 3rem);
}


.menu-item {
    display: flex;
    flex-direction: column; /* Stacks icon and text vertically */
    align-items: center;   /* Centers icon and text horizontally */
    justify-content: center; /* Centers icon and text vertically within the item */
    text-decoration: none;
    color: white;
    padding: clamp(0.5rem, 1.5vw, 1rem) clamp(0.3rem, 1vw, 0.625rem); /* Responsive padding */
    aspect-ratio: 1 / 1;
    margin: 0; /* Ensures no unintended margin */
    border-radius: 8px;
    background: rgba(105, 105, 105, 0.217);
    border: 1px solid transparent;
    transition: transform 0.4s ease-in-out, background-color 0.4s ease-in-out, border-color 0.4s ease-in-out;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.7);
    gap: clamp(0.25rem, 0.8vw, 0.5rem); /* Responsive gap between icon and text */
    min-width: clamp(60px, 8vw, 120px);
    min-height: clamp(60px, 8vw, 120px);
}


/* -------------------------------
   Bottom Right Logo
---------------------------------*/
.logo-container {
  position: absolute;
  top: clamp(0.35rem, 1.2vw, 0.6rem);
  right: clamp(0.35rem, 1.2vw, 0.6rem);
  width: clamp(44px, 3.2vw, 58px);
  height: auto;
  z-index: 10;
  animation: logo-glow 2.5s infinite ease-in-out alternate;
  padding: clamp(0.2rem, 0.8vw, 0.4rem);
}

.logo-container img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgb(0, 0, 0));
  fill-opacity: var(--dark);
}

@keyframes logo-glow {
  0% {
    filter: drop-shadow(0 0 5px rgb(0, 115, 255)) drop-shadow(0 0 3px rgb(0, 0, 0));
  }
  50% {
    filter: drop-shadow(0 0 18px rgb(30, 143, 255)) drop-shadow(0 0 8px rgba(0, 102, 255, 0.5));
  }
  100% {
    filter: drop-shadow(0 0 5px rgba(30, 144, 255, 0.4)) drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
  }
}

.menu-item:hover {
    transform: scale(1.05) translateY(-5px);
    background: rgba(128, 128, 128, 0.358);
    border-color: var(--gray);
    animation: live-glow 1.6s ease-in-out infinite alternate;
}

.menu-item i {
    font-size: 1.5rem;
    margin-bottom: 0; /* REMOVED: Extra margin - gap handles spacing */
    color: white; /* Note: var(--text-light) is undefined, will default to browser's choice */
    transition: color 0.4s ease-in-out;
    flex-shrink: 0; /* Prevents icon from shrinking */
}

.menu-item:hover i {
    color: var(--light);
}

.menu-item span {
    font-size: clamp(0.65rem, 1.5vw, 0.95rem);
    font-weight: 400;
    /* CRITICAL FIX: REMOVED position: absolute; */
    position: relative; 
    /* REMOVED: margin-top - gap handles spacing */
    margin-top: 0; 
    height: fit-content;
    transition: color 0.4s ease-in-out;
    text-align: center; /* Ensures text is centered */
    line-height: 1.3; /* Prevents text from taking too much vertical space */
    max-width: 100%; /* Prevents text overflow */
    word-wrap: break-word; /* Allows long text to wrap */
}

.menu-item:hover span {
    color: var(--light);
}

/* Shop Div Styling */
.Shop {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    border-radius: 0;
    transition: all 0.3s ease;
    padding: 0;
    height: 26px;
    margin-top: 4px;
}

.Shop:hover {
    background-color: rgba(0, 110, 255, 0.1);
}

.Shop li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.Shop a {
    padding: 5px 8px;
    color: var(--light);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

@keyframes live-glow {
    0% {
        box-shadow: 0 0 5px var(--accent-glow), 0 0 10px rgba(30, 144, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 15px var(--accent-glow), 0 0 30px var(--accent-glow), 0 10px 30px rgba(30, 144, 255, 0.7);
    }
    100% {
        box-shadow: 0 0 5px var(--accent-glow), 0 0 10px rgba(30, 144, 255, 0.5);
    }
}

/* -------------------------------
   Responsive Adjustments
---------------------------------*/

/* Large Desktops and TVs (1920px+) */
@media (min-width: 1920px) {
  body {
    font-size: 18px;
  }

  .content {
    max-width: 1800px;
    margin: 0 auto;
  }

  .carousel-wrapper {
    max-width: 1600px;
  }
  
  .menu-grid {
    gap: clamp(1.2rem, 1.5vw, 1.8rem);
    max-width: 90%;
  }
  
  .right-section {
    padding: clamp(2rem, 2.5vw, 3.5rem);
  }
  
  .menu-item {
    padding: clamp(1rem, 1.3vw, 1.5rem) clamp(0.6rem, 0.9vw, 1rem);
  }
  
  .menu-icon {
    width: clamp(48px, 3vw, 56px);
    height: clamp(48px, 3vw, 56px);
  }
  
  .menu-item span {
    font-size: clamp(0.95rem, 1vw, 1.1rem);
  }
}

/* Medium Desktops and Laptops (1200px - 1440px) */
@media (max-width: 1440px) {
  .content {
    padding: 4vw 3vw;
    gap: 2.5vw;
  }



  .right-section {
    flex: 1;
    padding: clamp(1.2rem, 2.5vw, 2.5rem);
  }

  .menu-grid {
    gap: clamp(0.75rem, 1.8vw, 1.3rem);
    max-width: 92%;
  }
}

@media (max-width: 700px) {
  .content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .left-section {
    flex: 1 1 auto;
    width: 100%;
    max-width: 600px;
  }

  .right-section {
    flex: 1 1 auto;
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 1200px) {
  .left-section h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  }

  .menu-grid {
    gap: clamp(0.7rem, 1.6vw, 1.2rem);
    max-width: 90%;
  }

  .right-section {
    padding: clamp(1rem, 2.2vw, 2rem);
  }

  .menu-item {
    padding: clamp(0.5rem, 1.2vw, 0.9rem) clamp(0.3rem, 0.8vw, 0.5rem);
  }
}

/* Tablets and Medium Screens (768px - 1000px) */
@media (max-width: 1000px) {
  .left-section {
    margin-left: 5%;
  }

  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.6rem, 1.4vw, 1rem);
    margin: auto;
    max-width: 88%; /* Prevents overflow on tablets */
    width: 100%;
  }

  .right-section {
    padding: clamp(0.9rem, 2vw, 1.8rem);
  }

  .menu-item {
    margin: 0;
    padding: clamp(0.5rem, 1vw, 0.8rem) clamp(0.3rem, 0.7vw, 0.5rem);
  }

  .menu-item span {
    margin-top: 0;
    position: relative;
    text-align: center;
    line-height: 1.2;
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  }

  .menu-icon {
    width: clamp(36px, 5vw, 44px);
    height: clamp(36px, 5vw, 44px);
  }

  .logo-container {
    top: 0;
    right: 0;
    padding: 0.5rem;
    width: clamp(40px, 4vw, 50px);
  }

  .logo-containers {
    top: 0;
    right: 0;
    padding: 0.5rem;
    width: clamp(40px, 4vw, 50px);
  }
}

/* Stack vertically for smaller screens within 1000px breakpoint */
@media (max-width: 800px) {
  .content {
    flex-direction: column;
    min-height: auto;
  }

  .left-section {
    order: 2;
    padding-right: 0;
  }

  .right-section {
    order: 1;
    flex: 1;
    min-height: auto;
  }
}

/* Small Tablets and Large Phones (600px - 768px) */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
    min-height: auto;
    padding: 1vw 3vw;
    gap: 1vw;
  }

  .left-section {
    order: 2;
    padding-right: 0;
    margin-top: -2rem;
    min-height: 320px; /* Extended height */
  }

  .right-section {
    order: 1;
    flex: 1;
    padding: clamp(0.8rem, 1.8vw, 1.5rem);
    margin-bottom: 10%;
  }

  .menu-grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: clamp(0.8rem, 2vw, 1.2rem);
    margin: 0 auto;
    max-width: fit-content;
    width: 100%;
    justify-content: center;
    padding: 0 1rem;
  }

  .menu-item {
    padding: clamp(0.05rem, 0.1vw, 0.1rem);
    margin: 0;
    width: clamp(70px, 22vw, 90px);
    height: clamp(70px, 22vw, 90px);
    background: rgba(20, 30, 48, 0.28);
    border: 1px solid rgba(0, 112, 255, 0.32);
    box-shadow: 0 0 14px rgba(30, 144, 255, 0.6), 0 12px 26px rgba(0, 0, 0, 0.28);
  }

  .menu-item span {
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    margin-top: 0;
    position: relative;
    text-align: center;
    line-height: 1.2;
  }
  
  .menu-icon {
    width: clamp(32px, 6vw, 40px);
    height: clamp(32px, 6vw, 40px);
  }

  .logo-container {
    top: clamp(0.25rem, 1vw, 0.45rem);
    right: clamp(0.25rem, 1vw, 0.45rem);
    width: clamp(32px, 5vw, 42px);
    padding: clamp(0.15rem, 0.6vw, 0.3rem);
  }
  
  .logo-containers {
    top: clamp(0.25rem, 1vw, 0.45rem);
    right: clamp(0.25rem, 1vw, 0.45rem);
    width: clamp(32px, 5vw, 42px);
    padding: clamp(0.15rem, 0.6vw, 0.3rem);
  }
}

/* Mobile Phones (480px - 600px) */
@media (max-width: 600px) {
  body {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    background-color: #0f1217;
  }

  .navbar {
    padding: 1rem 1.5rem;
  }

  .logo img {
    width: clamp(96px, 28vw, 132px);
    max-width: 48vw;
  }

  .content {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: clamp(3rem, 8vw, 4rem) clamp(1.2rem, 5vw, 2.2rem);
    gap: clamp(2rem, 6vw, 2.75rem);
  }

  .left-section {
    order: 2;
    margin-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .left-section h1 {
    font-size: clamp(0.9rem, 3.4vw, 1.18rem);
    text-align: left;
    max-width: clamp(14ch, 52vw, 18ch);
    white-space: nowrap;
    letter-spacing: 0.0012em;
  }

  .left-section p {

  }

  .right-section {
    order: 1;
    flex: 1;
    width: 100%;
    padding: clamp(1.5rem, 5.4vw, 2.2rem) clamp(1.2rem, 5vw, 2.3rem);
    border-radius: 18px;
    background: rgba(38, 44, 55, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.38);
    margin-inline: auto;
  }

  .menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(58px, 1fr));
    gap: clamp(0.32rem, 1.2vw, 0.55rem);
    justify-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(0.18rem, 1vw, 0.45rem);
  }

  .menu-item {
    width: clamp(56px, 19vw, 82px);
    height: clamp(56px, 19vw, 82px);
    padding: clamp(0.16rem, 0.8vw, 0.36rem);
    gap: clamp(0.12rem, 0.7vw, 0.24rem);
    border-radius: 10px;
    background: rgba(20, 30, 48, 0.26);
    border: 1px solid rgba(0, 112, 255, 0.28);
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.38), 0 5px 14px rgba(0, 0, 0, 0.2);
  }

  .menu-item span {
    font-size: clamp(0.52rem, 1.5vw, 0.64rem);
    letter-spacing: 0.01em;
    line-height: 1.14;
  }
  
  .menu-icon {
    width: clamp(20px, 5.2vw, 26px);
    height: clamp(20px, 5.2vw, 26px);
  }

  .logo-container {
    top: clamp(0.18rem, 0.8vw, 0.36rem);
    right: clamp(0.18rem, 0.8vw, 0.36rem);
    width: clamp(16px, 9vw, 36px);
    padding: clamp(0.12rem, 0.6vw, 0.22rem);
    transform: translate(8%, -8%);
  }
  
  .logo-containers {
    position: absolute;
    top: clamp(0.18rem, 0.8vw, 0.36rem);
    right: clamp(0.18rem, 0.8vw, 0.36rem);
    width: clamp(30px, 11vw, 42px);
    padding: clamp(0.14rem, 0.65vw, 0.24rem);
    transform: translate(8%, -8%);
  }

  .about-section {
    flex-direction: column;
    height: auto;
    gap: clamp(2rem, 6vw, 2.75rem);
    padding: clamp(3rem, 8vw, 3.75rem) clamp(1.5rem, 6vw, 2.75rem);
    text-align: left;
  }

  .about-image {
    order: 1;
    width: 100%;
  }

  .about-image img {
    width: 100%;
    max-width: none;
    border-radius: 20px;
  }

  .about-content {
    order: 2;
    width: 100%;
    padding: 0;
  }

  .about-content p {
    font-size: clamp(0.9rem, 3.2vw, 1.02rem);
    line-height: 1.75;
    text-align: left;
  }

  .carousel-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .slide {
    position: relative;
  }

  .partners .container,
  footer .container {
    padding-inline: clamp(1.2rem, 5vw, 2rem);
  }
}

/* Small Mobile Phones (320px - 480px) */
@media (max-width: 480px) {
  .navbar {
    padding: 0.85rem 1.2rem;
  }

  .logo img {
    width: clamp(120px, 48vw, 150px);
    max-width: 50vw;
  }

  .content {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: clamp(3rem, 10vw, 4.2rem) clamp(1rem, 6vw, 2rem);
    gap: clamp(1.8rem, 6vw, 2.4rem);
  }

  .left-section {
    order: 2;
    padding-right: 0;
    width: 100%;
    margin-top: -3rem;
    min-height: 300px; /* Extended height */
  }

  .left-section h1 {
    font-size: clamp(0.62rem, 5.2vw, 1.48rem);
    max-width: clamp(12ch, 56vw, 18ch);
    white-space: nowrap;
    letter-spacing: 0.0025em;
  }

  .left-section p {
    font-size: clamp(0.62rem, 3.1vw, 0.78rem);
    line-height: 1.58;
    margin-bottom: clamp(1.25rem, 5vw, 1.8rem);
    max-width: clamp(2ch, 100vw, 68ch);
  }

  .right-section {
    order: 1;
    flex: 1;
    width: 100%;
    padding: clamp(1.4rem, 6vw, 2.2rem);
    border-radius: 20px;
    margin-inline: auto;
    margin-bottom: 10%;
  }

  .menu-grid {
    grid-template-columns: repeat(3, minmax(52px, 1fr));
    gap: clamp(0.28rem, 2.4vw, 0.65rem);
    justify-items: center;
  }

  .menu-item {
    width: clamp(54px, 28vw, 78px);
    height: clamp(54px, 28vw, 78px);
    padding: clamp(0.22rem, 1.6vw, 0.5rem);
    gap: clamp(0.16rem, 1.3vw, 0.32rem);
    border-radius: 12px;
    background: rgba(20, 30, 48, 0.22);
    border: 1px solid rgba(0, 112, 255, 0.24);
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.52), 0 8px 18px rgba(0, 0, 0, 0.24);
  }

  .menu-item span {
    font-size: clamp(0.58rem, 2.5vw, 0.76rem);
    line-height: 1.22;
  }
  
  .menu-icon {
    width: clamp(22px, 9vw, 32px);
    height: clamp(22px, 9vw, 32px);
  }

  .logo-container {
    top: clamp(0.35rem, 1.3vw, 0.55rem);
    right: clamp(0.35rem, 1.3vw, 0.55rem);
    width: clamp(26px, 14vw, 52px);
    padding: clamp(0.14rem, 0.75vw, 0.28rem);
    transform: translate(18%, -18%);
  }
  
  .logo-containers {
    position: absolute;
    top: clamp(0.35rem, 1.3vw, 0.55rem);
    right: clamp(0.35rem, 1.3vw, 0.55rem);
    width: clamp(30px, 16vw, 58px);
    padding: clamp(0.16rem, 0.8vw, 0.3rem);
    margin: 0;
    transform: translate(18%, -18%);
  }

  .about-section {
    gap: clamp(1.9rem, 6.4vw, 2.6rem);
    padding: clamp(3.2rem, 10vw, 4rem) clamp(1rem, 6vw, 2.2rem);
  }

  .about-content h1 {
    font-size: clamp(1.65rem, 7.4vw, 2.05rem);
  }

  .about-content p {
    font-size: clamp(0.9rem, 4.1vw, 1.02rem);
  }
}

/* --- Section Layout --- */
.core-services {
  background-color: #0d0d0d5d;
  color: white;
  text-align: center;
  padding: 5vw 0;
  overflow: hidden;
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 2.5rem;
  color: white;
}

/* --- Carousel Wrapper --- */
.carousel-wrapper {
  position: relative;
  width: 90%;
  max-width: 1400px;
  margin: auto;
  perspective: 1200px;
}

.carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s ease-in-out;
  height: 35vw;
  min-height: 400px;
  max-height: 600px;
}

/* --- Individual Slides --- */
.slide {
  position: absolute;
  width: clamp(300px, 30vw, 420px);
  background: #1a1a1a;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease-in-out;
}

.slide img {
  width: 100%;
  height: clamp(16px, 16.5w, 220x0);
  object-fit:fill;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.slide-info {
  padding: 1.25rem;
  height: auto;
}

.slide-info h3 {
  margin-bottom: 0.625rem;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}

.slide-info p {
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  color: #ccc;
  line-height: 1.5;
}

.slide .learn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 10px;
  padding: 0.6rem 1.7rem;
  background: rgba(0, 22, 64, 0.45);
  color: var(--light);
  border-radius: 9px;
  border: 2px solid var(--primary);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.slide .learn-btn::after {
  content: "";
  position: absolute;
  top: -45%;
  left: -120%;
  width: 85%;
  height: 180%;
  background: linear-gradient(120deg, rgb(3, 120, 255) 10%, rgba(102, 188, 255, 0.35) 50%, rgba(0, 119, 255, 0.14) 90%);
  transform: translateX(-120%) rotate(18deg);
  opacity: 0;
  mix-blend-mode: screen;
  filter: blur(1px);
  pointer-events: none;
}

.slide .learn-btn:hover,
.slide .learn-btn:focus-visible {
  background: transparent;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(26, 130, 255, 0.45), 0 10px 22px rgba(5, 36, 105, 0.35);
  outline: none;
  animation: btn-border-heartbeat 2.8s ease-in-out infinite;
}

.slide .learn-btn:hover::after,
.slide .learn-btn:focus-visible::after {
  opacity: 1;
  animation: btn-glass-pulse 3.6s ease-in-out infinite;
}

/* --- Active / Side Positions --- */
.slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 3;
}

.slide.left {
  opacity: 0.8;
  transform: translateX(calc(-1 * clamp(150px, 20vw, 260px))) scale(0.85) rotateY(20deg);
  z-index: 2;
}

.slide.right {
  opacity: 0.8;
  transform: translateX(clamp(150px, 20vw, 260px)) scale(0.85) rotateY(-20deg);
  z-index: 2;
}

/* --- Arrows --- */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 2px solid #1E90FF;
  color: #1E90FF;
  width: clamp(30px, 4vw, 44px);
  height: clamp(30px, 4vw, 44px);
  border-radius: 50%;
  cursor: pointer;
  font-size: clamp(1rem, 2vw, 22px);
  transition: all 0.3s ease;
  z-index: 10;
}

.nav-btn:hover {
  background: #1E90FF;
  color: white;
}

.prev { left: 5vw; }
.next { right: 5vw; }

/* Carousel Responsive */
@media (max-width: 1000px) {
  .carousel {
    height: 40vw;
    min-height: 350px;
  }

  .slide {
    width: clamp(280px, 35vw, 380px);
  }
}

@media (max-width: 768px) {
  .carousel {
    height: 50vw;
    min-height: 320px;
  }

  .slide {
    width: clamp(260px, 40vw, 340px);
  }

  .slide.left,
  .slide.right {
    transform: translateX(0) scale(0.7) rotateY(0deg);
    opacity: 0.5;
  }

  .nav-btn {
    width: clamp(35px, 5vw, 40px);
    height: clamp(35px, 5vw, 40px);
  }

  .prev { left: 2vw; }
  .next { right: 2vw; }
}

@media (max-width: 600px) {
  .carousel {
    height: 60vw;
    min-height: 280px;
    max-height: 450px;
  }

  .slide {
    width: clamp(240px, 70vw, 300px);
  }

  .slide.left,
  .slide.right {
    display: none;
  }

  .prev { left: 1vw; }
  .next { right: 1vw; }
}

@media (max-width: 480px) {
  .carousel {
    height: 70vw;
    min-height: 250px;
    max-height: 400px;
  }

  .slide {
    width: clamp(220px, 75vw, 280px);
  }

  .slide img {
    height: clamp(120px, 12vw, 180px);
  }

  .nav-btn {
    width: clamp(30px, 6vw, 36px);
    height: clamp(30px, 6vw, 36px);
    font-size: clamp(0.9rem, 1.8vw, 18px);
  }

  .prev { left: 0.5vw; }
  .next { right: 0.5vw; }
}

/* About Section Layout */
.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 0 5vw;
  padding-top: clamp(3.5rem, 8vw, 4.75rem);
  background: #e0e0e009;
  position: relative; /* Anchors the logo to this section */
  border: #005eff;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.about-content {
  flex: 1;
  padding: 0 3vw;
}

.about-content h1 {
  position: relative;
  display: inline-block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.5;
  color: white;
  padding-bottom: 0.75rem; /* Makes room for underline */
  margin-bottom: 1.5rem;
}

/* Horizontal line below the main heading text */
.about-content h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: currentColor;
}

.about-content h1 span {
  color: #005eff;
}

.about-content p {
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  line-height: 1.6;
  color: white;
  margin-bottom: 3rem;
  max-width: 520px;
}

.learn-more-btn {
  background: #111;
  color: #f5f5f5;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 5px;
  border: 2px solid var(--primary);
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.learn-more-btn:hover {
  background: #222;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

/* About Section Responsive */
@media (max-width: 1024px) {
  .about-section {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 5vw;
  }

  .about-image {
    margin-bottom: 2rem;
  }

  .about-image img {
    max-width: 450px;
  }

  .about-content {
    padding: 0 2vw;
  }

  .about-content h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  }

  .about-content p {
    max-width: 100%;
  }

  .learn-more-btn {
    padding: 0.9rem 2rem;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 6vw 4vw;
  }

  .about-image img {
    max-width: 100%;
    border-radius: 20px;
  }

  .about-content h1 {
    font-size: clamp(1.6rem, 5vw, 2rem);
    margin-bottom: 1.25rem;
  }

  .about-content p {
    font-size: clamp(0.85rem, 2vw, 1rem);
    margin-bottom: 2rem;
  }

  .learn-more-btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 8vw 5vw;
    height: auto;
  }

  .about-image img {
    border-radius: 15px;
  }

  .about-content h1 {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .about-content p {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .learn-more-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.8rem;
  }
}

.logo-containers {
  position: absolute;
  top: clamp(0.35rem, 1.2vw, 0.75rem);
  right: clamp(0.35rem, 1.2vw, 0.75rem);
  width: clamp(48px, 4vw, 68px);
  height: auto;
  z-index: 10;
  animation: logo-glow 2.5s infinite ease-in-out alternate;
  padding: clamp(0.2rem, 0.7vw, 0.45rem);
}

.logo-containers img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgb(0, 0, 0));
  fill-opacity: var(--dark);
}

/* Partners Section */
.partners {
  background: #5a5a5a37;
  padding: 5vw 0;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.section-title h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2.5rem;
}

.logo-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  width: calc(20vw * 20);
  animation: scroll 35s linear infinite;
}

.logo-item {
  flex: 0 0 20vw;
  max-width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1vw;
}

.logo-item img {
  width: 80%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
  filter: grayscale(10%);
  opacity: 0.75;
  transition: all 0.4s ease;
}

.logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Partners Section Responsive */
@media (max-width: 1024px) {
  .partners {
    padding: 6vw 0;
  }

  .logo-item {
    flex: 0 0 25vw;
  }

  .logo-track {
    width: calc(25vw * 20);
  }
}

@media (max-width: 768px) {
  .partners {
    padding: 7vw 0;
  }

  .section-title h2 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    margin-bottom: 2rem;
  }

  .logo-item {
    flex: 0 0 30vw;
    padding: 0 1rem;
  }

  .logo-track {
    width: calc(30vw * 20);
  }

  .logo-item img {
    width: 100%;
    max-width: 130px;
  }
}

@media (max-width: 480px) {
  .partners {
    padding: 8vw 0;
  }

  .section-title h2 {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  .logo-item {
    flex: 0 0 40vw;
    padding: 0 0.75rem;
  }

  .logo-track {
    width: calc(40vw * 20);
  }

  .logo-item img {
    max-width: 110px;
  }
}

/* ===== CTA SECTION ===== */
.cta {
    background: rgba(0, 0, 0, 0);
    color: #fff;
    text-align: center;
    padding: 5vw 2vw;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: pulse 6s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.4; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(0.9); opacity: 0.4; }
}

.cta p {
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    margin-bottom: 1.5625rem;
    letter-spacing: 0.5px;
}

.cta .btn {
    display: inline-block;
    background: #0000004d;
    color: #fff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.875rem 1.875rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    
}

.cta .btn:hover {
    background: #034aff;
    transform: translateY(-3px);
}

/* CTA Section Responsive */
@media (max-width: 768px) {
  .cta {
    padding: 6vw 4vw;
  }

  .cta p {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    margin-bottom: 1.25rem;
  }

  .cta .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .cta {
    padding: 8vw 5vw;
  }

  .cta p {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 1rem;
  }

  .cta .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.8rem;
  }
}

/* ===== FOOTER SECTION ===== */
footer {
    background: #000000;
    color: #ffffff;
    padding: 4vw 0 2.5vw;
    font-size: 0.9375rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5vw;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2.5rem;
    margin: 0 auto;
    justify-items: center;
    text-align: center;
    width: min(90%, 1200px);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 260px;
}

.footer-logo img {
    width: 130px;
    height: auto;
    max-width: 100%;
    display: block;
}

.footer-logo p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.footer-section h3 {
    color: #fff;
    margin: 0 auto 1.25rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 5px;
}

.footer-section p,
.footer-section li {
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #0077ff;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.social-icons a {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #4e4e4e;
    transform: scale(1.1);
}

footer .copyright {
    text-align: center;
    padding-top: 25px;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0.5px;
}

footer a {
    color: #ffffff;
}

footer a:hover {
    color: #0084ff;
}

/* Footer Responsive */
@media (max-width: 1024px) {
  footer {
    padding: 5vw 0 3vw;
  }

  .footer-content {
    gap: 3vw;
    padding-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 6vw 0 3.5vw;
    font-size: 0.875rem;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 4vw;
    margin-left: 4%;
    margin-right: 4%;
  }

  .footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .social-icons a {
    width: 36px;
    height: 36px;
  }

  footer .copyright {
    font-size: 13px;
    padding-top: 20px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 8vw 0 4vw;
    font-size: 0.8125rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 92vw;
    text-align: center;
    justify-items: center;
  }

  .footer-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .footer-section h3 {
    font-size: 1rem;
  }

  .footer-section h3::after {
    width: 100%;
    left: 0;
    right: 0;
  }

  .footer-section p,
  .footer-section ul,
  .footer-section li {
    text-align: center;
  }

  .footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .social-icons {
    justify-content: center;
    width: 100%;
  }

  .social-icons a {
    width: 34px;
    height: 34px;
  }

  footer .copyright {
    font-size: 12px;
    padding-top: 15px;
    text-align: center;
  }
}

/* ===== CONTACT SECTION ===== */
.contact .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.minimal-contact-grid {
    display: flex;
    flex-wrap: nowrap;
    min-height: 80vh;
}

.contact-image {
    flex: 1;
    max-width: 50%;
    background-color: white;
    padding: 3vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
}

.contact-form {
    flex: 1;
    max-width: 50%;
    padding: 3vw 6vw;
}

.contact-form h2 {
    font-weight: 400;
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.form-field-group {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-field-group .form-group {
    flex: 1;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid #c8c8c8;
    background-color: white;
    box-sizing: border-box;
    font-size: 1rem;
    margin-top: 0.3125rem;
}

.form-field-group .form-group span {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-top: 5px;
}

.contact-form button.btn {
    background-color: #333;
    color: white;
    padding: 10px 30px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Contact Section Responsive */
@media (max-width: 1024px) {
  .minimal-contact-grid {
    min-height: 70vh;
  }

  .contact-form {
    padding: 4vw 5vw;
  }

  .contact-form h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  }
}

@media screen and (max-width: 768px) {
  .minimal-contact-grid {
    flex-wrap: wrap;
    min-height: auto;
  }

  .contact-image,
  .contact-form {
    max-width: 100%;
    padding: 6vw;
  }

  .contact-form h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
    margin-bottom: 1.5rem;
  }

  .form-field-group {
    flex-direction: column;
    gap: 0;
  }

  .form-field-group .form-group:not(:first-child) {
    margin-top: 1rem;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea,
  .contact-form select {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .contact-form button.btn {
    padding: 0.75rem 2rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .contact-image,
  .contact-form {
    padding: 8vw 5vw;
  }

  .contact-image img {
    max-width: 100%;
  }

  .contact-form h2 {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea,
  .contact-form select {
    padding: 0.65rem;
    font-size: 0.9rem;
  }

  .contact-form button.btn {
    padding: 0.65rem 1.75rem;
    font-size: 0.8rem;
  }
}

/* 3D Rectangular Prism Ad Section */
.cube-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-left: clamp(1rem, 2vw, 3rem);
    overflow: hidden;
}

.cube {
    width: clamp(300px, 45vw, 900px);
    height: clamp(240px, 36vw, 720px);
    position: relative;
    perspective: 1200px;
}

/* Faces of rectangular prism */
.face {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: visible;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    /* Animation for sliding - 30s cycle: each face visible 6s with overlapping transitions */
    /* Face 4 starts at 21s, finishes at 21s + 9s = 30s, then face 1 starts seamlessly at 30s */
    animation: slideShow 30s infinite;
    /* Default: disable pointer events - will be enabled per face */
    pointer-events: none;
}

/* Animation delays for each face - 7s intervals for seamless 6s visible time */
.face:nth-child(1) { animation-delay: 0s; pointer-events: none; }
.face:nth-child(2) { animation-delay: 7s; }
.face:nth-child(3) { animation-delay: 14s; } /* Face 3 has glow-wrap-face3 button */
.face:nth-child(4) { animation-delay: 21s; } /* Face 5 has shop-now-btn */

/* Enable pointer events only during visible phase (when opacity is 1) */
/* This ensures buttons work consistently when face is visible */
.face:nth-child(2),
.face:nth-child(3),
.face:nth-child(4) {
    pointer-events: auto;
}

/* But ensure buttons always have pointer-events enabled with higher z-index */
.glow-wrap,
.glow-wrap-face3,
.shop-now-btn {
    pointer-events: auto !important;
    z-index: 15 !important; /* Higher than face z-index */
}

@keyframes slideShow {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    5% {
        opacity: 1;
        transform: translateX(0);
    }
    25% {
        opacity: 1;
        transform: translateX(0);
    }
    30% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.face img,
.face video {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border: none !important;
    outline: none !important;
}

/* Overlay text centered and styled like original left-section */
.text-overlay,
.text-overlay5 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: #ffffff;
    z-index: 2;
    width: clamp(70%, 80%, 80%);
    max-width: clamp(200px, 80%, 650px);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    pointer-events: none;
}

.text-overlay5 {
    position: absolute;
    top: 50%;
    right: clamp(1rem, 3vw, 4rem);
    left: auto;
    transform: translateY(-50%);
    text-align: left;
    width: auto;
    max-width: clamp(280px, 40%, 500px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: clamp(1.2rem, 2.5vw, 2.5rem);
}

.text-overlay5 h2 {
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    padding: 0;
    font-weight: 600;
    font-size: clamp(0.6rem, 0.95vw, 0.72rem);
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-transform: capitalize;
    text-align: left;
    max-width: clamp(200px, 32vw, 380px);
    white-space: normal;
}

.text-overlay5 h1 {
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    padding: 0;
    font-weight: 900;
    font-size: clamp(1.4rem, 4vw, 2.8rem);
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: left;
    max-width: clamp(180px, 30vw, 380px);
    word-break: break-word;
}

.Face-5btn {
    margin: 0;
    padding: clamp(0.5rem, 0.75vw, 0.65rem) clamp(1rem, 1.8vw, 1.4rem);
    background: rgba(0, 22, 64, 0.45);
    color: #ffffff;
    border: 2px solid #006eff;
    border-radius: 6px;
    font-size: clamp(0.7rem, 1vw, 0.8rem);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    overflow: visible;
    white-space: nowrap;
    width: fit-content;
    text-align: center;
}

.Face-5btn:hover {
    background: transparent;
    color: #006eff;
    box-shadow: 0 0 12px rgba(26, 130, 255, 0.45), 0 10px 22px rgba(5, 36, 105, 0.35);
    transform: translateY(-3px);
}

/* Title styling */
.text-overlay h1 {
    font-size: clamp(2rem, 4vw, 3.125rem);
    font-weight: 400;
    margin-bottom: 1.5625rem;
    color: rgb(255, 255, 255);
}

.text-overlay h1 span {
    color: #007bff;
}

/* Paragraph styling */
.text-overlay p {
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 1.875rem;
    max-width: 600px;
}

.text-overlay h2 {
    margin: 0;
    font-weight: 400;
    background: linear-gradient(45deg, #ffffff, #e6e6e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.3;
}

.text-overlay h3 {
    font-family: 'Orbitron', sans-serif;
    margin-left: clamp(0.25rem, 1vw, 0.5rem);
    margin-top: clamp(-2rem, -3vw, -3.5rem);
    font-weight: 600;
    font-size: clamp(1rem, 4vw, 4.8rem);
    color: #ffffff;
    letter-spacing: 2px;
    width: 100%;
    text-transform: capitalize;
}

.text-overlay p {
    font-size: clamp(0.8rem, 2vw, 1rem);
    margin-top: 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Hover pause */
.cube:hover .face {
    animation-play-state: paused;
}

/* Buttons inside cube faces */
.cube-btn {
    position: absolute;
    top: clamp(30%, 45%, 50%);
    left: clamp(30%, 40%, 45%);
    padding: clamp(0.5rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.5rem);
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    font-weight: 400;
    color: #ffffff;
    border-radius: 6px;
    background: rgba(105, 105, 105, 0);
    border: 1px solid transparent;
    box-shadow: 0 0 6px rgba(18, 144, 255, 1.753);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.Face-5btn {
    position: absolute;
    top: clamp(50%, 60%, 65%);
    left: clamp(40%, 55%, 60%);
    padding: clamp(0.5rem, 1.5vw, 1.2rem) clamp(1.2rem, 2.5vw, 2rem);
    font-size: clamp(0.75rem, 1.5vw, 1.2rem);
    font-weight: 400;
    color: #ffffff;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0);
    border: 1px solid transparent;
    box-shadow: 0 0 6px rgba(18, 144, 255, 0.753);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none; 
}

/* Cube Link Button with Animated Border Light */
.cube-btn-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: clamp(0.4rem, 1.2vw, 0.8rem) clamp(0.8rem, 1.8vw, 1.3rem);
    font-size: clamp(0.7rem, 1.3vw, 0.9rem);
    font-weight: 400;
    color: #ffffff;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #1e90ff;
    cursor: pointer !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 100 !important;
    transition: all 0.3s ease !important;
    pointer-events: auto !important;
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.5);
    animation: chain-light 3s linear infinite;
}



.cube-btn-link:hover {
    transform: translate(-50%, -50%) scale(1.05) !important;
    animation: chain-light 1.5s linear infinite !important;
}

.cube-btn-link:active {
    transform: translate(-50%, -50%) scale(0.98) !important;
}

@keyframes chain-light {
    0% {
        box-shadow: 0 -8px 0 -5px #ff3333, 0 0 8px rgba(30, 144, 255, 0.5);
    }
    25% {
        box-shadow: 8px 0 0 -5px #ff3333, 0 0 8px rgba(30, 144, 255, 0.5);
    }
    50% {
        box-shadow: 0 8px 0 -5px #ff3333, 0 0 8px rgba(30, 144, 255, 0.5);
    }
    75% {
        box-shadow: -8px 0 0 -5px #ff3333, 0 0 8px rgba(30, 144, 255, 0.5);
    }
    100% {
        box-shadow: 0 -8px 0 -5px #ff3333, 0 0 8px rgba(30, 144, 255, 0.5);
    }
}

@keyframes live-glow-button {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 191, 255, 0.8), 0 10px 20px rgba(30, 144, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 191, 255, 1), 0 10px 30px rgba(30, 144, 255, 0.6);
    }
}

/* Shop Now Button */
.shop-now-btn {
    position: absolute;
    top: clamp(65%, 75%, 80%);
    left: clamp(15%, 20%, 25%);
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 1rem);
    background: #061cff;
    color: #ffffff;
    padding: clamp(0.5rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.5rem);
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    border: none;
    border-radius: 40px;
    cursor: pointer;
    letter-spacing: 2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.arrow-circle {
    width: clamp(1.5rem, 3vw, 2rem);
    height: clamp(1.5rem, 3vw, 2rem);
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.arrow {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: black;
    margin-top: clamp(-0.25rem, -0.5vw, -0.5rem);
    font-weight: 700;
}

.shop-now-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 89, 255, 0.8);
}

.shop-now-btn:hover .arrow-circle {
    transform: translateX(5px);
}

/* Hover glow effects */
.cube-btn:hover,
.Face-5btn:hover,
.cube-button:hover {
    background: rgba(0, 123, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.6);
    animation: live-glow-Cube 1.5s infinite alternate;
    transform: scale(1.05);
}

@keyframes live-glow-Cube {
    0% {
        box-shadow: 0 0 3px var(--accent-glow), 0 0 10px rgba(30, 143, 255, 0.432);
    }
    50% {
        box-shadow: 0 0 10px var(--accent-glow), 0 0 10px var(--accent-glow), 0 10px 30px rgba(30, 143, 255, 0.416);
    }
    100% {
        box-shadow: 0 0 3px var(--accent-glow), 0 0 10px rgba(30, 143, 255, 0.308);
    }
}

/* -------------------------------------------
   MOBILE FIXES — Only affects <= 600px width
-------------------------------------------- */
@media (max-width: 600px) {

    /* Extended cube container */
    .cube-container {
        padding: 0 !important; /* Remove padding for full text extension */
        margin-top: -2px !important; /* pushes upward */
        transform: scale(0.95); /* keeps desktop design intact */
        transform-origin: top center;
    }

    /* Extended cube size */
    .cube,
    .face {
        width: 100% !important;
        height: 280px !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Extend text to fill full width from absolute edges */
    .text-overlay,
    .text-overlay5 {
        width: 100% !important;
        max-width: none !important;
        left: 0 !important; /* Start from very left edge */
        right: 0 !important; /* Extend to very right edge */
        top: 50% !important;
        transform: translateY(-50%) scale(0.85); /* Only center vertically */
        transform-origin: center center;
        text-align: left;
        padding: 0 !important; /* No padding to ensure full width */
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Typography scaling */
    .text-overlay h1,
    .text-overlay5 h1 {
        font-size: 1.99rem !important;
        margin-left: 0 !important;
        width: 100% !important;
        text-align: left !important;
    }

    .text-overlay h2,
    .text-overlay5 h2 {
        font-size: 0.75rem !important;
        width: 100% !important;
        margin-left: 0 !important;
    }

    .text-overlay h3 {
        font-size: 1.4rem !important;
        margin-top: -20px !important;
        width: 100% !important;
    }

    .text-overlay p {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
        text-align: left !important;
        margin: 0 0 1rem 0 !important; /* Only bottom margin */
        padding: 0 !important;
        max-width: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        text-overflow: clip !important;
        display: block !important;
    }

    /* Button scaling handled individually below */

    /* Button position fixes */
    .cube-btn {
        top: 75% !important;
        left: 65% !important;
        transform: translate(-50%, -50%) scale(0.75) !important;
        transform-origin: center;
    }

    .Face-5btn {
        top: 85% !important;
        left: 75% !important;
        transform: translate(-50%, -50%) scale(0.75) !important;
        transform-origin: center;
    }

    .shop-now-btn {
        top: 90% !important;
        left: 45% !important;
        transform: translate(-50%, -50%) scale(0.75) !important;
        transform-origin: center;
    }
}

/* -------------------------------------------
  ULTRA-SMALL MOBILE FIXES — 480px and below
-------------------------------------------- */
@media (max-width: 480px) {

    .cube-container {
        padding: 0 !important; /* Remove padding for full text extension */
        margin-top: -100px !important; /* push up more */
    }

    .cube,
    .face {
        width: 104% !important;
        height: 250px !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .text-overlay{
        width: 100% !important;
        max-width: none !important;
        left: 0 !important; /* Start from very left edge */
        right: 0 !important; /* Extend to very right edge */
        top: 80% !important;
        transform: translateY(-50%) scale(0.75) !important; /* Only center vertically */
        transform-origin: center center;
        text-align: left;
        padding: 0 !important; /* No padding to ensure full width */
        margin: 0 !important;
        box-sizing: border-box !important;
    }

        /* Keep Face-5 text centered like the design */
    .text-overlay5 {
        position: absolute !important;
        top: 40% !important; /* moves text higher */
        left: 50% !important;
        transform: translate(-50%, -50%) !important;

        width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .cube-btn {
        top: 53% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        font-size: smaller !important;
        border-radius: 20px !important;
    }

    .Face-5btn{
        top: 85% !important;
        left: 70% !important;
        transform: translate(-50%, -50%) !important;
        font-size: 7px !important;
        border-radius: 20px !important;
    }

    .shop-now-btn {
        top: 85% !important;
        left: 30% !important;
        transform: translate(-50%, -50%) !important;
        font-size: 7px !important;
    }

    /* Ensure text starts from beginning and extends to end */
    .text-overlay h1 {
        margin-left: 0 !important;
        text-align: left !important;
        width: 100% !important;
    }
    
    .text-overlay5 h1 {
        font-size: 1.45rem !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;

        max-width: 50% !important;   /* ⬅ Reduces width by 50% */
        display: block !important;   /* Ensure wrapping works */
        white-space: normal !important; /* allow breaking words */
        left: 1000px !important;   /* ⬅ Move RIGHT (adjust value) */
        margin-left: 190px !important; /* ⬅ Move LEFT to center */
        margin-bottom: -50px !important;
      }

      .text-overlay h3 {
          font-size: 1.2rem !important;
          margin-top: -30px !important;
          width: 100% !important;

          position: relative !important;
          left: 50px !important;   /* move RIGHT */
          top: 30px !important;    /* move DOWN */
      }


    .text-overlay5 h2 {
        font-size: 0.41rem !important;
        font-weight: 400 !important;
        margin-left: 140px !important; /* ⬅ Move LEFT to center */ 
        max-width: 70% !important;   /* ⬅ Reduces width by 30% */
        letter-spacing: 1px !important;
        text-align: center !important;
        
    }

    .text-overlay p {
        margin: 0 0 1rem 0 !important; /* Only bottom margin */
        padding: 0 !important;
        text-align: left !important;
        max-width: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        text-overflow: clip !important;
        display: block !important;
    }
}
@media (max-width: 600px) {
  /* Ensure cube has at least 10% top margin on mobile */
  .cube-container {
    margin-top: 1% !important;
  }

  /* Make text overlays fill the face width and reduce text sizing so it fits */
  .cube .face .text-overlay {
    width: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 0.3rem !important;
    box-sizing: border-box !important;
    margin-top: -140px !important;
  }

  .cube .face .text-overlay h1,
  .cube .face .text-overlay h2,
  .cube .face .text-overlay h3 {
    font-size: 1.2rem !important;
    line-height: 1.15 !important;
    margin: 0.6rem 0 !important;
  }

      .text-overlay5 h1 {
        font-size: 1.45rem !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;

        max-width: 50% !important;   /* ⬅ Reduces width by 50% */
        display: block !important;   /* Ensure wrapping works */
        white-space: normal !important; /* allow breaking words */
        left: 1000px !important;   /* ⬅ Move RIGHT (adjust value) */
        margin-left: 200px !important; /* ⬅ Move LEFT to center */
        margin-bottom: -50px !important;
      }

          .text-overlay5 h2 {
        font-size: 0.41rem !important;
        font-weight: 400 !important;
        margin-left: 145px !important; /* ⬅ Move LEFT to center */ 
        max-width: 70% !important;   /* ⬅ Reduces width by 30% */
        letter-spacing: 1px !important;
        text-align: center !important;
        
    }

  .cube .face .text-overlay p {
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
    margin: 0.2rem 0 !important;
  }
}

/* --------------------------------------------------
   Laptop-only layout adjustments
   Targets laptops/smaller desktops where monitor view is fine
   (applies roughly from 769px up to 1440px)
--------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1440px) {

  /* add breathing room between left and right */
  .content {
    gap: clamp(1.5rem, 3vw, 4rem);
  }

  /* Laptop: simpler, explicit sizes (no variables or nth-child overrides) */
  .left-section {
    /* small space from header so cube sits higher than menu */
    padding-top: clamp(0.3rem, 0.8vw, 0.8rem);
  }

  /* Make cube taller and fill the left column; avoid variable usage */
  .cube {
    width: 100% !important;
    max-width: 1000px !important;
    height: clamp(700px, 72vh, 980px) !important; /* increased height */
    overflow: hidden;
    perspective: 1600px !important;
  }

  /* Faces fill the cube area with fixed positions */
  .face {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* Image/video should fill the face without unexpected transforms; use cover to fill */
  .face img,
  .face video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center!important;
  }

  /* Keep cube container aligned under header (no negative offset) */
  .cube-container { margin-top: 0; }

  /* Left side (cube) should occupy ~60% of the content area */
  .left-section {
    flex: 0 0 60%;
    max-width: 60%;
    padding-right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Right side (menu grid) should occupy ~40% of the content area */
  .right-section {
    flex: 0 0 40%;
    max-width: 40%;
    padding-left: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
  }

  /* Make cube scale to the left-section container rather than a fixed px size */
  .cube-container {
    justify-content: center;
    padding-left: 0;
    width: 100%;
  }

  .cube,
  .face {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .face img,
  .face video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* contain to avoid cropping */
    border: none !important;
    outline: none !important  ;
  }

  /* Make the menu grid comfortably spaced inside the 40% column */
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 1.8vw, 2rem);
    max-width: 100%;
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0;
    justify-items: center;
  }

  /* Slightly increase menu-item sizing for laptops */
  .menu-item {
    padding: clamp(0.65rem, 1.2vw, 1rem) clamp(0.4rem, 0.9vw, 0.8rem);
    aspect-ratio: 1 / 1;
    min-width: 0;
  }

  /* ----- Positioning: push cube faces upward (near header) ----- */
  .left-section {
    /* align to top and keep cube near header (reduced breathing room) */
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: clamp(0.5rem, 1.2vw, 1rem); /* less space so cube sits nearer header */
  }

  .cube-container {
    display: flex;
    align-items: center; /* push content to top of the left column */
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    margin-top: 0; /* remove any extra downward offset */
    padding-left: 0px;
    overflow: hidden;
    
  }

  /* Limit cube height so it doesn't push content too far down */
  .cube {
    width: 100% !important; /* fill the left-section (60%) */
    max-width: 1000px !important; /* don't grow beyond desktop size */
    /* fit between header and viewport bottom without overlapping; prefer viewport-based height */
    height: clamp(420px, calc(100vh - 120px), 720px) !important;
    max-height: none !important;
    overflow: hidden;
    perspective: 1200px !important;
  }

  .face {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    width: 100% !important;
    height: 100% !important; /* fill the .cube area */
    max-height: none !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* Make face media scale nicely (unzoomed) */
  .face img,
  .face video {
    width: 100% !important;
    height: 100% !important;
    /* Unzoomed: show the full media while fitting the face area */
    object-fit: fill !important;
    object-position: center center !important;
    background: transparent !important;
    max-width: 110% !important;
    max-height: 130% !important;
    transform: none !important; /* ensure no accidental scaling */
  }
  
  /* Overlay anchoring for laptop: center-top area inside each face */
  .face .text-overlay {
    left: 50% !important;
    top: 30% !important; /* default position above face center */
    transform: translate(-50%, -50%) !important;
    text-align: left !important;
    width: 58% !important; /* narrower so text doesn't collide with edges */
    max-width: 600px !important;
    padding: 0 0.5rem !important;
  }

  /* Face-specific: lower overlays for face-1 and face-2 to vertical middle */
  .face-1 .text-overlay,
  .face-2 .text-overlay {
    top: 50% !important; /* vertically center overlays for face 1 and 2 */
    transform: translate(-50%, -50%) !important;
  }

  /* ---------- Laptop: controls for text-overlay5 (h1/h2) ---------- */
  /* These allow straightforward font-size and position tweaks for laptop view */
  .text-overlay5 {
    position: absolute !important;
    left: 50% !important;
    top: 28% !important; /* default vertical anchor */
    transform: translate(-50%, -50%) !important;
    width: 56% !important;
    max-width: 680px !important;
    text-align: left !important;
    z-index: 4 !important;
    pointer-events: none !important; /* overlays remain decorative */
  }

  .text-overlay5 h1 {
    font-family: 'Orbitron', sans-serif !important;
    margin-left: 240px !important;

    width: 340px;
    text-align: left !important;
    padding: 0 !important;

    box-sizing: border-box !important;
    font-size: clamp(2.6rem, 2.2vw, 3.6rem) !important; /* easy to adjust */
    line-height: 1.06 !important;

    font-weight: 1000 !important;
    letter-spacing: 1px !important;
  }

  .text-overlay5 h2 {
    font-size: clamp(0.55rem, 1.4vw, 0.04rem) !important; /* easy to adjust */
    margin-left: 240px !important;
    margin-top: 170px;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
  }

  /* Glow-wrap button for Face 3 - Same column as h1/h2, positioned lower */
  .glow-wrap-face3 {
    top: 75% !important; /* About 5 rows down from h1/h2 */
    left: calc(50% + 240px) !important; /* Same column position as h1 and h2 (50% center + 240px offset) */
    transform: translate(-50%, -50%) !important;
    display: block !important;
    z-index: 10 !important;
  }

  /* Buttons inside each face: fixed, centered by default */
  .face .cube-btn {
    top: 50% !important;
    left: 50% !important;
    font-size: 0.9rem !important;
    padding: 0.45rem 0.85rem !important;
    transform: translate(-50%, -50%) !important;
  }
  

  .face .Face-5btn {
    top: 72% !important;
    left: 68% !important;
    font-size: 0.9rem !important;
    padding: 0.5rem 0.95rem !important;
    transform: translate(-50%, -50%) !important;
  }

  .face .shop-now-btn {
    top: 78% !important;
    left: 28% !important;
    font-size: 0.9rem !important;
    padding: 0.45rem 0.85rem !important;
    transform: translate(-50%, -50%) !important;
  }

  /* overlay headings and paragraphs tuned for laptop */
  /* overlay typography for laptop (fixed sizes) */
  .text-overlay h1 {
    font-size: clamp(1.1rem, 2.0vw, 1.8rem) !important;
    line-height: 1.12 !important;
    margin-bottom: 0.4rem !important;
  }

  .text-overlay h2{
    font-size: clamp(0.85rem, 1.4vw, 1.05rem) !important;
  }

  .text-overlay h3 {
    font-family: 'Orbitron', sans-serif !important;
    font-size: clamp(3.0rem, 2.5vw, 2.8rem) !important;
    margin-top: 190px !important;
    margin-left: -35px !important;
  }
  .text-overlay p,
  .text-overlay5 p {
    font-size: clamp(0.75rem, 0.95vw, 0.95rem) !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
  }

  /* buttons: fixed sizes and positions for laptop */
  .cube-btn {
    top: 50% !important;
    left: 50% !important;
    font-size: 0.95rem !important;
    padding: 0.5rem 0.95rem !important;
    transform: translate(-50%, -50%) !important;
  }

  .face .Face-5btn {
    top: 70% !important;
    left: 68% !important;
    font-size: 0.95rem !important;
    padding: 0.5rem 0.95rem !important;
    transform: translate(-50%, -50%) !important;
  }


  /* ----- Menu: enforce 3 columns x 2 rows and comfortable cell size ----- */
  .menu-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    grid-auto-rows: 1fr; /* rows will be equal height */
    gap: clamp(0.8rem, 1.6vw, 1.6rem);
    align-content: center;
    justify-items: center;
    width: 100%;
  }

  /* Ensure each grid cell keeps menu-item square and small enough */
  .menu-grid .menu-item {
    width: clamp(72px, 12vw, 110px); /* responsive square size */
    height: clamp(72px, 12vw, 110px);
    padding: clamp(0.45rem, 0.9vw, 0.7rem);
    box-sizing: border-box;
  }

  /* Reduce icon and label sizes so they don't overlap */
  .menu-item .menu-icon,
  .menu-item i {
    width: clamp(28px, 6vw, 40px);
    height: clamp(28px, 6vw, 40px);
    font-size: clamp(18px, 2.4vw, 22px);
  }

  .menu-item span {
    font-size: clamp(0.65rem, 1.1vw, 0.9rem);
    line-height: 1.1;
  }

  /* Ensure cube buttons sit above overlays and trigger live-glow on hover */
  /* Make overlays non-interactive so buttons receive hover events */
  .face .text-overlay,
  .face .text-overlay5 {
    pointer-events: none !important;
  }

  .face .cube-btn{
    z-index: 100 !important; /* ensure buttons render above overlays */
    pointer-events: auto !important;
  }

  .face .cube-btn:hover,
  .face .Face-5btn:hover{
    animation: live-glow-Cube 1.5s infinite alternate !important;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.6) !important;
    transform: scale(1.05) !important;
  }


}

/* Glowing Service Button for Face 2 */
.face-2-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow-wrap {
  position: absolute;
  width: 200px;
  height: 50px;
  border-radius: 25px;
  overflow: hidden; /* CRUCIAL: This clips the moving gradient */
  box-shadow: 0 4px 15px rgba(0, 162, 255, 0.199); /* Subtle lift */
  transition: transform 0.2s ease;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: auto; /* Ensure it's interactive */
}

.glow-wrap:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.glowing-border-layer {
  position: absolute;
  top: -80px; /* Start the gradient far up and left */
  left: -80px;
  width: 360px; /* Make the layer much bigger than the button */
  height: 210px;
  z-index: 1;
  /* The Moving Conic Gradient (Purple Trail) */
  background: conic-gradient(
    #0068e0 0%,         /* Transparent start */
    hsla(207, 100%, 50%, 0) 25%,          /* Bright Purple 1 (Visible Trail Head) */
    #0084ff00 50%,          /* Darker Purple 2 */
    #0077ff00 75%,          /* Bright Purple 1 */
    #005ae0 100%        /* Transparent end */
  );
  
  /* Apply the continuous rotation */
  animation: spin 3s linear infinite; /* Faster spin for a dynamic look */
}

.link-content {
  /* Base positioning and size to create the border gap */
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  
  /* Styling the link appearance */
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  
  border-radius: 23px;
  background: #000000; /* Dark inner color to mask the center of the glow */
  color: #008cff; /* Light purple text color */
  font-size: 15px;
  font-weight: 400; /* Changed from bold to 300 */
  letter-spacing: 2px;
  cursor: pointer;
  z-index: 2; /* Ensure link content is on top of the glow */
  transition: color 0.3s;
  pointer-events: auto; /* Ensure it's interactive */
}

.link-content:hover {
  color: #ffffff; /* White text on hover for contrast */
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Glow-wrap button for Face 3 - Positioned in same column as h1 and h2, but lower down */
.glow-wrap-face3 {
  position: absolute;
  width: 200px;
  height: 50px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(183, 0, 255, 0.199);
  transition: transform 0.2s ease;
  z-index: 10;
  top: 75%; /* Positioned lower down - about 5 rows below h1/h2 */
  left: calc(37% + 240px); /* Same column position as h1 and h2 (50% center + 240px offset) */
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: block; /* Ensure it's visible */
}

.glow-wrap-face3:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.glowing-border-layer-face3 {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 360px;
  height: 210px;
  z-index: 1;
  background: conic-gradient(
    #7b00e0 0%,
    hsla(207, 100%, 50%, 0) 25%,
    #0084ff00 50%,
    #0077ff00 75%,
    #a000e0 100%
  );
  animation: spin 3s linear infinite;
}

.link-content-face3 {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 23px;
  background: #000000;
  color: #9900ff;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 2px;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s;
  pointer-events: auto;
}

.link-content-face3:hover {
  color: #ffffff;
}

/* Responsive Styles for glow-wrap button - Scales across all devices */
@media (max-width: 1200px) {
  .glow-wrap {
    width: 180px;
    height: 45px;
    border-radius: 22px;
  }

  .glowing-border-layer {
    top: -72px;
    left: -72px;
    width: 324px;
    height: 189px;
  }

  .link-content {
    top: 1.8px;
    left: 1.8px;
    width: calc(100% - 3.6px);
    height: calc(100% - 3.6px);
    border-radius: 20px;
    font-size: 14px;
    letter-spacing: 1.8px;
  }
}

@media (max-width: 768px) {
  .glow-wrap {
    width: 130px;
    height: 32px;
    border-radius: 16px;
  }

  .glowing-border-layer {
    top: -52px;
    left: -52px;
    width: 234px;
    height: 136px;
  }

  .link-content {
    top: 1.2px;
    left: 1.2px;
    width: calc(100% - 2.4px);
    height: calc(100% - 2.4px);
    border-radius: 15px;
    font-size: 11px;
    letter-spacing: 1.2px;
  }
}

@media (max-width: 480px) {
  .glow-wrap {
    width: 110px;
    height: 28px;
    border-radius: 14px;
  }

  .glowing-border-layer {
    top: -44px;
    left: -44px;
    width: 198px;
    height: 116px;
  }

  .link-content {
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    border-radius: 13px;
    font-size: 10px;
    letter-spacing: 1px;
  }
}

@media (max-width: 360px) {
  .glow-wrap {
    width: 95px;
    height: 24px;
    border-radius: 12px;
  }

  .glowing-border-layer {
    top: -38px;
    left: -38px;
    width: 171px;
    height: 100px;
  }

  .link-content {
    top: 0.8px;
    left: 0.8px;
    width: calc(100% - 1.6px);
    height: calc(100% - 1.6px);
    border-radius: 11px;
    font-size: 9px;
    letter-spacing: 0.8px;
  }
}

/* Responsive styles for glow-wrap-face3 button */
@media (max-width: 1200px) {
  .glow-wrap-face3 {
    width: 180px;
    height: 45px;
    border-radius: 22px;
    left: calc(50% + clamp(180px, 20vw, 240px)) !important; /* Responsive but maintains column alignment */
  }

  .glowing-border-layer-face3 {
    top: -72px;
    left: -72px;
    width: 324px;
    height: 189px;
  }

  .link-content-face3 {
    top: 1.8px;
    left: 1.8px;
    width: calc(100% - 3.6px);
    height: calc(100% - 3.6px);
    border-radius: 20px;
    font-size: 14px;
    letter-spacing: 1.8px;
  }
}

@media (max-width: 768px) {
  .glow-wrap-face3 {
    width: 130px;
    height: 32px;
    border-radius: 16px;
    left: calc(50% + clamp(30px, 20vw, 60px)) !important; /* Same as h1/h2 on mobile */
  }

  .glowing-border-layer-face3 {
    top: -52px;
    left: -52px;
    width: 234px;
    height: 136px;
  }

  .link-content-face3 {
    top: 1.2px;
    left: 1.2px;
    width: calc(100% - 2.4px);
    height: calc(100% - 2.4px);
    border-radius: 15px;
    font-size: 11px;
    letter-spacing: 1.2px;
  }
}

@media (max-width: 480px) {
  .glow-wrap-face3 {
    width: 90px;
    height: 24px;
    border-radius: 14px;
    left: calc(50% + clamp(25px, 18vw, 50px)) !important; /* Same as h1/h2 on mobile */
    top: 200px;
  }

  .glowing-border-layer-face3 {
    top: -44px;
    left: -44px;
    width: 198px;
    height: 116px;
  }

  .link-content-face3 {
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    border-radius: 13px;
    font-size: 10px;
    letter-spacing: 1px;
  }
}

@media (max-width: 360px) {
  .glow-wrap-face3 {
    width: 95px;
    height: 24px;
    border-radius: 12px;
    left: calc(50% + clamp(20px, 15vw, 40px)) !important; /* Same as h1/h2 on small mobile */
  }

  .glowing-border-layer-face3 {
    top: -38px;
    left: -38px;
    width: 171px;
    height: 100px;
  }

  .link-content-face3 {
    top: 0.8px;
    left: 0.8px;
    width: calc(100% - 1.6px);
    height: calc(100% - 1.6px);
    border-radius: 11px;
    font-size: 9px;
    letter-spacing: 0.8px;
  }
}
