/* =============================================
   DETOURDEV.COM - Main Stylesheet
   ============================================= */

/* CSS Variables */
:root {
  --primary-color: #000;
  --secondary-color: #090909;
  --text-color: #fff;
  --text-muted: #999;
  --accent-color: #c5a47e;
  --border-color: rgba(255, 255, 255, 0.1);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Raleway', sans-serif;

  /* Page border */
  --page-border-width: 8px;
  --nav-underline-height: 3px;

  /* Timeline */
  --timeline-decade-color: rgba(255, 255, 255, 0.05);

  /* Parallax */
  --parallax-intensity: 0.4;
}

/* Light Theme Variables */
.v-light {
  --primary-color: #fff;
  --secondary-color: #f5f5f5;
  --text-color: #000;
  --text-muted: #666;
  --border-color: rgba(0, 0, 0, 0.1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--primary-color);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page Border/Frame */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: var(--page-border-width) solid var(--accent-color);
  pointer-events: none;
  z-index: 9997;
  opacity: 0.15;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul, ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
}

h1 { font-size: 60px; }
h2 { font-size: 48px; }
h3 { font-size: 36px; }
h4 { font-size: 28px; }
h5 { font-size: 22px; }
h6 { font-size: 18px; }

p {
  margin-bottom: 15px;
  color: var(--text-muted);
}

/* =============================================
   Layout
   ============================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.container-fluid {
  width: 100%;
  padding: 0 50px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

[class*="col-"] {
  padding: 0 15px;
}

.col-1 { width: 8.333333%; }
.col-2 { width: 16.666667%; }
.col-3 { width: 25%; }
.col-4 { width: 33.333333%; }
.col-5 { width: 41.666667%; }
.col-6 { width: 50%; }
.col-7 { width: 58.333333%; }
.col-8 { width: 66.666667%; }
.col-9 { width: 75%; }
.col-10 { width: 83.333333%; }
.col-11 { width: 91.666667%; }
.col-12 { width: 100%; }

/* =============================================
   Section Spacing
   ============================================= */
.section-padding {
  padding: 120px 0;
}

.section-margin {
  margin: 120px 0;
}

.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }
.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }
.mt-50 { margin-top: 50px; }
.mb-50 { margin-bottom: 50px; }

/* =============================================
   Page Loader
   ============================================= */
.dsn-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.dsn-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.dsn-loader .loading-circle {
  width: 60px;
  height: 60px;
  border: 2px solid var(--border-color);
  border-top-color: var(--text-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* =============================================
   Custom Cursor
   ============================================= */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: difference;
}

.cursor.cursor-hover {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
}

.cursor-inner {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
}

/* =============================================
   Header & Navigation
   ============================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 50px;
  transition: all 0.3s ease;
}

header.dsn-header-animation {
  background: rgba(0, 0, 0, 0.9);
  padding: 15px 50px;
  backdrop-filter: blur(10px);
}

.v-light header.dsn-header-animation {
  background: rgba(255, 255, 255, 0.95);
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-toggle {
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle .toggle-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--text-color);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Navigation Menu */
.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  z-index: 999;
}

.nav-menu.open {
  opacity: 1;
  visibility: visible;
}

.nav-menu ul {
  text-align: center;
}

.nav-menu ul li {
  margin: 20px 0;
  overflow: hidden;
}

.nav-menu ul li a {
  display: block;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 600;
  color: var(--text-color);
  transform: translateY(100%);
  transition: transform 0.5s ease, color 0.3s ease;
}

.nav-menu.open ul li a {
  transform: translateY(0);
}

.nav-menu ul li a:hover {
  color: var(--accent-color);
}

/* =============================================
   Hero Section
   ============================================= */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slider {
  height: 100%;
}

.hero-slider .swiper-slide {
  position: relative;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  will-change: background-position;
  transition: background-position 0.1s linear;
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 100px;
}

.hero-content .sub-title {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.7;
}

.hero-content .title {
  font-size: 80px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
}

.hero-content .description {
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto 40px auto;
  color: rgba(255, 255, 255, 0.8);
}

/* Hero Slider Navigation */
.hero-slider-nav {
  position: absolute;
  bottom: 50px;
  right: 100px;
  z-index: 20;
  display: flex;
  gap: 20px;
}

.slider-nav-btn {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-nav-btn:hover {
  background: #fff;
  color: #000;
}

/* Slider Progress */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
}

.slider-progress-bar {
  height: 100%;
  background: #fff;
  width: 0;
  transition: width 5s linear;
}

/* =============================================
   Page Header
   ============================================= */
.page-header {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform 0.1s linear;
}

.page-header-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.page-header-content .title {
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-header-content .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-header-content .breadcrumb span {
  opacity: 0.6;
}

/* =============================================
   Overlay
   ============================================= */
[data-overlay]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 1;
}

[data-overlay="1"]::before { opacity: 0.1; }
[data-overlay="2"]::before { opacity: 0.2; }
[data-overlay="3"]::before { opacity: 0.3; }
[data-overlay="4"]::before { opacity: 0.4; }
[data-overlay="5"]::before { opacity: 0.5; }
[data-overlay="6"]::before { opacity: 0.6; }
[data-overlay="7"]::before { opacity: 0.7; }
[data-overlay="8"]::before { opacity: 0.8; }
[data-overlay="9"]::before { opacity: 0.9; }
[data-overlay="10"]::before { opacity: 1; }

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--text-color);
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--text-color);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

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

.btn-primary {
  background: var(--text-color);
  color: var(--primary-color);
}

.btn-primary::before {
  background: var(--primary-color);
}

.btn-primary:hover {
  background: transparent;
  color: var(--text-color);
}

/* =============================================
   Cards
   ============================================= */
.card {
  background: var(--secondary-color);
  padding: 40px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card .icon {
  width: 60px;
  height: 60px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--accent-color);
}

.card .card-title {
  font-size: 24px;
  margin-bottom: 15px;
}

.card .card-text {
  color: var(--text-muted);
  line-height: 1.7;
}

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

.service-card {
  position: relative;
  padding: 50px 40px;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-color);
  transition: width 0.4s ease;
}

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

.service-card .number {
  font-size: 14px;
  color: var(--accent-color);
  margin-bottom: 20px;
  font-weight: 500;
}

.service-card h4 {
  font-size: 24px;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* =============================================
   Accordion
   ============================================= */
.accordion {
  border-top: 1px solid var(--border-color);
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-header {
  padding: 25px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  color: var(--accent-color);
}

.accordion-header h5 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.accordion-header .icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header .icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-content-inner {
  padding: 0 0 25px 0;
  color: var(--text-muted);
  line-height: 1.8;
}

/* =============================================
   Timeline
   ============================================= */
.timeline {
  position: relative;
  padding-left: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-bottom: 60px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 5px;
  left: -54px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-color);
  border: 2px solid var(--primary-color);
}

.timeline-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.timeline-title {
  font-size: 28px;
  margin-bottom: 15px;
}

.timeline-content p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* Timeline Decade Markers */
.timeline-decade {
  position: relative;
  padding-bottom: 40px;
  margin-bottom: 20px;
}

.timeline-decade::before {
  content: attr(data-decade);
  position: absolute;
  top: 0;
  left: -30px;
  font-size: 120px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--timeline-decade-color);
  line-height: 1;
  pointer-events: none;
  z-index: -1;
}

.timeline-decade-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 30px;
  display: inline-block;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 5px;
}

/* Timeline with Images */
.timeline-item-with-image {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.timeline-item-image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  overflow: hidden;
  border: 2px solid var(--border-color);
}

.timeline-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-item-image img {
  transform: scale(1.05);
}

.timeline-item-content {
  flex: 1;
}

/* =============================================
   Process Steps
   ============================================= */
.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: var(--border-color);
}

.process-step {
  text-align: center;
  position: relative;
  flex: 1;
}

.process-step .step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--secondary-color);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  margin: 0 auto 25px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  background: var(--text-color);
  color: var(--primary-color);
  border-color: var(--text-color);
}

.process-step h5 {
  font-size: 20px;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-muted);
  padding: 0 20px;
}

/* =============================================
   Testimonials
   ============================================= */
.testimonial-card {
  padding: 50px;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
}

.testimonial-text {
  font-size: 22px;
  line-height: 1.7;
  margin-bottom: 30px;
  font-style: italic;
  color: var(--text-color);
}

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

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info h6 {
  margin-bottom: 5px;
  font-size: 18px;
}

.testimonial-author-info span {
  font-size: 14px;
  color: var(--text-muted);
}

/* =============================================
   Gallery / Image Grid
   ============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* =============================================
   Focus Areas Grid (Where We Can Help)
   ============================================= */
.focus-areas-section .focus-tagline {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 15px;
}

.focus-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.focus-area-card {
  position: relative;
  height: 350px;
  overflow: hidden;
  cursor: pointer;
}

.focus-area-card .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--secondary-color);
  transition: transform 0.5s ease;
}

.focus-area-card:hover .card-bg {
  transform: scale(1.1);
}

.focus-area-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
}

.focus-area-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 2;
}

.focus-area-card .card-category {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.focus-area-card .card-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: #fff;
}

@media (max-width: 991px) {
  .focus-areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .focus-areas-grid {
    grid-template-columns: 1fr;
  }

  .focus-area-card {
    height: 280px;
  }
}

/* =============================================
   Image Section / Parallax
   ============================================= */
.image-section {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.image-section .bg-image {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: calc(100% + 100px);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* =============================================
   Footer
   ============================================= */
footer {
  background: var(--secondary-color);
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-color);
}

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

.footer-logo p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.footer-nav h5,
.footer-contact h5 {
  font-size: 18px;
  margin-bottom: 25px;
}

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

.footer-nav ul li a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
  color: var(--text-color);
}

.footer-contact p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 10px;
}

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

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

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--text-color);
  color: var(--primary-color);
  border-color: var(--text-color);
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* =============================================
   Solution Cards
   ============================================= */
.solution-card {
  display: flex;
  gap: 50px;
  padding: 50px 0;
  border-bottom: 1px solid var(--border-color);
}

.solution-card:first-child {
  border-top: 1px solid var(--border-color);
}

.solution-number {
  font-size: 60px;
  font-weight: 700;
  color: var(--border-color);
  line-height: 1;
  min-width: 100px;
}

.solution-content {
  flex: 1;
}

.solution-content h4 {
  font-size: 28px;
  margin-bottom: 15px;
}

.solution-content p {
  color: var(--text-muted);
  line-height: 1.8;
}

.solution-toggle {
  margin-top: 20px;
  cursor: pointer;
  color: var(--accent-color);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.solution-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.solution-card.expanded .solution-details {
  max-height: 500px;
}

/* =============================================
   Forms
   ============================================= */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--text-color);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* =============================================
   Section Headers
   ============================================= */
.section-header {
  margin-bottom: 60px;
}

.section-header .sub-heading {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.section-header h2 {
  font-size: 48px;
  line-height: 1.2;
}

.section-header p {
  max-width: 600px;
  margin-top: 20px;
}

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

.section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   Card Slider
   ============================================= */
.card-slider {
  overflow: visible;
}

.card-slider .slick-track {
  display: flex;
  gap: 30px;
}

.card-slider .slick-list {
  overflow: visible;
}

.card-slider .slick-track {
  display: flex !important;
  align-items: stretch;
}

.card-slider .slick-slide {
  height: auto !important;
  float: none !important;
}

.card-slider .slick-slide > div {
  height: auto !important;
}

.card-slider-item {
  background: var(--secondary-color);
  padding: 30px 40px;
  border: 1px solid var(--border-color);
  height: auto !important;
  min-height: auto;
  display: block !important;
}

.card-slider-item .icon {
  font-size: 32px;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block;
}

.card-slider-item .card-title {
  font-size: 20px;
  margin-bottom: 12px;
  display: block;
}

.card-slider-item .card-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  display: block;
}

/* Force card slider to not stretch */
.card-slider .slick-list,
.card-slider .slick-track,
.card-slider .slick-slide,
.card-slider .slick-slide > div,
.card-slider .card-slider-item {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

/* =============================================
   Intro Section
   ============================================= */
.intro-section {
  display: flex;
  align-items: center;
  gap: 80px;
  overflow: hidden;
}

.intro-content {
  flex: 1;
}

.intro-image {
  flex: 1;
  position: relative;
}

.intro-image img {
  width: 100%;
}

.intro-image .image-overlay {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--accent-color);
  padding: 30px 40px;
  color: #000;
}

.intro-image .image-overlay h3 {
  font-size: 48px;
  margin-bottom: 5px;
}

.intro-image .image-overlay p {
  color: #000;
  margin: 0;
}

/* =============================================
   About Philosophy
   ============================================= */
.philosophy-section {
  background: var(--secondary-color);
}

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

.philosophy-item {
  text-align: center;
  padding: 40px 30px;
}

.philosophy-item .icon {
  font-size: 40px;
  margin-bottom: 25px;
  color: var(--accent-color);
}

.philosophy-item h5 {
  font-size: 22px;
  margin-bottom: 15px;
}

/* =============================================
   Scroll Indicator
   ============================================= */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 20;
}

.scroll-indicator span {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.scroll-indicator .mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  margin: 0 auto;
  position: relative;
}

.scroll-indicator .mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollAnim 1.5s infinite;
}

@keyframes scrollAnim {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

/* =============================================
   Utilities
   ============================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.position-relative { position: relative; }

.overflow-hidden { overflow: hidden; }

.bg-dark { background: var(--primary-color); }
.bg-darker { background: var(--secondary-color); }

/* =============================================
   Animation Classes
   ============================================= */
.mgc-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.mgc-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.mgc-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.mgc-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.mgc-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.mgc-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.mgc-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.mgc-scale.animated {
  opacity: 1;
  transform: scale(1);
}

/* Stagger animations */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }

/* =============================================
   Responsive Styles
   ============================================= */
@media (max-width: 1200px) {
  .container-fluid {
    padding: 0 30px;
  }

  header {
    padding: 20px 30px;
  }

  .hero-content {
    padding: 0 50px;
  }

  .hero-content .title {
    font-size: 60px;
  }
}

@media (max-width: 991px) {
  h1 { font-size: 48px; }
  h2 { font-size: 40px; }
  h3 { font-size: 32px; }

  .col-md-6 { width: 50%; }
  .col-md-12 { width: 100%; }

  /* Disable parallax on mobile */
  .hero-slide-bg {
    background-position: center center !important;
  }

  .page-header-bg {
    height: 100%;
    transform: none !important;
  }

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

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

  .intro-section {
    flex-direction: column;
  }

  .intro-image .image-overlay {
    right: 0;
    bottom: -20px;
    padding: 20px 25px;
  }

  .intro-image .image-overlay h3 {
    font-size: 36px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps {
    flex-wrap: wrap;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    flex: 0 0 50%;
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 80px 0;
  }

  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  h3 { font-size: 26px; }

  .hero-content {
    padding: 0 20px;
  }

  .hero-content .title {
    font-size: 40px;
  }

  .hero-slider-nav {
    right: 20px;
    bottom: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  /* Stack CTA buttons vertically with spacing on mobile */
  .text-center > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .text-center .btn {
    display: block;
    margin: 0 auto !important;
    width: 80%;
    max-width: 280px;
    text-align: center;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

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

  .solution-card {
    flex-direction: column;
    gap: 20px;
  }

  .solution-number {
    font-size: 40px;
  }

  .page-header-content .title {
    font-size: 48px;
  }

  .nav-menu ul li a {
    font-size: 32px;
  }

  .process-step {
    flex: 0 0 100%;
  }

  /* Fix zoomed images on mobile - disable fixed attachment */
  .image-section {
    height: 300px;
  }

  .image-section .bg-image {
    top: 0;
    height: 100%;
    background-attachment: scroll;
  }
}

@media (max-width: 575px) {
  header {
    padding: 15px 20px;
  }

  .container-fluid {
    padding: 0 20px;
  }

  .hero-content .title {
    font-size: 32px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .page-header-content .title {
    font-size: 36px;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline-item::before {
    left: -34px;
  }
}
