:root{
  --primary:#0049bc;
  --secondary:#008ff8;
  --white:#ffffff;
  --light:#f3f7fa;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

body{
  background:var(--light);
  color:#1a1a1a;
}
/* LOGO IMAGE SCALE & ALIGNMENT */
.logo img {
    height: 45px; /* Precision height for nav alignment */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05); /* Subtle Glass-Blade interactive feel */
}

/* Adjust header vertical padding if necessary for the image */
header {
    padding: 10px 40px;
}


/* MAX LEVEL CONTACT UI */
/* MAX LEVEL CONTACT UI - RESPONSIVE OPTIMIZED */
.contact-section {
    margin: 80px 7%;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 40px;
    background: var(--white);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 25px 60px rgba(37, 150, 190, 0.1);
    border: 1px solid rgba(37, 150, 190, 0.05);
    overflow: hidden;
}

.contact-info-blade {
    background: var(--primary);
    border-radius: 30px;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px;
}

.contact-info-blade h2 { 
    font-size: 2rem; 
    margin-bottom: 20px; 
    line-height: 1.2;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-detail .icon-circle {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Form Styling */
.contact-form-blade {
    padding: 20px 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width { grid-column: span 2; }

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.input-group input, 
.input-group textarea {
    padding: 15px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
}

.input-group input:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 150, 190, 0.1);
}

.submit-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(203, 71, 55, 0.3);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1100px) {
    .contact-section { margin: 60px 5%; gap: 20px; }
    .contact-info-blade { padding: 30px; }
}

@media (max-width: 992px) {
    .contact-section { 
        grid-template-columns: 1fr; 
        margin: 40px 20px; 
        padding: 15px;
    }
    .contact-info-blade { 
        min-height: auto; 
        padding: 35px;
    }
    .contact-form-blade { padding: 30px 10px; }
}

@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .contact-info-blade h2 { font-size: 1.6rem; }
    .contact-section { border-radius: 30px; }
}


/* ADVANCED MAP VIEW UI */
.map-container {
    margin: 80px 7%;
    background: #e3f2fd;
    height: 500px;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    border: 8px solid var(--white);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

/* Simulated Map Background (Pattern) */
.map-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.2;
}
.map-overlay h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.1rem; }
.node-status { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 0.85rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }

/* Bouncing Map Markers */
.marker {
    position: absolute;
    cursor: pointer;
    z-index: 5;
    text-align: center;
}

.marker .icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
    animation: mapBounce 2s infinite ease-in-out;
}

.marker .label {
    background: var(--text-dark);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: -5px;
    display: block;
}

/* Pulse Effect for Active Warehouses */
.pulse {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(37, 150, 190, 0.4);
    border-radius: 50%;
    transform: translate(-25%, -75%);
    animation: ripple 2s infinite;
}

@keyframes mapBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes ripple {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Specific Placements */
.loc-1 { top: 20%; left: 60%; } /* Central Warehouse */
.loc-2 { top: 60%; left: 30%; } /* Shop Node A */
.loc-3 { top: 40%; left: 80%; } /* Shop Node B */


/* HEADER */
header{
  background:var(--white);
  padding:15px 40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

.logo{
  font-weight:700;
  font-size:22px;
  color:var(--primary);
}

nav{
  display:flex;
  gap:25px;
  align-items:left;
}

nav a{
  text-decoration:none;
  color:#333;
  font-weight:500;
}

.appointment-btn{
  background:var(--secondary);
  color:var(--white);
  padding:10px 18px;
  border-radius:20px;
  border:none;
  cursor:pointer;
}

.hamburger{
  display:none;
  font-size:26px;
  cursor:pointer;
}

/* MAX LEVEL TESTIMONIAL UI */
.testimonials {
    margin: 80px 7%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 40px;
    position: relative;
    border: 1px solid rgba(37, 150, 190, 0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.02);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(37, 150, 190, 0.1);
}

/* Floating Quote Icon */
.quote-icon {
    position: absolute;
    top: -20px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(203, 71, 55, 0.3);
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-meta img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--soft-blue);
}

.user-info h5 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

.user-info span {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.rating {
    color: #ffb800;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* MAX LEVEL PRODUCT LISTING UI */
.product-grid {
    margin: 60px 7%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 30px;
    padding: 20px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(37, 150, 190, 0.15);
    border-color: var(--primary);
}

.badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
}

.product-img-wrapper {
    width: 100%;
    height: 220px;
    border-radius: 20px;
    background: #f8fafc;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrapper img {
    width: 80%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1) rotate(3deg);
}

.product-info { text-align: left; }

.product-category {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e2e8f0;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.add-btn {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.add-btn:hover { background: var(--secondary); transform: rotate(90deg); }
/* ===== NEW SOFT FADE HERO ===== */
.hero {
  margin: 30px;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* SLIDER CONTAINER */
.hero-slider {
  position: relative;
  height: 520px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 60px;
  animation: slideUp 1s ease;
}

.slide.active {
  display: flex;
}

/* SOFT FADE OVERLAY */
.slide::before {
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(
      90deg,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.75) 35%,
      rgba(37,150,190,0.15) 70%,
      rgba(203,71,55,0.15) 100%
  );
  z-index:1;
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}

/* IMAGE */
.hero-img {
  width: 460px;
  height: 420px;
  object-fit: cover;
  border-radius: 30px;
  position: relative;
  z-index:2;
}

/* TEXT */
.hero-text {
  max-width: 520px;
  position: relative;
  z-index:2;
}

.hero-text h1 {
  font-size: 42px;
  color: var(--primary);
  line-height:1.1;
}

.hero-text p {
  margin: 20px 0;
  color:#475569;
  font-size:1.1rem;
}

.hero-text button {
  background: var(--primary);
  color:white;
  border:none;
  padding:14px 30px;
  border-radius:25px;
  cursor:pointer;
  transition:0.3s;
}
.hero-text button:hover {
  background: var(--secondary);
}

/* RESPONSIVE */
/* ===== FIX HERO HIDING ON MOBILE ===== */
@media (max-width: 768px) {
  .cards {
    top: 0 !important;     /* stop overlapping hero */
    margin-top: 20px;      /* space below hero */
    z-index: 1;            /* below hero */
  }

  .hero-slider {
    height: auto !important;
    min-height: 520px;     /* ensures hero stays visible */
  }

  .slide {
    position: relative !important; /* prevents stacking issues */
  }
}
/* ===== HERO RESPONSIVE ===== */

/* Tablet */
@media (max-width: 992px) {
  .hero-slider {
    height: auto;
  }

  .slide {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
    gap: 25px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-img {
    width: 320px;
    height: 280px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hero {
    margin: 15px;
    border-radius: 25px;
  }

  .slide {
    padding: 25px 15px;
  }

  .hero-text h1 {
    font-size: 24px;
    line-height: 1.2;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .hero-text button {
    width: 100%;
    padding: 14px;
  }

  .hero-img {
    width: 100%;
    height: 220px;
    border-radius: 20px;
  }
}

/* CARDS - GLASSMORPHISM */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 7%;
  position: relative;
  top: -100px;
  z-index: 20;
}

.card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 30px 20px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--primary);
}

.card span.icon {
  font-size: 50px;
  margin-bottom: 15px;
  display: block;
  filter: drop-shadow(0 10px 10px rgba(0,0,0,0.1));
}

.card h3 { font-size: 1rem; color: #1e293b; }

/* SERVICES */
/* MAXIMUM UI SERVICES GRID */
.services {
    margin: 50px 7%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}
/* RESPONSIVE UPDATES FOR HERO & CARDS */
@media (max-width: 1100px) {
    .hero { padding: 60px 40px 140px 40px; margin: 15px; }
    .hero-text h1 { font-size: 32px; }
    .hero img { width: 350px; height: 320px; }
    .cards { margin: 0 40px; }
}

@media (max-width: 992px) {
    .cards {
        grid-template-columns: repeat(2, 1fr); /* 2x2 Grid for Tablets */
        top: -60px;
        gap: 15px;
    }
    .hero-slider .slide {
        flex-direction: column;
        text-align: center;
    }
    .hero-text { order: 2; }
    .hero img { 
        order: 1; 
        width: 280px; 
        height: 250px; 
        margin-bottom: 20px; 
    }
}

@media (max-width: 600px) {
    .hero { padding: 40px 20px 100px 20px; }
    .hero-text h1 { font-size: 26px; }
    .hero-text p { font-size: 0.95rem; }
    .cards {
        grid-template-columns: 1fr; /* Single column for Mobile */
        margin: 0 20px;
        top: -40px;
    }
    .card { padding: 20px; }
    .card span.icon { font-size: 40px; }
}

.service {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(37, 150, 190, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Glass-Blade Hover Effect */
.service::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    opacity: 0;
    transition: 0.6s;
}

.service:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(37, 150, 190, 0.12);
    border-color: var(--primary);
}

.service:hover::before {
    opacity: 1;
}

.service .service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s;
}

.service:hover .service-icon {
    transform: scale(1.2);
}

.service h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.service p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

/* Service Color Themes */
.service.s-green { background: #f0fdf4; }
.service.s-pink { background: #fff1f2; }
.service.s-blue { background: #eff6ff; }
.service.s-teal { background: #f0fdfa; }

.service.s-green:hover { border-color: #22c55e; }
.service.s-pink:hover { border-color: var(--secondary); }
.service.s-blue:hover { border-color: var(--primary); }
.service.s-teal:hover { border-color: #14b8a6; }

/* STEPS */
.step{
  background:var(--white);
  color:#1a1a1a;
  font-weight:500;
  padding:18px 22px;
  border-radius:20px;
  margin-bottom:18px;
  box-shadow:0 4px 12px rgba(0,0,0,0.05);
  transition:transform 0.3s, box-shadow 0.3s;
}

.step:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 16px rgba(0,0,0,0.08);
}

/* CONTACT FORM */
.contact{
  margin:40px 30px;
  background:var(--primary, #2596BE)10;
  padding:35px 30px;
  border-radius:30px;
  display:flex;
  gap:30px;
  align-items:center;
  flex-wrap:wrap;
}

.contact input{
  width:100%;
  padding:14px;
  border-radius:25px;
  border:none;
  margin-bottom:15px;
  box-shadow:0 4px 10px rgba(0,0,0,0.06);
  transition:box-shadow 0.3s;
}

.contact input:focus{
  box-shadow:0 6px 14px rgba(0,0,0,0.12);
  outline:none;
}

.contact button{
  background:var(--secondary);
  color:white;
  border:none;
  padding:14px 24px;
  border-radius:25px;
  font-weight:600;
  cursor:pointer;
  transition:transform 0.3s, box-shadow 0.3s;
}

.contact button:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 18px rgba(0,0,0,0.15);
}
.green{ background:var(--primary, #2596BE)22; }
.pink{ background:var(--secondary, #CB4737)22; }
.blue{ background:var(--primary, #2596BE)33; }

/* ABOUT */
/* MAXIMUM UI ABOUT SECTION */
.about {
    margin: 80px 7%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img-container {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Stylish Image with Organic Shape */
.about-img-container img {
    width: 100%;
    max-width: 500px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; /* Organic Blob Shape */
    border: 10px solid var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.about-text {
    padding: 40px;
    background: var(--white);
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(37, 150, 190, 0.08);
    border-left: 8px solid var(--primary);
}

.about-text h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Bouncing Icon List Items */
.feature-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.feature-item .bounce-icon {
    font-size: 1.5rem;
    padding: 10px;
    background: var(--soft-blue, #eef7fb);
    border-radius: 12px;
}

@media (max-width: 992px) {
    .about { grid-template-columns: 1fr; text-align: center; }
    .about-text { border-left: none; border-top: 8px solid var(--primary); }
}


.section-title{
  text-align:center;
  margin-top:40px;
  font-size:28px;
}

/* SERVICES */
.services{
  margin:30px;
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

.service{
  flex:1;
  min-width:220px;
  padding:25px;
  border-radius:20px;
  background:var(--primary, #2596BE)15;
}

/* HOW IT WORKS */
.how{
  margin:40px 30px;
  display:flex;
  gap:30px;
  align-items:center;
  flex-wrap:wrap;
}

.how img{
  width:320px;
  border-radius:20px;
}

.steps{
  flex:1;
}

.step{
  background:white;
  padding:15px 20px;
  border-radius:15px;
  margin-bottom:15px;
  box-shadow:0 3px 8px rgba(0,0,0,0.05);
}

/* CONTACT */
.contact{
  margin:40px 30px;
  background:var(--primary, #2596BE)22;
  padding:30px;
  border-radius:30px;
  display:flex;
  gap:30px;
  align-items:center;
  flex-wrap:wrap;
}

.contact form{
  flex:1;
}

.contact input{
  width:100%;
  padding:12px;
  border-radius:20px;
  border:none;
  margin-bottom:15px;
}

.contact button{
  background:var(--secondary);
  color:white;
  border:none;
  padding:12px 20px;
  border-radius:20px;
}

/* MAX LEVEL BLACK FOOTER UI */
footer {
    background: #0f172a; /* Deep Black/Navy */
    color: #94a3b8;
    padding: 80px 7% 40px 7%;
    margin-top: 80px;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo-area img {
    filter: invert(1) hue-rotate(180deg) contrast(1.1);
    max-width: 140px;
    height: auto;
}
.footer-column h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* BACK TO TOP BUTTON UI */
.back-to-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(37, 150, 190, 0.1);
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 25px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.back-to-top-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 150, 190, 0.3);
}

.back-to-top-btn .arrow-icon {
    font-size: 1.2rem;
    animation: verticalFloat 2s infinite ease-in-out;
}

@keyframes verticalFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Ensure smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

/* RESPONSIVE */
@media(max-width:768px){
  nav{
    position:absolute;
    top:70px;
    right:0;
    background:white;
    flex-direction:column;
    width:200px;
    display:none;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
    padding:20px;
  }

  nav.show{
    display:flex;
  }

  .hamburger{
  display:block;
  text-align:left;
  cursor:pointer;
  font-weight:600;
  color:var(--primary);
}

  .hero{
    flex-direction:column;
    text-align:center;
  }
}
/* ===== MEDICAL IMPORTER SERVICE STYLES ===== */

.medical-title {
    color: var(--primary);
    font-weight: 700;
}

.medical-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 40px;
    font-size: 0.95rem;
}

/* New Service Color Themes */
.service.s-med-blue   { background: #eef4ff; }
.service.s-med-green  { background: #ecfdf5; }
.service.s-med-purple { background: #f5f3ff; }
.service.s-med-teal   { background: #ecfeff; }

.service.s-med-blue:hover   { border-color: #2563eb; }
.service.s-med-green:hover  { border-color: #16a34a; }
.service.s-med-purple:hover { border-color: #7c3aed; }
.service.s-med-teal:hover   { border-color: #0d9488; }

/* Service Links */
.service-link {
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 15px;
    display: inline-block;
    letter-spacing: 0.5px;
}

.blue-link   { color: #2563eb; }
.green-link  { color: #16a34a; }
.purple-link { color: #7c3aed; }
.teal-link   { color: #0d9488; }

.service-link:hover {
    opacity: 0.8;
    transform: translateX(3px);
    transition: 0.3s;
}
/* REAL MAP */
.real-map-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.real-map {
  width: 100%;
  height: 100%;
  border: 0;
}

/* OVERLAY PANEL */
.map-overlay {
  position: static;
  top: 25px;
  left: 25px;
  background: white;
  padding: 20px;
  border-radius: 18px;
  width: 160px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  z-index: 5;
}

.dir-btn {
  display: block;
  margin-top: 10px;
  background: var(--primary);
  color: #fff;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 0.85rem;
}

.dir-btn.secondary {
  background: var(--secondary);
}

/* FLOATING BOUNCE MARKERS */
.floating-marker {
  position: absolute;
  font-size: 34px;
  animation: bounce 2s infinite;
  z-index: 4;
}

.m1 { top: 40%; left: 60%; }
.m2 { top: 55%; left: 70%; }

@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* RESPONSIVE */
@media(max-width:768px){
  .map-overlay{
    position: static;
    width: 60%;
    margin-bottom: 10px;
  }

  .real-map-wrapper{
    height: 250px;
  }
}
/* ===== MAP OVERLAY MOBILE FIX ===== */
@media (max-width: 768px){

  .real-map-wrapper{
    height: 420px;
  }
/* --- MINIMALIST TERMINAL OVERLAY --- */
.map-overlay {
    position: absolute !important;
    top: 20px; /* Docked to Top */
    right: 20px; /* Docked to Right */
    width: 220px; /* Narrower footprint */
    background: rgba(15, 23, 42, 0.85); /* Dark terminal glass */
    backdrop-filter: blur(12px);
    border: 1px solid var(--accent-glow);
    padding: 15px;
    border-radius: 12px;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.map-overlay h3 {
    color: var(--accent-glow);
    font-size: 0.75rem; /* Small terminal header */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    padding-bottom: 5px;
}

.node-status {
    font-size: 0.7rem;
    color: #cbd5e1;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-overlay hr {
    display: none; /* Remove bulky HR */
}

/* Compact Buttons */
.dir-btn {
    display: inline-block;
    width: 100%;
    margin-top: 8px;
    padding: 6px 10px;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 4px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid var(--accent-glow);
    color: var(--accent-glow);
    transition: all 0.3s ease;
}

.dir-btn:hover {
    background: var(--accent-glow);
    color: #000;
}

.dir-btn.secondary {
    border-color: var(--secondary);
    color: var(--secondary);
    background: transparent;
}

/* Responsive Mobile Corner Fix */
@media (max-width: 768px) {
    .map-overlay {
        top: auto;
        bottom: 10px; /* Move to bottom on mobile to avoid header overlap */
        right: 10px;
        width: calc(100% - 20px); /* Fill width slightly but stay floating */
        left: 10px;
    }
}

}
/* Footer text justify */
.footer-logo-area p,
.footer-column p,
.footer-links li,
.footer-bottom p{
    text-align: justify;
    line-height: 1.7;
    
}

:root {
    --blade-bg: rgba(15, 23, 42, 0.95);
    --blade-border: rgba(255, 255, 255, 0.1);
    --accent-glow: #38bdf8;
    --text-dim: #94a3b8;
    --text-bright: #f8fafc;
}

.blade-footer-terminal {
    background: var(--blade-bg);
    border-top: 2px solid var(--accent-glow);
    color: var(--text-dim);
    padding: 60px 20px 20px 20px;
    font-family: 'Inter', sans-serif;
    position: relative;
    backdrop-filter: blur(10px);
}

.footer-glass-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Identity Section */
.terminal-logo {
    height: 50px;
    filter: brightness(1.1);
    margin-bottom: 20px;
}

.footer-mission-text {
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: justify;
    margin-bottom: 25px;
    color: var(--text-dim);
}

/* Back to Top Button */
.glass-back-top {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--blade-border);
    color: var(--text-bright);
    padding: 10px 20px;
    cursor: pointer;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.glass-back-top:hover {
    background: var(--accent-glow);
    color: #000;
}

/* Link Nodes */
.node-title {
    color: var(--text-bright);
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-left: 3px solid var(--accent-glow);
    padding-left: 10px;
}

.node-list {
    list-style: none;
    padding: 0;
}

.node-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.node-list li:hover {
    transform: translateX(8px);
}

.node-icon {
    color: var(--accent-glow);
    font-size: 0.8rem;
    margin-right: 12px;
}

.node-list a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.node-list a:hover {
    color: var(--text-bright);
}

/* Bottom Status Bar */
.footer-status-bar {
    border-top: 1px solid var(--blade-border);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.copyright-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-indicator.active {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
}

.status-link {
    color: var(--text-dim);
    text-decoration: none;
    margin: 0 10px;
}

.status-link:hover {
    color: var(--accent-glow);
}
/* --- RESPONSIVENESS INJECTOR --- */

@media (max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr 1fr; /* 2 Columns for Tablets */
        gap: 30px;
    }
    
    .footer-identity-blade {
        grid-column: span 3; /* Brand identity spans full width on tablet */
        border-bottom: 1px solid var(--blade-border);
        padding-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .blade-footer-terminal {
        padding: 40px 15px 15px 15px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr; /* Single column for Mobile */
        gap: 40px;
    }

    .footer-identity-blade {
        grid-column: span 1;
        text-align: center; /* Center align brand for mobile focus */
    }

    .footer-mission-text {
        text-align: center; /* Better readability on small screens */
    }

    .terminal-logo {
        margin: 0 auto 20px auto;
    }

    .glass-back-top {
        margin: 0 auto;
        justify-content: center;
    }

    .node-title {
        text-align: center;
        border-left: none;
        border-bottom: 2px solid var(--accent-glow);
        padding-left: 0;
        padding-bottom: 8px;
        display: inline-block;
        width: 100%;
    }

    .node-list li {
        justify-content: center; /* Center list items */
    }

    .footer-status-bar {
        flex-direction: column; /* Stack copyright and links */
        gap: 15px;
        text-align: center;
    }

    .legal-links {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

/* Landscape Mobile Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .blade-footer-terminal {
        height: auto; /* Avoid 100vh locking for short landscape screens */
    }
}

/* NAV ICON ENHANCEMENT */
nav a {
  display:flex;
  align-items:center;
  gap:4px;
  padding:8px 14px;
  border-radius:14px;
  transition:0.3s;
}

nav a i{
  color:var(--primary);
  font-size:14px;
  transition:0.3s;
}

/* GLASS HOVER */
nav a:hover{
  background:rgba(0,143,248,0.08);
  color:var(--primary);
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(0,0,0,0.06);
}

nav a:hover i{
  color:var(--secondary);
  transform:scale(1.2);
}

/* BUTTON ICON */
.appointment-btn{
  display:flex;
  align-items:center;
  gap:8px;
}