:root {
  /* Namo Brand Palette */
  --clr-p-white: #ffffff;
  --clr-p-black: #0a0a0a;
  --clr-p-blue: #00aeef;
  --clr-p-orange: #f7941d;
  --clr-p-pink: #ec008c;
  --clr-p-red: #ff3333;
  
  /* Theme Variables - Sophisticated High Contrast */
  --p-bg: #f8fafc;
  --p-text: #1a1a1a;
  --p-heading: #000000;
  --p-header-bg: rgba(255, 255, 255, 0.85);
  --p-header-border: rgba(0, 0, 0, 0.05);
  --p-video-overlay: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.9) 100%);
  --p-glass: rgba(255, 255, 255, 0.6);
  --p-glass-blur: blur(10px);
  --p-card-bg: #ffffff;
  --p-shadow: 0 10px 40px rgba(0,0,0,0.06);
  --p-gradient: linear-gradient(135deg, #1a1a1a, #ff3333);
  
  --clr-theme-1: #ff3333 !important;
  --p-accent: #ff3333;
}

/* Global Reset & Typography */
html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

a, a:hover, a:focus, a:active,
u, .underline, [style*="underline"] {
  text-decoration: none !important;
}

.cp-title span::after,
.cp-title2 span::after,
.cp-subtitle::after,
.cp-section-title span::after {
  display: none !important;
}

body {
  font-family: 'Outfit', sans-serif !important;
  color: var(--p-text);
  background: var(--p-bg);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--p-heading);
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700;
  line-height: 1.2;
}

p {
  line-height: 1.7;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   PREMIUM NAVBAR
   ========================================================================== */
.premium-navbar {
  background: rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(10px);
  width: 100%;
  z-index: 1100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  position: absolute !important;
  top: 0;
  left: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cp-header2-bottom.header-sticky {
  background: #ffffff !important;
  backdrop-filter: blur(15px);
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 5px 30px rgba(0,0,0,0.15) !important;
  border-bottom: 2px solid var(--clr-theme-1) !important;
  animation: slideDown 0.4s ease-out;
  z-index: 1200;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* Logo Styling */
.premium-navbar .container,
.cp-header2-bottom .container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 20px !important;
  margin: 0 !important;
}

.navbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 5px 0;
  gap: 40px;
}

.namo-logo-link img {
  max-height: 100px !important;
}

.navbar-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.navbar-menu {
  flex: 1;
  display: flex;
  justify-content: flex-end !important;
  margin-left: auto;
}

.navbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media (min-width: 992px) {
  .navbar-actions {
    display: none !important;
  }
}

.namo-logo-link {
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: fit-content;
  transform: translateY(0);
}

.namo-circles {
  display: flex;
  gap: 2px;
}

.n-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 18px;
}

.n-blue { background: #00aeef; }
.n-orange { background: #fdb813; }
.n-pink { background: #e9007e; }
.n-green { background: #00c176; }

.namo-bar-bottom {
  font-size: 10px;
  letter-spacing: 4px;
  font-weight: 700;
  color: #ffffff !important;
  text-transform: uppercase;
  background: linear-gradient(90deg, #00aeef 0%, #fdb813 33%, #e9007e 66%, #00c176 100%);
  padding: 4px 12px 4px 16px;
  border-radius: 20px;
  text-align: center;
  width: 100%;
}

.header-sticky .namo-bar-bottom {
  /* color remains white because of gradient background */
}

.main-nav {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  list-style: none !important;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.main-nav ul li a {
  text-decoration: none !important;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 15px 0;
  transition: all 0.3s ease;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.header-sticky .main-nav ul li a {
  color: #1a202c !important;
  text-shadow: none;
}

.main-nav ul li a:hover,
.main-nav ul li.active > a {
  color: var(--p-accent) !important;
}

/* Dropdown Menu overrides */
.main-nav .has-dropdown {
  position: relative;
}

.main-nav .has-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 240px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block; 
  z-index: 1300; 
}

.main-nav .has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .has-dropdown .dropdown-menu li {
  display: block;
}

.main-nav .has-dropdown .dropdown-menu li a {
  display: block;
  padding: 10px 25px;
  color: #333333 !important;
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
  text-shadow: none;
}

.main-nav .has-dropdown .dropdown-menu li a:hover {
  background-color: rgba(0,0,0,0.03);
  color: var(--p-accent) !important;
}

/* ==========================================================================
   HERO / BANNER AREA
   ========================================================================== */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video-container video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55) !important;
  z-index: 1;
  pointer-events: none;
}

.cp-banner2-area {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.cp-banner-title {
  font-size: 70px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
  margin-bottom: 20px !important;
  line-height: 1.1;
}

@media (max-width: 991px) {
  .cp-banner-title { font-size: 60px !important; }
}
@media (max-width: 767px) {
  .cp-banner-title { font-size: 42px !important; }
}

.cp-banner2-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 0 auto;
  display: block;
  width: 100%;
}

.hero-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.hero-btns .cp-btn, 
.hero-btns .cp-border-btn {
  margin: 0 !important;
}

.cp-banner2-content p {
  color: #ffffff !important;
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-features div {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

/* ==========================================================================
   BREADCRUMB AREA
   ========================================================================== */
.breadcrumb__area {
  padding: 180px 0 120px !important;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.breadcrumb__area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 100%);
  z-index: 0;
}

.breadcrumb__title {
  color: #ffffff !important;
  font-size: 72px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 15px 45px rgba(0,0,0,0.6);
  position: relative;
  z-index: 1;
}

.breadcrumb__list {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 10px 30px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  gap: 10px;
  color: #fff !important;
  position: relative;
  z-index: 1;
}

.breadcrumb__list a { color: #fff !important; font-weight: 700; }

/* ==========================================================================
   CARDS & SECTIONS
   ========================================================================== */
section {
  padding: 100px 0 !important;
}

.cp-card-box {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #f0f0f0;
}

.cp-card-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: var(--clr-theme-1);
}

/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */
.cp-about-img-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.cp-about-img-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.cp-about-img-box:hover img {
    transform: scale(1.05);
}

.cp-about-content,
.cp-about2-content {
    padding-left: 0;
}

@media (min-width: 992px) {
    .cp-about-content,
    .cp-about2-content {
        padding-left: 40px;
    }
}

.ml-40 { margin-left: 40px; }
.mr-40 { margin-right: 40px; }

.cp-section-subtitle,
.cp-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #ff3333;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.cp-section-title-2,
.cp-title {
    font-size: 42px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 25px;
}

.cp-title span {
    color: #ff3333;
}

.cp-about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.cp-about-list ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.cp-about-list ul li {
    font-size: 16px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
}

.cp-about-list ul li i {
    color: #ff3333;
    font-size: 18px;
}

.cp-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0f172a;
}

.mission-vision-area {
    background-color: #0f172a !important;
}

.mission-vision-area .cp-section-title-2 {
    color: #ffffff !important;
}

.mission-vision-area .cp-card-box {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
}

.mission-vision-area .cp-card-box h3,
.mission-vision-area .cp-card-box p {
    color: #ffffff !important;
}

.mission-vision-area .cp-card-box p {
    opacity: 0.8;
}

/* Service Items with Background */
.cp-service2-item {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: none !important;
}

.cp-service2-item .cp-service2-content {
  padding: 30px;
  position: relative;
  z-index: 5;
}

.cp-service2-item .glass-panel {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
  pointer-events: none;
}

.cp-service2-item .cp-service2-title,
.cp-service2-item .cp-service2-title a {
  color: #ffffff !important;
  text-shadow: 0 1px 5px rgba(0,0,0,0.6);
  font-weight: 700;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.cp-service2-item .cp-service2-text {
  color: #f8f8f8 !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  position: relative;
  z-index: 10;
}

.cp-service2-item .cp-service2-btn {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  color: #ffffff !important;
}

.premium-navbar .bar-icon span {
  background: #ffffff !important;
}

.cp-service2-item:hover .glass-panel {
  background: rgba(0,0,0,0.5);
}

/* ==========================================================================
   INDUSTRY CARDS
   ========================================================================== */
.industry-card {
    background: #ffffff;
    padding: 50px 35px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--p-gradient);
    opacity: 0;
    z-index: -1;
    transition: all 0.4s ease;
}

.industry-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
}

.industry-card:hover::before {
    opacity: 1;
}

.industry-icon {
    width: 80px;
    height: 80px;
    background: #fff5f5;
    color: #ff3333;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 30px;
    transition: all 0.4s ease;
}

.industry-card:hover .industry-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.industry-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.industry-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #555 !important;
    transition: all 0.3s ease;
}

.industry-card:hover h3,
.industry-card:hover p {
    color: #ffffff !important;
}

/* ==========================================================================
   PORTFOLIO ENHANCEMENTS
   ========================================================================== */
.cp-project-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cp-project-img {
    position: relative;
    overflow: hidden;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-project-img img {
    transition: transform 0.6s ease;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.cp-project-item:hover .cp-project-img img {
    transform: scale(1.1);
}

.cp-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 51, 51, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.cp-project-item:hover .cp-project-overlay {
    opacity: 1;
}

.cp-project-overlay a {
    width: 50px;
    height: 50px;
    background: #fff;
    color: #ff3333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.premium-footer {
  background: #0a0a0a !important;
  color: #ffffff !important;
  padding: 100px 0 30px !important;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

@media (max-width: 991px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 991px) {
  .navbar-wrapper {
    padding: 15px 0;
  }
  .namo-logo-link {
    transform: scale(0.9);
    transform-origin: left;
  }
}

@media (max-width: 767px) {
  .cp-banner2-content {
    padding: 0 15px;
  }
  .cp-banner2-btn-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .cp-banner2-btn-wrapper .mr-20 {
    margin-right: 0 !important;
  }
  .cp-service2-item {
    min-height: 350px;
  }
  .industry-card {
    padding: 30px 20px;
  }
}
@media (max-width: 575px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-widget-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #fff;
}

.footer-links-list { list-style: none; padding: 0; }
.footer-links-list li { margin-bottom: 12px; }
.footer-links-list a { color: rgba(255,255,255,0.7) !important; text-decoration: none; transition: 0.3s; }
.footer-links-list a:hover { color: #fff !important; transform: translateX(5px); display: inline-block; }

.footer-about .namo-logo-link {
  align-items: flex-start;
}

.footer-about p {
  color: rgba(255,255,255,0.7) !important;
  line-height: 1.8;
  font-size: 15px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

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

.footer-social a:hover {
  background: var(--clr-theme-1);
  transform: translateY(-3px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-contact-item i {
  color: var(--clr-theme-1);
  font-size: 18px;
}

.footer-contact-item p {
  margin: 0;
  color: rgba(255,255,255,0.7) !important;
}

.footer-contact-item a {
  color: inherit !important;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  margin-top: 60px;
  text-align: center;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS
   ========================================================================== */
.cp-floating-area {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
}

/* Hide breadcrumb trail across all pages */
.breadcrumb__list, 
.breadcrumb-menu,
.breadcrumb-trail {
    display: none !important;
}

.cp-floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  margin-top: 15px;
  transition: 0.3s;
  color: #333;
}

.cp-floating-btn:hover {
  transform: scale(1.1);
  background: var(--clr-theme-1);
  color: #fff;
}

.cp-floating-whatsapp-btn { background: #25D366; color: #fff; }

/* ==========================================================================
   CONTACT PAGE & FORMS
   ========================================================================== */
.cp-contact-info-wrap {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.cp-contact-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cp-contact-info-icon {
    width: 60px;
    height: 60px;
    background: #fff5f5;
    color: #ff3333;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.cp-contact-info-item:hover .cp-contact-info-icon {
    background: #ff3333;
    color: #fff;
    transform: rotate(10deg);
}

.cp-contact-info-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.cp-contact-info-text p, .cp-contact-info-text a {
    color: #555 !important;
    font-weight: 500;
    margin: 0;
}

.cp-contact-form-wrap {
    background: #fff;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.cp-input-field input, 
.cp-input-field textarea {
    width: 100%;
    padding: 15px 25px;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px;
    color: #1a202c !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cp-input-field input:focus, 
.cp-input-field textarea:focus {
    border-color: #ff3333 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(255, 51, 51, 0.1);
    outline: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #ff3333; }

/* ==========================================================================
   GLOBAL MOBILE ALIGNMENT FIXES
   ========================================================================== */
@media (max-width: 767px) {
  /* Typography and Layouts */
  .cp-banner-title { font-size: 32px !important; line-height: 1.3 !important; }
  .cp-title { font-size: 28px !important; line-height: 1.3 !important; }
  .breadcrumb__title { font-size: 36px !important; }
  h1, h2, h3, h4, h5, h6 { word-break: break-word; }
  
  /* Banner Fix for Mobile Overlap */
  section.cp-banner2-area {
    height: auto !important;
    min-height: 100vh !important;
    padding-top: 150px !important; /* clears the logo/navbar */
    padding-bottom: 50px !important;
  }
  
  /* Navbar logo fix for mobile */
  .namo-logo-link img { max-height: 70px !important; }
  
  /* Alignment Fixes */
  .cp-section-title, .cp-about2-content, .cp-about-text, .cp-about2-text { text-align: center !important; }
  .cp-section-title .cp-subtitle { margin: 0 auto 15px auto !important; display: inline-block; }
  .cp-banner2-content p { text-align: center !important; }
  
  /* Buttons */
  .hero-btns { display: flex; flex-direction: column; gap: 15px; align-items: center; justify-content: center; margin-top: 20px; }
  .hero-btns .cp-btn, .hero-btns .cp-border-btn { margin: 0 auto !important; width: 100%; max-width: 250px; text-align: center; display: inline-flex !important; align-items: center !important; justify-content: center !important; }
  .cp-btn { /* fixed size applied in main.css handles this */ }

  /* Spacing Adjustments */
  .pt-80, .pt-60, .pt-50, .pt-100 { padding-top: 40px !important; }
  .pb-80, .pb-60, .pb-50, .pb-100 { padding-bottom: 40px !important; }
  .mb-60, .mb-50, .mb-40 { margin-bottom: 30px !important; }
  .mt-60, .mt-50, .mt-40 { margin-top: 30px !important; }

  /* Grid/Column Fixes */
  .cp-about-img-box, .cp-about2-img-wrap, .about-video-box { margin-bottom: 30px !important; text-align: center; }
  .cp-about-img-box img, .cp-about2-img-wrap img { max-width: 100%; height: auto; display: inline-block; }
  .cp-card-box, .industry-card, .cp-service2-item { text-align: center; }
  .cp-card-box .cp-news2-subtitle, .cp-card-title { text-align: center !important; }
  .industry-icon { margin: 0 auto 20px auto !important; }
  
  /* Hero Features */
  .hero-features { flex-direction: row !important; flex-wrap: wrap !important; justify-content: center !important; gap: 10px !important; }
  .hero-features div { font-size: 13px; display: flex; align-items: center; justify-content: center; flex: 1 1 45%; }
  
  /* Footer Fixes */
  .footer-widget { text-align: center; }
  .footer-social { justify-content: center; }
  .footer-contact-item { justify-content: center !important; text-align: center; flex-direction: column; gap: 5px !important; }
  .footer-logo { display: flex; justify-content: center; }
  
  /* Portfolio / General Grids */
  .cp-project-item { margin-bottom: 30px; }
}

/* ==========================================================================
   PREMIUM COUNTER / ACHIEVEMENTS
   ========================================================================== */
.cp-counter-item {
  background: linear-gradient(145deg, #ffffff, #f9f9f9) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: 20px !important;
  padding: 40px 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cp-counter-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 6px;
  background: linear-gradient(90deg, #ff3333, #0a0a0a);
  z-index: 2;
  transition: all 0.4s ease;
}

.cp-counter-item:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.cp-counter-item:hover::before {
  height: 100%;
  opacity: 0.05;
}

.cp-counter-number {
  font-size: 56px !important;
  font-weight: 800 !important;
  background: linear-gradient(90deg, #ff3333, #0a0a0a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px !important;
}

.cp-counter-item span {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   MOBILE ALIGNMENT & RESPONSIVE FIXES (Global)
   ========================================================================== */

@media (max-width: 991px) {
  /* Reduce padding on sections globally */
  .pt-150 { padding-top: 80px !important; }
  .pb-150 { padding-bottom: 80px !important; }
  .pt-120 { padding-top: 70px !important; }
  .pb-120 { padding-bottom: 70px !important; }
  .pt-100 { padding-top: 60px !important; }
  .pb-100 { padding-bottom: 60px !important; }
  
  /* Page Titles */
  .page-title {
    font-size: 42px !important;
  }
  .page-title-area {
    min-height: 300px !important;
  }
  
  /* Navbar */
  .namo-logo-link img {
    max-height: 80px !important;
  }
  
  .cp-floating-btn {
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
  }
}

@media (max-width: 767px) {
  /* Further reduce padding for smartphones */
  .pt-150 { padding-top: 60px !important; }
  .pb-150 { padding-bottom: 60px !important; }
  .pt-120 { padding-top: 50px !important; }
  .pb-120 { padding-bottom: 50px !important; }
  
  /* Titles & Text */
  .page-title {
    font-size: 32px !important;
    line-height: 1.3 !important;
  }
  .cp-title {
    font-size: 32px !important;
  }
  .cp-section-title h2 {
    font-size: 28px !important;
  }
  
  /* Cards & Layout */
  .cp-service-item {
    margin-bottom: 30px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .footer-about {
    text-align: center;
  }
  .footer-logo {
    display: flex;
    justify-content: center;
  }
  
  /* Hero section adjustments */
  .slider-height {
    min-height: 500px !important;
  }
  .cp-slider-title {
    font-size: 36px !important;
  }
}

/* Ensure images in service cards are responsive */
.cp-card-box img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}

