/* ==========================================================================
   START: GLOBAL STYLING & CORE overrides
   ========================================================================== */

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Global Resets & Typography Base */
html {
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--catcel-blue);
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: color var(--transition-speed);
}

/* Custom Premium Buttons */
.btn-catcel {
  background-color: var(--catcel-orange);
  color: var(--bg-white);
  font-family: var(--font-display);
  font-weight: 600;
  border: 2px solid var(--catcel-orange);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-speed);
}

.btn-catcel:hover {
  background-color: var(--catcel-orange-hover);
  border-color: var(--catcel-orange-hover);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 90, 0, 0.2);
}

.btn-catcel-outline {
  background-color: transparent;
  color: var(--catcel-blue);
  font-family: var(--font-display);
  font-weight: 600;
  border: 2px solid var(--catcel-blue);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-speed);
}

.btn-catcel-outline:hover {
  background-color: var(--catcel-blue);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 94, 187, 0.15);
}

/* Section Header Badges */
.badge-pill-catcel {
  background-color: var(--catcel-blue-rgba);
  color: var(--catcel-blue);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-xl);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.badge-pill-green {
  background-color: var(--accent-green-light);
  color: var(--accent-green);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-xl);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* Premium Gradients */
.gradient-hero-light {
  background: radial-gradient(circle at 80% 20%, rgba(255, 90, 0, 0.03) 0%, rgba(43, 94, 187, 0.02) 50%, var(--bg-white) 100%),
              linear-gradient(135deg, rgba(243, 244, 246, 0.4) 0%, var(--bg-white) 100%);
}

.gradient-card-hover {
  transition: all var(--transition-speed);
}
.gradient-card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

.gradient-brand {
  background: linear-gradient(135deg, var(--catcel-blue) 0%, rgba(0, 119, 194, 0.9) 50%, rgba(255, 90, 0, 0.85) 100%);
  color: var(--bg-white);
}

/* ==========================================================================
   END: GLOBAL STYLING & CORE OVERRIDES
   ========================================================================== */


/* ==========================================================================
   START: NAVIGATION BAR HEADER STYLES
   ========================================================================== */

.navbar-catcel {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-speed);
}

.navbar-catcel.sticky-nav {
  box-shadow: var(--shadow-md);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-brand img {
  height: 75px;
  transition: height var(--transition-speed);
}

.navbar-catcel.sticky-nav .navbar-brand img {
  height: 60px;
}

.nav-link-catcel {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--catcel-blue);
  font-size: 0.9rem;
  padding: 0.5rem 0.65rem !important;
  position: relative;
  transition: color var(--transition-speed);
  white-space: nowrap;
}

.nav-link-catcel:hover {
  color: var(--catcel-orange);
}

.nav-link-catcel.active {
  color: var(--catcel-orange) !important;
}

.nav-link-catcel::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0.65rem;
  background-color: var(--catcel-orange);
  transition: width var(--transition-speed);
}

.nav-link-catcel:hover::after,
.nav-link-catcel.active::after {
  width: calc(100% - 1.3rem);
}

/* Navbar specific Get in Touch button customization */
.navbar-catcel .btn-catcel {
  padding: 0.5rem 1.85rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  height: auto !important;
  min-width: 155px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px !important;
  background: rgba(255, 90, 0, 0.12) !important;
  border: 1.5px solid rgba(255, 90, 0, 0.35) !important;
  color: #ff5a00 !important;
  box-shadow: none;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.navbar-catcel .btn-catcel:hover {
  background: linear-gradient(135deg, #ffb347 0%, #ff5a00 50%, #c0392b 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 90, 0, 0.35);
}

/* Mobile Toggle Hamburger Overrides */
.navbar-toggler-catcel {
  border: none;
  outline: none !important;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler-catcel:focus {
  box-shadow: none;
}

/* ==========================================================================
   END: NAVIGATION BAR HEADER STYLES
   ========================================================================== */


/* ==========================================================================
   START: FOOTER STYLES
   ========================================================================== */

/* ==========================================================================
   START: FOOTER STYLES (White & Blue Gradient with Blue Font)
   ========================================================================== */

.footer-catcel {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: var(--catcel-blue) !important;
  font-size: 0.95rem;
  box-shadow: 0 -10px 30px rgba(15, 43, 92, 0.03);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.footer-catcel p.pe-lg-4 {
  color: var(--text-muted) !important;
}

.footer-catcel h5 {
  color: var(--catcel-blue-dark) !important;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-catcel h5::after {
  content: '';
  position: absolute;
  width: 35px;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: var(--catcel-orange);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  color: var(--catcel-blue) !important;
  font-weight: 500;
  transition: all var(--transition-speed);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--catcel-orange) !important;
  transform: translateX(5px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  background-color: rgba(43, 94, 187, 0.03);
  transition: all var(--transition-speed);
  border: 1px solid rgba(43, 94, 187, 0.06);
}

.footer-contact-item:hover {
  background-color: rgba(43, 94, 187, 0.06);
  border-color: rgba(255, 90, 0, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Circular icon container — same style for ALL 3 footer contact icons */
.footer-contact-item i {
  margin-right: 1rem;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  flex-shrink: 0;
  font-size: 0.9rem;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-contact-item:hover i {
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Location — green */
.footer-contact-item i.fa-map-marker-alt {
  color: var(--accent-green, #00A859);
  border: 1px solid rgba(0, 168, 89, 0.3);
}

/* Phone — blue */
.footer-contact-item i.fa-phone-alt {
  color: var(--catcel-blue, #2b5ebb);
  border: 1px solid rgba(43, 94, 187, 0.3);
}

/* Email — orange */
.footer-contact-item i.fa-envelope {
  color: var(--catcel-orange, #FF5A00);
  border: 1px solid rgba(255, 90, 0, 0.3);
}

.footer-brand-logo {
  height: 55px;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-speed);
}

.footer-brand-logo:hover {
  transform: scale(1.05);
}

/* Override hardcoded classes inside footer for new light theme */
.footer-catcel .text-white {
  color: var(--catcel-blue-dark) !important;
}

.footer-catcel .text-white-50 {
  color: var(--text-muted) !important;
}

.footer-catcel .text-muted {
  color: var(--text-muted) !important;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 0.75rem;
  font-size: 1.1rem;
  transition: all var(--transition-speed);
}

.footer-social-links a.facebook {
  background-color: #1877F2;
  color: var(--bg-white);
  border: 1px solid #1877F2;
}

.footer-social-links a.facebook:hover {
  transform: translateY(-4px) rotate(-8deg);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.footer-social-links a.instagram {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
  color: var(--bg-white);
  border: 1px solid #DD2A7B;
}

.footer-social-links a.instagram:hover {
  transform: translateY(-4px) rotate(8deg);
  box-shadow: 0 4px 12px rgba(221, 42, 123, 0.4);
}

.footer-social-links a.linkedin {
  background-color: #0077B5;
  color: var(--bg-white);
  border: 1px solid #0077B5;
}

.footer-social-links a.linkedin:hover {
  transform: translateY(-4px) rotate(8deg);
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.35);
}

.footer-social-links a.twitter {
  background-color: #1DA1F2;
  color: var(--bg-white);
  border: 1px solid #1DA1F2;
}

.footer-social-links a.twitter:hover {
  transform: translateY(-4px) rotate(-8deg);
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.35);
}

.footer-social-links a.youtube {
  background-color: #FF0000;
  color: var(--bg-white);
  border: 1px solid #FF0000;
}

.footer-social-links a.youtube:hover {
  background-color: #FF0000;
  color: var(--bg-white);
  border-color: #FF0000;
  transform: translateY(-4px) rotate(8deg);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.35);
}

.footer-bottom {
  border-top: 1px solid rgba(43, 94, 187, 0.1);
  color: var(--catcel-blue) !important;
}

.footer-bottom p {
  color: var(--catcel-blue) !important;
}

/* ==========================================================================
   END: FOOTER STYLES
   ========================================================================== */

/* ==========================================================================
   END: FOOTER STYLES
   ========================================================================== */

/* Interactive, stretchable banner image wrapper */
.banner-img-interactive-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-speed);
}

.banner-img-interactive-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--catcel-orange-light);
}

.banner-img-interactive-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.banner-img-interactive-wrapper:hover img {
  transform: scale(1.05);
}

/* Collage wrapper to show full image without cropping */
.collage-img-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-speed);
}

.collage-img-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--catcel-orange-light);
}

.collage-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-speed);
}

.collage-img-wrapper:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   START: SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-up {
  transform: translateY(40px);
}

.reveal-slide-left {
  transform: translateX(-45px);
}

.reveal-slide-right {
  transform: translateX(45px);
}

.reveal-fade-in {
  transform: scale(0.97);
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translate(0) scale(1);
}
/* ==========================================================================
   END: SCROLL REVEAL ANIMATIONS
   ========================================================================== */

/* ==========================================================================
   START: FORM STYLES
   ========================================================================== */
.form-control {
  border: 1px solid #cbd5e1; /* Standard visible border */
  border-radius: var(--radius-md, 8px);
  background-color: var(--bg-white, #ffffff);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: var(--catcel-orange, #ff5a00);
  box-shadow: 0 0 0 0.25rem rgba(255, 90, 0, 0.18);
}
/* ==========================================================================
   END: FORM STYLES
   ========================================================================== */

/* ==========================================================================
   START: GLOBAL RESPONSIVE DESIGN OVERRIDES
   ========================================================================== */

/* Tablet & Mobile Screens (< 992px) */
@media (max-width: 991.98px) {
  /* Solutions Tab Navigation (Scrollable Horizontal Pill Bar on mobile) */
  .nav-pills-solutions {
    flex-direction: row !important;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
    gap: 0.5rem;
  }
  .nav-pills-solutions .nav-link {
    margin-bottom: 0 !important;
    flex: 0 0 auto;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
  
  /* Prevent column height wrapping crop on page banners */
  .collage-img-wrapper {
    height: 280px !important;
    max-width: 100% !important;
  }
}

/* Mobile Screens (< 768px) */
@media (max-width: 767.98px) {
  /* Hero Carousel Mobile Adjustments */
  #heroCarousel .carousel-item {
    height: 460px !important; /* More compact viewport on mobile */
  }
  
  #heroCarousel h1.display-4 {
    font-size: 1.85rem !important; /* Scale down hero titles */
  }

  #heroCarousel .fs-5 {
    font-size: 0.95rem !important; /* Scale down description text */
  }

  /* Responsive Display Font Sizes */
  .display-4 {
    font-size: 2.1rem !important;
  }
  .display-5 {
    font-size: 1.75rem !important;
  }
  h2 {
    font-size: 1.5rem !important;
  }
  h3 {
    font-size: 1.3rem !important;
  }

  /* Reduce spacing on mobile */
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  /* Hero Carousel buttons responsive stack */
  #heroCarousel .d-flex.flex-wrap {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }
  #heroCarousel .btn {
    width: 100% !important;
    text-align: center;
  }
}

/* Small Mobile Screens (< 576px) */
@media (max-width: 575.98px) {
  /* Scale-Up Wheel Container */
  .expertise-wheel-container {
    max-width: 300px;
  }
  .expertise-wheel-container svg {
    max-height: 300px;
  }
  
  .collage-img-wrapper {
    height: 200px !important;
  }
}
/* ==========================================================================
   START: PREMIUM AESTHETIC UPGRADES
   ========================================================================== */

/* 1. Global Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}
@keyframes float-slow {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}
@keyframes glow-pulse {
  0% { box-shadow: 0 0 0 0 rgba(43, 94, 187, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(43, 94, 187, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 94, 187, 0); }
}

/* Helper Classes */
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-slow { animation: float-slow 8s ease-in-out infinite; }

/* 2. Interactive Components (Cards) */
.card {
  transition: all var(--transition-speed) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium) !important;
}
/* Glassmorphism utility for sections if they already use bg-light or bg-white */
.bg-light {
  background-color: rgba(243, 244, 246, 0.85) !important;
  backdrop-filter: blur(12px);
}

/* 3. Button Enhancements */
.btn-catcel {
  position: relative;
  overflow: hidden;
  transition: all var(--transition-speed);
  box-shadow: var(--shadow-md);
}
.btn-catcel::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: all 0.75s ease;
}
.btn-catcel:hover::after {
  left: 200%;
}
.btn-catcel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-blue) !important;
}

/* 4. Typography Refinements */
h1, .display-1, .display-2, .display-3, .display-4, .display-5 {
  letter-spacing: -0.03em;
  font-weight: 800;
}
h2, h3 {
  letter-spacing: -0.01em;
}

/* Premium Scroll Reveal */
.reveal-on-scroll {
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(40px);
}
.reveal-on-scroll.active {
  transform: translateY(0);
}

/* ==========================================================================
   END: PREMIUM AESTHETIC UPGRADES
   ========================================================================== */

/* Prevent horizontal scroll on mobile devices */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* ==========================================================================
   END: GLOBAL RESPONSIVE DESIGN OVERRIDES
   ========================================================================== */


