/* ===== CSS CUSTOM PROPERTIES (Modern!) ===== */
:root {
  --color-primary: #fffefe;
  --color-primary-dark: #868686;
  --color-primary-light: #ffffff;
  --color-dark: #2a2a2a;
  --color-text: #ffffff;
  --color-text-light: #040404;
  --color-text-muted: #999;
  --color-bg: #fff;
  --color-bg-light: #f9f9f9;
  --color-border: #e0e0e0;
  --color-success: #737674;
  --color-error: #f44336;
  --color-warning: #ffc107;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.1);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== RESET & GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
  background-color: #0f2434;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  background-color: #0f2434;
}

  .menu {
    position: fixed;
    top: 20px;
    left: 20px;
    height: 46px;
    width: 46px;
    z-index: 1000;
  }
  
  .menu-circle {
    background: linear-gradient(145deg, #ffffff, #e8f4f8);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1000;
  }
  
  .menu:hover .menu-circle {
    transform: scale(1.5);
  }
  
  .menu.open .menu-circle {
    transform: scale(60);
  }
  
  .menu-link {
      width: 100%;
      height: 100%;
      position: absolute;
      z-index: 1002;
  }
  
  .menu-icon {
      position: absolute;
    width: 28px;
    height: 20px;
    margin: auto;
    left: 0;
    top: 0;
    right: 0;
    bottom: 1px;
  }
  
  .menu-line {
    background-color: #333;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .menu-line-1 { top: 0; }
  
  .menu-line-2 {
    top: 0;
    bottom: 0;
    margin: auto;
  }
  
  .menu-line-3 { bottom: 0; }
  
  .menu.open .menu-line-1 {
    transform: translateY(7px) translateY(-50%) rotate(-135deg);
  }
  
  .menu.open .menu-line-2 {
    opacity: 0;
  }
  
  .menu.open .menu-line-3 {
    transform: translateY(-7px) translateY(50%) rotate(135deg);
  }
  
  .menu-overlay {
    background: linear-gradient(135deg, #0f2434 0%, #1a3d50 55%, #204556 100%);
    color: #fff;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    text-align: center;
    transition: opacity 0.25s ease-in-out;
    z-index: 1001;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    max-width: 100vw;
    max-height: 100vh;
    -webkit-overflow-scrolling: touch;
  }

  .menu-overlay::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(152, 190, 200, 0.12) 0%, transparent 70%);
    pointer-events: none;
  }

  .menu-overlay::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 40%;
    height: 50%;
    background: radial-gradient(circle, rgba(152, 190, 200, 0.08) 0%, transparent 70%);
    pointer-events: none;
  }

  .menu-overlay.open {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.03s;
  }

  .menu-close {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 46px;
    height: 46px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1;
  }

  .menu-close::before,
  .menu-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
  }

  .menu-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .menu-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .menu-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease 0.04s;
  }

  .menu-overlay.open .menu-header {
    opacity: 1;
  }

  .menu-header-line {
    width: min(140px, 20vw);
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
  }

  .menu-header-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 400;
  }

  .menu-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .menu-overlay a {
    color: #fff;
    font-weight: 700;
    font-size: 32px;
    padding: 0.5rem 1rem;
    margin: 0;
    display: block;
    text-decoration: none;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.45s ease, transform 0.45s ease, color 0.25s ease;
  }

  .menu-overlay.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .menu-overlay.open .menu-main a:nth-child(1) { transition-delay: 0.08s; }
  .menu-overlay.open .menu-main a:nth-child(2) { transition-delay: 0.14s; }
  .menu-overlay.open .menu-main a:nth-child(3) { transition-delay: 0.20s; }
  .menu-overlay.open .menu-main a:nth-child(4) { transition-delay: 0.26s; }
  .menu-overlay.open .menu-main a:nth-child(5) { transition-delay: 0.32s; }
  .menu-overlay.open .menu-main a:nth-child(6) { transition-delay: 0.38s; }

  .menu-overlay a:hover {
    color: #98bec8;
    transform: translateX(10px);
    opacity: 1;
  }

  .menu-separator {
    width: min(420px, 80vw);
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
  }

  .menu-footer {
    display: flex;
    gap: 2.5rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease 0.45s, transform 0.45s ease 0.45s;
  }

  .menu-overlay.open .menu-footer {
    opacity: 1;
    transform: translateY(0);
  }

/* ===== SITE HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 90px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 999;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.site-header--hero {
  background: transparent;
  border-bottom-color: transparent;
}

.site-header--hero.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.site-header-brand {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #204556;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.site-header-brand:hover {
  opacity: 0.7;
}

.site-header--hero .site-header-brand {
  color: rgba(255, 255, 255, 0.9);
}

.site-header--hero.scrolled .site-header-brand {
  color: #204556;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #0f2434 0%, #204556 100%);
  padding: calc(66px + 5rem) 20px 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 90%;
  background: radial-gradient(circle, rgba(152, 190, 200, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(152, 190, 200, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  position: relative;
}

.page-hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
  position: relative;
}

.page-hero .breadcrumb-inside {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  list-style: none;
  padding: 0;
  position: relative;
}

.page-hero .breadcrumb-inside a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-hero .breadcrumb-inside a:hover {
  color: #fff;
}

.page-hero .breadcrumb-inside li:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
}

@media (max-width: 768px) {
  .page-hero {
    padding: calc(66px + 3rem) 20px 3.5rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: calc(66px + 2.5rem) 15px 3rem;
  }
}

/* ===== BREADCRUMB NAVIGATION ===== */
.breadcrumb {
  background: #f9f9f9;
  padding: calc(1rem + 66px) 20px 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-container {
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: #666;
}

.breadcrumb-item a {
  color: #204556;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #98bec8;
  text-decoration: underline;
}

.breadcrumb-item:not(:last-child)::after {
  content: "›";
  margin: 0 0.5rem;
  color: #999;
  font-size: 1.2rem;
}

.breadcrumb-item.active {
  color: #333;
  font-weight: 500;
}

@media (max-width: 768px) {
  .breadcrumb {
    padding: calc(66px + 0.75rem) 15px 0.75rem;
  }

  .breadcrumb-list {
    font-size: 0.85rem;
  }

  .breadcrumb-item:not(:last-child)::after {
    margin: 0 0.35rem;
  }
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: hidden;
}

.section {
  padding: 80px 20px;
  max-width: 100%;
  overflow-x: hidden;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #222;
}

.section-subtitle {
  text-align: center;
  font-size: 1.4rem;
  color: #666;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


/* ===== HERO SECTION ===== */
.hero-container {
  background: linear-gradient(135deg,#615f5c 0%, #fefbf5 100%);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  padding: 66px 2rem 2rem;
}

.moving-letters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
}

.ml11 {
  font-weight: 900;
  font-size: clamp(3rem, min(10vw, 13vh), 10rem);
  color: #fff;
  margin: 0;
}

.ml11 .text-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 0.1em;
  padding-right: 0.05em;
  padding-bottom: 0.15em;
}

.ml11 .line {
  opacity: 0;
  position: absolute;
  left: 0;
  height: 100%;
  width: 3px;
  background-color: #fff;
  transform-origin: 0 50%;
}

.ml11 .letter {
  display: inline-block;
  line-height: 1em;
}

.logo {
  max-width: min(700px, 90vw);
  max-height: 34vh;
  height: auto;
  width: auto;
  opacity: 0;
  transform: translateY(20px);
  animation: logoPop 0.6s ease-out forwards;
  animation-delay: 0.2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  will-change: opacity, transform;
}

.logo.loaded {
  opacity: 1 !important;
  transform: translateY(0) !important;
  animation: none;
}

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

.hero-tagline {
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 300;
  margin: 1rem 0;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.4s;
}

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

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.6s;
  width: 100%;
}

/* Show the hero instantly for visitors who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .logo,
  .hero-tagline,
  .hero-cta {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  padding-bottom: 10px;
}

.btn-primary {
  background:#204556;
  color: #fff;
  border-color: #ffffff;
}

.btn-primary:hover {
  background:#204556;
  border-color: #204556;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 149, 100, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #204556;
}

.btn-outline {
  background: transparent;
  color: #204556;
  border-color: #204556;
}

.btn-outline:hover {
  background: #204556;
  color: #fff;
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background: var(--color-bg-light);
}

/* Modern Flex Grid Layout */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0;
  margin-top: 3rem;
}

.service-card {
  width: 50%;
  background: var(--color-bg);
  padding: 5rem 4rem;
  border-radius: 0;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: none;
  border: 1px solid #e0e0e0;
  min-height: 380px;
}

/* Different colors for each card */
.service-card:nth-child(1) { background: #98bec8; }
.service-card:nth-child(2) { background: #204556; }
.service-card:nth-child(3) { background: #7290a4; }
.service-card:nth-child(4) { background: #94b5b5; }
.service-card:nth-child(5) { background: #e9c3b8; }
.service-card:nth-child(6) { background: #224c55; }

/* Every 3rd card takes full width */
.service-card:nth-child(3n) {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 2rem;
}

.service-card:nth-child(3n) .service-icon {
  font-size: 4rem;
  flex-shrink: 0;
}

.service-card:nth-child(3n) > div {
  flex: 1;
}

.service-card:hover {
  transform: none;
  box-shadow: none;
  cursor: default;
}

.service-icon {
  font-size: 5rem;
  margin-bottom: 2rem;
}

.service-image {
  width: 100%;
  max-width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .service-image {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
  color: var(--color-primary);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.service-card p {
  color: var(--color-primary);
  line-height: 1.8;
  font-size: 1.25rem;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
  background: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.portfolio-card {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.portfolio-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-placeholder {
  font-size: 5rem;
}

.portfolio-content {
  padding: 2rem;
}

.portfolio-content h3 {
  font-size: 1.6rem;
  color: #204556;
  margin-bottom: 1rem;
  font-weight: 700;
}

.portfolio-content h2 {
  font-size: 1.6rem;
  color: #204556;
  margin-bottom: 1rem;
  font-weight: 700;
}

.portfolio-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-tags span {
  background: #454645;
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: #fff;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #204556;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #666;
  font-size: 1rem;
}

/* ===== PROCESS SECTION ===== */
.process-section {
  background: #f9f9f9;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

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

.step-number {
  width: 60px;
  height: 60px;
  background:#204556;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-step h3 {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.process-step p {
  color: #666;
  line-height: 1.7;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  background: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 28px;
}

.pricing-card {
  background: #f9f9f9;
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.pricing-card.featured {
  background: #98bec8;
  color: #fff;
  border-color: #98bec8;
}

.pricing-card.featured h3,
.pricing-card.featured .price {
  color: #fff;
}

.pricing-card.featured .features li {
  color: rgba(255,255,255,0.9);
}

.pricing-card.featured .btn-primary {
  background: #fff;
  color: #98bec8;
}

.pricing-card.featured .btn-primary:hover {
  background: #f0f0f0;
}

.badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #fff;
  color: #98bec8;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-card h2 {
  color: #2a2a2a;
}

.pricing-card.featured h2 {
  color: #fff;
}

.pricing-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #98bec8;
  margin-bottom: 0.75rem;
}

.features {
  list-style: none;
  margin: 1rem 0;
  text-align: left;
}

.features li {
  padding: 0.45rem 0;
  color: #666;
  border-bottom: 1px solid #e0e0e0;
}

.features li:last-child {
  border-bottom: none;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background: var(--color-bg-light);
}

/* Modern Flex Grid Layout for Testimonials */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0;
  margin-top: 3rem;
}

.testimonial-card {
  width: 50%;
  background: var(--color-bg);
  padding: 4.5rem 4rem;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #e0e0e0;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  min-height: 420px;
}

/* Different colors for each testimonial */
.testimonial-card:nth-child(1) { background: #314964; }
.testimonial-card:nth-child(2) { background: #2b2f3c; }
.testimonial-card:nth-child(3) { background: #e7e4e5; }
.testimonial-card:nth-child(4) { background: #1f4160; }
.testimonial-card:nth-child(5) { background: #3a3f52; }
.testimonial-card:nth-child(6) { background: #c8dde3; }

/* Every 3rd testimonial takes full width */
.testimonial-card:nth-child(3n) {
  width: 100%;
  padding: 3rem;
  background: #e7e4e5;
  color: #333;
}

.testimonial-card:nth-child(3n) .stars {
  color: var(--color-warning);
}

.testimonial-card:nth-child(3n) p {
  color: #1b1a1a;
  font-size: 1.2rem;
}

.testimonial-card:nth-child(3n) .testimonial-author {
  border-top-color: rgba(0, 0, 0, 0.1);
}

.testimonial-card:nth-child(3n) .testimonial-author strong {
  color: #333;
}

.testimonial-card:nth-child(3n) .testimonial-author small {
  color: #322f2f;
}

.testimonial-card:hover {
  transform: none;
  box-shadow: none;
  cursor: default;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1.5rem;
}

.stars svg {
  display: block;
}

.testimonial-card p {
  font-style: italic;
  color: #ffffff;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.3rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.testimonial-author strong {
  color: #040404;
  font-size: 1.05rem;
}

.testimonial-author small {
  color: #999;
  font-size: 0.9rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: #fff;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}

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

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #204556;
}

.contact-form button {
  grid-column: 1 / -1;
  margin-top: 1rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

.contact-info > p {
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-item .icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: #e8f4f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #204556;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-item strong {
  color: #333;
  font-size: 1rem;
}

.contact-item a,
.contact-item span {
  color: #666;
  text-decoration: none;
}

.contact-item a:hover {
  color: #98bec8;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg,#615f5c 0%, #fefbf5 100%);
  color: #fff;
  padding: 3rem 0 1.5rem;
}

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

.footer-logo {
  max-width: 120px;
  height: auto;
  margin: 0 0 1rem 0;
  display: block;
}

.footer-brand h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color:#204556;
}

.footer-brand p {
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links h4 {
  margin-bottom: 0.5rem;
  color: #204556;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #204556;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  color: #fcfcfc;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }

  .section {
    padding: 60px 15px;
  }

  /* Stack flex grids on tablet */
  .service-card,
  .testimonial-card {
    width: 100% !important;
    padding: 3rem 2rem;
    min-height: auto;
  }

  .service-card:nth-child(3n) {
    flex-direction: column;
    text-align: center;
  }

  .service-card:nth-child(3n) .service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .process-steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-logo {
    margin: 0 auto 1rem auto;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .section {
    padding: 60px 15px;
  }

  .hero-container {
    padding: 66px 1rem 1rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .ml11 {
    font-size: clamp(2.5rem, 10vw, 5rem);
  }

  .logo {
    max-width: 85vw;
    max-height: 38vh;
  }

  .menu-overlay {
    gap: 1.2rem;
  }

  .menu-overlay a {
    font-size: 1.8rem;
    padding: 0.3rem 1rem;
  }

  .menu-header-line {
    width: 80px;
  }

  .menu-separator {
    width: 280px;
  }

  .menu-footer {
    flex-direction: column;
    gap: 0.8rem;
    font-size: 12px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .service-card,
  .testimonial-card {
    padding: 2.5rem 1.5rem;
    width: 100% !important;
  }

  .section-title {
    font-size: 2rem;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .section {
    padding: 40px 10px;
  }

  .hero-container {
    padding: 66px 0.5rem 0.5rem;
  }

  .logo {
    max-height: 32vh;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .service-card,
  .testimonial-card {
    padding: 2rem 1.2rem;
    width: 100% !important;
  }

  .service-icon {
    font-size: 2.5rem;
  }

  .pricing-card {
    padding: 2rem 1.2rem;
  }

  .ml11 {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }

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

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .menu {
    top: 15px;
    left: 15px;
    height: 40px;
    width: 40px;
  }

  .menu-overlay {
    gap: 1rem;
  }

  .menu-overlay a {
    font-size: 1.5rem;
    padding: 0.2rem 0.8rem;
  }

  .menu-header {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .menu-header-line {
    width: 60px;
  }

  .menu-header-text {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .menu-separator {
    width: 200px;
  }

  .portfolio-card {
    margin: 0 auto;
    max-width: 100%;
  }

  .portfolio-image {
    height: 200px;
  }

  .portfolio-placeholder {
    font-size: 4rem;
  }

  .testimonial-card:nth-child(3n) {
    padding: 2rem 1.2rem;
  }

  /* More compact about-stats on phone */
  .about-stats {
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
    margin-bottom: 0.3rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  /* More compact process section on phone */
  .process-steps {
    gap: 1rem;
    margin-top: 1rem;
  }

  .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
  }

  .process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .process-step p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .process-section {
    padding: 40px 10px;
  }
}

/* ===== MODERN NOTIFICATIONS ===== */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 300px;
  max-width: 500px;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-weight: 500;
  z-index: 10000;
  transform: translateX(400px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification-success {
  background: var(--color-success);
  color: white;
}

.notification-error {
  background: var(--color-error);
  color: white;
}

.notification-warning {
  background: var(--color-warning);
  color: var(--color-dark);
}

.notification-info {
  background: var(--color-primary);
  color: white;
}

/* ===== SCROLL FADE-IN ANIMATIONS ===== */
.section {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

.section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SERVICE CARDS ENTRANCE ===== */
@keyframes slideInUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  animation: none;
}

/* ===== LOADING STATES ===== */
.btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* ===== FOCUS VISIBLE (Modern Accessibility) ===== */
*:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* Remove default outline */
*:focus:not(:focus-visible) {
  outline: none;
}

/* ===== LANG TOGGLE ===== */
.lang-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  background: #204556;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.65rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  transition: background 0.2s ease, transform 0.15s ease;
}

.lang-toggle:hover {
  background: #7aabba;
  transform: translateY(-2px);
}

/* ===== PRINT STYLES ===== */
@media print {
  .menu,
  .menu-overlay,
  .hero-cta,
  footer {
    display: none;
  }

  .section {
    page-break-inside: avoid;
  }
}
