/* --- GLOBAL LAYOUT CONTAINMENT & OVERFLOW SAFEGUARDS --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
  font-family: "Times New Roman", Times, serif;
  background-color: #f8fafc;
  color: #0f172a;
}

img, svg, canvas {
  max-width: 100%;
  height: auto;
}

:root {
  --brand-blue: #0284c7;
  --brand-gradient: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --nav-bg: rgba(255, 255, 255, 0.88);
  --border-light: rgba(226, 232, 240, 0.8);
}

/* =========================================================
   TOP HEADER NAVBAR (DESKTOP & MOBILE LOGO HEADER)
   ========================================================= */
.top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 9999;
  transition: all 0.3s ease;
}

.top-navbar.scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.header-container {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* BRAND LOGO */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
}

.logo-text {
  font-family: "Times New Roman", Times, serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.logo-text span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-blue);
}

/* DESKTOP NAV LINKS */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.desktop-link {
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.desktop-link:hover {
  color: var(--brand-blue);
  background: rgba(2, 132, 199, 0.06);
}

.desktop-link.active {
  color: var(--brand-blue);
  font-weight: 700;
  background: rgba(2, 132, 199, 0.1);
}

/* DESKTOP CTA BUTTON */
.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  background: var(--brand-gradient);
  color: #ffffff;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
  transition: all 0.3s ease;
}

.header-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.4);
}

/* =========================================================
   EXPANDABLE PILL MOBILE BOTTOM NAVBAR
   ========================================================= */
.pill-mobile-nav {
  display: none;
}

@media (max-width: 992px) {
  /* Hide Desktop Nav & Header CTA on Mobile */
  .desktop-nav,
  .header-action {
    display: none;
  }

  .header-container {
    padding: 0 1.25rem;
  }

  /* Mobile Bottom Outer Capsule Container */
  .pill-mobile-nav {
    position: fixed !important;
    bottom: 20px !important;
    left: 16px !important;
    right: 16px !important;
    margin: 0 auto !important;
    width: calc(100% - 32px) !important;
    max-width: 440px !important;
    height: 60px;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.15);
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px !important;
    z-index: 99999;
  }

  /* BASE ITEM (INACTIVE STATE - ICONS ONLY) */
  .pill-nav-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 100% !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    color: #64748b !important;
    font-size: 1.15rem !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    background: transparent !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  /* INACTIVE TEXT LABEL: HIDDEN */
  .pill-nav-link .nav-label {
    display: none !important;
    font-family: "Times New Roman", Times, serif;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
  }

  /* ACTIVE ITEM (EXPANDED BLUE HIGHLIGHTED PILL) */
  .pill-nav-link.active {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    padding: 0 20px !important;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35) !important;
  }

  /* REVEAL ACTIVE TEXT LABEL */
  .pill-nav-link.active .nav-label {
    display: inline-block !important;
    color: #ffffff !important;
  }

  body {
    padding-top: 76px !important;
    padding-bottom: 95px !important;
  }
}

/* =========================================================
   RIGHT BOTTOM FLOATING CALL BUTTON (ALL PAGES)
   ========================================================= */
.floating-call-btn {
  position: fixed;
  bottom: 30px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: var(--brand-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.4);
  z-index: 99998;
  transition: transform 0.3s ease;
}

.floating-call-btn:hover {
  transform: scale(1.08);
}

@media (max-width: 992px) {
  .floating-call-btn {
    bottom: 95px !important; /* Positioned directly above bottom navbar */
  }
}


@media (max-width: 992px) {
  /* Hide text label for inactive items */
  .pill-nav-link .nav-label {
    display: none !important;
  }

  /* Force display text label for active item */
  .pill-nav-link.active .nav-label {
    display: inline-block !important;
    color: #ffffff !important;
  }
}

/* ===========================================
   NAVBAR
=========================================== */

.top-navbar{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:76px;

    background:rgba(255,255,255,.88);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(226,232,240,.8);

    z-index:9999;

    transition:
        transform .35s ease,
        background .35s ease,
        box-shadow .35s ease;

}


/* Hide Navbar */

.top-navbar.nav-hide{

    transform:translateY(-100%);

}


/* Shadow */

.top-navbar.scrolled{

    background:rgba(255,255,255,.96);

    box-shadow:0 12px 30px rgba(15,23,42,.10);

}

.pill-nav-link{
    flex:1;
    transition:all .45s cubic-bezier(.22,1,.36,1);
}

.pill-nav-link.active{
    flex:1.8;
}

.pill-nav-link .nav-label{
    max-width:0;
    opacity:0;
    overflow:hidden;
    white-space:nowrap;
    transition:all .35s ease;
}

.pill-nav-link.active .nav-label{
    max-width:100px;
    opacity:1;
    margin-left:8px;
}

.top-navbar{
    transition:
        transform .35s ease,
        background .35s ease,
        box-shadow .35s ease;
}

.top-navbar.nav-hide{
    transform:translateY(-100%);
}

.top-navbar.scrolled{
    background:rgba(255,255,255,.96);
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}



/* Base floating position */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #0284c7; /* Your primary blue theme color */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: pulseRing 2s infinite;
}

.floating-call-btn:hover {
    transform: scale(1.1);
    background-color: #0369a1;
}

/* Continuous Pulse Ring Animation */
@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.6), 0 8px 25px rgba(2, 132, 199, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(2, 132, 199, 0), 0 8px 25px rgba(2, 132, 199, 0.4);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0), 0 8px 25px rgba(2, 132, 199, 0.4);
    }
}
/* Navbar Ends */





/* Fotter Starts */
/* =========================================================
   MODERN FOOTER STYLES WITH DEEGENEX BADGE
   ========================================================= */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* Logo Image Container */
.footer-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;  /* Adjust container width if needed */
  height: 45px; /* Adjust container height if needed */
}

/* Logo PNG Styling */
.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensures the image maintains its aspect ratio without stretching */
  display: block;
  filter: drop-shadow(0 0px 10px rgb(0, 195, 255,.5));
}


.modern-footer {
  background: #090d16; /* Modern ultra-dark slate */
  color: #94a3b8;
  padding-top: 65px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "Times New Roman", Times, serif;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 50px 2rem;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr 1fr;
  gap: 2.5rem;
}

/* BRAND COLUMN */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1.1rem;
}



.footer-logo-text {
  font-family: "Times New Roman", Times, serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.footer-logo-text span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #38bdf8;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

/* SOCIAL BUTTONS */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transform: translateY(-3px);
}

.social-icon.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(220, 39, 67, 0.35);
  transform: translateY(-3px);
}

/* COLUMN HEADINGS */
.footer-title {
  font-family: "Times New Roman", Times, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

/* QUICK LINKS WITH UNDERLINE ANIMATION */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  transition: color 0.3s ease;
}

/* Animated Expanding Underline for Quick Links */
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a i {
  font-size: 0.75rem;
  color: #38bdf8;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover i {
  transform: translateX(4px);
}

/* CONTACT LIST WITH UNDERLINE ANIMATION */
.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.contact-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  font-weight: 700;
}

.footer-contact p {
  color: #e2e8f0;
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0;
}

/* Interactive Phone & Email Link Styling */
.footer-contact a {
  color: #e2e8f0;
  font-size: 0.875rem;
  text-decoration: none;
  line-height: 1.4;
  margin: 0;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease;
}

/* Animated Expanding Underline for Phone & Email */
.footer-contact a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-contact a:hover {
  color: #38bdf8;
}

.footer-contact a:hover::after {
  width: 100%;
}

/* MAP CARD */
.map-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   BOTTOM COPYRIGHT BAR & DEEGENEX BADGE BUTTON
   ========================================================= */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  background: #05080f;
}

.footer-bottom-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright-text {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

/* DEEGENEX DEVELOPER BUTTON BADGE */
.deegenex-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #94a3b8;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.deegenex-badge strong {
  color: #ffffff;
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.deegenex-badge i {
  font-size: 0.7rem;
  color: #0284c7;
  transition: transform 0.3s ease;
}

.deegenex-badge:hover {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
  transform: translateY(-2px);
}

.deegenex-badge:hover i {
  color: #ffffff;
  transform: translate(2px, -2px);
}

/* =========================================================
   MOBILE RESPONSIVE LAYOUT
   ========================================================= */
@media (max-width: 992px) {
  .modern-footer {
    padding-right: 1rem;
    padding-top: 65px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.25rem 35px 1.25rem;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 0.75rem;
  }

  /* Ensures space above mobile floating bottom navbar */
  .footer-bottom {
    padding-bottom: 25px;
  }
}

/* Fotter Ends */


/* ===========================================
   MODERN SCROLLBAR
=========================================== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f4f8fb;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #00b4db,
        #0083b0
    );
    border-radius: 20px;
    border: 2px solid #f4f8fb;
    transition: all .4s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #0083b0,
        #005f80
    );
}

::-webkit-scrollbar-thumb:active {
    background: #004d66;
}








