@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
  --color-orange: #F97C09;
  --color-green: #4DAF33;
  --color-blue: #0F95D4;
  --color-purple: #765B9E;

  --color-navy: #111827;
  --color-navy-light: #1F2937;
  --color-navy-dark: #0B0F19;

  --color-white: #FFFFFF;
  --color-light-bg: #F8FAFC;
  --color-text-dark: #1F2937;
  --color-text-light: #F3F4F6;
  --color-text-muted: #6B7280;
  --color-border: #E2E8F0;
  --color-border-dark: #374151;

  --brand-gradient: linear-gradient(135deg, #F97C09 0%, #4DAF33 33%, #0F95D4 66%, #765B9E 100%);
  --brand-gradient-hover: linear-gradient(135deg, #FF901F 0%, #5EC244 33%, #1DA7E7 66%, #876CAF 100%);
  --orange-green-grad: linear-gradient(135deg, #F97C09 0%, #4DAF33 100%);
  --blue-purple-grad: linear-gradient(135deg, #0F95D4 0%, #765B9E 100%);

  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(249, 124, 9, 0.3);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE STYLES --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--color-text-muted);
}

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

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

ul {
  list-style: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.15);
}

/* --- UTILITY CLASSES --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

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

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

.section-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

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

.section-header p {
  font-size: 1.125rem;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: var(--radius-full);
  margin-bottom: 15px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border: 1px solid rgba(30, 136, 229, 0.2);
}

.badge-dark {
  border-color: rgba(255, 255, 255, 0.15);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-headings);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
  gap: 8px;
}

.btn-gradient {
  background: var(--brand-gradient);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(245, 124, 0, 0.2);
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--brand-gradient-hover);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 1;
}

.btn-gradient:hover::before {
  opacity: 1;
}

.btn-gradient span,
.btn-gradient svg {
  position: relative;
  z-index: 2;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 124, 0, 0.35);
}

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

.btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-navy);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  padding: 0 40px;
  transition: var(--transition-normal);
}

.logo {
  display: flex;
  align-items: center;
  width: 220px;
  height: 55px;
}

.logo img {
  height: 150%;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-white);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link svg {
  transition: var(--transition-fast);
}

.nav-link:hover svg {
  transform: rotate(180deg);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

header.scrolled .header-container {
  height: 75px;
}

header.scrolled .nav-link {
  color: var(--color-navy);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 900px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.nav-item:hover .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-item {
  padding: 15px;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.mega-item:hover {
  background-color: var(--color-light-bg);
  border-color: rgba(30, 136, 229, 0.15);
  transform: translateY(-2px);
}

.mega-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-bottom: 12px;
}

.mega-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-navy);
}

.mega-item p {
  font-size: 0.8rem;
  line-height: 1.4;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--color-white);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

header.scrolled .mobile-nav-toggle span {
  background-color: var(--color-navy);
}

/* --- HERO SECTION --- */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(27, 38, 59, 0.2) 0%, rgba(17, 24, 39, 0.95) 80%);
  z-index: 2;
}

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

.hero-content {
  max-width: 750px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 25px;
  letter-spacing: -1px;
  color: var(--color-white);
}

.hero h1 span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--color-text-light);
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Animated Floating Shapes */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
  animation: floatShape 15s infinite alternate ease-in-out;
}

.shape-1 {
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background-color: var(--color-orange);
}

.shape-2 {
  bottom: 10%;
  left: 10%;
  width: 250px;
  height: 250px;
  background-color: var(--color-blue);
  animation-delay: -5s;
}

.shape-3 {
  top: 60%;
  right: 30%;
  width: 200px;
  height: 200px;
  background-color: var(--color-green);
  animation-delay: -10s;
}

@keyframes floatShape {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }

  100% {
    transform: translateY(-50px) scale(1.1) rotate(360deg);
  }
}

/* --- OVERVIEW --- */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.overview-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.overview-text p {
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.overview-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.overview-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 6px solid;
  border-image: var(--brand-gradient) 1;
  pointer-events: none;
  opacity: 0.3;
}

.overview-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-navy);
}

.feature-tag svg {
  color: var(--color-green);
  flex-shrink: 0;
}

/* --- SERVICES GRID --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.service-card-icon {
  position: absolute;
  bottom: -20px;
  right: 25px;
  width: 50px;
  height: 50px;
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: var(--color-orange);
  border-bottom: 3px solid var(--color-orange);
}

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

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-orange);
  align-self: flex-start;
}

.service-card-cta svg {
  transition: var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 124, 0, 0.25);
}

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

.service-card:hover .service-card-cta {
  color: var(--color-navy);
}

.service-card:hover .service-card-cta svg {
  transform: translateX(4px);
}

/* --- INDUSTRIES SERVED --- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  position: relative;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.industry-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: var(--transition-slow);
}

.industry-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.2) 0%, rgba(17, 24, 39, 0.9) 100%);
  z-index: 2;
  transition: var(--transition-normal);
}

.industry-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  z-index: 3;
  color: var(--color-white);
  transition: var(--transition-normal);
}

.industry-card-icon {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-bottom: 15px;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-normal);
}

.industry-card h3 {
  font-size: 1.25rem;
  color: var(--color-white);
}

.industry-card p {
  color: var(--color-text-light);
  font-size: 0.85rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-normal);
  margin-top: 5px;
}

.industry-card:hover .industry-card-bg {
  transform: scale(1.15);
}

.industry-card:hover .industry-card-overlay {
  background: linear-gradient(180deg, rgba(245, 124, 0, 0.4) 0%, rgba(17, 24, 39, 0.95) 100%);
}

.industry-card:hover .industry-card-icon {
  transform: translateY(0);
  opacity: 1;
}

.industry-card:hover p {
  opacity: 0.9;
  max-height: 60px;
  margin-top: 10px;
}

/* --- WHY CHOOSE US --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition-normal);
  position: relative;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: var(--transition-normal);
}

.why-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: rgba(245, 124, 0, 0.1);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition-normal);
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.why-card p {
  font-size: 0.9rem;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 124, 0, 0.15);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card:hover .why-card-icon {
  background: var(--brand-gradient);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(245, 124, 0, 0.25);
}

/* --- STATISTICS --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.stat-card:hover {
  background-color: rgba(255, 255, 255, 0.07);
  transform: translateY(-5px);
  border-color: var(--color-orange);
}

/* --- PROJECT SHOWCASE / MASONRY PORTFOLIO --- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  font-family: var(--font-headings);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--color-text-dark);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--brand-gradient);
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(245, 124, 0, 0.2);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 350px;
  transition: var(--transition-normal);
}

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

.portfolio-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.1) 0%, rgba(17, 24, 39, 0.9) 100%);
  z-index: 2;
  opacity: 0;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-item-img {
  transform: scale(1.1);
}

.portfolio-item h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.portfolio-item p {
  color: var(--color-text-light);
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 15px;
}

.portfolio-tag {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--color-orange);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

/* Before & After comparison slider container */
.comparison-slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
}

.comparison-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.comparison-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-image {
  z-index: 1;
}

.after-image {
  z-index: 2;
  width: 50%;
  /* Starts at half width */
  overflow: hidden;
}

/* Ensure the image inside after-image doesn't scale down, keep it full width */
.after-image img {
  width: 800px;
  max-width: none;
  height: 100%;
}

.slider-handle {
  position: absolute;
  z-index: 10;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--brand-gradient);
  cursor: ew-resize;
  transform: translateX(-50%);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background-color: var(--color-white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  border: 3px solid var(--color-orange);
}

.slider-label {
  position: absolute;
  bottom: 20px;
  z-index: 5;
  background-color: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(4px);
  color: var(--color-white);
  padding: 6px 14px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.before-label {
  left: 20px;
}

.after-label {
  right: 20px;
}

/* --- TESTIMONIAL CAROUSEL (Glassmorphism) --- */
.testimonials-slider-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform var(--transition-normal);
}

.testimonial-slide {
  min-width: 100%;
  padding: 10px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 30px;
  font-size: 10rem;
  font-family: var(--font-headings);
  font-weight: 900;
  line-height: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.15;
}

.testimonial-rating {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
  color: #FFD700;
}

.testimonial-content {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

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

.author-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--color-orange);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--color-orange);
  width: 24px;
  border-radius: var(--radius-full);
}

/* --- CLIENT LOGOS SECTION --- */
.section-clients {
  background-color: #f8fafc;
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.client-logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.client-logo-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.client-logo-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange);
  box-shadow: 0 10px 22px rgba(243, 112, 33, 0.12);
}

.client-logo-card img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(15%);
  opacity: 0.9;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.client-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* --- CALL TO ACTION (Gradient Banner) --- */
.cta-banner {
  background: var(--brand-gradient);
  border-radius: var(--radius-lg);
  padding: 80px;
  position: relative;
  overflow: hidden;
  color: var(--color-white);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-text h2 {
  font-size: 2.75rem;
  color: var(--color-white);
  margin-bottom: 20px;
  font-weight: 800;
}

.cta-text p {
  color: var(--color-white);
  opacity: 0.9;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

/* --- FOOTER --- */
footer {
  background-color: var(--color-navy-dark);
  color: var(--color-text-light);
  padding: 80px 0 30px 0;
  border-top: 1px solid var(--color-border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--brand-gradient);
}

.footer-col p {
  color: var(--color-text-light);
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 100%;
  width: auto;
}

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

.footer-links a {
  color: var(--color-text-light);
  opacity: 0.7;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-orange);
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer-contact li svg {
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-contact span {
  opacity: 0.7;
}

.footer-newsletter-form {
  display: flex;
  margin-top: 15px;
}

.footer-newsletter-form input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-dark);
  color: var(--color-white);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  flex-grow: 1;
}

.footer-newsletter-form button {
  background: var(--brand-gradient);
  border: none;
  color: var(--color-white);
  padding: 0 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--brand-gradient);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(245, 124, 0, 0.2);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* --- ABOUT PAGE SPECIFIC --- */
.about-hero {
  height: 45vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  position: relative;
  background-size: cover;
  background-position: center;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.6) 100%);
  z-index: 2;
}

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

.about-hero h1 {
  font-size: 3.5rem;
  color: var(--color-white);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mv-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.mv-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.mv-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--brand-gradient);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 40px;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 40px;
}

.timeline-dot {
  position: absolute;
  top: 10px;
  width: 20px;
  height: 20px;
  background-color: var(--color-white);
  border: 4px solid var(--color-orange);
  border-radius: 50%;
  z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-date {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-orange);
  margin-bottom: 10px;
}

.timeline-content {
  background-color: var(--color-white);
  padding: 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

/* --- SERVICES & DETAIL PAGES --- */
.service-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.catalog-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  transition: var(--transition-normal);
}

.catalog-card-img {
  width: 40%;
  position: relative;
}

.catalog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-card-content {
  width: 60%;
  padding: 30px;
}

.catalog-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.catalog-card p {
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.catalog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-orange);
}

/* Service Detail Layout */
.service-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.service-main h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  margin-top: 40px;
}

.service-main h2:first-of-type {
  margin-top: 0;
}

.service-main p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.service-sidebar-widget {
  background-color: var(--color-light-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 30px;
}

.service-sidebar-widget h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  position: relative;
}

.service-sidebar-widget h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--brand-gradient);
}

.sidebar-menu li {
  margin-bottom: 10px;
}

.sidebar-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
}

.sidebar-menu a.active,
.sidebar-menu a:hover {
  background: var(--brand-gradient);
  color: var(--color-white);
  border-color: transparent;
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.specs-table th,
.specs-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.specs-table th {
  background-color: var(--color-light-bg);
  font-weight: 700;
  color: var(--color-navy);
}

.specs-table tr:hover {
  background-color: rgba(245, 124, 0, 0.03);
}

/* FAQ Accordion */
.faq-accordion {
  margin-bottom: 40px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  background-color: var(--color-light-bg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--color-navy);
}

.faq-question svg {
  transition: var(--transition-fast);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-normal);
  background-color: var(--color-white);
}

.faq-answer p {
  padding: 18px 0;
  font-size: 0.95rem;
}

.faq-item.active .faq-question {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--color-orange);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Lead Inquiry Form */
.inquiry-form {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* --- LIGHTBOX (Gallery Page) --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 80vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 2.5rem;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: var(--color-orange);
}

.lightbox-prev {
  left: -75px;
}

.lightbox-next {
  right: -75px;
}

.lightbox-caption {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 500;
}

/* --- CONTACT PAGE --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-card-inline {
  background-color: var(--color-light-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 25px;
  display: flex;
  gap: 20px;
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-card-text p {
  font-size: 0.95rem;
}

.contact-card-text a:hover {
  color: var(--color-orange);
}

.whatsapp-cta-card {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.whatsapp-cta-card h3 {
  color: var(--color-white);
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.whatsapp-cta-card p {
  color: var(--color-white);
  opacity: 0.9;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.btn-whatsapp {
  background-color: var(--color-white);
  color: #128C7E;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 350px;
  border: 1px solid var(--color-border);
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Wide Screens / Desktop */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .mega-menu {
    width: 750px;
  }

  .cta-banner {
    padding: 50px;
  }
}

/* Laptops / Large Tablets */
@media (max-width: 992px) {
  .header-container {
    padding: 0 20px;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .overview-grid,
  .mv-grid,
  .contact-grid,
  .service-layout,
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-buttons {
    justify-content: flex-start;
  }

  .services-grid,
  .portfolio-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-logos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-slider-container {
    aspect-ratio: 4/3;
  }

  /* Mobile Nav Drawer style class (applied in JS) */
  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background-color: var(--color-navy);
    padding: 100px 40px 40px 40px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    align-items: flex-start;
    gap: 25px;
    overflow-y: auto;
  }

  .nav-links.mobile-active .nav-link {
    color: var(--color-white) !important;
    font-size: 1.2rem;
  }

  .nav-links.mobile-active .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    padding: 15px 0 0 15px;
    background: transparent;
    border: none;
    box-shadow: none;
    gap: 10px;
  }

  .nav-links.mobile-active .mega-item {
    padding: 5px 0;
  }

  .nav-links.mobile-active .mega-item h4 {
    color: var(--color-white);
  }

  .nav-links.mobile-active .mega-item p {
    display: none;
  }

  .nav-links.mobile-active .mega-item-icon {
    display: none;
  }

  .mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--color-white) !important;
  }

  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--color-white) !important;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    text-align: left !important;
    padding-left: 50px !important;
    padding-right: 0 !important;
  }

  .timeline-dot {
    left: 10px !important;
  }
}

/* Small Tablets / Mobiles */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .services-grid,
  .portfolio-grid,
  .why-grid,
  .stats-grid,
  .footer-grid,
  .catalog-card-img,
  .catalog-card-content {
    grid-template-columns: 1fr;
  }

  .client-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .client-logo-card {
    height: 72px;
    padding: 10px 12px;
  }

  .client-logo-card img {
    max-height: 38px;
  }

  .catalog-card {
    flex-direction: column;
  }

  .catalog-card-img,
  .catalog-card-content {
    width: 100%;
  }

  .catalog-card-img {
    height: 180px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .testimonial-content {
    font-size: 1rem;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .cta-text h2 {
    font-size: 2rem;
  }

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }
}

@media (max-width: 480px) {
  .client-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}