/* =============================================
   R&G Services - Design System
   ============================================= */

/* Google Fonts - Modern & Premium Contractor Typography */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600&family=Outfit:wght@500;700;800;900&display=swap');

/* CSS Variables */
:root {
  /* Colors */
  --primary: #FF6B00;
  --primary-dark: #E55A00;
  --primary-light: #FF8533;
  --secondary: #1A1A1A;
  --secondary-light: #2D2D2D;
  --accent: #FF9500;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-600: #525252;
  --gray-800: #262626;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 4rem 0;
  --container-padding: 0 1.5rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

/* Scroll Progress Bar - Right Side */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  width: 8px;
  height: 0%;
  background: var(--primary);
  z-index: 9999;
  transition: height 0.1s ease-out;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--secondary);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
}

h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  color: var(--gray-600);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

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

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 107, 0, 0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--secondary);
}

/* =============================================
   Navigation
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 107, 0, 0.25);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.6rem 0;
  background: rgba(18, 18, 18, 0.98);
  border-bottom: 1px solid rgba(255, 107, 0, 0.5);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* R&G Text Logo */
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--primary);
  transition: all var(--transition-normal);
  letter-spacing: -1px;
}

.nav-logo:hover .nav-logo-text {
  color: var(--accent);
}

.nav-logo-img {
  height: 60px;
  width: auto;
  transition: transform var(--transition-normal);
}

.nav-logo-img:hover {
  transform: scale(1.05);
}

/* Vertical divider style */
.nav-divider {
  display: none;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  position: relative;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 107, 0, 0.1);
}

.nav-links a:hover::after {
  width: 70%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

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

.nav-social svg {
  width: 20px;
  height: 20px;
}

.nav-cta {
  padding: 0.75rem 1.5rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-normal);
}

/* =============================================
   Hero Section - Large & Impactful, Left-aligned
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(26, 26, 26, 0.95) 0%,
      rgba(26, 26, 26, 0.8) 40%,
      rgba(26, 26, 26, 0.4) 70%,
      rgba(26, 26, 26, 0.2) 100%);
}

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

/* Hero wrapper for two-column layout */
.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  padding: 2rem 0;
  text-align: left;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  color: var(--primary);
}

.hero-tagline {
  font-size: 1.75rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 550px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Hero logo on right */
.hero-logo {
  flex-shrink: 0;
}

.hero-logo-img {
  height: 450px;
  width: auto;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.6));
  transition: transform var(--transition-normal);
}

.hero-logo-img:hover {
  transform: scale(1.05);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  opacity: 0.7;
  z-index: 2;
}

.hero-scroll-indicator span {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: rotate(45deg) translateY(0);
  }

  40% {
    transform: rotate(45deg) translateY(8px);
  }

  60% {
    transform: rotate(45deg) translateY(4px);
  }
}

/* =============================================
   Simple Classic Section Transition
   ============================================= */
.section-transition-angled {
  height: 4px;
  background: var(--primary);
  margin-top: -1px;
}

/* =============================================
   Section Dividers - Simple Orange Line
   ============================================= */

/* Default - Solid Orange Line */
.section-divider {
  height: 2px;
  background: var(--primary);
}

/* Classic Elegant Divider - Orange Accent Line */
/* All dividers are now solid orange lines */
.section-divider-accent {
  height: 2px;
  background: var(--primary);
}

.section-divider-stripes {
  height: 2px;
  background: var(--primary);
}

.section-divider-reverse {
  height: 2px;
  background: var(--primary);
}

/* =============================================
   Services Section - Large 2x2 Layout
   ============================================= */
.services {
  padding: var(--section-padding);
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}

/* Decorative vertical line - removed */
.services::before {
  display: none;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header h2 span {
  color: var(--primary);
}

.section-header p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  display: inline-block;
  line-height: 1.7;
}

/* Flip Card Grid */
.services-grid-flip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  perspective: 1000px;
}

/* Flip Card Container */
.flip-card {
  background-color: transparent;
  height: 400px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

/* Flip Card Front & Back Shared */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Front of Card */
.flip-card-front {
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--gray-200);
}

.flip-card-front .service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.flip-card-front .service-icon svg {
  width: 38px;
  height: 38px;
}

.flip-card-front h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--secondary);
}

.flip-card-front p {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 280px;
  margin-bottom: 1rem;
}

.flip-hint {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
  opacity: 0.8;
}

/* Back of Card */
.flip-card-back {
  background: var(--secondary);
  transform: rotateY(180deg);
}

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

.flip-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.95) 0%, rgba(26, 26, 26, 0.7) 70%, transparent 100%);
}

.flip-card-overlay h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: inline-block;
  border-radius: var(--radius-sm);
}

.flip-card-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.flip-card-overlay li {
  color: var(--gray-200);
  font-size: 0.9rem;
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}

.flip-card-overlay li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* (Legacy services code removed) */

/* =============================================
   Gallery Section - Horizontal Carousel
   ============================================= */
.gallery {
  padding: 4rem 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Decorative vertical line - removed */
.gallery::before {
  display: none;
}

/* Two-column layout: info on left, carousel on right */
.gallery-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-width: 0;
}

.gallery-info {
  padding-right: 1rem;
}

.gallery-info h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.gallery-info h2 span {
  color: var(--primary);
}

.gallery-info p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.gallery-cta {
  display: inline-block;
}

/* Gallery Carousel Wrapper */
.gallery-carousel-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 500px;
  margin-left: auto;
}

/* Horizontal Scrolling Carousel */
.gallery-carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}

.gallery-carousel::-webkit-scrollbar {
  display: none;
}

/* Gallery Cards - each shows orange bar + image */
.gallery-card {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
}

/* Orange label bar: [arrow] [label] [arrow] */
.gallery-card-bar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: stretch;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex-shrink: 0;
}

.gallery-card-bar-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0.6rem 0.5rem;
}

.gallery-card-category {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.gallery-card-bar h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

/* Nav Buttons (inside the orange bar) */
.gallery-nav-btn {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-normal);
  color: var(--white);
}

.gallery-nav-btn:hover {
  background: rgba(0, 0, 0, 0.15);
}

.gallery-nav-btn svg {
  width: 20px;
  height: 20px;
}

.gallery-card img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  display: block;
  min-height: 280px;
  max-height: 380px;
}

/* No hover scale on gallery images */



/* (Legacy gallery code removed) */

/* =============================================
   Why Choose Us / Values Section (Turner Style)
   ============================================= */
.why-us {
  padding: var(--section-padding);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Decorative vertical line - removed */
.why-us::before {
  display: none;
}

/* Three-column layout: sidebar | content | image */
.values-section {
  display: grid;
  grid-template-columns: 280px 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
}

/* Numbered Sidebar (Orange Color Scheme) */
.values-sidebar {
  background: linear-gradient(180deg, var(--secondary) 0%, var(--secondary-light) 100%);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  border-left: 4px solid var(--primary);
}

.values-sidebar-item {
  padding: 1rem 0.75rem;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  margin-bottom: 0.5rem;
}

.values-sidebar-item.active {
  background: rgba(255, 107, 0, 0.2);
  border-left-color: var(--primary);
}

.values-sidebar-item:hover {
  background: rgba(255, 107, 0, 0.1);
}

.values-number {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.values-label {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Main Content */
.values-content {
  padding: 1rem 0;
}

.values-eyebrow {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.values-content h2 {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.values-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--gray-600);
}

/* Arrow Link (Turner Style) */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: var(--secondary);
  transition: all var(--transition-normal);
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  transition: transform var(--transition-normal);
}

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

.link-arrow:hover svg {
  transform: translateX(5px);
}

/* Values Image */
.values-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
}

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

/* (Legacy why-us code removed) */

/* =============================================
   About Section
   ============================================= */
.about {
  padding: var(--section-padding);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Decorative vertical line - removed */
.about::before {
  display: none;
}

.about-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-img {
  height: 540px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
  padding: 3rem;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-normal);
}

.about-logo-img:hover {
  transform: scale(1.05);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text h2 span {
  color: var(--primary);
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.about-text .btn {
  margin-top: 1rem;
}

.about-image-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

/* =============================================
   Contact Section
   ============================================= */
.contact {
  padding: var(--section-padding);
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}

/* Decorative vertical line - removed */
.contact::before {
  display: none;
}

.contact .section-header h2 {
  color: var(--white);
}

.contact .section-header h2 span {
  color: var(--primary);
}

.contact .section-header p {
  color: var(--gray-300);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  color: var(--white);
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-info p {
  color: var(--gray-300);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-item-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 107, 0, 0.15);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item-text h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.contact-item-text p {
  color: var(--gray-300);
  margin: 0;
}

.contact-item-text a {
  color: var(--primary);
  transition: color var(--transition-fast);
}

.contact-item-text a:hover {
  color: var(--primary-light);
}

.contact-form-wrapper {
  background: var(--secondary-light);
  padding: 2.5rem;
  border-radius: var(--radius-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group label {
  color: var(--gray-200);
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  background: var(--secondary);
  border: 1px solid var(--gray-600);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-600);
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: var(--secondary);
  padding: 2rem 0;
  border-top: 1px solid var(--secondary-light);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  transition: transform var(--transition-normal);
}

.footer-logo-img:hover {
  transform: scale(1.05);
}

.footer-text {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--gray-300);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
}

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

.footer-social:hover {
  background: var(--primary);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 1024px) {
  .about-content {
    gap: 3rem;
  }

  .contact-content {
    gap: 3rem;
  }

  .values-section {
    grid-template-columns: 1fr 1fr;
  }

  .values-image {
    grid-column: span 2;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--secondary);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-top: 1px solid var(--secondary-light);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-right {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding-top: 5rem;
  }

  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    padding: 1rem 0;
    text-align: center;
  }

  .hero-logo {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .hero-scroll-indicator {
    display: none;
  }

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

  .flip-card {
    height: 280px;
  }

  /* Stack gallery layout vertically on mobile */
  .gallery-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem;
  }

  .gallery-info {
    position: relative;
    top: auto;
    text-align: center;
    padding-top: 0;
    padding-right: 0;
  }

  .gallery-info p {
    margin-bottom: 1rem;
  }

  .gallery-cta {
    margin-bottom: 0.5rem;
  }

  .gallery {
    padding: 1.5rem 0 2rem;
  }

  .gallery-info h2 {
    font-size: 2rem;
  }

  .gallery-carousel-wrapper {
    border-radius: var(--radius-md);
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .gallery-card-bar {
    grid-template-columns: 38px 1fr 38px;
  }

  .gallery-card img {
    min-height: 220px;
  }

  .values-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem;
  }

  .values-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    border-left: none;
    border-top: 4px solid var(--primary);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
  }

  .values-sidebar-item {
    white-space: normal;
    text-align: center;
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 0.5rem;
    margin-bottom: 0;
  }

  .values-sidebar-item.active {
    border-left-color: transparent;
    border-bottom-color: var(--primary);
  }

  .values-image {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-md);
  }

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

  .values-content h2 {
    font-size: 1.8rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-logo {
    margin-bottom: 2rem;
  }

  .about-logo-img {
    height: 320px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-right {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }
}