:root {
  --brand-orange: #f37021;
  --brand-blue: #2563eb;
  --brand-dark: #0f172a;
  --brand-light: #f8fafc;
  --slate-900: #0f172a;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
}

/* Base Styles */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}



body {
  font-family: 'Inter', sans-serif;
  color: var(--slate-900);
  background-color: white;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: default;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* Responsive Typography */
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
p { font-size: clamp(1rem, 1.5vw, 1.125rem); }

.display-1 {
  font-size: clamp(3.5rem, 8vw, 6rem) !important;
  font-weight: 900 !important;
}

.display-2 {
  font-size: clamp(3rem, 6vw, 5rem) !important;
  font-weight: 900 !important;
}

.display-3 {
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  font-weight: 900 !important;
}

.display-4 {
  font-size: clamp(2rem, 4vw, 3.5rem) !important;
  font-weight: 900 !important;
}

.display-5 {
  font-size: clamp(1.5rem, 3vw, 2.5rem) !important;
  font-weight: 900 !important;
}

.fs-5 {
  font-size: clamp(1.1rem, 2vw, 1.35rem) !important;
}

/* Cursor Effects */
a, button, .btn, .service-card, .menu-btn {
  cursor: pointer;
}

/* Custom Selection Color */
::selection {
  background: rgba(243, 112, 33, 0.2);
  color: var(--brand-orange);
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Utilities */
.text-brand-orange { color: var(--brand-orange) !important; }
.bg-brand-orange { background-color: var(--brand-orange) !important; }
.text-brand-blue { color: var(--brand-blue) !important; }
.bg-brand-blue { background-color: var(--brand-blue) !important; }

.text-gradient-orange {
  background: linear-gradient(to right, #f37021, #ff8c42);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Text Justification Utility */
.justified-text {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
}

/* Ensure text justification works on all devices */
@media (max-width: 991px) {
    .justified-text {
        text-align: justify !important;
        text-justify: inter-word;
    }
}

.container-custom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem; /* Slightly reduced for mobile */
}

@media (min-width: 768px) {
  .container-custom {
    padding: 0 2rem;
  }
}

.section-padding {
  padding: 4rem 0;
}

@media (min-width: 992px) {
  .section-padding {
    padding: 8rem 0;
  }
}

/* Buttons */
.btn-primary {
  padding: 0.875rem 1.75rem;
  background-color: var(--brand-blue);
  color: white;
  border-radius: 9999px;
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border: 1px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.4);
  color: white;
}

.btn-orange {
  padding: 1rem 2rem;
  background-color: var(--brand-orange) !important;
  color: white !important;
  border-radius: 9999px;
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border: 1px solid rgba(243, 112, 33, 0.2);
  box-shadow: 
    0 10px 15px -3px rgba(243, 112, 33, 0.3),
    0 4px 6px -2px rgba(243, 112, 33, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100 !important; /* High z-index for visibility */
  opacity: 1 !important;
  visibility: visible !important;
}

.btn-orange:hover {
  background-color: #e65a00 !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 20px 40px -10px rgba(243, 112, 33, 0.5),
    0 10px 20px -5px rgba(243, 112, 33, 0.3);
  color: white !important;
}

.btn-orange:active {
  transform: translateY(0) scale(0.98);
}

.btn-orange span,
.btn-orange i {
  position: relative;
  z-index: 2;
  color: white !important;
}

.btn-orange .z-2 {
  z-index: 2 !important;
}

/* Group Hover Utilities */
.group:hover .group-hover-text-orange {
  color: var(--brand-orange) !important;
}

.group:hover .group-hover-bg-brand-orange {
  background-color: var(--brand-orange) !important;
}

.group:hover .group-hover-text-white {
  color: white !important;
}

.group:hover .group-hover-translate-x-1 {
  transform: translateX(4px);
}

.transition-colors {
  transition: color 0.5s, background-color 0.5s, border-color 0.5s;
}

.transition-transform {
  transition: transform 0.3s ease;
}

/* Navbar - High Visibility & Functionality */
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 1.5rem 1.5rem;
  background: transparent;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050 !important;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid #f1f5f9;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 0.2rem !important;
  }
  .navbar.scrolled {
    padding: 0.75rem 0.2rem !important;
  }
}

/* Nav Pills Container */
.navbar .bg-white {
  background-color: #f8fafc !important; /* slate-50 */
  border: 1px solid #f1f5f9 !important; /* slate-100 */
  border-radius: 1rem !important;
  padding: 0.25rem !important;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #64748b; /* slate-600 */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0.75rem;
  z-index: 10;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-orange);
  background-color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Dropdown Styling */
.dropdown-toggle {
  background: transparent !important;
  border: none !important;
  padding: 0.5rem 1.25rem !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dropdown-toggle:hover,
.dropdown-toggle.show {
  color: var(--brand-orange) !important;
  background-color: white !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.dropdown-toggle::after {
  transition: transform 0.3s ease;
}

.dropdown-toggle.show::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  min-width: 480px !important;
  background: white !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 1.5rem !important;
  padding: 0.75rem !important;
  margin-top: 1rem !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.dropdown-item {
  padding: 1rem !important;
  border-radius: 1rem !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

.dropdown-item:hover {
  background-color: #f8fafc !important;
}

.dropdown-item i {
  width: 2.5rem;
  height: 2.5rem;
  background-color: #f8fafc;
  color: #94a3b8;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.dropdown-item:hover i {
  color: var(--brand-orange);
}



/* Services Cards */
.service-card {
  padding: 2.5rem;
  height: 100%;
  border-radius: 2.5rem;
  border: 1px solid var(--slate-100);
  background-color: var(--slate-50);
  transition: all 0.5s;
}

.service-card:hover {
  background-color: white;
  border-color: rgba(243, 112, 33, 0.2);
  box-shadow: 0 40px 80px -15px rgba(243, 112, 33, 0.1);
  transform: translateY(-5px);
}

.service-icon-box {
  width: 4rem;
  height: 4rem;
  background: white;
  border: 1px solid var(--slate-100);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
  margin-bottom: 2rem;
  transition: all 0.5s;
}

.service-card:hover .service-icon-box {
  background-color: var(--brand-orange);
  color: white;
  transform: scale(1.1);
}

.pill-tag {
  padding: 0.25rem 0.75rem;
  background: white;
  border: 1px solid var(--slate-100);
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--slate-400);
  transition: all 0.3s;
}

.service-card:hover .pill-tag {
  border-color: rgba(243, 112, 33, 0.2);
  color: var(--brand-orange);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Menu */
/* Mobile Menu Animations handled in main block */



/* Glow Cursor (Replaces pointer) */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(243, 112, 33, 0.15) 0%, rgba(243, 112, 33, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1; /* Above base grid, below content */
    transform: translate(-50%, -50%);
    will-change: transform;
    opacity: 0.8;
}

@media (max-width: 992px) {
    .cursor-glow {
        display: none !important;
    }
}

/* Reveal Animations - Ensure Content is Visible */
.reveal {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* GSAP will handle all animations dynamically */

/* Footer Hover Effects */
.hover-orange-bg:hover {
  background-color: var(--brand-orange) !important;
  border-color: var(--brand-orange) !important;
  color: white !important;
}

.group-hover-orange-bg:hover {
  background-color: var(--brand-orange) !important;
}

.group:hover .group-hover-white {
  color: white !important;
}

.group:hover .group-hover-orange {
  color: var(--brand-orange) !important;
}

.group:hover .group-hover-orange-bg {
  background-color: var(--brand-orange) !important;
}

/* Navbar - High Visibility & Functionality */
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 1.5rem 0; /* Aligns with container-custom */
  background: transparent;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050 !important; /* Bootstrap standard fixed header */
  border-bottom: 1px solid transparent;
}

/* ... (keep existing definitions if any, but replacing the whole navbar block if in range) ... */


@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem !important;
  }
  
  .navbar.scrolled {
    padding: 0.75rem 1.5rem !important;
  }
  
  .dropdown-menu {
    min-width: 100% !important;
    width: 100% !important;
  }
}

/* Stats Section */
.stat-item {
  cursor: default;
  transition: all 0.5s ease;
}

.stat-item:hover .stat-number {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

.stat-item:hover .stat-underline {
  width: 100% !important;
}

.stat-item:hover div:last-child {
  color: var(--brand-orange) !important;
}

/* =====================================================
   FOOTER RESPONSIVE STYLES
   ===================================================== */

/* Desktop Footer - Left aligned */
footer .col-lg-3,
footer .col-md-6 {
  text-align: left !important;
}

footer .d-flex.gap-3,
footer .d-flex.gap-4 {
  justify-content: flex-start !important;
}

/* Footer columns proper spacing */
footer .row.g-5 {
  row-gap: 3rem !important;
}

/* Footer bottom alignment */
footer .pt-4.border-top {
  text-align: left !important;
}

footer .pt-4.border-top > div:first-child {
  text-align: left !important;
}

footer .pt-4.border-top > div:last-child {
  text-align: left !important;
}

/* Force Social Icon Centering */
.footer-social-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    text-align: center !important;
    width: 44px !important;
    height: 44px !important;
}

.footer-social-link i, 
.footer-social-link svg {
    margin: 0 auto !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
}

/* Mobile Footer Responsive */
@media (max-width: 767px) {
  /* All footer columns left-aligned on mobile */
  footer .col-lg-3,
  footer .col-md-6 {
    text-align: left !important;
  }
  
  /* Brand column */
  footer .col-lg-3:first-child a {
    justify-content: flex-start !important;
  }
  
  /* Social icons left-aligned */
  footer .d-flex.gap-3 {
    justify-content: flex-start !important;
  }
  
  /* List items left-aligned */
  footer ul.list-unstyled {
    align-items: flex-start !important;
  }
  
  /* Footer bottom section */
  footer .pt-4.border-top {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 1rem !important;
  }
  
  footer .pt-4.border-top > div {
    text-align: left !important;
  }
  
  /* Links in footer bottom */
  footer .pt-4.border-top .d-flex.gap-4 {
    flex-direction: column !important;
    gap: 0.5rem !important;
    align-items: flex-start !important;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991px) {
  footer .col-md-6 {
    text-align: left !important;
  }
  
  footer .col-md-6 a,
  footer .col-md-6 .d-flex {
    justify-content: flex-start !important;
  }
}

/* =====================================================
   MOBILE NAVBAR – FLOATING CARD (Consolidated)
   ===================================================== */
@media (max-width: 767px) {
  #navbarNav {
    position: absolute;
    top: 72px;
    right: 16px;
    width: 280px;
    background: transparent;
    z-index: 999;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.25s ease;
  }

  #navbarNav.show {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-items {
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    gap: 6px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.15);
  }

  .nav-items .nav-link,
  .nav-items .dropdown > button {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
    background: #ffffff;
  }

  .nav-items .dropdown {
    position: static;
  }

  .nav-items .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 8px;
    padding: 12px !important;
    box-shadow: none;
    border-radius: 16px;
    background: #ffffff;
  }

  .dropdown-menu .row {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
  }

  .dropdown-menu .col-6 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .dropdown-menu .dropdown-item {
    width: 100%;
    padding: 14px 16px !important;
    border-radius: 14px;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid #f1f5f9;
  }

  #navbarNav > a.btn-primary {
    margin-top: 12px;
    width: 100%;
    justify-content: center;
    border-radius: 14px;
  }
}

/* =====================================================
   FLOATING SOCIAL ICONS (EXACT FROM SOFTCADD_MAIN)
   ===================================================== */
.floating-container {
    position: fixed !important;
    bottom: 160px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2147483647 !important; /* Staying above everything */
}

/* Floating button styling */
.floating-button {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.floating-button:hover {
    transform: scale(1.1);
}

/* Button Icons */
.floating-button img {
    width: 30px;
    height: 30px;
}

/* WhatsApp Button */
.floating-button.whatsapp {
    background-color: #25d366;
}

.floating-button.whatsapp:hover {
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
}

/* Call Button (New Blue Style) */
.floating-button.call {
    background: #29b6f6; /* Light Blue Background */
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-button.call .icon-black {
    color: #000000;
    fill: #000000; /* Fill the icon */
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.floating-button.call:hover {
    box-shadow: 0 6px 12px rgba(41, 182, 246, 0.4);
}

.floating-button.call:hover .icon-black {
    transform: scale(1.1);
}

/* Call Button */
.floating-button.call {
    background-color: #34b7f1;
}

.floating-button.call:hover {
    box-shadow: 0 6px 12px rgba(52, 183, 241, 0.4);
}

/* Instagram Button */
.floating-button.instagram {
    background-color: #e4405f;
}

.floating-button.instagram:hover {
    box-shadow: 0 6px 12px rgba(228, 64, 95, 0.4);
}

/* Ensure visibility on Mobile */
@media (max-width: 768px) {
    .floating-container {
        bottom: 100px;
        right: 15px;
    }
    .floating-button {
        width: 38px;
        height: 38px;
    }
    .floating-button img {
        width: 25px;
        height: 25px;
    }
}

.justified-text {

    text-align: justify !important;

    text-justify: inter-word;

}



/* Ensure consistent spacing in About Page content on Mobile */

@media (max-width: 768px) {

    .justified-text {

        text-align: justify !important;

    }

}

