/*-----------------------------------*\
  #main.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --white: hsla(0, 0%, 100%, 1);
  --white_a8: hsla(0, 0%, 100%, 0.08);
  --white_a12: hsla(0, 0%, 100%, 0.12);
  --cultured: hsla(220, 20%, 97%, 1);
  --snow: hsla(345, 57%, 97%, 1);
  --manatee: hsla(219, 10%, 62%, 1);
  --black-coral: hsla(220, 12%, 43%, 1);
  --cadet-blue-crayola_a20: hsla(222, 23%, 71%, 0.2);
  --brand-color: #B05634;
  --raisin-black: hsla(216, 14%, 14%, 1);
  --raisin-black_a6: hsla(216, 14%, 14%, 0.06);
  --gunmetal: hsla(214, 15%, 21%, 1);
  --charcoal: hsla(219, 22%, 26%, 1);

  /**
   * typography
   */

  --ff-manrope: 'Nunito', sans-serif;

  --fs-1: calc(2.7rem + 1.38vw);
  --fs-2: calc(2.6rem + .66vw);
  --fs-3: calc(2.6rem + .24vw);
  --fs-4: 1.9rem;
  --fs-5: 1.8rem;
  --fs-6: 1.7rem;
  --fs-7: 1.5rem;
  --fs-8: 1.4rem;

  --fw-700: 700;

  /**
   * spacing
   */

  --section-padding: 90px;

  /**
   * box shadow
   */

  --shadow-1: 0 0 20px hsla(216, 14%, 14%, 0.05);
  --shadow-2: 0 4px 28px hsla(216, 14%, 14%, 0.07);

  /**
   * border radius
   */

  --radius-circle: 50%;
  --radius-pill: 100px;
  --radius-8: 8px;
  --radius-6: 6px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --transition-3: 0.3s ease-in-out;

}

/**
 * Dark theme
 */

[data-theme="dark"] {
  --white: hsla(216, 14%, 14%, 1);
  --cultured: hsla(220, 12%, 18%, 1);
  --snow: hsla(219, 22%, 22%, 1);
  --manatee: hsla(220, 20%, 75%, 1);
  --black-coral: hsla(220, 20%, 85%, 1);
  --raisin-black: hsla(0, 0%, 100%, 1);
  --raisin-black_a6: hsla(0, 0%, 100%, 0.06);
  --gunmetal: hsla(220, 20%, 90%, 1);
  --charcoal: hsla(220, 20%, 95%, 1);
  --shadow-1: 0 0 20px hsla(0, 0%, 0%, 0.2);
  --shadow-2: 0 4px 28px hsla(0, 0%, 0%, 0.3);
  --brand-color: #B05634;
}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li {
  list-style: none;
}

a,
img,
span,
button,
ion-icon {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  height: auto;
}

input,
button,
textarea {
  background: none;
  border: none;
  font: inherit;
}

input,
textarea {
  width: 100%;
}

button {
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

html {
  font-family: var(--ff-manrope);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--black-coral);
  font-size: 1.6rem;
  line-height: 1.7;
}

body.nav-active {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: hsl(0, 0%, 98%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 70%);
}





/*-----------------------------------*\
  #PROCESS
\*-----------------------------------*/

.process .title-wrapper {
  text-align: center;
  margin-block-end: 60px;
}

.process-list {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

.process-item {
  position: relative;
  width: 100%;
}

.process-card {
  text-align: center;
  max-width: 350px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.process-card .card-icon {
  width: 90px;
  height: 90px;
  background-color: var(--white);
  color: var(--brand-color);
  font-size: 3.5rem;
  border-radius: 50%;
  border: 1px solid var(--brand-color);
  display: grid;
  place-items: center;
  margin-inline: auto;
  margin-block-end: 25px;
  position: relative;
  z-index: 2;
  transition: var(--transition-1);
  box-shadow: 0 0 0 8px var(--white);
  /* White ring for cutting line */
}

.process-card:hover .card-icon {
  background-color: var(--brand-color);
  color: var(--white);
  transform: scale(1.05);
  box-shadow: 0 0 0 10px var(--white);
}

.process-card .card-number {
  position: absolute;
  top: 35px;
  /* Aligned near top of icon */
  left: 50%;
  transform: translateX(-220%);
  /* Push to left of center */
  width: 30px;
  height: 30px;
  background-color: var(--brand-color);
  color: var(--white);
  font-family: var(--ff-manrope);
  font-size: 1.4rem;
  font-weight: var(--fw-700);
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 3px solid var(--white);
  z-index: 3;
}

.process-card:hover .card-number {
  background-color: var(--white);
  color: var(--brand-color);
  border-color: var(--brand-color);
}

.process-card .card-title {
  margin-block-end: 15px;
  font-weight: var(--fw-700);
}

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

/* Mobile Connector (Vertical) */
.process-item:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -40px;
  /* Span the gap */
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 50px;
  /* Approx gap height */
  top: auto;
  bottom: -40px;
  background-image: linear-gradient(to bottom, var(--brand-color) 60%, transparent 60%);
  background-size: 2px 15px;
  /* Dashed */
  opacity: 0.2;
  z-index: -1;
}

/* Remove ::before arrow for mobile */
.process-item:not(:last-child)::before {
  display: none;
}

@media (min-width: 768px) {
  .process-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: flex-start;
  }

  /* Reset Mobile Styles */
  .process-item:not(:last-child)::after {
    display: none;
  }

  .process-item:not(:last-child)::before {
    display: none;
  }

  /* Desktop Connector (Curve) */
  .process-item {
    padding-inline: 15px;
  }

  .process-card .card-icon {
    width: 100px;
    height: 100px;
    font-size: 4rem;
  }

  /* Curved Line */
  .process-item:not(:last-child) .process-card::after {
    content: "";
    position: absolute;
    top: 60px;
    /* Approx center of icon */
    left: 50%;
    width: calc(100% + 30px);
    /* Span to next item center */
    height: 60px;
    /* Depth of curve */
    border-bottom: 2px dashed var(--brand-color);
    border-radius: 50%;
    z-index: -1;
    transform: translateY(-50%);
    opacity: 0.25;
    pointer-events: none;
    background-image: none;
    /* Reset gradient */
    background-size: auto;
  }

  /* Flip the second connector to curve upwards */
  .process-item:nth-child(even) .process-card::after {
    transform: translateY(-50%) scaleY(-1);
  }
}

@media (min-width: 992px) {
  .process-list {
    gap: 30px;
  }

  .process-item:not(:last-child) .process-card::after {
    width: calc(100% + 30px);
  }
}





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
  padding-inline: 16px;
}

.social-list {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  font-size: 2rem;
  transition: var(--transition-1);
}

.social-link:is(:hover, :focus-visible) {
  transform: translateY(-3px);
}

.section {
  padding-block: var(--section-padding);
}

.w-100 {
  width: 100%;
}

.h1,
.h2,
.h3,
.h4 {
  color: var(--charcoal);
  line-height: 1.3;
}

.h1 {
  font-size: var(--fs-1);
}

.h2 {
  font-size: var(--fs-2);
}

.h3 {
  font-size: var(--fs-3);
}

.h4 {
  font-size: var(--fs-4);
}

.btn {
  color: var(--brand-color);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  border: 2px solid var(--brand-color);
  max-width: max-content;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  transition: var(--transition-1);
  will-change: transform;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn ion-icon {
  font-size: 20px;
}

.btn:is(:hover, :focus-visible) {
  transform: translateY(-4px);
}

.btn-primary,
.btn-secondary:is(:hover, :focus-visible) {
  background-color: var(--brand-color);
  color: var(--white);
}

.btn-whatsapp {
  background-color: #25D366;
  border-color: #25D366;
  color: var(--white);
}

.btn-whatsapp:is(:hover, :focus-visible) {
  background-color: #128C7E;
  border-color: #128C7E;
}

.section-text {
  font-size: var(--fs-5);
}

.section-title {
  margin-block-end: 16px;
}

.grid-list {
  display: grid;
  gap: 35px;
}

.about .grid-list {
  gap: 30px;
}

[data-reveal] {
  opacity: 0;
  transition: 0.75s ease;
}

[data-reveal="top"] {
  transform: translateY(-30px);
}

[data-reveal="bottom"] {
  transform: translateY(30px);
}

[data-reveal="left"] {
  transform: translateX(-30px);
}

[data-reveal="right"] {
  transform: translateX(30px);
}

[data-reveal].revealed {
  transform: translate(0);
  opacity: 1;
}





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--white);
  width: 100%;
  padding-block: 20px;
  box-shadow: var(--shadow-1);
  z-index: 4;
}

.header.active {
  position: fixed;
  animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-image {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-image path {
  fill: var(--brand-color);
  transition: fill var(--transition-1);
}

.logo-text {
  font-family: 'Sacramento', cursive;
  font-size: 28px;
  color: var(--brand-color);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 22px;
  }

  .logo-image {
    width: 40px;
    height: 40px;
  }

  .theme-btn,
  .color-picker-btn {
    width: 42px;
    height: 42px;
    font-size: 2rem;
  }
  /* Video modal responsive sizing: maintain 480x848 ratio but be responsive */
  .video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .video-wrapper video {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 480 / 848;
    height: auto;
    max-height: calc(90vh - 48px);
    display: block;
  }
}

.theme-btn {
  background-color: var(--snow);
  color: var(--gunmetal);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  display: grid;
  place-items: center;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-1);
  box-shadow: var(--shadow-2);
  flex-shrink: 0;
}

.theme-btn:hover {
  background-color: var(--brand-color);
  color: var(--white);
  transform: scale(1.1);
}

.theme-btn .sun {
  display: none;
}

[data-theme="dark"] .theme-btn .sun {
  display: block;
}

[data-theme="dark"] .theme-btn .moon {
  display: none;
}

.color-picker-wrapper {
  position: relative;
  flex-shrink: 0;
}

.color-picker-btn {
  background-color: var(--snow);
  color: var(--gunmetal);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-1);
  box-shadow: var(--shadow-2);
}

.color-picker-btn:hover {
  background-color: var(--brand-color);
  color: var(--white);
  transform: scale(1.1);
}

.color-picker-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background-color: var(--white);
  border-radius: var(--radius-8);
  box-shadow: var(--shadow-2);
  padding: 12px;
  display: none;
  gap: 10px;
  z-index: 10;
  min-width: 200px;
  max-width: 220px;
}

.color-picker-dropdown.active {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.color-option {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-circle);
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--transition-1);
  position: relative;
}

.color-option:hover {
  transform: scale(1.15);
  border-color: var(--white);
  box-shadow: 0 0 0 2px var(--gunmetal);
}

.color-option.active {
  border-color: var(--white);
  box-shadow: 0 0 0 3px var(--gunmetal);
}

.color-option.active::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-weight: bold;
  font-size: 16px;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.nav-open-btn {
  font-size: 3.5rem;
  color: var(--gunmetal);
}

.navbar {
  position: fixed;
  top: 0;
  left: -300px;
  background-color: var(--raisin-black);
  color: var(--white);
  max-width: 300px;
  width: 100%;
  height: 100vh;
  padding: 30px;
  padding-block-end: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 2;
  visibility: hidden;
  transition: var(--transition-3);
}

.navbar.active {
  visibility: visible;
  transform: translateX(300px);
}

.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-close-btn {
  background-color: var(--white_a8);
  color: var(--white);
  font-size: 2rem;
  padding: 6px;
  border-radius: var(--radius-circle);
  transition: var(--transition-1);
}

.nav-close-btn ion-icon {
  --ionicon-stroke-width: 50px;
}

.nav-close-btn:is(:hover, :focus-visible) {
  background-color: var(--white_a12);
}

.navbar-list {
  margin-block-end: auto;
}

.navbar-link {
  font-weight: var(--fw-700);
  padding-block: 6px;
}

.navbar-link.active {
  color: var(--brand-color);
}

.contact-link {
  transition: var(--transition-1);
}

.contact-link:is(:hover, :focus-visible) {
  color: var(--brand-color);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--raisin-black);
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-1);
}

.overlay.active {
  pointer-events: all;
  opacity: 0.8;
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  padding-block-start: calc(var(--section-padding) + 50px);
  background-color: var(--cultured);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-banner {
  order: 2;
  position: relative;
  max-width: max-content;
  margin-inline: auto;
  z-index: 2;
}

.hero-banner .w-100 {
  border-radius: var(--radius-circle);
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.hero-badge {
  position: absolute;
  bottom: 10%;
  right: 2%;
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-6);
  filter: drop-shadow(var(--shadow-2));
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 203px;
}

.hero-badge-2 {
  bottom: auto;
  top: 15%;
  right: -5%;
}

.hero-badge-3 {
  bottom: 25%;
  right: auto;
  left: -5%;
}

.hero-badge .badge-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #e3a6b6;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #36496d;
  font-size: 24px;
}

.hero-badge-2 .badge-icon {
  background: #8caeec;
}

.hero-badge-3 .badge-icon {
  background: #f9d99c;
}

.hero-badge-4 {
  bottom: auto;
  top: 15%;
  left: -5%;
  right: auto;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse-badge 2s infinite;
}

.hero-badge-4:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(113, 24, 12, 0.25);
}

.hero-badge-4 .badge-icon {
  background: linear-gradient(135deg, var(--brand-color), #a02515);
  position: relative;
}

.hero-badge-4 .badge-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: var(--radius-circle);
  border: 2px solid var(--brand-color);
  animation: ripple-badge 2s infinite;
  opacity: 0.6;
}

.hero-badge-4 .badge-icon ion-icon {
  color: var(--white);
}

.hero-badge-4 .badge-content {
  flex-direction: row;
}

.hero-badge-4 .badge-text {
  font-size: 1.4rem;
  font-weight: var(--fw-700);
  color: var(--brand-color);
}

@keyframes pulse-badge {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

@keyframes ripple-badge {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.6;
  }

  100% {
    width: 140%;
    height: 140%;
    opacity: 0;
  }
}

.hero-badge .badge-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-badge .badge-number {
  font-size: 2.4rem;
  font-weight: var(--fw-700);
  color: var(--charcoal);
  line-height: 1;
}

.hero-badge .badge-text {
  font-size: 1.2rem;
  color: #60697b;
  line-height: 1.2;
}

.hero-content {
  order: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero .section-text {
  margin-block: 24px 36px;
}

.btn-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

/* Video Modal Styles */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  width: auto;
  max-width: 90%;
  max-height: 90vh;
  background: var(--charcoal);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1002;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

.video-modal-close ion-icon {
  font-size: 2.4rem;
  color: var(--white);
}

.video-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {

  /* Tüm badge'ler için genel ayarlamalar */
  .hero-badge {
    min-width: auto;
    padding: 12px 16px;
    gap: 10px;
    max-width: 160px;
  }

  /* Badge icon boyutlarını küçült */
  .hero-badge .badge-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  /* Badge numaralarını küçült */
  .hero-badge .badge-number {
    font-size: 1.8rem;
  }

  /* Badge metinlerini küçült */
  .hero-badge .badge-text {
    font-size: 1rem;
    line-height: 1.1;
  }

  /* Badge 1 - Sağ alt */
  .hero-badge:not(.hero-badge-2):not(.hero-badge-3):not(.hero-badge-4) {
    bottom: 5%;
    right: 0%;
  }

  /* Badge 2 - Sağ üst */
  .hero-badge-2 {
    top: 10%;
    right: -2%;
  }

  .hero-badge-2 .badge-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  /* Badge 3 - Sol orta */
  .hero-badge-3 {
    bottom: 20%;
    left: -2%;
  }

  .hero-badge-3 .badge-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  /* Badge 4 - Sol üst (Video badge) */
  .hero-badge-4 {
    left: 0%;
    top: 5%;
    padding: 10px 14px;
    max-width: 145px;
  }

  .hero-badge-4 .badge-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .hero-badge-4 .badge-text {
    font-size: 1.1rem;
  }

  /* Video modal ayarları */
  .video-modal-content {
    width: 95%;
  }

  .video-modal-close {
    top: -45px;
    width: 40px;
    height: 40px;
  }

  .video-modal-close ion-icon {
    font-size: 2rem;
  }
}

/* Çok küçük ekranlar için ekstra optimizasyon */
@media (max-width: 480px) {
  .hero-badge {
    padding: 10px 12px;
    gap: 8px;
    max-width: 140px;
  }

  .hero-badge .badge-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .hero-badge .badge-number {
    font-size: 1.6rem;
  }

  .hero-badge .badge-text {
    font-size: 0.95rem;
  }

  /* Badge pozisyonlarını daha da optimize et */
  .hero-badge:not(.hero-badge-2):not(.hero-badge-3):not(.hero-badge-4) {
    bottom: 3%;
    right: -1%;
  }

  .hero-badge-2 {
    top: 8%;
    right: -3%;
  }

  .hero-badge-3 {
    bottom: 18%;
    left: -3%;
  }

  .hero-badge-4 {
    left: -1%;
    top: 3%;
    padding: 8px 12px;
    max-width: 130px;
  }

  .hero-badge-4 .badge-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .hero-badge-4 .badge-text {
    font-size: 1rem;
  }
}





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about .title-wrapper {
  text-align: center;
  margin-block-end: 50px;
}

.about .title-wrapper .section-title {
  margin-bottom: 15px;
}

.about .wrapper {
  display: grid;
  gap: 50px;
  margin-block-end: 70px;
}

.progress-list .label-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-end: 4px;
}

.progress-item:not(:last-child) {
  margin-block-end: 16px;
}

.progress {
  background-color: var(--raisin-black_a6);
  height: 6px;
  width: 100%;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: inherit;
}

.about-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(227, 166, 182, 0.1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #e3a6b6, #8caeec, #b0d4c1, #f9d99c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(227, 166, 182, 0.25);
  border-color: rgba(227, 166, 182, 0.3);
}

.about-card .card-icon {
  margin-inline: auto;
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffe5ec, #e3f2fd);
  font-size: 4rem;
  color: #d16b86;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 15px rgba(227, 166, 182, 0.2);
}

.about-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #ffc4d6, #bbdefb);
  box-shadow: 0 6px 20px rgba(227, 166, 182, 0.35);
}

.about-card .card-icon ion-icon {
  filter: drop-shadow(0 2px 4px rgba(227, 166, 182, 0.3));
}

.about-card .card-title {
  margin-block: 20px 15px;
  font-size: 2rem;
  color: var(--charcoal);
  font-weight: var(--fw-700);
}

.about-card .card-text {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--manatee);
  font-size: 1.5rem;
  flex-grow: 1;
}

.about .grid-list>li {
  display: flex;
}

/* Dark mode support for about-card */
[data-theme="dark"] .about-card {
  background: linear-gradient(145deg, #2a2e35, #1f2228);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(227, 166, 182, 0.2);
}

[data-theme="dark"] .about-card:hover {
  box-shadow: 0 15px 40px rgba(227, 166, 182, 0.3);
  border-color: rgba(227, 166, 182, 0.4);
}

[data-theme="dark"] .about-card .card-icon {
  background: linear-gradient(135deg, rgba(227, 166, 182, 0.2), rgba(140, 174, 236, 0.2));
  box-shadow: 0 4px 15px rgba(227, 166, 182, 0.3);
}

[data-theme="dark"] .about-card:hover .card-icon {
  background: linear-gradient(135deg, rgba(227, 166, 182, 0.3), rgba(140, 174, 236, 0.3));
  box-shadow: 0 6px 20px rgba(227, 166, 182, 0.4);
}

[data-theme="dark"] .about-card .btn-text {
  background: rgba(227, 166, 182, 0.1);
}

[data-theme="dark"] .about-card .btn-text:hover {
  background: rgba(227, 166, 182, 0.2);
}

.about-wrapper {
  position: relative;
}

.about-content {
  max-width: 100%;
}

.about-content .section-text {
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-banner {
  float: right;
  max-width: 280px;
  margin: 0 0 20px 30px;
  shape-outside: margin-box;
  position: relative;
}

.about-banner::before {
  content: '✦';
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 40px;
  color: var(--brand-color);
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.about-banner::after {
  content: '◆';
  position: absolute;
  bottom: -10px;
  left: -10px;
  font-size: 30px;
  color: var(--brand-color);
  opacity: 0.6;
  z-index: 2;
  animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.about-banner img {
  border-radius: 20px;
  object-fit: cover;
  width: 100%;
  height: auto;
  box-shadow: 0 8px 24px rgba(202, 168, 158, 0.3);
  position: relative;
  z-index: 1;
  border: 4px solid var(--white);
  display: block;
}

.about-text-content {
  position: relative;
}

.about-more-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.about-more-content.expanded {
  max-height: 5000px;
  transition: max-height 0.8s ease-in;
}

.btn-read-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 30px auto 0;
  padding: 12px 28px;
  background-color: var(--white);
  color: var(--brand-color);
  border: 2px solid var(--brand-color);
  border-radius: var(--radius-pill);
  font-size: var(--fs-7);
  font-weight: var(--fw-700);
  cursor: pointer;
  transition: var(--transition-1);
  max-width: max-content;
  will-change: transform;
}

.btn-read-more:hover {
  background-color: var(--brand-color);
  color: var(--white);
  transform: translateY(-4px);
}

.btn-read-more .read-more-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.btn-read-more.expanded .read-more-icon {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .about-banner {
    float: none;
    max-width: 100%;
    margin: 0 auto 30px;
  }

  .about-wrapper {
    display: flex;
    flex-direction: column;
  }
}





/*-----------------------------------*\
  #SERVICES SLIDER
\*-----------------------------------*/

.services .title-wrapper {
  text-align: center;
  margin-block-end: 50px;
}

.service-slider-wrapper {
  margin-inline: -16px;
  padding-inline: 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
}

.service-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-block: 30px;
  padding-inline: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  cursor: grab;
}

.service-slider.active {
  cursor: grabbing;
  scroll-snap-type: none;
  /* Disable snap while dragging for smoother feeling */
  scroll-behavior: auto;
}

.service-slider::-webkit-scrollbar {
  height: 6px;
}

.service-slider::-webkit-scrollbar-track {
  background: transparent;
}

.service-slider::-webkit-scrollbar-thumb {
  background-color: var(--cadet-blue-crayola_a20);
  border-radius: var(--radius-pill);
}

.service-item {
  min-width: 400px;
  max-width: 400px;
  scroll-snap-align: center;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
}

.service-card {
  padding: 25px 20px;
  height: 100%;
  border-radius: var(--radius-8);
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition-1);
  border: 1px solid rgba(227, 166, 182, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(227, 166, 182, 0.15);
  border-color: rgba(227, 166, 182, 0.3);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #e3a6b6, #8caeec, #b0d4c1, #f9d99c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .card-icon {
  width: 50px;
  height: 50px;
  margin-inline: auto;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe5ec, #e3f2fd);
  color: #d16b86;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: var(--transition-1);
}

.service-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #ffc4d6, #bbdefb);
}

.service-card .card-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--charcoal);
  font-weight: var(--fw-700);
}

.service-card .card-text {
  font-size: 1.4rem;
  color: var(--manatee);
  line-height: 1.6;
  flex-grow: 1;
}

/* Dark theme for service card */
[data-theme="dark"] .service-card {
  background: linear-gradient(145deg, #2a2e35, #1f2228);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-color: rgba(227, 166, 182, 0.1);
}

[data-theme="dark"] .service-card:hover {
  box-shadow: 0 10px 25px rgba(227, 166, 182, 0.2);
  border-color: rgba(227, 166, 182, 0.3);
}

[data-theme="dark"] .service-card .card-icon {
  background: linear-gradient(135deg, rgba(227, 166, 182, 0.2), rgba(140, 174, 236, 0.2));
}

[data-theme="dark"] .service-card:hover .card-icon {
  background: linear-gradient(135deg, rgba(227, 166, 182, 0.3), rgba(140, 174, 236, 0.3));
}





/*-----------------------------------*\
  #PROJECTS
\*-----------------------------------*/

.project {
  border-block: 1px solid var(--cadet-blue-crayola_a20);
}

.project .title-wrapper {
  margin-block-end: 40px;
}

.project .btn {
  margin-block-start: 24px;
}

.project .grid-list {
  gap: 40px;
}

.project-card {
  --padding: 24px;

  display: flex;
  flex-direction: column;
  gap: var(--padding);
  border-radius: var(--radius-8);
  overflow: hidden;
}

.project-card-1,
.project-card-2,
:is(.project-card-3, .project-card-4) .card-content {
  padding: var(--padding);
}

.project-card-1 {
  padding-block-end: 0;
}

.project :is(.project-card-3, .project-card-4) {
  gap: 0;
}

.project-card .card-tag {
  font-size: var(--fs-8);
  font-weight: var(--fw-700);
  text-transform: uppercase;
}

.project-card .card-title {
  margin-block: 16px;
}

.project-card .card-text {
  margin-block-end: 20px;
}

.project-card .btn-text {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: var(--fw-700);
  transition: var(--transition-1);
}

.project-card .btn-text:is(:hover, :focus-visible) {
  gap: 10px;
}





/*-----------------------------------*\
  #FAQ
\*-----------------------------------*/

.faq .title-wrapper {
  text-align: center;
  margin-block-end: 50px;
}

.faq .title-wrapper .section-title {
  margin-bottom: 15px;
}

.faq-tabs-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.faq-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.faq-tab {
  padding: 14px 28px;
  background-color: var(--white);
  color: var(--black-coral);
  border: 2px solid var(--brand-color);
  border-radius: var(--radius-pill);
  font-size: var(--fs-7);
  font-weight: var(--fw-700);
  cursor: pointer;
  transition: var(--transition-1);
  white-space: nowrap;
}

.faq-tab:hover {
  background-color: var(--snow);
  transform: translateY(-2px);
}

.faq-tab.active {
  background-color: var(--brand-color);
  color: var(--white);
}

.faq-tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.faq-tab-content.active {
  display: block;
}

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

.faq-list {
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-card {
  background-color: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: var(--transition-2);
}

.faq-card:hover {
  box-shadow: var(--shadow-2);
}

.faq-card.active {
  box-shadow: 0 8px 30px rgba(202, 168, 158, 0.2);
}

.faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 30px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-1);
}

.faq-header:hover {
  background-color: var(--snow);
}

.faq-number {
  font-size: 1.8rem;
  font-weight: var(--fw-700);
  color: var(--brand-color);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}

.faq-title {
  flex: 1;
  color: var(--raisin-black);
  line-height: 1.4;
  font-size: var(--fs-6);
  margin: 0;
}

.faq-icon {
  font-size: 28px;
  color: var(--brand-color);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-card.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 30px;
}

.faq-card.active .faq-content {
  max-height: 1000px;
  padding: 0 30px 30px 30px;
  transition: max-height 0.6s ease-in;
}

.faq-text {
  color: var(--black-coral);
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: var(--fs-7);
}

.faq-text:last-child {
  margin-bottom: 0;
}

.faq-points {
  margin: 15px 0;
  padding-left: 0;
  list-style: none;
}

.faq-points li {
  color: var(--black-coral);
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: var(--fs-7);
}

.faq-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--brand-color);
  font-weight: bold;
  font-size: 16px;
}

.faq-points strong {
  color: var(--brand-color);
  font-weight: var(--fw-700);
}





/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact {
  padding-block-end: 0;
}

.contact-wrapper {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}

.map-container {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-8);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  border: 2px solid rgba(202, 168, 158, 0.15);
  transition: var(--transition-2);
}

.map-container:hover {
  border-color: rgba(202, 168, 158, 0.3);
  box-shadow: 0 8px 24px rgba(202, 168, 158, 0.15);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-8);
}

.contact-card {
  background-color: var(--snow);
  padding: 32px;
  border-radius: var(--radius-8);
  display: grid;
  gap: 40px;
  border: 2px solid rgba(202, 168, 158, 0.15);
  transition: var(--transition-2);
  position: relative;
}

.contact-card:hover {
  border-color: rgba(202, 168, 158, 0.3);
  box-shadow: 0 8px 24px rgba(202, 168, 158, 0.15);
}

.contact .section-title {
  margin-block-start: 20px;
}

.contact .card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(202, 168, 158, 0.15), rgba(202, 168, 158, 0.25));
  border-radius: var(--radius-circle);
  margin-bottom: 20px;
}

.contact .card-icon img {
  filter: brightness(0) saturate(100%) invert(68%) sepia(13%) saturate(753%) hue-rotate(314deg) brightness(91%) contrast(88%);
}

.input-field {
  background-color: var(--white);
  color: var(--black-coral);
  font-size: var(--fs-7);
  padding: 14px 18px;
  border-radius: var(--radius-6);
  outline: none;
  margin-block-end: 20px;
  border: 2px solid transparent;
  transition: var(--transition-1);
}

.input-field:focus {
  border-color: var(--brand-color);
  box-shadow: 0 0 0 3px rgba(202, 168, 158, 0.1);
}

.input-field::placeholder {
  color: var(--manatee);
}

textarea.input-field {
  min-height: 120px;
  height: 120px;
  max-height: 240px;
  resize: vertical;
}

/*-----------------------------------*\
  #CONTACT FORM OVERLAY
\*-----------------------------------*/

.form-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
  border-radius: var(--radius-6);
}

[data-theme="dark"] .form-overlay {
  background: rgba(26, 29, 35, 0.85);
}

.form-overlay.show {
  opacity: 1;
  visibility: visible;
}

.form-overlay.show ~ .contact-form {
  opacity: 0.3;
  pointer-events: none;
  transform: scale(0.98);
}

.form-overlay-content {
  text-align: center;
  padding: 40px;
  max-width: 400px;
  width: 100%;
  transform: scale(0.8) translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-overlay.show .form-overlay-content {
  transform: scale(1) translateY(0);
}

.form-overlay-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: relative;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.form-overlay.progress .form-overlay-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.form-overlay.success .form-overlay-icon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.3);
  animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.form-overlay.error .form-overlay-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
  animation: errorShake 0.6s ease-out;
}

@keyframes errorShake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}

.form-overlay-message {
  font-size: var(--fs-5);
  font-weight: var(--fw-700);
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.4;
}

[data-theme="dark"] .form-overlay-message {
  color: var(--white);
}

.form-overlay-action {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.form-overlay-action button {
  background: var(--brand-color);
  color: var(--white);
  border: none;
  width: 200px;
  height: 48px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-7);
  font-weight: var(--fw-700);
  cursor: pointer;
  transition: var(--transition-1);
  transform: translateY(0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-overlay-action button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(176, 86, 52, 0.3);
}

.form-overlay-action button.secondary {
  background: transparent;
  color: var(--brand-color);
  border: 2px solid var(--brand-color);
}

.form-overlay-action button.secondary:hover {
  background: var(--brand-color);
  color: var(--white);
}

/* Loading spinner for progress state */
.form-overlay.progress .form-overlay-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.3);
  animation: spin 1s linear infinite;
}

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

/*-----------------------------------*\
  #FORM STATUS (Legacy - kept for compatibility)
\*-----------------------------------*/

.form-status {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-6);
  font-size: var(--fs-7);
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-status.show {
  display: flex;
}

.form-status.progress {
  background-color: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  border: 2px solid rgba(59, 130, 246, 0.3);
}

.form-status.success {
  background-color: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 2px solid rgba(34, 197, 94, 0.3);
}

.form-status.error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 2px solid rgba(239, 68, 68, 0.3);
}

.form-status-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.form-status-text {
  flex: 1;
}

.form-status-action {
  background: none;
  border: none;
  color: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-size: var(--fs-7);
  transition: var(--transition-1);
}

.form-status-action:hover {
  opacity: 0.8;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(59, 130, 246, 0.3);
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  padding-block: 40px;
}

.copyright {
  margin-block-end: 12px;
}

.footer .social-link {
  color: var(--charcoal);
}





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */

@media (min-width: 575px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }



  /**
   * PROJECT
   */

  .project-card {
    --padding: 68px;
  }



  /**
   * CONTACT
   */

  .contact-card {
    padding: 68px;
  }

}





/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 720px;
  }

  .section-text {
    --fs-5: 2rem;
  }



  /**
   * ABOUT
   */

  .about .grid-list {
    grid-template-columns: 1fr 1fr;
  }



  /**
   * PROJECT
   */

  .project .title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
  }

  .project .btn {
    min-width: max-content;
  }



  /**
   * CONTACT
   */

  .contact .section-text {
    --fs-5: 1.8rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .map-container {
    height: 400px;
  }

  .input-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
  }



  /**
   * FOOTER
   */

  .footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .copyright {
    margin-block-end: 0;
  }

}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * spacing
     */

    --section-padding: 120px;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 960px;
  }



  /**
   * HEADER
   */

  .nav-open-btn,
  .navbar-top,
  .navbar .wrapper,
  .overlay {
    display: none;
  }

  .navbar,
  .navbar.active {
    all: unset;
    display: flex;
    flex-grow: 1;
  }

  .navbar-list {
    display: flex;
    gap: 14px;
    margin-inline: auto;
    flex-shrink: 1;
  }

  .navbar-link {
    color: var(--charcoal);
    transition: var(--transition-1);
    white-space: nowrap;
    font-size: 1.35rem;
  }

  .navbar-link:is(:hover, :focus-visible) {
    color: var(--brand-color);
  }

  .navbar-link.active {
    color: var(--brand-color);
    position: relative;
  }

  .navbar-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--brand-color);
  }

  .navbar .social-link {
    color: var(--charcoal);
    font-size: 1.5rem;
  }

  .header {
    top: 45px;
    max-width: 960px;
    left: 50%;
    transform: translateX(-50%);
    padding-inline: 12px;
    border-radius: var(--radius-8);
  }

  .header.active {
    top: 0;
    left: 0;
    max-width: unset;
    border-radius: 0;
  }



  /**
   * HERO
   */

  .hero {
    padding-block-start: calc(var(--section-padding) + 80px);
  }

  .hero .container {
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 100px;
  }

  .hero-content {
    text-align: left;
  }

  .hero .btn-wrapper {
    justify-content: flex-start;
  }



  /**
   * ABOUT
   */

  .about .wrapper {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .about-banner {
    max-width: 320px;
    margin: 0 0 20px 40px;
  }

  .about .grid-list {
    grid-template-columns: repeat(4, 1fr);
  }



  /**
   * PROJECT
   */

  .project .grid-list {
    grid-template-columns: 1fr 1fr;
    row-gap: 50px;
  }

  .project .grid-list>li:nth-child(-n+2) {
    grid-column: 1 / 3;
  }

  .project-card-1,
  .project-card-2 {
    flex-direction: row;
    align-items: flex-end;
  }

  :is(.project-card-1, .project-card-2) .card-content {
    width: 33.33%;
  }

  :is(.project-card-1, .project-card-2) .card-banner {
    width: 66.66%;
  }

  .project-card-1 .card-content {
    padding-block-end: var(--padding);
  }

  .project-card-2 .card-content {
    order: 1;
  }



  /**
   * CONTACT
   */

  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 40px;
  }

  .map-container {
    height: 100%;
    min-height: 500px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */

  .container,
  .header {
    max-width: 1140px;
  }



  /**
   * HEADER
   */

  .navbar-list {
    gap: 20px;
  }

  .navbar-link {
    font-size: 1.45rem;
  }

  .navbar .social-link {
    font-size: 1.7rem;
  }

  .header {
    padding-inline: 16px;
  }



  /**
   * ABOUT
   */

  .about .grid-list {
    gap: 50px;
  }



  /**
   * CONTACT
   */

  .contact-wrapper {
    gap: 60px;
  }

}





/**
 * responsive for large than 1400px screen
 */

@media (min-width: 1400px) {

  /**
   * REUSED STYLE
   */

  .container,
  .header {
    max-width: 1320px;
  }



  /**
   * HERO
   */

  .hero .container {
    grid-template-columns: 0.8fr 1fr;
  }

  .hero .section-text {
    --fs-5: 2.4rem;
  }



  /**
   * ABOUT
   */

  .about .wrapper {
    gap: 100px;
  }

  .about .grid-list {
    gap: 60px;
  }

}



/*-----------------------------------*\
  #GALLERY SECTION
\*-----------------------------------*/

.gallery {
  background-color: var(--cultured);
}

.gallery .title-wrapper {
  text-align: center;
  margin-block-end: 50px;
}

.gallery .title-wrapper .section-title {
  margin-bottom: 15px;
}

.gallery-slider-wrapper {
  margin-top: 60px;
  padding-bottom: 100px;
  max-width: 1400px;
  margin-inline: auto;
  position: relative;
  padding-inline: 80px;
}

.gallerySwiper {
  padding: 20px 0 20px;
  position: relative;
  padding-bottom: 60px;
  margin-bottom: 40px;
}

.gallerySwiper .swiper-wrapper {
  margin-bottom: 50px;
}

.gallery-card {
  background: var(--white);
  border-radius: var(--radius-8);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: var(--transition-2);
  height: 100%;
}

.gallery-card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-5px);
}

.gallery-image {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--cultured);
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-2);
}

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

.zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-1);
}

.gallery-image:hover .zoom-overlay {
  opacity: 1;
}

.zoom-overlay ion-icon {
  font-size: 48px;
  color: var(--white);
}

.gallery-title {
  padding: 15px;
  font-size: var(--fs-7);
  font-weight: var(--fw-700);
  color: var(--charcoal);
  text-align: center;
}

/* Swiper Navigation Buttons */
.gallery-slider-wrapper .swiper-button-next,
.gallery-slider-wrapper .swiper-button-prev {
  color: var(--brand-color);
  background: var(--white);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-circle);
  box-shadow: var(--shadow-1);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.gallery-slider-wrapper .swiper-button-prev {
  left: 10px;
}

.gallery-slider-wrapper .swiper-button-next {
  right: 10px;
}

.gallery-slider-wrapper .swiper-button-next:after,
.gallery-slider-wrapper .swiper-button-prev:after {
  font-size: 24px;
  font-weight: var(--fw-700);
}

.gallery-slider-wrapper .swiper-button-next:hover,
.gallery-slider-wrapper .swiper-button-prev:hover {
  background: var(--brand-color);
  color: var(--white);
}

/* Swiper Pagination */
.gallerySwiper .swiper-pagination {
  position: absolute !important;
  bottom: 0 !important;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
  margin-top: 30px;
}

.gallerySwiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--manatee);
  opacity: 0.5;
  margin: 0 6px;
}

.gallerySwiper .swiper-pagination-bullet-active {
  background: var(--brand-color);
  opacity: 1;
}

/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.gallery-modal.show {
  display: block;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: var(--white);
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-1);
  z-index: 10000;
}

.modal-close:hover,
.modal-close:focus {
  color: var(--brand-color);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  color: var(--brand-color);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-circle);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: var(--transition-1);
  box-shadow: var(--shadow-2);
}

.modal-nav:hover {
  background: var(--brand-color);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.modal-nav ion-icon {
  font-size: 28px;
}

.modal-prev {
  left: 30px;
}

.modal-next {
  right: 30px;
}

.modal-caption {
  margin: 20px auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: var(--white);
  font-size: var(--fs-5);
  font-weight: var(--fw-700);
  padding: 10px 0;
}

/* Responsive */
@media (min-width: 1024px) {
  .gallery-slider-wrapper {
    padding-inline: 80px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .gallery-slider-wrapper {
    padding-inline: 60px;
  }

  .gallery-slider-wrapper .swiper-button-next,
  .gallery-slider-wrapper .swiper-button-prev {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 767px) {
  .gallery-slider-wrapper {
    padding-inline: 50px;
    padding-bottom: 60px;
  }

  .gallery-slider-wrapper .swiper-button-next,
  .gallery-slider-wrapper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .gallery-slider-wrapper .swiper-button-prev {
    left: 5px;
  }

  .gallery-slider-wrapper .swiper-button-next {
    right: 5px;
  }

  .gallery-slider-wrapper .swiper-button-next:after,
  .gallery-slider-wrapper .swiper-button-prev:after {
    font-size: 18px;
  }

  .gallery-title {
    padding: 12px;
    font-size: var(--fs-8);
  }

  .modal-close {
    top: 10px;
    right: 20px;
    font-size: 40px;
  }

  .modal-content {
    max-width: 95%;
  }

  .modal-nav {
    width: 40px;
    height: 40px;
  }

  .modal-nav ion-icon {
    font-size: 24px;
  }

  .modal-prev {
    left: 10px;
  }

  .modal-next {
    right: 10px;
  }

  .modal-caption {
    font-size: var(--fs-7);
  }
}

/*-----------------------------------*\
  #WORKING AREAS
\*-----------------------------------*/

.working-areas {
  background-color: var(--cultured);
  padding-block: var(--section-padding);
}

.working-areas .title-wrapper {
  text-align: center;
  margin-block-end: 50px;
}

.working-areas-list {
  column-count: 1;
  column-gap: 50px;
}

@media (min-width: 768px) {
  .working-areas-list {
    column-count: 2;
  }
}

@media (min-width: 1200px) {
  .working-areas-list {
    column-count: 3;
  }
}

.working-item {
  break-inside: avoid;
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
}

.working-item-title {
  font-size: var(--fs-6);
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.6;
  transition: var(--transition-1);
}

.working-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--brand-color);
  border-radius: 50%;
  transition: var(--transition-1);
}

.working-item:hover::before {
  background-color: var(--brand-color);
  transform: scale(1.2);
}

.working-item:hover .working-item-title {
  color: var(--brand-color);
  transform: translateX(5px);
}

.working-sublist {
  margin-top: 10px;
  margin-left: 5px;
  border-left: 1px solid var(--brand-color);
  padding-left: 20px;
}

.working-subitem {
  position: relative;
  font-size: var(--fs-7);
  color: var(--manatee);
  margin-bottom: 8px;
  padding-left: 10px;
  transition: var(--transition-1);
}

.working-subitem::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background-color: var(--brand-color);
}

.working-subitem:hover {
  color: var(--brand-color);
}



/*-----------------------------------*\
  #WHATSAPP BUTTON
\*-----------------------------------*/

.whatsapp-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: #25D366;
  color: var(--white);
  font-size: 28px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-circle);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-2);
  transition: var(--transition-1);
  opacity: 0;
  visibility: hidden;
  z-index: 4;
}

.whatsapp-btn:is(:hover, :focus-visible) {
  background-color: #128C7E;
  transform: translateY(-4px);
}

.whatsapp-btn.active {
  opacity: 1;
  visibility: visible;
}

/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--brand-color);
  color: var(--white);
  font-size: 20px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-circle);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-2);
  transition: var(--transition-1);
  opacity: 0;
  visibility: hidden;
  z-index: 4;
}

.back-top-btn:is(:hover, :focus-visible) {
  background-color: var(--gunmetal);
  transform: translateY(-4px);
}

.back-top-btn.active {
  opacity: 1;
  visibility: visible;
}