/* ============================================================
   CIVELMECH – MAIN STYLESHEET
   Design System | Components | Animations
============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #0066ff;
  --primary-dark: #004bcc;
  --primary-light: #c0c0c0;
  --secondary: #1a1a2e;
  --secondary-mid: #16213e;
  --accent: #c0c0c0;
  --text-dark: #1a1a2e;
  --text-body: #555f6e;
  --text-light: #8a9ab5;
  --white: #ffffff;
  --bg-light: #f8f9fc;
  --bg-dark: #0f0f1a;
  --border: #e4e8f0;
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
p {
  margin-bottom: 1rem;
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.spinner {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.preloader-brand {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* ============================================================
   HEADER
============================================================ */
.header-area {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Top Bar */
.header-top {
  background: var(--secondary);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.header-contact-info {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.header-contact-info a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 7px;
}
.header-contact-info a i {
  color: var(--primary);
  font-size: 0.85rem;
}
.header-contact-info a:hover {
  color: var(--primary);
}

.header-social {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.header-social a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  transition: var(--transition);
}
.header-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Main Navbar */
.main-navbar {
  background: var(--white);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.main-navbar.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

/* Brand */
.navbar-brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-dark) !important;
}
.brand-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.brand-accent {
  color: var(--primary);
}

/* Nav Links */
.main-navbar .nav-link {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark) !important;
  letter-spacing: 0.4px;
  padding: 6px 14px !important;
  position: relative;
  text-transform: uppercase;
}
.main-navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.main-navbar .nav-item.active .nav-link::after,
.main-navbar .nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}
.main-navbar .nav-link:hover {
  color: var(--primary) !important;
}
.main-navbar .nav-item.active .nav-link {
  color: var(--primary) !important;
}

/* CTA Button in Nav */
.btn-primary-custom {
  background: var(--primary);
  color: var(--white) !important;
  border: none;
  padding: 10px 24px !important;
  border-radius: var(--radius-xl);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
  color: var(--white) !important;
}
.btn-primary-custom::after {
  display: none !important;
}

/* Hamburger */
.navbar-toggler {
  border: none;
  padding: 6px;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger-icon span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 120px;
  background: var(--secondary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero_banner.png");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transform: scale(1.05);
  animation: heroZoom 8s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.95) 0%,
    rgba(26, 26, 46, 0.6) 60%,
    rgba(245, 166, 35, 0.15) 100%
  );
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.4);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
}
.hero-title .highlight {
  color: var(--primary);
  position: relative;
}
.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  opacity: 0.4;
}

.hero-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-hero-primary {
  background: var(--primary);
  color: var(--white);
  padding: 14px 36px;
  border-radius: var(--radius-xl);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--primary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-primary:hover {
  background: transparent;
  color: var(--primary);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.35);
  transform: translateY(-3px);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 14px;
  border-radius: var(--radius-xl);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-hero-bandera {
  background: transparent;
  color: var(--white);
  padding: 8px 10px;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition);
  display: inline-flex;
  align-items: end;
  gap: 8px;
}
.btn-hero-bandera:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

/* Hero Stats Strip */
.hero-stats {
  margin-top: 60px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat .stat-num {
  font-family: var(--font-main);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.hero-stat .stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.hero-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  align-self: center;
}

/* Hero Image Side */
.hero-image-wrap {
  position: relative;
  z-index: 2;
}
.hero-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}
.hero-img-card:hover {
  transform: perspective(1000px) rotateY(0deg);
}
.hero-img-card img {
  width: 100%;
}

.hero-floating-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.floating-badge-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.floating-badge-text .num {
  font-family: var(--font-main);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}
.floating-badge-text .label {
  font-size: 0.72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}
.scroll-indicator span {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.scroll-indicator i {
  animation: bounce 2s ease infinite;
  display: block;
  font-size: 1.2rem;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ============================================================
   SECTION COMMONS
============================================================ */
section {
  padding: 100px 0;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.3);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
}
.section-badge i {
  font-size: 0.7rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-title span {
  color: var(--primary);
}

.section-desc {
  color: var(--text-body);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 0;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  margin: 16px 0;
}
.section-divider.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   FEATURES / WHY US
============================================================ */
.features-section {
  background: var(--bg-light);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: var(--transition);
}
.feature-card:hover::before {
  transform: scaleX(1);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(
    135deg,
    rgba(245, 166, 35, 0.12),
    rgba(245, 166, 35, 0.05)
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--primary);
  margin-bottom: 24px;
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotateY(180deg);
}
.feature-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--text-body);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ============================================================
   ABOUT SECTION
============================================================ */
.about-section {
  background: var(--white);
}

.about-img-wrap {
  position: relative;
}
.about-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-main-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(245, 166, 35, 0.4);
  color: var(--white);
  text-align: center;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 12px 40px rgba(245, 166, 35, 0.4);
  }
  50% {
    box-shadow: 0 12px 60px rgba(245, 166, 35, 0.6);
  }
}
.about-exp-badge .exp-num {
  font-family: var(--font-main);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}
.about-exp-badge .exp-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 4px;
}

/* About checklist */
.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px;
}
.about-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text-dark);
}
.about-check-item i {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   SERVICES
============================================================ */
.services-section {
  background: var(--secondary);
}
.services-section .section-title {
  color: var(--white);
}
.services-section .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.08), transparent);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h4 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.service-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.service-link i {
  transition: var(--transition);
}
.service-link:hover i {
  transform: translateX(4px);
}

/* ============================================================
   STATS COUNTER SECTION
============================================================ */
.stats-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.stat-icon {
  font-size: 2.2rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}
.stat-number {
  font-family: var(--font-main);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: block;
}
.stat-suffix {
  font-family: var(--font-main);
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}
.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: 0.5px;
}
.stat-sep {
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
  height: 80px;
  align-self: center;
}

/* ============================================================
   PORTFOLIO
============================================================ */
.portfolio-section {
  background: var(--bg-light);
}

.portfolio-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-btn {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-body);
  padding: 8px 22px;
  border-radius: var(--radius-xl);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.portfolio-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--white);
  height: 100%;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.portfolio-img {
  position: relative;
  overflow: hidden;
  height: 250px;
}
.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-card:hover .portfolio-img img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.9), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-overlay-btn {
  background: var(--primary);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  margin-left: auto;
}
.portfolio-overlay-btn:hover {
  background: var(--white);
  color: var(--primary);
}

.portfolio-info {
  padding: 20px 24px;
}
.portfolio-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.portfolio-info h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0;
  color: var(--text-dark);
}

/* ============================================================
   TEAM
============================================================ */
.team-section {
  background: var(--white);
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.team-img {
  position: relative;
  overflow: hidden;
  height: 280px;
}
.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}
.team-card:hover .team-img img {
  transform: scale(1.05);
}

.team-social-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.team-card:hover .team-social-overlay {
  opacity: 1;
}
.team-social-overlay a {
  width: 40px;
  height: 40px;
  background: var(--white);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  transform: translateY(20px);
}
.team-card:hover .team-social-overlay a {
  transform: translateY(0);
}
.team-social-overlay a:hover {
  background: var(--primary);
  color: var(--white);
}

.team-info {
  padding: 24px;
}
.team-info h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-role {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-section {
  background: var(--secondary);
  overflow: hidden;
}
.testimonials-section .section-title {
  color: var(--white);
}
.testimonials-section .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: var(--transition);
  height: 100%;
}
.testimonial-card:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.testimonial-quote {
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}
.testimonial-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.testimonial-stars {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}
.testimonial-author-info h6 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 0.95rem;
}
.testimonial-author-info small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

/* ============================================================
   CTA BANNER
============================================================ */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.cta-section::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -8%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.cta-title {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 0;
}

.btn-cta-white {
  background: var(--white);
  color: var(--primary);
  padding: 14px 36px;
  border-radius: var(--radius-xl);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-cta-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 36px;
  border-radius: var(--radius-xl);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* ============================================================
   CONTACT
============================================================ */
.contact-section {
  background: var(--bg-light);
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}
.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.contact-info-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  flex-shrink: 0;
}
.contact-info-text h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-info-text p {
  color: var(--text-body);
  font-size: 0.9rem;
  margin: 0;
}
.contact-info-text a {
  color: var(--text-body);
}
.contact-info-text a:hover {
  color: var(--primary);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}
.form-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.form-control,
.form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--bg-light);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
  background: var(--white);
  outline: none;
}
textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  padding: 14px 40px;
  border-radius: var(--radius-xl);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}
.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.4);
}

.alert-success-msg {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: none;
  margin-bottom: 16px;
}
.alert-error-msg {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: none;
  margin-bottom: 16px;
}

/* ============================================================
   PAGE HERO (inner pages)
============================================================ */
.page-hero {
  background: linear-gradient(
    135deg,
    var(--secondary) 0%,
    var(--secondary-mid) 100%
  );
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero_banner.png") center/cover no-repeat;
  opacity: 0.08;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}
.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.breadcrumb-custom a {
  color: var(--primary);
  font-size: 0.9rem;
}
.breadcrumb-custom span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}
.breadcrumb-custom .current {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--secondary);
}

.footer-top {
  padding: 80px 0 60px;
}

.footer-widget .footer-brand {
  color: var(--white) !important;
  font-size: 1.4rem;
}
.footer-widget .footer-brand .brand-text {
  color: var(--white);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-links a i {
  font-size: 0.65rem;
  color: var(--primary);
}
.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}
.footer-contact li i {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.55);
}
.footer-contact a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
}
.footer-bottom p,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}
.footer-bottom a:hover {
  color: var(--primary);
}

/* ============================================================
   BACK TO TOP
============================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
  color: var(--white);
}

/* ============================================================
   UTILITY CLASSES
============================================================ */
.text-primary-custom {
  color: var(--primary) !important;
}
.bg-primary-custom {
  background: var(--primary) !important;
}
.fw-800 {
  font-weight: 800 !important;
}
.fw-700 {
  font-weight: 700 !important;
}
.gap-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 32px;
}
.body-padding {
  padding-top: 110px;
}

/* Map embed */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-container iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
}
