/* ==========================================================================
   360DEGREE INFOTECH - MODERN 2026 INDUSTRY STANDARD THEME
   Lightweight, Ultra-Fast, Highly Optimized, Zero Database/Query impact
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.25);
  --accent-cyan: #06b6d4;
  --accent-indigo: #4f46e5;
  --accent-purple: #7c3aed;
  --accent-pink: #ec4899;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;

  --bg-dark: #090d16;
  --bg-dark-card: #0f172a;
  --bg-dark-surface: #1e293b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;

  --text-dark: #0f172a;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-light: #f1f5f9;

  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.08);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 10px 30px -5px rgba(37, 99, 235, 0.3);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Global Resets & Base Styles
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-main) !important;
  color: var(--text-body) !important;
  background-color: var(--bg-light) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main) !important;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--primary);
  transition: var(--transition);
}

a:hover, a:focus {
  color: var(--primary-hover);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.main-container {
  background: var(--bg-light);
  min-height: 100vh;
}

/* --------------------------------------------------------------------------
   Top Header Modernization
   -------------------------------------------------------------------------- */
.top-header {
  background: var(--bg-dark) !important;
  border-bottom: 1px solid var(--border-dark);
  padding: 8px 0 !important;
  font-size: 13px;
  color: #94a3b8;
}

.top-header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.top-header ul li {
  display: inline-flex;
  align-items: center;
}

.top-header ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent;
  border: none;
  transition: var(--transition);
  padding: 0;
  overflow: hidden;
}

.top-header ul li a:hover {
  transform: translateY(-2px) scale(1.12);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.top-header ul li a img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain !important;
  border-radius: 4px;
  filter: none !important; /* Preserves rich original official colors for Facebook, Twitter, LinkedIn, Google+ */
  transition: var(--transition);
  display: block !important;
}

/* --------------------------------------------------------------------------
   Middle Header / Branding
   -------------------------------------------------------------------------- */
.middle-header {
  background: var(--bg-white) !important;
  padding: 14px 0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 99;
}

.middle-header .container > .row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap;
}

.middle-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
}

/* Middle Header Actions (Phone Badge & Contact Us Button - Perfectly Even & Aligned) */
.header-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.logo-block {
  display: flex !important;
  align-items: center !important;
}

.logo-block img {
  max-height: 52px;
  width: auto;
  transition: var(--transition);
}

.logo-block img:hover {
  transform: scale(1.02);
}

/* Modern Phone Block - Perfectly Aligned */
.middle-header .phone,
.header-actions .phone {
  background: #eff6ff !important;
  border: 1.5px solid #bfdbfe !important;
  border-radius: 9999px !important;
  padding: 0 20px !important;
  height: 44px !important;
  max-height: 44px !important;
  line-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  position: static !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08) !important;
  transition: var(--transition) !important;
}

.middle-header .phone:hover,
.header-actions .phone:hover {
  background: #dbeafe !important;
  border-color: #93c5fd !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}

.middle-header .phone h5,
.header-actions .phone h5 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #1d4ed8 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.middle-header .phone h5 img,
.header-actions .phone h5 img {
  width: 18px !important;
  height: 18px !important;
  object-fit: contain !important;
  margin: 0 !important;
  vertical-align: middle !important;
  filter: drop-shadow(0 1px 2px rgba(37, 99, 235, 0.25)) !important;
}

/* Modern Contact Us Top Button - Perfectly Even & Aligned */
.topselectbtn,
.header-actions .topselectbtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.01em;
  padding: 0 24px !important;
  height: 44px !important;
  max-height: 44px !important;
  line-height: 44px !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  transition: var(--transition) !important;
  cursor: pointer !important;
  border: none !important;
  text-decoration: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  position: static !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.topselectbtn:hover,
.header-actions .topselectbtn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.5) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   Navigation Menu (Navbar)
   -------------------------------------------------------------------------- */
.ow-navigation {
  background: #0f172a !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 9999;
  transition: var(--transition);
}

.ow-navigation:before {
  display: none !important; /* Remove old dual-color pseudo element */
}

.ow-navigation .navbar-nav {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.ow-navigation .navbar-collapse > .nav.navbar-nav > li {
  margin: 0 4px !important;
}

/* TOP-LEVEL NAV LINKS ONLY (Do not leak into dropdowns) */
.ow-navigation .navbar-collapse > .nav.navbar-nav > li > a {
  font-family: var(--font-main) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  color: #e2e8f0 !important;
  padding: 18px 16px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.ow-navigation .navbar-collapse > .nav.navbar-nav > li > a:before {
  display: none !important;
}

.ow-navigation .navbar-collapse > .nav.navbar-nav > li:hover > a,
.ow-navigation .navbar-collapse > .nav.navbar-nav > li.active > a,
.ow-navigation .navbar-collapse > .nav.navbar-nav > li.open > a {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

.ow-navigation .navbar-collapse > .nav.navbar-nav > li.active > a {
  color: #60a5fa !important;
}

.ow-navigation .navbar-collapse > .nav.navbar-nav > li.active > a:after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #38bdf8);
  border-radius: 2px;
}

/* Modern Dropdown Menus Container */
.ow-navigation .dropdown-menu,
.ow-navigation .nav.navbar-nav li.dropdown .dropdown-menu,
.ow-navigation .navbar-nav > li .dropdown-menu {
  background: #ffffff !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06) !important;
  padding: 8px !important;
  min-width: 280px !important;
  margin-top: 2px !important;
  animation: modernFadeIn 0.2s ease-out;
  z-index: 999999 !important;
}

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

/* Dropdown Menu Links - PURE HIGH CONTRAST DARK TEXT (Ultra Visible on White) */
.ow-navigation .dropdown-menu > li > a,
.ow-navigation .dropdown-menu li a,
.ow-navigation .nav.navbar-nav li.dropdown .dropdown-menu li a,
.ow-navigation .navbar-nav > li .dropdown-menu li a {
  color: #0f172a !important; /* Deep dark slate black - 100% visible and sharp! */
  font-family: var(--font-main) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 11px 16px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  display: block !important;
  background: transparent !important;
  border: none !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
}

.ow-navigation .dropdown-menu > li > a:hover,
.ow-navigation .dropdown-menu > li > a:focus,
.ow-navigation .dropdown-menu li a:hover,
.ow-navigation .nav.navbar-nav li.dropdown .dropdown-menu li a:hover,
.ow-navigation .navbar-nav > li .dropdown-menu li a:hover {
  background: #eff6ff !important; /* Soft royal blue tint */
  color: #2563eb !important; /* Vibrant primary royal blue */
  padding-left: 20px !important;
}

/* Mobile Navbar Toggle */
.ow-navigation .navbar-toggle {
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 8px 10px;
}

.ow-navigation .navbar-toggle .icon-bar {
  background-color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Hero / Carousel Banner Modernization
   -------------------------------------------------------------------------- */
#home-banner {
  position: relative;
  overflow: hidden;
  background: #090d16;
}

/* Carousel Container & Item Fix (Seamless Smooth Horizontal Sliding) */
#myCarousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

#myCarousel .carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#myCarousel .carousel-inner > .item {
  position: relative;
  display: none;
  width: 100%;
  height: 480px;
  overflow: hidden;
  -webkit-transition: 0.6s ease-in-out left;
  transition: 0.6s ease-in-out left;
}

#myCarousel .carousel-inner > .active,
#myCarousel .carousel-inner > .next,
#myCarousel .carousel-inner > .prev {
  display: block !important;
}

#myCarousel .carousel-inner > .active {
  left: 0;
}

/* CRITICAL: .next and .prev MUST be absolute at top: 0 to slide horizontally alongside .active */
#myCarousel .carousel-inner > .next,
#myCarousel .carousel-inner > .prev {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

#myCarousel .carousel-inner > .next {
  left: 100%;
}

#myCarousel .carousel-inner > .prev {
  left: -100%;
}

#myCarousel .carousel-inner > .next.left,
#myCarousel .carousel-inner > .prev.right {
  left: 0;
}

#myCarousel .carousel-inner > .active.left {
  left: -100%;
}

#myCarousel .carousel-inner > .active.right {
  left: 100%;
}

/* Hardware-Accelerated 3D Transforms (Prevents Jumps & Vertical Stacking) */
@media all and (transform-3d), (-webkit-transform-3d) {
  #myCarousel .carousel-inner > .item {
    -webkit-transition: -webkit-transform 0.6s ease-in-out !important;
    transition: transform 0.6s ease-in-out !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
  }

  #myCarousel .carousel-inner > .item.next,
  #myCarousel .carousel-inner > .item.active.right {
    left: 0 !important;
    -webkit-transform: translate3d(100%, 0, 0) !important;
    transform: translate3d(100%, 0, 0) !important;
  }

  #myCarousel .carousel-inner > .item.prev,
  #myCarousel .carousel-inner > .item.active.left {
    left: 0 !important;
    -webkit-transform: translate3d(-100%, 0, 0) !important;
    transform: translate3d(-100%, 0, 0) !important;
  }

  #myCarousel .carousel-inner > .item.next.left,
  #myCarousel .carousel-inner > .item.prev.right,
  #myCarousel .carousel-inner > .item.active {
    left: 0 !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
  }
}

#myCarousel .carousel-inner > .item > img,
#myCarousel .item img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  filter: brightness(0.92);
  display: block;
}

/* Subtle Gradient Scrim on Carousel */
#myCarousel .item:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(9, 13, 22, 0.15) 0%, rgba(9, 13, 22, 0.5) 100%);
  pointer-events: none;
}

/* Carousel Indicators */
.carousel-indicators {
  bottom: 24px !important;
}

.carousel-indicators li {
  width: 10px !important;
  height: 10px !important;
  margin: 0 4px !important;
  border-radius: var(--radius-full) !important;
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  background: rgba(255, 255, 255, 0.2) !important;
  transition: var(--transition) !important;
}

.carousel-indicators .active {
  width: 28px !important;
  height: 10px !important;
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  border-radius: var(--radius-full) !important;
}

/* Carousel Controls */
.carousel-control {
  width: 50px !important;
  height: 50px !important;
  top: 50% !important;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 0.85 !important;
  transition: var(--transition) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-control.left {
  left: 20px !important;
}

.carousel-control.right {
  right: 20px !important;
}

.carousel-control:hover {
  background: var(--primary) !important;
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.08);
}

/* --------------------------------------------------------------------------
   Quick Services Floating Ribbon (visiblecontentsection)
   -------------------------------------------------------------------------- */
.visiblecontentsection {
  background: var(--bg-white) !important;
  padding: 30px 0 !important;
  position: relative;
  z-index: 10;
  margin-top: -40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border-light);
}

.visiblecontentsection .container {
  width: 100% !important;
}

.visiblecontentsection h3 {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--text-dark) !important;
  margin-top: 14px;
}

.visiblebox {
  background: var(--bg-white) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  padding: 16px 12px !important;
  min-height: 125px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm) !important;
  transition: var(--transition) !important;
  text-decoration: none !important;
}

/* Modern Gradient Icon Squircle Badges */
.visiblebox-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
  transition: var(--transition);
  flex-shrink: 0;
}

.visiblebox-icon img {
  width: 26px !important;
  height: 26px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,0.25)) !important;
  display: block !important;
  opacity: 1 !important;
}

.icon-web {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
}

.icon-ecom {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35) !important;
}

.icon-mobile {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
}

.icon-marketing {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35) !important;
}

.icon-more {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
}

/* Direct fallback if img is placed without .visiblebox-icon */
.visiblebox > img {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain !important;
  transition: var(--transition);
  filter: brightness(0) saturate(100%) invert(26%) sepia(93%) saturate(2372%) hue-rotate(215deg) brightness(96%) contrast(97%) drop-shadow(0 2px 4px rgba(37,99,235,0.25)) !important;
  margin: 0 auto 10px auto;
  display: block !important;
}

.visiblebox h3 {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
  margin: 4px 0 0 0 !important;
  line-height: 1.35;
  transition: var(--transition);
  text-align: center;
}

.visiblebox h3 a {
  color: var(--text-dark) !important;
  text-decoration: none !important;
}

.booklink:hover .visiblebox,
.visiblebox:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.2) !important;
  border-color: #93c5fd !important;
  background: linear-gradient(180deg, #ffffff 0%, var(--primary-light) 100%) !important;
}

.booklink:hover .visiblebox h3,
.booklink:hover .visiblebox h3 a {
  color: var(--primary) !important;
}

.booklink:hover .visiblebox .visiblebox-icon {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
}

.booklink:hover .visiblebox > img {
  transform: scale(1.15);
}

/* Checkmark Mark Icon Visibility */
img[src*="360mark"] {
  display: inline-block !important;
  vertical-align: middle !important;
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 1px 3px rgba(37, 99, 235, 0.35)) !important;
}

/* --------------------------------------------------------------------------
   Dynamic Section & Content Cards Modernization
   -------------------------------------------------------------------------- */
.service-section {
  padding: 70px 0 !important;
  background: var(--bg-light) !important;
}

.section-header h3,
.section-header h2 {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: var(--text-dark) !important;
  margin-bottom: 24px !important;
  position: relative;
  display: inline-block;
}

.section-header h3:after,
.section-header h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  border-radius: var(--radius-full);
  margin-top: 10px;
}

/* Dynamic paragraph styles */
.welcome, .fnt1 {
  font-size: 16px !important;
  color: var(--text-body) !important;
  line-height: 1.8 !important;
  margin-bottom: 16px !important;
}

/* Modern Bento/Feature Cards (ime5) */
.ime0 {
  margin-bottom: 30px;
}

.ime5 {
  background: var(--bg-white) !important;
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border-light) !important;
  overflow: hidden;
  box-shadow: var(--shadow-md) !important;
  transition: var(--transition) !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ime5:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-xl) !important;
  border-color: #cbd5e1 !important;
}

.ime5 .ime {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.ime5 .ime img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ime5:hover .ime img {
  transform: scale(1.08);
}

.ime5 .ime1 h2 {
  margin: 0 !important;
  padding: 10px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  text-align: center;
  border-radius: 0 !important;
}

.ime5 .ime3 {
  padding: 20px 18px !important;
  flex: 1;
}

.ime5 .ime3 p {
  color: var(--text-body) !important;
  font-size: 14.5px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  text-align: left !important;
}

/* --------------------------------------------------------------------------
   Key Points / Visual Section
   -------------------------------------------------------------------------- */
.testimonial-section {
  padding: 60px 0 !important;
  background: var(--bg-white) !important;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.testimonial-section .section-header h2 {
  text-align: center !important;
  display: block;
}

.testimonial-section .section-header h2:after {
  margin: 12px auto 0 auto;
}

.testimonial-section img.image_fade {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  padding: 16px;
  background: #ffffff;
  max-width: 90%;
  transition: var(--transition);
}

.testimonial-section img.image_fade:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.2);
}

/* --------------------------------------------------------------------------
   Internal Pages Header / Banner
   -------------------------------------------------------------------------- */
.page-banner {
  background: linear-gradient(135deg, #090d16 0%, #0f172a 50%, #1e293b 100%) !important;
  padding: 50px 0 !important;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
}

.page-banner:before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner h3 {
  color: #ffffff !important;
  font-size: 34px !important;
  font-weight: 800 !important;
  margin: 0 !important;
  letter-spacing: -0.02em;
}

#page-title {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  padding: 36px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

#page-title h1 {
  color: #ffffff !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  margin: 0 !important;
}

/* --------------------------------------------------------------------------
   Cards, Tables, & Detail Views (About, Services, Sourcing)
   -------------------------------------------------------------------------- */
#content {
  padding: 50px 0;
}

#content h3 {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: var(--text-dark) !important;
  margin-bottom: 20px;
}

.container.clearfix {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 30px;
  margin-bottom: 30px !important;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.container.clearfix:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.container.clearfix img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.container.clearfix img:hover {
  transform: scale(1.02);
}

/* Services Page Heading Pill */
.our {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-indigo) 100%) !important;
  color: #ffffff !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-md) !important;
  display: inline-block;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 20px !important;
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* --------------------------------------------------------------------------
   Portfolio Page Modernization
   -------------------------------------------------------------------------- */
.portfolio-filter1 {
  display: inline-flex !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-full) !important;
  background: var(--bg-white) !important;
  padding: 6px !important;
  margin-bottom: 36px !important;
  box-shadow: var(--shadow-sm) !important;
  gap: 6px;
}

.portfolio-filter1 li {
  border-radius: var(--radius-full) !important;
  overflow: hidden;
  transition: var(--transition);
}

.portfolio-filter1 li a {
  border: none !important;
  padding: 10px 22px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--text-muted) !important;
  border-radius: var(--radius-full) !important;
  transition: var(--transition) !important;
}

.portfolio-filter1 li:hover a {
  color: var(--primary) !important;
  background: var(--primary-light) !important;
}

.portfolio-filter1 li.activeFilter,
.portfolio-filter1 li[style*="background:#E91E63"],
.portfolio-filter1 li[style*="background: rgb(233, 30, 99)"] {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-indigo) 100%) !important;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.portfolio-filter1 li.activeFilter a,
.portfolio-filter1 li[style*="background:#E91E63"] a,
.portfolio-filter1 li[style*="background: rgb(233, 30, 99)"] a {
  color: #ffffff !important;
}

.portfolio article.col-md-3 {
  margin-bottom: 30px;
}

.portfolio article.col-md-3 .portfolio-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.portfolio article.col-md-3:hover .portfolio-image {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: #93c5fd;
}

.portfolio-desc h3 {
  margin-top: 14px;
}

.portfolio-desc h3 a {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text-dark) !important;
}

.portfolio-desc h3 a:hover {
  color: var(--primary) !important;
}

/* --------------------------------------------------------------------------
   Contact Page Modernization
   -------------------------------------------------------------------------- */
.contact-us {
  margin: 50px 0;
}

.contact-block {
  background: var(--bg-white) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-lg) !important;
  padding: 30px !important;
  margin-bottom: 30px !important;
  box-shadow: var(--shadow-md) !important;
  transition: var(--transition) !important;
}

.contact-block:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-xl) !important;
  border-color: #93c5fd !important;
}

.contact-block i.fa-map-marker {
  font-size: 28px !important;
  color: var(--primary) !important;
  margin-bottom: 14px !important;
  display: inline-block;
}

.contact-block span {
  display: block;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--text-dark) !important;
  letter-spacing: 0.05em;
  margin-bottom: 16px !important;
}

.contact-block p {
  color: var(--text-body) !important;
  font-size: 14.5px !important;
  margin-bottom: 8px !important;
}

/* Modern Enquiry Form */
.leave-comment.enquiry-us {
  background: var(--bg-white) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-lg) !important;
  padding: 30px !important;
  box-shadow: var(--shadow-md) !important;
}

.leave-comment .section-heading {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: var(--text-dark) !important;
  margin-bottom: 24px !important;
}

.enquiry-form .form-group label {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
  margin-bottom: 8px !important;
}

.enquiry-form .form-control {
  border-radius: var(--radius-sm) !important;
  border: 1.5px solid var(--border-light) !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  color: var(--text-dark) !important;
  background-color: #f8fafc !important;
  box-shadow: none !important;
  transition: var(--transition) !important;
}

.enquiry-form .form-control:focus {
  border-color: var(--primary) !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 4px var(--primary-light) !important;
}

.enquiry-form textarea.form-control {
  min-height: 120px;
}

.enquiry-form input[type="submit"] {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-indigo) 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 12px 32px !important;
  border-radius: var(--radius-full) !important;
  border: none !important;
  box-shadow: 0 4px 14px var(--primary-glow) !important;
  transition: var(--transition) !important;
  cursor: pointer;
}

.enquiry-form input[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45) !important;
}

#google-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

/* --------------------------------------------------------------------------
   Global Container & Wide-Screen Optimization (Reduced Side Gutters)
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .container {
    width: 94% !important;
    max-width: 1420px !important;
  }
}
@media (min-width: 1440px) {
  .container {
    width: 92% !important;
    max-width: 1560px !important;
  }
}
@media (min-width: 1680px) {
  .container {
    width: 90% !important;
    max-width: 1680px !important;
  }
}

/* --------------------------------------------------------------------------
   Modern Footer (Compact, Smart & Sleek)
   -------------------------------------------------------------------------- */
.footer-main {
  background: linear-gradient(180deg, #090e1a 0%, #050811 100%) !important;
  color: #94a3b8 !important;
  padding: 0 !important;
  border-top: 1px solid rgba(59, 130, 246, 0.2) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
}

/* Main Footer Container - Compact Padding */
.footer-content-wrap {
  padding-top: 30px !important;
  padding-bottom: 12px !important;
}

.footer-row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.footer-col {
  margin-bottom: 15px !important;
}

.footer-main .footer-logo {
  max-height: 38px !important;
  width: auto;
  margin-bottom: 10px !important;
  display: block;
}

.footer-tagline {
  color: #94a3b8 !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  margin-bottom: 12px !important;
}

.footer-tagline strong {
  color: #f1f5f9;
}

/* Contact Details in Footer */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 7px !important;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px !important;
  color: #cbd5e1;
  line-height: 1.4;
}

.footer-contact-item i {
  color: #38bdf8;
  font-size: 13px;
  width: 14px;
  flex-shrink: 0;
  text-align: center;
}

.footer-contact-item a {
  color: #cbd5e1 !important;
  transition: var(--transition);
}

.footer-contact-item a:hover {
  color: #38bdf8 !important;
  text-decoration: none;
}

.footer-contact-item .sep-dot {
  color: rgba(255, 255, 255, 0.2);
  font-size: 9px;
  margin: 0 3px;
}

/* Social Link Badges */
.footer-social-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px !important;
}

.footer-social-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #cbd5e1 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px !important;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.footer-social-btn:hover {
  transform: translateY(-2px);
  color: #ffffff !important;
}

.footer-social-btn.fb-btn:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.footer-social-btn.in-btn:hover {
  background: #0077b5;
  border-color: #0077b5;
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.4);
}

.footer-social-btn.tw-btn:hover {
  background: #0284c7;
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.footer-social-btn.mail-btn:hover {
  background: #8b5cf6;
  border-color: #8b5cf6;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Widget Headings across footer columns */
.footer-widget-title,
.footer-main .hhh h4 {
  color: #f8fafc !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  position: relative;
  display: inline-block;
  letter-spacing: 0.02em;
}

.footer-widget-title:after,
.footer-main .hhh h4:after {
  content: '';
  display: block;
  width: 28px;
  height: 2.5px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  border-radius: 2px;
  margin-top: 6px;
}

/* Reset Legacy Widget List Overrides (removes double >> and huge margins) */
.footer-main .widget-links ul,
.footer-nav-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-main .widget-links ul li,
.footer-nav-list li {
  float: none !important;
  width: 100% !important;
  margin: 0 0 5px 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.footer-main .widget-links ul li a:before,
.footer-main .widget-links ul li:before {
  display: none !important;
  content: "" !important;
}

.footer-nav-list li a {
  color: #94a3b8 !important;
  font-size: 12.5px !important;
  font-weight: 500;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  text-decoration: none !important;
}

.footer-nav-list li a i {
  font-size: 10px;
  color: #3b82f6;
  transition: transform 0.2s ease;
}

.footer-nav-list li a:hover {
  color: #ffffff !important;
  transform: translateX(4px);
}

.footer-nav-list li a:hover i {
  color: #38bdf8;
  transform: translateX(2px);
}

/* Compact Smart Social Cards (LinkedIn & Facebook) */
.smart-social-card.compact-social-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.smart-social-card.compact-social-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.compact-social-card .smart-social-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.compact-social-card .smart-social-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ffffff;
  flex-shrink: 0;
}

.compact-social-card .smart-social-icon.linkedin-bg {
  background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.compact-social-card .smart-social-icon.facebook-bg {
  background: linear-gradient(135deg, #1877f2, #3b5998);
}

.compact-social-card .smart-social-title {
  color: #f8fafc;
  font-size: 12.5px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.compact-social-card .verified-badge {
  color: #38bdf8;
  font-size: 11px;
}

.compact-social-card .smart-social-sub {
  color: #94a3b8;
  font-size: 11px;
  display: block;
}

.compact-social-card .smart-social-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.compact-social-card .smart-social-action-btn.linkedin-btn {
  background: rgba(0, 119, 181, 0.12);
  color: #38bdf8 !important;
  border: 1px solid rgba(0, 119, 181, 0.25);
}

.compact-social-card .smart-social-action-btn.linkedin-btn:hover {
  background: #0077b5;
  color: #ffffff !important;
  border-color: #0077b5;
}

.compact-social-card .smart-social-action-btn.facebook-btn {
  background: rgba(24, 119, 242, 0.12);
  color: #60a5fa !important;
  border: 1px solid rgba(24, 119, 242, 0.25);
}

.compact-social-card .smart-social-action-btn.facebook-btn:hover {
  background: #1877f2;
  color: #ffffff !important;
  border-color: #1877f2;
}

/* Hide legacy fallback text */
.LI-profile-badge .LI-simple-link,
#post-list-footer > a {
  display: none !important;
}

/* Slim Bottom Footer Bar */
.bottom-footer {
  background: #04060c !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 12px 0 !important;
  margin-top: 15px !important;
}

.bottom-footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.bottom-copy p {
  color: #64748b !important;
  font-size: 12.5px !important;
  margin: 0;
}

.bottom-copy strong {
  color: #94a3b8;
}

.bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bottom-links a {
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 500;
  transition: color 0.2s ease;
  text-decoration: none !important;
}

.bottom-links a:hover {
  color: #38bdf8 !important;
}

.bottom-links .sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 9px;
}

.footer-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #94a3b8 !important;
  font-size: 11.5px;
  font-weight: 600;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.footer-top-btn:hover {
  background: #2563eb;
  color: #ffffff !important;
  border-color: #2563eb;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Blog Modernization
   -------------------------------------------------------------------------- */
.blog-area {
  padding-top: 40px;
  padding-bottom: 40px;
}

.blog-post-list {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 36px;
  padding: 0 !important;
  transition: var(--transition);
}

.blog-post-list:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: #93c5fd;
}

.entry-header .entry-cover {
  position: relative;
  overflow: hidden;
  max-height: 380px;
}

.entry-header .entry-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-post-list:hover .entry-header .entry-cover img {
  transform: scale(1.05);
}

.entry-content {
  padding: 24px 28px !important;
}

.entry-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.entry-meta a {
  color: var(--text-muted) !important;
  font-size: 13px !important;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.entry-meta a:hover {
  color: var(--primary) !important;
}

.entry-title {
  margin-top: 6px !important;
  margin-bottom: 10px !important;
}

.entry-title a {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--text-dark) !important;
  line-height: 1.35;
}

.entry-title a:hover {
  color: var(--primary) !important;
}

.post-meta {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 14px;
}

.widget-area {
  padding-top: 40px;
}

.widget-area .widget {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--text-dark) !important;
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  position: relative;
  display: inline-block;
}

.widget-title:after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
  margin-top: 6px;
}

/* Pagination */
.ow-pagination .pagination > li > a {
  border-radius: var(--radius-sm) !important;
  margin: 0 4px;
  border: 1.5px solid var(--border-light);
  color: var(--text-dark);
  font-weight: 600;
  padding: 8px 16px;
}

.ow-pagination .pagination > li > a:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Portfolio Modern Cards
   -------------------------------------------------------------------------- */
.portfolio-item-card {
  transition: var(--transition);
}

.portfolio-item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #93c5fd;
}

.portfolio-item-card:hover .portfolio-image img {
  transform: scale(1.06);
}

/* Portfolio Overlay Action Icons */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  text-decoration: none !important;
}

.portfolio-overlay a:hover {
  background: var(--primary);
  color: #ffffff !important;
  transform: scale(1.12);
}

/* --------------------------------------------------------------------------
   Responsive Enhancements
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Comprehensive Mobile & Tablet Responsiveness
   -------------------------------------------------------------------------- */

/* Prevent horizontal scroll across the entire site */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

/* Medium & Small Devices (Tablets, iPads, Screens < 992px) */
@media (max-width: 991px) {
  /* Top Bar */
  .top-header {
    text-align: center;
    padding: 10px 0 !important;
  }
  
  .top-header ul {
    justify-content: center !important;
    gap: 10px;
  }

  /* Middle Header */
  .middle-header {
    padding: 14px 0 !important;
  }
  
  .middle-header .container > .row {
    flex-direction: column !important;
    gap: 14px !important;
    text-align: center !important;
  }
  
  .logo-block {
    justify-content: center !important;
    width: 100% !important;
    text-align: center;
  }

  .logo-block img {
    max-height: 50px;
  }

  .middle-header .padZero,
  .middle-header .header-actions {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 10px !important;
  }
  
  .topselectbtn,
  .header-actions .topselectbtn {
    float: none !important;
    margin: 0 !important;
    height: 42px !important;
    line-height: 42px !important;
    padding: 0 20px !important;
    font-size: 13px !important;
    position: static !important;
    top: 0 !important;
  }

  .middle-header .phone,
  .header-actions .phone {
    height: 42px !important;
    line-height: 42px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    position: static !important;
    top: 0 !important;
  }
  
  .middle-header .phone h5,
  .header-actions .phone h5 {
    font-size: 13px !important;
  }

  /* Navigation Bar & Mobile Drawer */
  .ow-navigation {
    padding: 4px 0;
  }

  .ow-navigation .navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    width: 100%;
  }

  .ow-navigation .navbar-toggle {
    display: block !important;
    float: right;
    margin: 8px 0 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 9px 12px !important;
    border-radius: var(--radius-sm) !important;
  }

  .ow-navigation .navbar-toggle:hover,
  .ow-navigation .navbar-toggle:focus {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
  }

  .ow-navigation .navbar-toggle .icon-bar {
    background-color: #ffffff !important;
    width: 22px;
    height: 2px;
  }

  .ow-navigation .navbar-collapse.collapse.in {
    display: block !important;
    background: #090d16 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
    padding: 10px 0 16px 0;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .ow-navigation .nav.navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .ow-navigation .nav.navbar-nav > li {
    width: 100% !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .ow-navigation .nav.navbar-nav > li > a {
    padding: 14px 20px !important;
    font-size: 14.5px !important;
    display: block !important;
    color: #e2e8f0 !important;
  }

  .ow-navigation .nav.navbar-nav > li > a:hover,
  .ow-navigation .nav.navbar-nav > li.active > a {
    background: rgba(37, 99, 235, 0.15) !important;
    color: #60a5fa !important;
  }

  .ow-navigation .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    background: #111827 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 4px 0 8px 16px !important;
  }

  .ow-navigation .dropdown-menu > li > a {
    color: #cbd5e1 !important;
    font-size: 13.5px !important;
    padding: 10px 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }

  .ow-navigation .dropdown-menu > li > a:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #38bdf8 !important;
  }

  /* Hero Banner Carousel */
  #myCarousel .item {
    height: 380px !important;
  }

  .carousel-control {
    width: 40px !important;
    height: 40px !important;
  }

  /* Visible Content Section (Quick Services Ribbon) */
  .visiblecontentsection {
    margin-top: 20px !important;
    padding: 24px 16px !important;
    border-radius: var(--radius-lg);
  }

  .visiblecontentsection h3 {
    text-align: center !important;
    margin-bottom: 16px !important;
  }

  .visiblebox {
    margin-bottom: 12px !important;
    min-height: 94px !important;
    padding: 12px 8px !important;
  }

  .visiblebox h3 {
    font-size: 12.5px !important;
  }

  /* Section Spacing */
  .service-section {
    padding: 45px 0 !important;
  }

  .section-header h3,
  .section-header h2 {
    font-size: 26px !important;
  }

  /* Feature Cards */
  .ime0 {
    margin-bottom: 24px;
  }

  .ime5 .ime {
    height: 160px;
  }

  /* Internal Page Banner */
  .page-banner {
    padding: 36px 0 !important;
  }

  .page-banner h3 {
    font-size: 26px !important;
  }

  /* Container & Content Padding */
  .container.clearfix {
    padding: 20px 16px !important;
    margin-bottom: 20px !important;
  }

  /* Portfolio Tabs */
  .portfolio-filter1 {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    border-radius: var(--radius-md) !important;
    padding: 4px !important;
    margin-bottom: 24px !important;
  }

  .portfolio-filter1 li a {
    padding: 8px 16px !important;
    font-size: 13px !important;
  }

  /* Footer Columns Compact */
  .footer-main {
    padding: 0 !important;
    text-align: left;
  }

  .footer-main .widget {
    margin-bottom: 20px;
  }
}

/* Extra Small Devices (Phones, Screens < 768px) */
@media (max-width: 767px) {
  /* Top Bar */
  .top-header {
    padding: 8px 0 !important;
  }
  
  .top-header ul li a {
    width: 28px;
    height: 28px;
  }

  /* Middle Header */
  .middle-header {
    padding: 12px 0 !important;
  }

  .logo-block img {
    max-height: 44px;
  }

  .middle-header .padZero {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .middle-header .phone {
    width: 100%;
    justify-content: center;
  }

  .topselectbtn {
    width: 100%;
    text-align: center;
  }

  /* Hero Banner Carousel */
  #myCarousel .item {
    height: 280px !important;
  }

  .carousel-indicators {
    bottom: 12px !important;
  }

  .carousel-control {
    width: 34px !important;
    height: 34px !important;
  }

  /* Quick Services Ribbon Grid (2 cards per row on mobile) */
  .visiblecontentsection .col-sm-6,
  .visiblecontentsection .col-md-2 {
    width: 50% !important;
    float: left !important;
    padding: 0 6px !important;
  }

  .visiblecontentsection .col-sm-6:first-child,
  .visiblecontentsection .col-md-2:first-child {
    width: 100% !important;
    float: none !important;
    margin-bottom: 10px;
  }

  .visiblebox {
    min-height: 105px !important;
    padding: 12px 6px !important;
  }

  .visiblebox-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    margin-bottom: 6px !important;
  }

  .visiblebox-icon img {
    width: 20px !important;
    height: 20px !important;
  }

  .visiblebox > img {
    width: 24px !important;
    height: 24px !important;
    margin-bottom: 6px !important;
  }

  .visiblebox h3 {
    font-size: 11.5px !important;
    margin-top: 4px !important;
  }

  /* Typography */
  .section-header h3,
  .section-header h2 {
    font-size: 22px !important;
    margin-bottom: 16px !important;
  }

  .welcome, .fnt1 {
    font-size: 14.5px !important;
    line-height: 1.7 !important;
  }

  /* About Page Services Checklist (Table to Cards on Mobile) */
  .container.clearfix table,
  .container.clearfix tbody,
  .container.clearfix tr,
  .container.clearfix td {
    display: block !important;
    width: 100% !important;
    padding: 6px 0 !important;
  }

  /* Services Media / Iframe */
  .container.clearfix iframe {
    width: 100% !important;
    height: 220px !important;
  }

  .container.clearfix img {
    width: 100% !important;
    height: auto !important;
  }

  /* Key Points Image */
  .testimonial-section img.image_fade {
    max-width: 100% !important;
    padding: 10px;
    border-radius: var(--radius-md);
  }

  /* Contact Page */
  .contact-block {
    padding: 20px !important;
    margin-bottom: 20px !important;
  }

  .leave-comment.enquiry-us {
    padding: 20px !important;
  }

  .enquiry-form input[type="submit"] {
    width: 100% !important;
    text-align: center;
  }

  #google-map {
    height: 320px !important;
  }

  #google-map div {
    height: 320px !important;
  }

  /* Portfolio Grid */
  .portfolio article.col-md-3 {
    width: 100% !important;
    float: none !important;
  }

  .portfolio article.col-md-3 .portfolio-image img {
    height: 180px !important;
  }

  /* Footer Mobile */
  .footer-highlight-bar .highlight-box {
    margin-bottom: 12px;
  }
  .bottom-footer-content {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 12px;
  }
  .bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-main .LI-profile-badge,
  .footer-main iframe {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Tiny Devices (Screens < 480px) */
@media (max-width: 479px) {
  #myCarousel .item {
    height: 230px !important;
  }

  .page-banner h3 {
    font-size: 22px !important;
  }

  .our {
    font-size: 16px !important;
    padding: 6px 14px !important;
  }

  .bottom-footer p {
    font-size: 12px !important;
    line-height: 1.6;
  }
}

