/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Color Palette */
  --primary-orange: #ff6f00;
  --primary-orange-hover: #e05e00;
  --primary-orange-light: #fff5eb;
  
  --dark-gray: #1e2229;
  --dark-gray-light: #2d323e;
  --dark-gray-dark: #12151a;
  
  --light-gray: #f7fafc;
  --medium-gray: #4a5568;
  --text-color: #2d3748;
  --text-muted: #718096;
  --border-gray: #e2e8f0;
  --white: #ffffff;
  
  /* Buttons (Dark Green) */
  --green-btn: #165034;
  --green-btn-hover: #0c3621;
  --green-btn-light: #e6f4ea;
  --green-btn-shadow: rgba(22, 80, 52, 0.25);
  
  /* Typography */
  --font-headings: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Layout & Animations */
  --container-width: 1200px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --border-radius: 8px;
  --border-radius-sm: 4px;
  --border-radius-lg: 16px;
}

/* ==========================================================================
   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-color);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   REUSABLE UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Title Component */
.section-title-wrapper {
  margin-bottom: 24px;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-orange);
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
  position: relative;
  padding-left: 30px;
}

.section-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background-color: var(--primary-orange);
}

.section-title {
  font-family: var(--font-headings);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark-gray);
  line-height: 1.25;
}

.section-title span {
  color: var(--primary-orange);
}

/* Center Aligned Title */
.section-title-center {
  text-align: center;
  margin-bottom: 48px;
}

.section-title-center .section-subtitle {
  padding-left: 0;
  margin-bottom: 12px;
}

.section-title-center .section-subtitle::before {
  display: none;
}

.section-title-center .section-title {
  position: relative;
  padding-bottom: 16px;
}

.section-title-center .title-bar {
  width: 60px;
  height: 4px;
  background-color: var(--primary-orange);
  margin: 16px auto 0;
  border-radius: 2px;
  position: relative;
}

.section-title-center .title-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 4px;
  background-color: var(--green-btn);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.btn-green {
  background-color: var(--green-btn);
  color: var(--white);
  box-shadow: 0 4px 12px var(--green-btn-shadow);
}

.btn-green:hover {
  background-color: var(--green-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--green-btn-shadow);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  box-shadow: none;
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--dark-gray);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background-color: var(--dark-gray-dark);
  color: var(--white);
  font-size: 0.9375rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--dark-gray-light);
}

.top-bar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  max-width: 100%;
  padding: 0 40px;
}

.top-info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.top-info a, .top-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
}

.top-info a:hover {
  color: var(--primary-orange);
}

.top-info i {
  color: var(--primary-orange);
}

.top-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-social a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
}

.top-social a:hover {
  color: var(--primary-orange);
  transform: translateY(-1px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  background-color: var(--white);
  height: 90px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.main-header.sticky {
  height: 75px;
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  max-width: 100%;
  padding: 0 40px;
  position: relative;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-brand {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-btn);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.logo {
  height: 65px;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.main-header.sticky .logo {
  height: 50px;
}

.logo img {
  height: 100%;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 100px;
}

.nav-menu a {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--dark-gray);
  padding: 8px 0;
  position: relative;
}

.nav-menu a i {
  margin-right: 8px;
  font-size: 1.15rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.nav-menu a:hover i,
.nav-menu a.active i {
  color: var(--primary-orange);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-orange);
  transition: var(--transition-smooth);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-quote {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--dark-gray);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Open Mobile State for Toggle */
.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero-section {
  position: relative;
  height: calc(100vh - 135px);
  min-height: 550px;
  overflow: hidden;
  background-color: var(--dark-gray-dark);
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
  display: flex;
  align-items: center;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-content {
  color: var(--white);
  max-width: 700px;
  position: relative;
}

.slide-tagline {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-orange);
  letter-spacing: 3px;
  margin-bottom: 16px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
}

.slide-title {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.4s;
}

.slide-title span {
  color: var(--primary-orange);
}

.slide-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 600px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.6s;
}

.slide-btns {
  display: flex;
  gap: 16px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.8s;
}

/* Active Animation Triggers */
.slide.active .slide-tagline,
.slide.active .slide-title,
.slide.active .slide-desc,
.slide.active .slide-btns {
  transform: translateY(0);
  opacity: 1;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 10;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-btn:hover {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: translateY(-50%) scale(1.05);
}

.prev-btn { left: 24px; }
.next-btn { right: 24px; }

/* Indicators */
.slider-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 28px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.indicator.active {
  background-color: var(--primary-orange);
  width: 45px;
}

/* ==========================================================================
   STATISTICS COUNTERS
   ========================================================================== */
.stats-section {
  background-color: var(--white);
  padding: 40px 0;
  position: relative;
  z-index: 5;
  margin-top: -50px; /* Overlap effect */
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  border-bottom: 4px solid var(--primary-orange);
}

.stat-card {
  text-align: center;
  padding: 10px;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 15%;
  width: 1px;
  height: 70%;
  background-color: var(--border-gray);
}

.stat-icon {
  font-size: 2.25rem;
  color: var(--primary-orange);
  margin-bottom: 12px;
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-gray);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-number::after {
  content: '+';
  color: var(--primary-orange);
}

.stat-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT US
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background-color: var(--white);
}

.about-container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
  padding-right: 50px;
  padding-bottom: 50px;
}

.image-large {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.image-large img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.image-large:hover img {
  transform: scale(1.03);
}

.image-small-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 260px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.image-small-overlay img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 111, 0, 0.9);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  transition: var(--transition-smooth);
}

.image-small-overlay:hover .experience-badge {
  background-color: rgba(22, 80, 52, 0.95);
}

.badge-num {
  font-family: var(--font-headings);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.about-content {
  padding-left: 10px;
}

.about-lead {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 16px;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon-box {
  color: var(--primary-orange);
  font-size: 1.35rem;
  margin-top: 3px;
}

.feature-info h3 {
  font-family: var(--font-headings);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 4px;
}

.feature-info p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-section {
  background-color: var(--light-gray);
  padding: 100px 0;
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

/* Top Border Hover line */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background-color: var(--primary-orange);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  width: 100%;
}

.service-icon {
  width: 64px;
  height: 64px;
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background-color: var(--green-btn);
  color: var(--white);
  transform: rotateY(360deg);
}

.service-title {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 12px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green-btn);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link i {
  transition: var(--transition-fast);
}

.service-card:hover .service-link {
  color: var(--primary-orange);
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.projects-section {
  padding: 100px 0;
}

.project-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9375rem;
  background-color: var(--light-gray);
  color: var(--medium-gray);
  transition: var(--transition-smooth);
  border: 1px solid var(--border-gray);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-orange);
  color: var(--white);
  border-color: var(--primary-orange);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  transition: var(--transition-smooth);
}

.project-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: block;
  transition: var(--transition-smooth);
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(30, 34, 41, 0.05), rgba(30, 34, 41, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-cat {
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-orange);
  letter-spacing: 2px;
  margin-bottom: 6px;
  transform: translateY(20px);
  transition: var(--transition-smooth) 0.1s;
}

.project-name {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  transform: translateY(20px);
  transition: var(--transition-smooth) 0.15s;
}

.project-details-text {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
  transform: translateY(20px);
  transition: var(--transition-smooth) 0.2s;
}

.project-zoom-btn {
  width: 44px;
  height: 44px;
  background-color: var(--primary-orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  position: absolute;
  top: 30px;
  right: 30px;
  transform: scale(0.8);
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-zoom-btn:hover {
  background-color: var(--green-btn);
  transform: scale(1.1);
}

/* Hover effects */
.project-item:hover .project-img-wrapper img {
  transform: scale(1.08);
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-item:hover .project-cat,
.project-item:hover .project-name,
.project-item:hover .project-details-text {
  transform: translateY(0);
}

.project-item:hover .project-zoom-btn {
  transform: scale(1);
  opacity: 1;
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-us-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--white);
  overflow: hidden;
}

.why-us-bg-half {
  display: none;
}

.why-us-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-us-content {
  padding-right: 10px;
}

.why-us-text {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.why-card-icon {
  width: 52px;
  height: 52px;
  background-color: var(--white);
  border-radius: 50%;
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.why-card:hover .why-card-icon {
  background-color: var(--primary-orange);
  color: var(--white);
  transform: translateY(-2px);
}

.why-card-text h3 {
  font-family: var(--font-headings);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 6px;
}

.why-card-text p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.why-us-img-box {
  position: relative;
  height: 550px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--dark-gray-light);
}

.why-us-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-us-badge {
  position: absolute;
  bottom: 40px;
  left: 40px;
  background-color: var(--primary-orange);
  color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  max-width: 280px;
  box-shadow: var(--shadow-lg);
}

.why-us-badge i {
  font-size: 2rem;
  margin-bottom: 12px;
}

.why-us-badge h4 {
  font-family: var(--font-headings);
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.why-us-badge p {
  font-size: 0.8125rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--dark-gray);
  color: var(--white);
  position: relative;
}

.testimonials-section .section-title {
  color: var(--white);
}

.testimonials-section .title-bar::after {
  background-color: var(--white);
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 111, 0, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.testimonials-slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.testimonials-slider {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-gray-light);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateX(50px);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--primary-orange);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.3;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  line-height: 1.5;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary-orange);
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-details h4 {
  font-family: var(--font-headings);
  font-size: 1.0625rem;
  font-weight: 700;
}

.client-details span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.stars {
  color: #ffb300;
  font-size: 0.75rem;
}

.testimonials-ctrl {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.testimonials-ctrl button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.testimonials-ctrl button:hover {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
}

/* ==========================================================================
   CONTACT & HARİTA
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background-color: var(--white);
}

.contact-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-info-panel {
  padding-right: 10px;
}

.contact-lead-text {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 35px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.detail-icon {
  width: 46px;
  height: 46px;
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.detail-text h4 {
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 4px;
}

.detail-text p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.detail-text a:hover {
  color: var(--primary-orange);
}

.map-wrapper {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-gray);
}

.contact-form-panel {
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-lg);
  padding: 45px;
  border-top: 4px solid var(--green-btn);
}

.contact-form-panel h3 {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-gray);
  margin-bottom: 8px;
}

.contact-form-panel > p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 30px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--medium-gray);
}

.form-group label .required {
  color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-gray);
  border-radius: var(--border-radius);
  background-color: var(--light-gray);
  color: var(--text-color);
  font-size: 0.9375rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-orange);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.1);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 5px;
}

.form-checkbox input {
  display: none;
}

.form-checkbox label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  user-select: none;
}

.custom-checkbox {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border-gray);
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
  background-color: var(--light-gray);
  transition: var(--transition-fast);
}

.form-checkbox input:checked + label .custom-checkbox {
  background-color: var(--green-btn);
  border-color: var(--green-btn);
}

.form-checkbox input:checked + label .custom-checkbox::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.kvkk-link {
  color: var(--primary-orange);
  font-weight: 600;
}

.kvkk-link:hover {
  text-decoration: underline;
}

.form-status {
  margin-top: 15px;
  padding: 12px;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 600;
  display: none;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--dark-gray-dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  padding: 80px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col h3 {
  font-family: var(--font-headings);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--primary-orange);
}

.footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

.footer-about p {
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background-color: var(--dark-gray-light);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background-color: var(--primary-orange);
  transform: translateY(-2px);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  font-size: 0.75rem;
  color: var(--primary-orange);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-orange);
  padding-left: 5px;
}

.footer-links a:hover i {
  color: var(--white);
}

.footer-newsletter p {
  line-height: 1.5;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  background-color: var(--dark-gray-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
}

.newsletter-form:focus-within {
  border-color: var(--primary-orange);
}

.newsletter-form input {
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.875rem;
  flex-grow: 1;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
  background-color: var(--green-btn);
  color: var(--white);
  padding: 0 20px;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: var(--primary-orange);
}

.newsletter-status {
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  display: none;
}

.newsletter-status.success {
  color: #2ed573;
  display: block;
}

.footer-bottom {
  padding: 24px 0;
  background-color: var(--dark-gray-dark);
  font-size: 0.8125rem;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.developer-credit {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.developer-credit a {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.developer-credit a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--primary-orange);
  text-decoration: underline;
}

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background-color: var(--green-btn);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

.scroll-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--primary-orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Large Screens & Laptops */
@media (max-width: 1200px) {
  :root {
    --container-width: 960px;
  }
  
  .about-container,
  .why-us-container {
    gap: 40px;
  }
  
  .image-large img {
    height: 400px;
  }
}

/* Tablets (Portrait) */
@media (max-width: 992px) {
  :root {
    --container-width: 720px;
  }
  
  /* Mobile Portfolio Overlay Visibility */
  .project-overlay {
    opacity: 1 !important;
    background: linear-gradient(rgba(30, 34, 41, 0.1), rgba(30, 34, 41, 0.85)) !important;
  }
  
  .project-cat,
  .project-name,
  .project-details-text {
    transform: translateY(0) !important;
  }
  
  .project-zoom-btn {
    transform: scale(1) !important;
    opacity: 1 !important;
  }
  
  .top-bar {
    display: none; /* Hide topbar on smaller tablets/mobiles to save space */
  }
  
  .main-header {
    height: 80px;
  }
  
  .mobile-nav-toggle {
    display: flex;
    z-index: 101;
  }
  
  /* Mobile Navigation Menu Panel */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 100px 40px 40px;
    transition: var(--transition-smooth);
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .nav-menu a {
    font-size: 1.125rem;
  }
  
  .btn-quote {
    display: none; /* Hide header CTA to keep header tidy on mobile */
  }
  
  /* Hero section adjustments */
  .hero-section {
    height: 500px;
  }
  
  .slide-title {
    font-size: 2.5rem;
  }
  
  .slide-desc {
    font-size: 1rem;
  }
  
  /* Grid conversions to vertical lists */
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -20px;
    padding: 30px 20px;
  }
  
  .stat-card:nth-child(2)::after {
    display: none;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-images {
    padding-right: 30px;
    padding-bottom: 30px;
    max-width: 550px;
    margin: 0 auto;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-us-bg-half {
    display: none; /* Remove background splitter */
  }
  
  .why-us-section {
    background-color: var(--white);
  }
  
  .why-us-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .why-us-img-box {
    height: 400px;
    order: -1; /* Image first on mobile tablet */
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Screens (Landscape & Portrait) */
@media (max-width: 768px) {
  :root {
    --container-width: 100%;
  }
  
  .section-title {
    font-size: 1.875rem;
  }
  
  .hero-section {
    height: calc(100vh - 80px);
  }
  
  .slide-title {
    font-size: 2rem;
  }
  
  .slide-btns {
    flex-direction: column;
    gap: 12px;
  }
  
  .slide-btns .btn {
    width: 100%;
  }
  
  .slider-btn {
    display: none; /* Hide large arrows on phones */
  }
  
  .stats-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .stat-card::after {
    display: none !important;
  }
  
  .image-small-overlay {
    width: 200px;
  }
  
  .badge-num {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-slider {
    height: 380px; /* Expand slider card height for wrapped texts */
  }
  
  .testimonial-card {
    padding: 30px 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-form-panel {
    padding: 30px 20px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 60px 24px;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 55px;
  }
  
  .main-header.sticky .logo {
    height: 48px;
  }
  
  .image-small-overlay {
    display: none; /* Hide overlapping image on tiny mobile screens */
  }
  
  .about-images {
    padding: 0;
  }
  
  .why-us-badge {
    left: 20px;
    bottom: 20px;
    padding: 20px;
  }
}

/* ==========================================================================
   KVKK MODAL WINDOW STYLING
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  max-width: 600px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(-30px);
  transition: transform 0.3s ease;
  max-height: 80vh;
  overflow-y: auto;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  color: var(--text-muted);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-fast);
}

.close-modal:hover {
  color: var(--primary-orange);
}

.modal-content h3 {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  color: var(--dark-gray);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-gray);
  padding-bottom: 10px;
}

.modal-body p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 15px;
}
