/* ==========================================================================
   Kalyani Infrastructure - Main CSS Stylesheet
   Modern, Pixel-Perfect Corporate Construction Frontend Design
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root CSS Variables & Dual Theme Engine (Light & Dark)
   -------------------------------------------------------------------------- */
:root {
  --primary-color: #F15A24; /* Flame Orange from Logo */
  --primary-hover: #d84513;
  --secondary-color: #E3262C; /* Crimson Red from Logo */
  --secondary-dark: #08131C; /* Dark Navy Text */
  --accent-color: #F15A24;
  --accent-glow: rgba(241, 90, 36, 0.25);

  --bg-primary: #FAFAFA;
  --bg-secondary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-dark: #08131C;

  --text-primary: #08131C;
  --text-muted: #475569;
  --text-light: #64748B;

  --border-color: rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.96);
  --glass-border: rgba(241, 90, 36, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.06);

  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  --theme-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 25px rgba(241, 90, 36, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
}

/* Hide theme toggle buttons as only Light Theme is enabled */
.theme-toggle-btn {
  display: none !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.lenis, html.lenis body {
  height: auto;
}

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

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

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

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 16px;
  transition: var(--theme-transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  transition: var(--theme-transition);
}

/* Luxury SplitType Reveal Styles */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.split-char {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.split-char.is-inview {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================
   PRELOADER SCREEN
   ========================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0B0B0B;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  color: #FFFFFF;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #FFFFFF;
  margin-bottom: 25px;
}

.preloader-logo span {
  color: var(--primary-color);
}

.preloader-spinner {
  width: 70px;
  height: 70px;
  border: 3px solid rgba(200, 169, 106, 0.15);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: preloaderSpin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes preloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.preloader-bar-wrapper {
  width: 240px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto 15px;
}

.preloader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-color), #dfbc77);
  transition: width 0.3s ease;
}

.preloader-percent {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--primary-color);
  letter-spacing: 1px;
}

/* ==========================================
   LUXURY CUSTOM CURSOR
   ========================================== */
#custom-cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background-color 0.3s ease;
  box-shadow: 0 0 12px var(--primary-color);
}

#cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(200, 169, 106, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(2px);
}

body.cursor-hover #custom-cursor {
  transform: translate(-50%, -50%) scale(2.5);
  background-color: #FFFFFF;
  box-shadow: 0 0 20px #FFFFFF;
}

body.cursor-hover #cursor-follower {
  width: 60px;
  height: 60px;
  border-color: var(--primary-color);
  background-color: rgba(200, 169, 106, 0.15);
}

/* ==========================================
   THEME TOGGLE BUTTON IN NAVBAR
   ========================================== */
.theme-toggle-btn {
  background: rgba(200, 169, 106, 0.12);
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 15px;
}

.theme-toggle-btn:hover {
  background: var(--primary-color);
  color: #0B0B0B;
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 0 15px var(--accent-glow);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* --------------------------------------------------------------------------
   2. Typography & Common Utility Classes
   -------------------------------------------------------------------------- */
.section-padding {
  padding: 90px 0;
}

.bg-light-gray {
  background-color: var(--bg-light);
}

.bg-dark-section {
  background-color: var(--bg-dark);
  color: #ffffff;
}

.text-primary-color {
  color: var(--primary-color) !important;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 102, 0, 0.12);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  border: 1px solid rgba(255, 102, 0, 0.3);
}

.badge-tag.badge-light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-color);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
}

/* Buttons */
.btn-custom {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-custom {
  background-color: var(--primary-color);
  color: #000000;
  border: 2px solid var(--primary-color);
  font-weight: 800;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #000000;
  transition: var(--transition-normal);
  z-index: -1;
}

.btn-primary-custom:hover::before {
  left: 0;
}

.btn-primary-custom:hover {
  color: #ffffff;
  border-color: #000000;
  box-shadow: var(--shadow-glow);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-outline-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  transition: var(--transition-normal);
  z-index: -1;
}

.btn-outline-custom:hover::before {
  left: 0;
}

.btn-outline-custom:hover {
  color: #ffffff;
  border-color: var(--primary-color);
}

.btn-white-custom {
  background-color: #ffffff;
  color: var(--secondary-color);
  border: 2px solid #ffffff;
}

.btn-white-custom:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

/* --------------------------------------------------------------------------
   3. Top Bar Header & Navigation
   -------------------------------------------------------------------------- */
/* ==========================================
   PIXEL-PERFECT REFERENCE HEADER STYLES
   ========================================== */
.top-bar {
  background-color: #08131C !important;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.top-bar a.top-link {
  color: #FFFFFF !important;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.top-bar a.top-link:hover {
  color: #D62828 !important;
}

.top-icon-red {
  color: #D62828 !important;
  font-size: 0.88rem;
}

.top-separator {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
  margin: 0 10px;
}

.top-social-links a {
  color: #FFFFFF !important;
  font-size: 0.85rem;
  margin-left: 12px;
  transition: color 0.3s ease;
}

/* Universal Brand Logo Wrapper (Neutral White Container for Master Logo) */
.brand-logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF !important;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(241, 90, 36, 0.2);
  transition: all 0.3s ease;
}

.brand-logo-wrapper img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Main Navbar Header (White Sticky Header) */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1050;
  background-color: #FFFFFF !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding-top: 2px;
  padding-bottom: 2px;
}

.header-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-header .nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  color: #08131C !important;
  padding: 12px 14px !important;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: #D62828 !important;
}

.site-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: #D62828;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
  transform: scaleX(1);
}

.plus-icon {
  font-size: 0.85rem;
  font-weight: 700;
  margin-left: 3px;
  color: #08131C;
  transition: color 0.3s ease;
}

.site-header .nav-link:hover .plus-icon {
  color: #D62828;
}

/* Dropdown Menu */
.site-header .dropdown-menu {
  background: #FFFFFF;
  border: 1px solid rgba(8, 19, 28, 0.1);
  border-top: 3px solid #D62828;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 8px 8px;
  padding: 10px 0;
  margin-top: 8px !important;
}

.site-header .dropdown-item {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 20px;
  color: #08131C;
  transition: all 0.25s ease;
}

.site-header .dropdown-item:hover {
  background-color: #F8FAFC;
  color: #D62828;
  padding-left: 24px;
}

/* Red Contact Us Button */
.btn-header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #D62828;
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  padding: 12px 28px;
  border-radius: 12px 0 12px 0;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(214, 40, 40, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-header-contact:hover {
  background-color: #B71C1C;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(214, 40, 40, 0.45);
}

.header-action-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
}

.header-phone-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}

.header-phone-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.site-header.scrolled .header-phone-btn {
  color: var(--text-dark);
}

.site-header.scrolled .header-phone-icon {
  background: rgba(224, 109, 6, 0.1);
}

/* --------------------------------------------------------------------------
   4. Hero Section & Swiper Slider
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 50%, rgba(15, 23, 42, 0.45) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 800px;
  padding-top: 60px;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 35px;
  font-weight: 400;
  max-width: 650px;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.hero-scroll-down:hover {
  opacity: 1;
  color: var(--primary-color);
}

.hero-scroll-icon {
  width: 32px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero-scroll-icon::before {
  content: '';
  width: 6px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 3px;
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(18px); }
}

/* Swiper Controls Custom Styling */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  transition: var(--transition-fast);
}

.hero-swiper .swiper-button-next:after,
.hero-swiper .swiper-button-prev:after {
  font-size: 1.3rem;
  font-weight: bold;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.1);
}

.hero-swiper .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: var(--transition-fast);
}

.hero-swiper .swiper-pagination-bullet-active {
  width: 35px;
  border-radius: 8px;
  background: var(--primary-color);
}

/* --------------------------------------------------------------------------
   5. About Company Section
   -------------------------------------------------------------------------- */
.about-image-wrapper {
  position: relative;
  padding-right: 30px;
  padding-bottom: 30px;
}

.about-main-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.about-secondary-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  border-radius: var(--radius-md);
  border: 6px solid #ffffff;
  box-shadow: var(--shadow-lg);
}

.about-experience-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: var(--primary-color);
  color: #ffffff;
  padding: 25px 30px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(224, 109, 6, 0.4);
  text-align: center;
  z-index: 3;
}

.about-experience-badge .years {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.about-experience-badge .label {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: rgba(224, 109, 6, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.about-feature-text h6 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-feature-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   6. Services Section & Service Cards
   -------------------------------------------------------------------------- */
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--theme-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 230px;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.1);
}

.service-icon-badge {
  position: absolute;
  bottom: -25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: #0B0B0B;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px var(--accent-glow);
  transition: var(--transition-normal);
  z-index: 2;
}

.service-card:hover .service-icon-badge {
  background: var(--text-primary);
  color: var(--bg-primary);
  transform: rotateY(180deg);
}

.service-content {
  padding: 35px 25px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  transition: var(--theme-transition);
}

.service-card:hover .service-title {
  color: var(--primary-color);
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.service-link i {
  transition: var(--transition-fast);
}

.service-card:hover .service-link {
  color: var(--primary-color);
}

.service-card:hover .service-link i {
  transform: translateX(6px);
}

/* --------------------------------------------------------------------------
   7. Statistics Counter Section
   -------------------------------------------------------------------------- */
.counter-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 0;
}

.counter-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 11, 11, 0.94) 0%, rgba(5, 5, 5, 0.96) 100%);
}

.counter-box {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

.counter-icon {
  width: 70px;
  height: 70px;
  background: rgba(200, 169, 106, 0.15);
  border: 1px solid rgba(200, 169, 106, 0.3);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: var(--transition-normal);
}

.counter-box:hover .counter-icon {
  background: var(--primary-color);
  color: #0B0B0B;
  transform: scale(1.1);
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}

.counter-number span {
  color: var(--primary-color);
}

.counter-label {
  color: #94a3b8;
  font-size: 1.05rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. Projects Showcase Gallery
   -------------------------------------------------------------------------- */
.project-filter-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--theme-transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: #0B0B0B;
  border-color: var(--primary-color);
  box-shadow: 0 6px 18px var(--accent-glow);
}

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: var(--theme-transition);
}

.project-img-holder {
  position: relative;
  overflow: hidden;
  height: 320px;
}

.project-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.project-card:hover .project-img-holder img {
  transform: scale(1.15);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(360deg, rgba(11, 11, 11, 0.95) 0%, rgba(11, 11, 11, 0.5) 60%, rgba(11, 11, 11, 0) 100%);
  opacity: 0;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-tag {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.project-title {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-zoom-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  background: #ffffff;
  color: #0B0B0B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transform: translateY(-20px);
  opacity: 0;
  transition: var(--transition-normal);
}

.project-card:hover .project-zoom-btn {
  transform: translateY(0);
  opacity: 1;
}

.project-zoom-btn:hover {
  background: var(--primary-color);
  color: #0B0B0B;
}

/* --------------------------------------------------------------------------
   9. Why Choose Us Section
   -------------------------------------------------------------------------- */
.why-choose-card {
  display: flex;
  gap: 20px;
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  transition: var(--theme-transition);
}

.why-choose-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
  transform: translateX(8px);
}

.why-choose-icon {
  width: 55px;
  height: 55px;
  min-width: 55px;
  background: rgba(200, 169, 106, 0.12);
  color: var(--primary-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.why-choose-card:hover .why-choose-icon {
  background: var(--primary-color);
  color: #0B0B0B;
}

.why-choose-info h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.why-choose-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   10. Testimonials Slider
   -------------------------------------------------------------------------- */
.testimonial-card {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  height: 100%;
  transition: var(--theme-transition);
}

.testimonial-quote-icon {
  font-size: 3rem;
  color: rgba(200, 169, 106, 0.2);
  position: absolute;
  top: 30px;
  right: 30px;
}

.testimonial-rating {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.testimonial-text {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 25px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.testimonial-user-info h6 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.testimonial-user-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. Clients Logo Carousel
   -------------------------------------------------------------------------- */
.clients-section {
  padding: 50px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-light);
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition-normal);
}

.client-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo-item img {
  max-height: 50px;
  width: auto;
}

/* --------------------------------------------------------------------------
   12. CTA Banner Section
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 90px 0;
  color: #ffffff;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(255, 102, 0, 0.88) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
}

.cta-subtitle {
  font-size: 1.15rem;
  color: #f1f5f9;
  max-width: 700px;
  margin-bottom: 30px;
}

/* --------------------------------------------------------------------------
   13. Footer Section
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding-top: 80px;
  font-size: 0.95rem;
}

.footer-widget {
  margin-bottom: 40px;
}

.footer-widget-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 6px;
}

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

.footer-contact-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(224, 109, 6, 0.15);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-btn {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-4px);
}

.footer-bottom {
  background: #070b14;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(224, 109, 6, 0.4);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   14. Sub-pages Header & Features
   -------------------------------------------------------------------------- */
.page-header {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 160px 0 90px;
  color: #ffffff;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.94) 0%, rgba(10, 10, 10, 0.82) 100%);
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.breadcrumb a {
  color: #cbd5e1;
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

.breadcrumb-item.active {
  color: var(--primary-color);
}

/* Contact Cards */
.contact-info-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  height: 100%;
  transition: var(--transition-normal);
}

.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.contact-info-icon {
  width: 65px;
  height: 65px;
  background: rgba(224, 109, 6, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-control-custom {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(224, 109, 6, 0.15);
}

/* --------------------------------------------------------------------------
   15. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .hero-title { font-size: 3.2rem; }
  .section-title { font-size: 2.2rem; }
}

@media (max-width: 991.98px) {
  .top-bar { display: none; }
  .site-header { top: 0 !important; background-color: var(--secondary-color); }
  .site-header .nav-link { color: #ffffff !important; padding: 10px 0 !important; }
  .site-header .nav-link::after { display: none; }
  .navbar-collapse {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 15px;
  }
  .hero-title { font-size: 2.6rem; }
  .about-image-wrapper { padding-right: 0; padding-bottom: 0; margin-bottom: 40px; }
  .about-experience-badge { left: 10px; top: 10px; }
  .counter-number { font-size: 2.8rem; }
  .cta-title { font-size: 2.2rem; }
}

@media (max-width: 767.98px) {
  .hero-title { font-size: 2.1rem; }
  .hero-subtitle { font-size: 1rem; }
  .section-padding { padding: 60px 0; }
  .section-title { font-size: 1.8rem; }
  .about-feature-list { grid-template-columns: 1fr; }
  .hero-btn-group { flex-direction: column; align-items: stretch; }
  .btn-custom { width: 100%; text-align: center; }
  .page-title { font-size: 2.2rem; }
}

/* --------------------------------------------------------------------------
   Service Cards - Reference Replica Styles
   -------------------------------------------------------------------------- */
.service-card-ref {
  background: #FFFFFF;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card-ref:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.service-card-ref .card-img-top {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.service-card-ref .card-body-ref {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.service-card-ref .card-body-ref::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 35px 35px;
  border-color: transparent transparent #FAF3EE transparent;
  pointer-events: none;
}

.service-card-ref .card-title-ref {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: #111111;
  margin-bottom: 12px;
}

.service-card-ref .card-text-ref {
  font-size: 0.9rem;
  color: #555555;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-read-more-ref {
  display: inline-block;
  border: 1px solid #E3262C;
  color: #E3262C;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.btn-read-more-ref:hover {
  background-color: #E3262C;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Consultation Accordion Section Replica
   -------------------------------------------------------------------------- */
.consultation-section-ref {
  background-color: #FFFFFF;
  padding: 0;
  overflow: hidden;
}

.consultation-content-box {
  padding: 60px 40px;
}

.consultation-intro-text {
  font-size: 1.05rem;
  color: #444444;
  line-height: 1.7;
  margin-bottom: 35px;
}

.accordion-ref .accordion-item-ref {
  border: none;
  margin-bottom: 12px;
  border-radius: 0;
  overflow: hidden;
}

.accordion-ref .accordion-header-ref {
  width: 100%;
  text-align: left;
  background-color: #08131C;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 24px;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background-color 0.3s ease;
}

.accordion-ref .accordion-item-ref.active .accordion-header-ref {
  background-color: #E3262C;
}

.accordion-ref .accordion-body-ref {
  background-color: #F4F6F9;
  padding: 24px;
  color: #444444;
  font-size: 0.95rem;
  line-height: 1.6;
}

.consultation-img-wrapper {
  height: 100%;
  min-height: 480px;
}

.consultation-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE SYSTEM FIXES (Website & Admin Panel)
   ========================================================================== */

@media (max-width: 991.98px) {
  /* Admin Sidebar Mobile Drawer */
  .admin-sidebar {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: -280px !important;
    width: 270px !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1060 !important;
  }

  .admin-sidebar.sidebar-open {
    transform: translateX(280px) !important;
    box-shadow: 10px 0 30px rgba(0,0,0,0.5) !important;
  }

  .admin-main {
    margin-left: 0 !important;
    padding: 16px !important;
  }

  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 19, 28, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1055;
    display: none;
    transition: opacity 0.3s ease;
  }

  .sidebar-backdrop.show {
    display: block;
  }

  /* Top Bar Mobile Adjustments */
  .top-bar {
    padding: 8px 12px !important;
    font-size: 0.78rem !important;
  }

  .top-bar .d-flex {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    text-align: center;
  }

  .top-separator {
    display: inline-block !important;
    margin: 0 4px !important;
  }

  /* Main Website Header & Mobile Navigation Menu Fixes */
  html, body {
    overflow-x: hidden !important;
  }

  .site-header {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  .site-header .container-fluid {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .site-header .navbar-brand {
    max-width: 65% !important;
    margin-right: 0 !important;
  }

  .header-logo-img {
    height: 38px !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }

  .navbar-toggler {
    padding: 6px 10px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background-color: #f8fafc !important;
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(227, 38, 44, 0.2) !important;
  }

  .navbar-collapse {
    background: #FFFFFF !important;
    border-top: 3px solid #E3262C !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: 0 15px 35px rgba(8, 19, 28, 0.15) !important;
    padding: 16px 20px !important;
    margin-top: 8px !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
  }

  .navbar-nav {
    gap: 4px !important;
    margin-bottom: 16px !important;
  }

  .site-header .nav-link {
    padding: 10px 14px !important;
    font-size: 0.9rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .site-header .nav-link::after {
    display: none !important;
  }

  .site-header .dropdown-menu {
    border: none !important;
    border-left: 3px solid #E3262C !important;
    border-radius: 0 8px 8px 0 !important;
    background-color: #f8fafc !important;
    box-shadow: none !important;
    margin-top: 4px !important;
    margin-left: 12px !important;
    padding: 4px 0 !important;
  }

  .site-header .dropdown-item {
    font-size: 0.85rem !important;
    padding: 8px 16px !important;
  }

  .header-action {
    display: block !important;
    margin-top: 12px !important;
  }

  .btn-header-contact {
    width: 100% !important;
    text-align: center !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
  }

  /* Hero Section Mobile Typography */
  .hero-section {
    min-height: 520px !important;
    height: auto !important;
    padding: 80px 0 60px 0 !important;
  }

  .hero-title {
    font-size: 2rem !important;
    line-height: 1.25 !important;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
    margin-bottom: 24px !important;
  }

  .hero-btn-group {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .hero-btn-group .btn {
    width: 100% !important;
    text-align: center !important;
  }

  /* Service Card Mobile Grid */
  .service-card-ref {
    margin-bottom: 20px;
  }

  /* Consultation & Accordion Section Mobile */
  .consultation-content-box {
    padding: 24px 16px !important;
  }

  .consultation-img-wrapper {
    min-height: 250px !important;
    height: 250px !important;
  }

  .accordion-ref .accordion-header-ref {
    font-size: 0.95rem !important;
    padding: 12px 16px !important;
  }

  /* Contact & Login Cards */
  .login-card {
    padding: 24px 18px !important;
    border-radius: 16px !important;
  }

  .stat-card {
    padding: 16px !important;
  }

  /* Tables Mobile horizontal scroll */
  .table-responsive {
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 575.98px) {
  .header-logo-img {
    height: 34px !important;
  }

  .hero-title {
    font-size: 1.65rem !important;
  }

  .top-bar .d-flex {
    flex-direction: column !important;
    gap: 4px !important;
    text-align: center !important;
  }

  .top-separator {
    display: none !important;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 14px 16px !important;
  }

  .admin-header > div:last-child {
    width: 100%;
    justify-content: space-between;
  }

  .btn {
    font-size: 0.85rem !important;
  }
}
