/* ==========================================================================
   Twist Window - Design System & Custom Properties
   ========================================================================== */
:root {
  --primary: #2563eb;       /* Royal Blue */
  --primary-hover: #1d4ed8; /* Darker Royal Blue */
  --secondary: #0ea5e9;     /* Ice/Sky Blue Accent */
  --dark-bg: #0f172a;       /* Slate Dark Background */
  --dark-card: #1e293b;     /* Slate Medium */
  --text-dark: #0f172a;     /* Deep Charcoal */
  --text-muted: #475569;    /* Slate Gray */
  --text-light: #94a3b8;    /* Muted Slate Gray */
  --light-bg: #f8fafc;      /* Super Light Gray */
  --white: #ffffff;
  --success: #10b981;       /* Emerald green */
  --error: #ef4444;         /* Coral red */
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-bg-dark: rgba(15, 23, 42, 0.75);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-border-dark: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
  
  /* Animations & Transitions */
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

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

/* Prevent scroll when mobile menu or modal is open */
body.no-scroll {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

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

iframe {
  border: none;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

/* ==========================================================================
   Typography & Core Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

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

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2-col {
  grid-template-columns: 1fr;
}

.grid-3-col {
  grid-template-columns: 1fr;
}

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

/* Section Headers */
.section-tag {
  display: inline-block;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 9999px;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  font-family: var(--font-heading);
  transition: var(--transition-normal);
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Preloader Style
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px;
  height: 50px;
  position: relative;
  margin: 100px auto;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--primary);
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  animation-delay: -1.0s;
}

@keyframes bounce {
  0%, 100% { transform: scale(0.0) }
  50% { transform: scale(1.0) }
}

/* ==========================================================================
   Header & Sticky Navigation Bar
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
}

.main-header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--glass-shadow);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  transition: var(--transition-fast);
}

.main-header.scrolled .header-container {
  padding: 0.875rem 1.5rem;
}

/* Logo Design */
.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.logo-accent {
  color: var(--primary);
  display: inline;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1px;
}

.main-header.scrolled .logo {
  color: var(--text-dark);
}

.main-header.scrolled .logo-sub {
  color: var(--text-muted);
}

/* Navigation Links */
.nav-menu ul {
  display: flex;
  gap: 2.25rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Header state change */
.main-header.scrolled .nav-link {
  color: var(--text-muted);
}

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

/* Consultation button in Header */
.btn-consultation {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  border-radius: 6px;
}

/* Hamburger Menu Button */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 1001;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  box-sizing: content-box;
}

.mobile-nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  border-radius: 9999px;
  transition: var(--transition-fast);
}

.main-header.scrolled .mobile-nav-toggle .bar {
  background-color: var(--text-dark);
}

/* Mobile nav backdrop overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999;
  backdrop-filter: blur(2px);
}

.nav-overlay.active {
  display: block;
}

/* Hamburger toggle animation */
.mobile-nav-toggle.open .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--text-dark) !important;
}

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

.mobile-nav-toggle.open .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--text-dark) !important;
}

/* ==========================================================================
   Hero Section with Full Screen Image & Stats
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  background: url('images/hero_luxury_facade.png') no-repeat center center / cover;
  color: var(--white);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4rem;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(5px);
  color: var(--secondary);
}

.hero-badge i {
  width: 16px;
  height: 16px;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--white);
  letter-spacing: -0.03em;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Statistics Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 12px;
  color: var(--secondary);
}

.stat-icon i {
  width: 24px;
  height: 24px;
}

.stat-details {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
}

.stat-plus {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
  font-weight: 400;
}

/* ==========================================================================
   About Us Section with Overlap Layout
   ========================================================================== */
.about-section {
  background-color: var(--white);
  overflow: hidden;
}

.about-image-wrapper {
  position: relative;
  padding-bottom: 2rem;
}

.about-img-box {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.img-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.img-badge {
  position: absolute;
  bottom: 0;
  right: 1.5rem;
  background-color: var(--primary);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
  z-index: 5;
}

.experience-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.exp-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.exp-text {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
}

.about-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.about-feature-item {
  display: flex;
  gap: 1rem;
}

.about-feature-item .feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.about-feature-item .feature-icon i {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.about-feature-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

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

/* ==========================================================================
   Services Section with Glassmorphic Grid Cards
   ========================================================================== */
/* Fabrication checklist: 2-col on medium+, 1-col on mobile */
.fabrication-checklist {
  border: none !important;
  padding-top: 0 !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .fabrication-checklist {
    grid-template-columns: 1fr;
  }
}

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

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

/* Glassmorphism card details */
.service-card {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background-color: var(--primary);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: rgba(37, 99, 235, 0.07);
  border-radius: 12px;
  color: var(--primary);
  margin-bottom: 1.75rem;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.service-icon i {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  flex-grow: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  padding-top: 1.25rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.service-features li i {
  width: 16px;
  height: 16px;
  color: var(--success);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  margin-top: auto;
}

.service-link i {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

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

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-choose-us {
  background-color: var(--white);
}

.features-grid {
  margin-top: 3.5rem;
}

.feature-box {
  background-color: var(--light-bg);
  border: 1px solid rgba(226, 232, 240, 0.5);
  border-radius: 12px;
  padding: 2.25rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-box:hover {
  background-color: var(--white);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
  border-color: rgba(37, 99, 235, 0.1);
  transform: translateY(-4px);
}

.feature-box-icon {
  width: 50px;
  height: 50px;
  background-color: var(--white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition-fast);
}

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

.feature-box-icon i {
  width: 24px;
  height: 24px;
}

.feature-box h3 {
  font-size: 1.25rem;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ==========================================================================
   Projects Showcase with Masonry-style Grid Filter
   ========================================================================== */
.projects-section {
  background-color: var(--light-bg);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 3rem 0;
}

.filter-btn {
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9375rem;
  background-color: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: var(--text-muted);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Grid columns & sizes */
.project-item {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-item.hidden {
  display: none;
  opacity: 0;
}

.project-inner {
  position: relative;
  overflow: hidden;
  height: 320px;
  border-radius: 12px;
}

.project-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 70%, rgba(15, 23, 42, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

/* Hover Zoom States */
.project-item:hover .project-inner img {
  transform: scale(1.08);
}

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

.project-cat {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.project-overlay h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.project-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.view-project-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--white);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  align-self: flex-start;
  transition: var(--transition-fast);
}

.view-project-btn:hover {
  background-color: var(--primary);
  color: var(--white);
}

.view-project-btn i {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Gallery Section with Grid Zoom Hover
   ========================================================================== */
.gallery-section {
  background-color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.gallery-item {
  position: relative;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  z-index: 2;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

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

.gallery-type {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.gallery-item-overlay h3 {
  font-size: 1.25rem;
  color: var(--white);
}

.gallery-zoom-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-zoom-icon i {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Execution Process Timeline Section
   ========================================================================== */
.process-section {
  background-color: var(--light-bg);
}

.process-timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 1.5rem;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: rgba(37, 99, 235, 0.15);
  z-index: 1;
}

.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.timeline-item {
  display: flex;
  position: relative;
  padding-left: 3.5rem;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--white);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
  transform: translateX(-0.75rem);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1);
  z-index: 3;
  transition: var(--transition-normal);
}

.timeline-item:hover .timeline-dot {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.timeline-content {
  background-color: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
  transition: var(--transition-normal);
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.04);
  border-color: rgba(37, 99, 235, 0.1);
}

.timeline-step {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ==========================================================================
   Testimonials Slider Carousel
   ========================================================================== */
.testimonials-section {
  background-color: var(--white);
}

.testimonials-slider-container {
  max-width: 800px;
  margin: 3.5rem auto 0;
  position: relative;
  overflow: hidden;
}

.testimonials-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 3rem 2rem;
  background: var(--light-bg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  text-align: center;
  box-sizing: border-box;
}

.testimonial-slide .stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  color: #fbbf24;
}

.testimonial-slide .stars i {
  width: 20px;
  height: 20px;
  fill: #fbbf24;
}

.review-text {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--text-dark);
  font-weight: 400;
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
}

.client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

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

.client-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.client-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Slider Pagination & Button Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.slider-control-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background-color: var(--white);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.slider-control-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.2);
}

.slider-control-btn i {
  width: 20px;
  height: 20px;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(226, 232, 240, 1.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

/* ==========================================================================
   Contact Section & Interactive Inquiry Form
   ========================================================================== */
.contact-section {
  background-color: var(--light-bg);
  overflow: hidden;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
}

.contact-info-panel h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.contact-info-panel p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.0625rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-method-card {
  display: flex;
  gap: 1.25rem;
}

.method-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01);
}

.method-icon i {
  width: 22px;
  height: 22px;
}

.method-details h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.method-details p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

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

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Form Panel */
.contact-form-panel {
  background-color: var(--white);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.contact-form-panel h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.contact-form-panel p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

.premium-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 1rem;
  color: var(--text-light);
  width: 18px;
  height: 18px;
  pointer-events: none;
  transition: var(--transition-fast);
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 1);
  background-color: var(--light-bg);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  appearance: none;
}

.input-wrapper select {
  cursor: pointer;
}

/* Style selected/options values */
.input-wrapper select:invalid {
  color: var(--text-light);
}

/* Textarea icon position override */
.text-area-wrapper i {
  top: 1rem;
}

.text-area-wrapper textarea {
  resize: vertical;
}

/* Focus and input states */
.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.input-wrapper input:focus + i,
.input-wrapper select:focus + i,
.input-wrapper textarea:focus + i {
  color: var(--primary);
}

/* Validation Feedback Styles */
.form-group.invalid .input-wrapper input,
.form-group.invalid .input-wrapper select,
.form-group.invalid .input-wrapper textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-group.invalid .error-msg {
  display: block;
}

.error-msg {
  font-size: 0.75rem;
  color: var(--error);
  font-weight: 500;
  display: none;
  margin-top: 0.25rem;
}

/* Button Loading State */
#submitBtn {
  position: relative;
  overflow: hidden;
}

.spinner-inline {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 0.8s linear infinite;
  margin-left: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Footer Section with Multi-Column Navigation
   ========================================================================== */
.footer-section {
  background-color: var(--dark-bg);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  padding: 5rem 0 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.brand-col .footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  display: inline-block;
  margin-bottom: 1.25rem;
}

.brand-desc {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.social-links a svg,
.social-links a i {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-col h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  color: var(--white);
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-col ul li {
  font-size: 0.9375rem;
  color: var(--text-light);
}

.footer-col ul li a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-light);
}

.footer-col ul li a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-col ul li a i {
  width: 14px;
  height: 14px;
}

.footer-contact-details li {
  display: flex;
  gap: 0.75rem;
  line-height: 1.5;
}

.footer-contact-details li i {
  flex-shrink: 0;
  color: var(--primary);
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.footer-contact-details li a:hover {
  color: var(--primary);
}

/* Footer Bottom Bar */
.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-bottom-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

.footer-bottom-container p {
  line-height: 1.7;
}

.powered-by-link {
  color: #28a745 !important;
  font-weight: 500;
  transition: var(--transition-fast);
}

.powered-by-link:hover {
  color: #22c55e !important;
  text-decoration: underline;
}

/* ==========================================================================
   Lightbox & Custom Popup Modals
   ========================================================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background-color: var(--error);
  transform: rotate(90deg);
}

.lightbox-close i {
  width: 24px;
  height: 24px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  background-color: var(--primary);
}

.lightbox-nav i {
  width: 24px;
  height: 24px;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-content {
  max-width: 80%;
  max-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-meta {
  color: var(--white);
  text-align: center;
  margin-top: 1.5rem;
  max-width: 600px;
}

.lightbox-meta h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.lightbox-meta p {
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 300;
}

/* Success Modal Overlay */
.success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
}

.success-modal-overlay.active {
  display: flex;
}

.success-modal-content {
  background-color: var(--white);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
  animation: slideUpIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

@keyframes slideUpIn {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.success-icon-badge {
  width: 72px;
  height: 72px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.success-icon-badge i {
  width: 40px;
  height: 40px;
}

.success-modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.success-modal-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.submission-details {
  background-color: var(--light-bg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  text-align: left;
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.submission-details p {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.submission-details p:last-child {
  margin-bottom: 0;
}

.submission-details strong {
  color: var(--text-dark);
}

/* ==========================================================================
   Floating Call & WhatsApp Contact Widgets
   ========================================================================== */
.floating-btn {
  position: fixed;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: var(--transition-normal);
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.05);
}

/* Floating Tooltip */
.floating-btn .tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--text-dark);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  white-space: nowrap;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.floating-btn .tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent var(--text-dark);
}

.floating-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

/* Specific position */
.floating-whatsapp {
  bottom: 1.5rem;
  background-color: #25d366;
  border: 1px solid #20ba59;
}

.floating-whatsapp svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.floating-call {
  bottom: 5.75rem;
  background-color: var(--primary);
  border: 1px solid var(--primary-hover);
}

.floating-call i {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Smooth Fade-in & Slide Scroll Animations
   ========================================================================== */
.fade-in-up,
.fade-in-left,
.fade-in-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-left {
  transform: translateX(-40px);
}

.fade-in-right {
  transform: translateX(40px);
}

.animate {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* Delay modifiers */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* ==========================================================================
   Media Queries & Responsive Styling (Mobile First)
   ========================================================================== */

/* Breakpoint: Small Tablets & Large Phones (576px) */
@media (min-width: 576px) {
  .grid-2-col {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Breakpoint: Tablets (768px) */
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
  
  .grid-3-col {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-content h1 {
    font-size: 3.75rem;
  }
  
  .stats-bar {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.5rem 2rem;
  }
  
  .about-image-wrapper {
    padding-bottom: 0;
  }
  
  .img-main img {
    height: 520px;
  }
  
  .img-badge {
    right: -1rem;
    bottom: 2rem;
  }
  
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .timeline-item {
    padding-left: 0;
    width: 50%;
  }
  
  /* Timeline zig zag positioning */
  .timeline-item:nth-child(odd) {
    align-self: flex-start;
    padding-right: 3rem;
    text-align: right;
  }
  
  .timeline-item:nth-child(even) {
    align-self: flex-end;
    padding-left: 3rem;
    text-align: left;
  }
  
  .timeline-item:nth-child(odd) .timeline-dot {
    right: 0;
    left: auto;
    transform: translateX(1.5rem);
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    left: 0;
    transform: translateX(-1.5rem);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Breakpoint: Large Tablets & Desktops (992px) */
@media (max-width: 991px) {
  /* Navigation menu mobile overlay */
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 6rem 2.5rem 3rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 1.75rem;
  }
  
  .nav-link {
    color: var(--text-dark);
    font-size: 1.125rem;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav-link:hover, .nav-link.active {
    color: var(--primary);
  }
  
  .header-cta {
    display: none; /* Hide desktop CTA button in header */
  }
}

@media (min-width: 992px) {
  .grid-3-col {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .service-card:nth-child(4), .service-card:nth-child(5) {
    grid-column: span 1;
  }
}

/* Breakpoint: Large Desktops (1200px) */
@media (min-width: 1200px) {
  .hero-content h1 {
    font-size: 4.25rem;
  }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
  html {
    font-size: 15px;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  /* Hero Section */
  .hero-section {
    min-height: 100svh;
    padding: 7rem 0 3rem;
    background-position: center center;
  }

  .hero-container {
    padding: 0 1rem;
    gap: 2.5rem;
  }

  .hero-content h1 {
    font-size: 2rem;
    letter-spacing: -0.02em;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.875rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Stats bar */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 12px;
  }

  .stat-icon {
    width: 38px;
    height: 38px;
  }

  .stat-number {
    font-size: 1.375rem;
  }

  .stat-plus {
    font-size: 1.2rem;
  }

  /* About Section */
  .about-image-wrapper {
    padding-bottom: 0;
  }

  .img-main img {
    height: 260px;
  }

  .img-badge {
    position: relative;
    bottom: auto;
    right: auto;
    display: inline-flex;
    margin-top: 1rem;
    border-radius: 10px;
  }

  .about-content h2 {
    font-size: 1.625rem;
  }

  /* Section Headers */
  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-desc {
    font-size: 1rem;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  /* Why Choose Us */
  .features-grid {
    gap: 1.25rem;
    margin-top: 2.5rem;
  }

  .feature-box {
    padding: 1.75rem;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .project-inner {
    height: 260px;
  }

  .portfolio-filters {
    gap: 0.5rem;
    margin: 2rem 0;
  }

  .filter-btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
  }

  .gallery-item {
    height: 240px;
  }

  /* Timeline */
  .process-timeline-wrapper {
    padding: 1.5rem 0;
    margin-top: 2.5rem;
  }

  .timeline-line {
    left: 1rem;
  }

  .timeline-item {
    padding-left: 3rem;
    width: 100%;
    text-align: left !important;
    align-self: auto !important;
    padding-right: 0 !important;
  }

  .timeline-dot {
    transform: translateX(-0.5rem) !important;
    left: 0 !important;
    right: auto !important;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.9rem;
  }

  .timeline-content {
    padding: 1.25rem;
  }

  /* Testimonials */
  .testimonials-slider-container {
    margin-top: 2.5rem;
  }

  .testimonial-slide {
    padding: 2rem 1.25rem;
  }

  .review-text {
    font-size: 1.0625rem;
  }

  /* Contact Section */
  .contact-form-panel {
    padding: 2rem 1.25rem;
    border-radius: 12px;
  }

  .contact-info-panel h2 {
    font-size: 1.75rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer-top {
    padding: 3.5rem 0 2.5rem;
  }

  /* Subpage Banner */
  .subpage-banner {
    padding: 6.5rem 0 3rem;
  }

  .subpage-banner h1 {
    font-size: 1.875rem;
  }

  /* Service Detail Blocks */
  .service-detail-block {
    margin-bottom: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .service-detail-img {
    height: 240px;
  }

  .service-detail-content h3 {
    font-size: 1.5rem;
  }

  /* Specs table scroll */
  .tech-specs-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Buttons */
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9375rem;
  }

  /* Lightbox */
  .lightbox-content {
    max-width: 95%;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  /* Floating Buttons */
  .floating-btn {
    width: 48px;
    height: 48px;
    right: 1rem;
  }

  .floating-whatsapp {
    bottom: 1rem;
  }

  .floating-call {
    bottom: 4.75rem;
  }

  /* Tooltips hidden on mobile */
  .floating-btn .tooltip {
    display: none;
  }

  /* Grid overrides for 1-col on mobile */
  .grid-2-col,
  .grid-3-col {
    grid-template-columns: 1fr !important;
  }

  /* Contact form full width */
  .form-row {
    grid-template-columns: 1fr !important;
  }

  /* Map responsive */
  .map-wrapper iframe {
    height: 240px !important;
  }
}

/* ==========================================================================
   SMALL PHONE (max-width: 400px)
   ========================================================================== */
@media (max-width: 400px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .logo {
    font-size: 1.25rem;
  }

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

  .contact-form-panel {
    padding: 1.5rem 1rem;
  }

  .testimonial-slide {
    padding: 1.5rem 1rem;
  }

  .review-text {
    font-size: 0.975rem;
  }
}

/* ==========================================================================
   Multi-Page Subpage Styling
   ========================================================================== */
.subpage-banner {
  position: relative;
  padding: 8rem 0 4rem;
  background: url('images/hero_luxury_facade.png') no-repeat center center / cover;
  color: var(--white);
  text-align: center;
}

.subpage-banner .hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%);
  z-index: 1;
}

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

.subpage-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
  font-family: var(--font-heading);
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--secondary);
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.4);
}

/* Service Details Subpage Layout */
.services-detail-section {
  background-color: var(--white);
}

.service-detail-block {
  margin-bottom: 6rem;
  padding-bottom: 6rem;
  border-bottom: 1px solid #e2e8f0;
}

.service-detail-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-detail-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  height: 360px;
}

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

.service-detail-block:hover .service-detail-img img {
  transform: scale(1.03);
}

.service-detail-content h3 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.service-detail-content h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.service-detail-content .detail-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-detail-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.tech-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.tech-specs-table th, .tech-specs-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.tech-specs-table tr:last-child th, 
.tech-specs-table tr:last-child td {
  border-bottom: none;
}

.tech-specs-table th {
  background-color: var(--light-bg);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
  width: 35%;
}

.tech-specs-table td {
  color: var(--text-muted);
  font-weight: 400;
}

/* Alternate Grid Alignment for Desktop (>=768px) */
@media (min-width: 768px) {
  .subpage-banner h1 {
    font-size: 3rem;
  }
  
  .service-detail-block:nth-child(even) .grid-2-col {
    direction: rtl;
  }
  
  .service-detail-block:nth-child(even) .grid-2-col > * {
    direction: ltr;
  }
}

/* ==========================================================================
   Map Directions Button & Footer Contact Adjustments
   ========================================================================== */
.map-directions-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: var(--white);
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-fast);
}

.map-directions-btn:hover {
  background-color: var(--light-bg);
  color: var(--primary);
}

.map-directions-btn i {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.footer-contact-details li a {
  color: var(--text-light);
  transition: var(--transition-fast);
}

.footer-contact-details li a:hover {
  color: var(--primary);
  transform: none !important;
}
