/*
 * United Tekinfo Hub - Premium Custom CSS
 * Standard & Advanced 3D/Hover/Border Animations
 */

@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');

:root {
  --primary-color: #0476b2;
  --primary-rgb: 4, 118, 178;
  --secondary-color: #282f3b;
  --secondary-rgb: 40, 47, 59;
  --accent-color: #00d2ff;
  --accent-rgb: 0, 210, 255;
  --dark-bg: #0f131a;
  --light-bg: #f5f9fc;
  --white: #ffffff;
  --text-primary: #1e2530;
  --text-secondary: #5a6675;
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.45);
  --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 10px 25px rgba(4, 118, 178, 0.25);
  --transition-smooth: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  --transition-fast: all 0.2s ease-out;
}

/* Global Reset & Base Styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: -0.02em;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
  background: #cbd7e3;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Scroll Progress Bar */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1060;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
  box-shadow: 0 0 10px var(--accent-color);
  transition: width 0.1s ease-out;
}

/* 3D Canvas Background Layer */
#canvas-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f0f7fc 100%);
}

/* Custom Typography & Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-dark-premium {
  background-color: var(--secondary-color) !important;
}

.bg-dark-extreme {
  background-color: var(--dark-bg) !important;
}

/* Top Address Bar */
.top-address-bar {
  background-color: var(--secondary-color);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.top-address-bar a:hover {
  color: var(--accent-color);
}

.top-address-bar i {
  color: var(--accent-color);
  margin-right: 6px;
}

.social-links-top a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  margin-left: 8px;
  font-size: 11px;
}

.social-links-top a:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 4px 8px rgba(4, 118, 178, 0.3);
}

/* Glassmorphic Navbar */
.navbar-custom {
  background-color: var(--white);
 
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  z-index: 1040;
}

.navbar-custom.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
  height: 70px;
  transition: var(--transition-smooth);
}

.navbar-custom.scrolled .navbar-brand img {
  height: 44px;
}

.navbar-nav .nav-link {
  font-family: 'Outfit', sans-serif;
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 16px !important;
  position: relative;
  transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: calc(100% - 32px);
}

/* Dropdown Menu Animations */
.dropdown-menu-custom {
  border: 1px solid var(--glass-border);
  background-color: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  box-shadow: var(--shadow-premium);
  padding: 10px 0;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) perspective(600px) rotateX(-10deg);
  transform-origin: top center;
  transition: var(--transition-smooth);
  display: block; /* Override default bootstrap block display toggle */
}

.dropdown:hover .dropdown-menu-custom {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) perspective(600px) rotateX(0deg);
}

.dropdown-menu-custom .dropdown-item {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--secondary-color);
  padding: 10px 20px;
  transition: var(--transition-fast);
  border-left: 3px solid transparent;
}

.dropdown-menu-custom .dropdown-item:hover {
  background-color: var(--light-bg);
  color: var(--primary-color);
  border-left: 3px solid var(--primary-color);
  padding-left: 24px;
}

/* Nav Actions */
.btn-nav-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #009ce0 100%);
  color: var(--white) !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 24px !important;
  border-radius: 30px;
  border: none;
  box-shadow: 0 4px 15px rgba(4, 118, 178, 0.2);
  transition: var(--transition-smooth);
}

.btn-nav-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, #009ce0 0%, var(--accent-color) 100%);
}

.btn-nav-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  background: var(--white);
  transition: var(--transition-smooth);
}

.btn-nav-icon:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: scale(1.08) rotate(15deg);
  box-shadow: 0 5px 15px rgba(4, 118, 178, 0.25);
}

/* Hero Section (3D Parallax & Slider) */
.hero-section {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding: 120px 0;
  z-index: 1;
  overflow: hidden;
}

.hero-slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.85;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(240, 247, 252, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
}

/* 3D Wireframe Cube (CSS 3D Showcase) */
.scene-3d {
  width: 320px;
  height: 320px;
  perspective: 1000px;
  margin: 0 auto;
  position: relative;
}

.cube-3d {
  width: 160px;
  height: 160px;
  position: absolute;
  top: 80px;
  left: 80px;
  transform-style: preserve-3d;
  animation: rotateCube 20s infinite linear;
}

.cube-face {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 2px solid rgba(4, 118, 178, 0.6);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 24px;
  box-shadow: inset 0 0 30px rgba(4, 118, 178, 0.15);
}

.face-front  { transform: rotateY(  0deg) translateZ(80px); }
.face-back   { transform: rotateY(180deg) translateZ(80px); }
.face-right  { transform: rotateY( 90deg) translateZ(80px); }
.face-left   { transform: rotateY(-90deg) translateZ(80px); }
.face-top    { transform: rotateX( 90deg) translateZ(80px); }
.face-bottom { transform: rotateX(-90deg) translateZ(80px); }

@keyframes rotateCube {
  0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
  100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

.floating-tech-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-premium);
  z-index: 5;
  transition: var(--transition-smooth);
}

.floating-tech-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: var(--accent-color);
}

.floating-card-1 {
  top: 10px;
  left: -20px;
  animation: floatAnim 6s infinite ease-in-out;
}

.floating-card-2 {
  bottom: 20px;
  right: -20px;
  animation: floatAnim 8s infinite ease-in-out 1s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.hero-subtitle {
  font-family: 'Outfit', sans-serif;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 14px;
  margin-bottom: 12px;
  display: inline-block;
  position: relative;
}

.hero-title {
  font-size: 62px;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-desc {
  font-size: 17.5px;
  color: var(--text-secondary);
  margin-bottom: 35px;
  max-width: 580px;
}

/* Core 3D Interactive Buttons */
.btn-premium-solid {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, #009ce0 100%);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 34px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 6px 20px rgba(4, 118, 178, 0.25);
  z-index: 1;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.btn-premium-solid::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-premium-solid:hover::before {
  left: 100%;
}

.btn-premium-solid:hover {
  color: var(--white);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(4, 118, 178, 0.4);
}

.btn-premium-outline {
  position: relative;
  background: transparent;
  color: var(--secondary-color);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 34px;
  border-radius: 30px;
  border: 2px solid var(--secondary-color);
  z-index: 1;
  transition: var(--transition-smooth);
}

.btn-premium-outline:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(40, 47, 59, 0.15);
}

/* Custom Hero Controls */
.hero-controls {
  position: absolute;
  bottom: 40px;
  right: 50px;
  z-index: 5;
  display: flex;
}

.hero-btn-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--secondary-color);
  margin-left: 10px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.hero-btn-arrow:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: scale(1.1);
}

/* Stats Counter Section */
.stats-section {
  position: relative;
  margin-top: -60px;
  z-index: 10;
}

.stats-card-container {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stat-number span {
  display: inline-block;
}

.stat-number::after {
  content: '+';
  color: var(--accent-color);
  margin-left: 2px;
}

.stat-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section Header Structure */
.section-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  display: inline-block;
  padding: 6px 16px;
  background: rgba(4, 118, 178, 0.08);
  border-radius: 30px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.25;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 16.5px;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

/* About Us Section */
.about-section {
  padding: 100px 0;
}

.about-img-box {
  position: relative;
  perspective: 1000px;
}

.about-img-layer {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.about-img-1 {
  width: 85%;
  height: auto;
  position: relative;
  z-index: 2;
  transform: rotateY(-8deg) rotateX(5deg);
}

.about-img-2 {
  position: absolute;
  width: 55%;
  bottom: -30px;
  right: 0px;
  z-index: 3;
  border: 6px solid var(--white);
  transform: rotateY(8deg) rotateX(-5deg);
}

.about-img-box:hover .about-img-1 {
  transform: rotateY(-3deg) rotateX(2deg) translateY(-5px);
}

.about-img-box:hover .about-img-2 {
  transform: rotateY(3deg) rotateX(-2deg) translateY(-8px);
}

.about-feature-box {
  display: flex;
  margin-top: 30px;
}

.about-feature-item {
  flex: 1;
  padding: 20px;
  background: var(--light-bg);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.about-feature-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-premium);
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(4, 118, 178, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 15px;
  transition: var(--transition-smooth);
}

.about-feature-item:hover .about-feature-icon {
  background: var(--primary-color);
  color: var(--white);
}

/* ==========================================
   PILLARS (MISSION, VISION, VALUES) STYLES
   ========================================== */
.pillars-section {
  padding: 40px 0;
  position: relative;
  background-color: var(--white);
}

.pillar-card-wrapper {
  position: relative;
  padding: 2px;
  border-radius: 22px;
  background: transparent;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-smooth);
}

.pillar-card-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    rgba(4, 118, 178, 0.15) 30%,
    rgba(0, 210, 255, 0.45) 50%,
    rgba(4, 118, 178, 0.15) 70%,
    transparent 100%
  );
  border-radius: 50%;
  animation: rotateBorder 8s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.pillar-card-wrapper:hover::before {
  opacity: 1;
}

.pillar-card-wrapper:hover {
  background: rgba(4, 118, 178, 0.12);
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(4, 118, 178, 0.15);
}

.pillar-card {
  position: relative;
  height: 100%;
  background: var(--white);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pillar-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.bg-primary-soft {
  background-color: rgba(4, 118, 178, 0.08) !important;
}

.bg-accent-soft {
  background-color: rgba(0, 210, 255, 0.08) !important;
}

.bg-gold-soft {
  background-color: rgba(245, 158, 11, 0.08) !important;
}

.text-gold {
  color: #f59e0b !important;
}

.pillar-card:hover .pillar-icon-box.bg-primary-soft {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%) !important;
  color: var(--white) !important;
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 18px rgba(4, 118, 178, 0.25);
}

.pillar-card:hover .pillar-icon-box.bg-accent-soft {
  background: linear-gradient(135deg, var(--accent-color) 0%, #00ffcc 100%) !important;
  color: var(--white) !important;
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 18px rgba(0, 210, 255, 0.25);
}

.pillar-card:hover .pillar-icon-box.bg-gold-soft {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: var(--white) !important;
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.25);
}

.pillar-card:hover .pillar-icon-box i {
  color: var(--white) !important;
}

.pillar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--secondary-color);
  transition: var(--transition-fast);
}

.pillar-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.pillar-footer-line {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-footer-line {
  width: 120px;
}

.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0px currentColor);
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px currentColor);
  }
}

/* Service Section with Glowing Neon Border Animations */
.services-section {
  padding: 40px 0;
  position: relative;
}

.service-card {
  position: relative;
  height: 100%;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-img-box {
  width: 100%;
  height: 170px;
  overflow: hidden;
  position: relative;
}

.service-card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-card:hover .service-card-img-box img {
  transform: scale(1.08);
}

.service-card-content {
  padding: 30px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Neon Border Setup -Conic Gradient effect on Hover */
.service-card-wrapper {
  position: relative;
  padding: 2px;
  border-radius: 22px;
  background: transparent;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-smooth);
}

/* Running Gradient Line in Background */
.service-card-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    rgba(4, 118, 178, 0.15) 30%,
    rgba(0, 210, 255, 0.45) 50%,
    rgba(4, 118, 178, 0.15) 70%,
    transparent 100%
  );
  border-radius: 50%;
  animation: rotateBorder 8s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card-wrapper:hover::before {
  opacity: 1;
}

.service-card-wrapper:hover {
  background: rgba(4, 118, 178, 0.12);
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(4, 118, 178, 0.15);
}

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

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(4, 118, 178, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 26px;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--white);
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 18px rgba(4, 118, 178, 0.25);
}

.service-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  transition: var(--transition-fast);
}

.service-card-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  transition: var(--transition-fast);
}

.service-link i {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

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

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

/* Why Choose Us (3D Tab Transition) */
.choose-section {
  padding: 40px 0;
  background-color: var(--light-bg);
  position: relative;
}

.choose-nav-box-wrapper, .choose-content-box-wrapper {
  position: relative;
  padding: 2px;
  border-radius: 18px;
  background: transparent;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-smooth);
}

.choose-nav-box-wrapper::before, .choose-content-box-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    rgba(4, 118, 178, 0.15) 30%,
    rgba(0, 210, 255, 0.45) 50%,
    rgba(4, 118, 178, 0.15) 70%,
    transparent 100%
  );
  border-radius: 50%;
  animation: rotateBorder 8s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.choose-nav-box-wrapper:hover::before, .choose-content-box-wrapper:hover::before {
  opacity: 1;
}

.choose-nav-box-wrapper:hover, .choose-content-box-wrapper:hover {
  background: rgba(4, 118, 178, 0.12);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(4, 118, 178, 0.12);
}

.choose-nav-box {
  background: var(--white);
  border-radius: 16px;
  padding: 10px;
}

.choose-tab-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--secondary-color);
  transition: var(--transition-smooth);
  margin-bottom: 8px;
}

.choose-tab-btn:last-child {
  margin-bottom: 0;
}

.choose-tab-btn.active {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(4, 118, 178, 0.25);
}

.choose-tab-btn.active i {
  color: var(--white) !important;
}

.choose-tab-btn i {
  font-size: 18px;
  margin-right: 14px;
  transition: var(--transition-smooth);
}

.choose-tab-btn.active i {
  transform: scale(1.2);
}

.choose-tab-content-box {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tab-pane-custom {
  opacity: 0;
  transform: translateY(20px) rotateX(-5deg);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  visibility: hidden;
}

.tab-pane-custom.active {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  visibility: visible;
}

.choose-pane-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

/* Testimonial Section with Indicators & Side Controls */
.testimonial-section {
  padding: 40px 0;
  position: relative;
}

.google-review-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  padding: 30px 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.google-review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(4, 118, 178, 0.25);
  box-shadow: 0 15px 35px rgba(4, 118, 178, 0.08);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  position: relative;
}

.reviewer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(4, 118, 178, 0.15);
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviewer-meta {
  flex-grow: 1;
}

.reviewer-name {
  font-family: 'Outfit', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 2px;
}

.reviewer-status {
  font-size: 12px;
  color: var(--text-secondary);
  display: block;
}

.google-logo-badge {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.9;
}

.review-stars-time {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.review-stars-gold {
  color: #fbbc05;
  font-size: 13px;
  display: flex;
  gap: 2px;
}

.review-time {
  font-size: 12.5px;
  color: var(--text-secondary);
  font-weight: 500;
}

.review-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-style: normal;
  flex-grow: 1;
}

.review-verified {
  font-size: 12px;
  color: #16a34a;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 12px;
}

/* Custom indicators styling (Expanding rounded dots) */
.testimonial-indicators {
  bottom: -40px !important;
}

.testimonial-indicators [data-bs-target] {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background-color: var(--primary-color) !important;
  opacity: 0.25 !important;
  margin: 0 6px !important;
  border: none !important;
  transition: var(--transition-smooth) !important;
}

.testimonial-indicators .active {
  width: 26px !important;
  border-radius: 10px !important;
  background-color: var(--primary-color) !important;
  opacity: 1 !important;
}

/* Custom side controls */
.testimonial-prev, .testimonial-next {
  width: 60px !important;
  opacity: 0.7 !important;
  transition: var(--transition-smooth) !important;
}

.testimonial-prev:hover, .testimonial-next:hover {
  opacity: 1 !important;
  transform: scale(1.08) !important;
}

.testimonial-prev i, .testimonial-next i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
}

.testimonial-prev:hover i, .testimonial-next:hover i {
  background: var(--primary-color);
  color: var(--white) !important;
  border-color: var(--primary-color);
  box-shadow: 0 6px 15px rgba(4, 118, 178, 0.25);
}

/* ==========================================
   GALLERY SECTION STYLE CODES
   ========================================== */
.gallery-section {
  padding: 40px 0;
  position: relative;
  background-color: var(--light-bg);
}

.gallery-filter-buttons {
  background: var(--white);
  padding: 8px;
  border-radius: 40px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-premium);
}

.btn-gallery-filter {
  background: transparent;
  border: none;
  padding: 8px 24px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.btn-gallery-filter.active,
.btn-gallery-filter:hover {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(4, 118, 178, 0.25);
}

.gallery-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  aspect-ratio: 4/3;
  z-index: 1;
  background-color: var(--secondary-color);
}

.gallery-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 19, 26, 0.92) 0%, rgba(4, 118, 178, 0.55) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: var(--transition-smooth);
  z-index: 2;
}

.gallery-box:hover .gallery-overlay {
  opacity: 1;
}

.gallery-box:hover img {
  transform: scale(1.08);
}

.gallery-title {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  transform: translateY(15px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-box:hover .gallery-title {
  transform: translateY(0);
}

.gallery-category {
  color: var(--accent-color);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: translateY(15px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) 0.05s;
}

.gallery-box:hover .gallery-category {
  transform: translateY(0);
}

.gallery-lightbox-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: var(--white) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-smooth);
}

.gallery-box:hover .gallery-lightbox-btn {
  opacity: 1;
  transform: scale(1);
}

.gallery-lightbox-btn:hover {
  background: var(--white);
  color: var(--primary-color) !important;
}

/* Custom transitions for filtered gallery items */
.gallery-item {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item.hidden {
  opacity: 0 !important;
  transform: scale(0.8) translateY(20px) !important;
  position: absolute !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Contact Us Section with Glowing Borders */
.contact-section {
  padding: 100px 0;
  background-color: var(--white);
}

.contact-info-card {
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 24px;
  padding: 45px 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(40, 47, 59, 0.2);
}

.contact-info-card::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(4, 118, 178, 0.12);
  top: -100px;
  right: -100px;
}

.contact-info-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--white);
}

.contact-info-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 18px;
  flex-shrink: 0;
}

.contact-info-text h6 {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.contact-info-text p {
  font-size: 15.5px;
  font-weight: 500;
  margin-bottom: 0;
}

.contact-info-text a {
  color: var(--white);
}

.contact-info-text a:hover {
  color: var(--accent-color);
}

/* Glassmorphic Contact Form */
.contact-form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 45px 40px;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-group-custom {
  position: relative;
  margin-bottom: 25px;
}

.form-control-custom {
  width: 100%;
  padding: 12px 18px;
  background: var(--light-bg);
  border: 1.5px solid transparent;
  border-radius: 12px;
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 14.5px;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control-custom:focus {
  background: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 0 12px rgba(4, 118, 178, 0.15);
}

.form-label-custom {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-secondary);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.form-control-custom:focus ~ .form-label-custom,
.form-control-custom:not(:placeholder-shown) ~ .form-label-custom {
  top: -8px;
  left: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-color);
  background: var(--white);
  padding: 0 6px;
  border-radius: 4px;
}

/* Footer Section */
.footer-section {
  background-color: var(--secondary-color);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px 0;
  border-top: 5px solid var(--primary-color);
  font-size: 14.5px;
}

.footer-widget-title {
  color: var(--white);
  font-size: 18px;
  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 {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  transition: var(--transition-fast);
}

.footer-links a i {
  font-size: 10px;
  margin-right: 8px;
  transition: var(--transition-fast);
}

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

.footer-links a:hover i {
  color: var(--accent-color);
}

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

.social-links-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  margin-right: 10px;
  font-size: 15px;
  transition: var(--transition-smooth);
}

.social-links-footer a:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(4, 118, 178, 0.35);
}

.newsletter-box {
  position: relative;
  margin-top: 15px;
}

.newsletter-input {
  width: 100%;
  padding: 12px 50px 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  color: var(--white);
  outline: none;
  font-size: 14px;
}

.newsletter-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(4, 118, 178, 0.25);
}

.newsletter-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-color);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.newsletter-btn:hover {
  background: var(--accent-color);
  transform: scale(1.08);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13.5px;
}

/* Animations Trigger Classes (AOS Simulation via vanilla JS) */
.reveal-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Fixes */
@media (max-width: 991.98px) {
  .navbar-custom {
    padding: 10px 0;
  }
  .navbar-nav .nav-link {
    padding: 10px 0 !important;
  }
  .navbar-nav .nav-link::after {
    left: 0;
  }
  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after {
    width: 30px;
  }
  .dropdown-menu-custom {
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    background: transparent;
    box-shadow: none;
    padding-left: 15px;
    min-width: 100%;
  }
  .dropdown:hover .dropdown-menu-custom {
    display: block;
  }
  .hero-section {
    padding: 100px 0 60px 0;
    min-height: auto;
    text-align: center;
  }
  .hero-title {
    font-size: 42px;
  }
  .hero-desc {
    margin: 0 auto 30px auto;
  }
  .scene-3d {
    margin-top: 50px;
  }
  .stats-section {
    margin-top: 30px;
  }
  .stat-item {
    margin-bottom: 25px;
  }
  .stat-item:not(:last-child)::after {
    display: none;
  }
  .about-img-box {
    margin-bottom: 50px;
  }
  .choose-tab-content-box {
    margin-top: 30px;
    padding: 30px;
  }
  .tab-pane-custom {
    top: 30px;
    left: 30px;
    right: 30px;
  }
  .contact-info-card {
    margin-bottom: 30px;
  }
}
