/* =========================================
   MASTER CSS - MERGED & CLEANED
   ========================================= */

/* 1. GLOBAL RESET (Applies to ALL pages) */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;  /* Prevents side-scroll */
    background-color: #000;
    font-family: 'Assistant', sans-serif;
    color: #fff;
    scroll-behavior: smooth;
}

/* =========================================
   PAGE 1: HERO SECTION
   ========================================= */

/* --- BACKGROUND LAYERS --- */
.v329_52 {
  width: 100%;
  height: 100vh;
  position: relative;
  background-color: #000;
}

.v329_53 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/v329_53.png") no-repeat center center;
  background-size: cover;
  z-index: 1;
}

.v329_54 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  z-index: 2;
}

/* --- MAIN CONTENT WRAPPER --- */
.v329_55 {
  position: relative;
  z-index: 3; 
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  align-items: center;     
  padding-top: 18vh; 
}

/* --- CENTER GROUP --- */
.center-group {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.v329_57 {
  font-family: 'BlackChancery', serif;
  font-weight: 400;
  color: #fff;
  font-size: clamp(60px, 10vw, 150px); 
  line-height: 1;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.v329_58 {
  font-family: 'Assistant', sans-serif;
  font-weight: 400;
  color: #e3e3e1;
  font-size: clamp(20px, 3vw, 36px);
  margin: 15px 0 30px 0; 
  letter-spacing: 1px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* --- ARROW --- */
.arrow-container {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.arrow-icon {
  width: 80px;  
  height: 80px;
  object-fit: contain;
  filter: invert(1) brightness(10);
  opacity: 1;
}

/* --- FOOTER --- */
.v329_59 {
  position: absolute;
  bottom: 15vh; 
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.v329_60, .v329_61 {
  font-family: 'Assistant', sans-serif;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Phone link - disabled on desktop, enabled on mobile */
a.v329_61 {
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}

/* --- FONTS --- */
@font-face {
  font-family: 'BlackChancery';
  src: url('../../../Fonts/black_chancery/BLKCHCRY.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Assistant';
  src: url('../../../Fonts/static/Assistant-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Assistant';
  src: url('../../../Fonts/static/Assistant-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================================
   PAGE 2: STUDIO SECTION
   ========================================= */

.main-wrapper {
  display: flex;
  flex-direction: row; 
  width: 100%;
  height: 100vh;
}

.text-section {
  flex: 0 0 40%; 
  background-color: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  padding-top: 15vh; 
  padding-right: 5%;
  padding-left: 2%;
  position: relative;
  z-index: 2;
}

.content-box {
  max-width: 650px;
  text-align: right;
}

.main-title {
  font-weight: 800; 
  font-size: 64px; 
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 50px;
  color: #fff;
}

.description p {
  font-weight: 600; 
  font-size: 30px;
  line-height: 1.4;
  color: #E3E3E1; 
  margin-bottom: 25px;
}

.image-section {
  flex: 1;
  position: relative;
  background-image: url("../images/v325_208.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.badges-container {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  gap: 20px; 
  z-index: 10;
}

.badge {
  width: 160px;
  height: 160px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.v392_18 { background-image: url("../images/v392_18.png"); }
.v392_25 { background-image: url("../images/v392_25.png"); }

@media (max-width: 1400px) {
  .main-title { font-size: 50px; }
  .description p { font-size: 24px; }
}
@media (max-width: 1100px) {
  .main-title { font-size: 42px; }
  .description p { font-size: 20px; }
  .badge { width: 120px; height: 120px; }
}
@media (max-width: 768px) {
  .main-wrapper {
    flex-direction: column-reverse; 
    height: auto;
  }
  .image-section {
    height: 50vh;
    flex: none;
    width: 100%;
  }
  .text-section {
    flex: none;
    width: 100%;
    height: auto;
    padding: 40px 20px;
  }
  .main-title { font-size: 32px; margin-bottom: 20px; }
  .description p { font-size: 18px; }
}

/* =========================================
   PAGE 3: KITCHENS SECTION
   ========================================= */

.v316_821 {
  width: 100%;
  min-height: 100vh;
  background: #000;
  position: relative;
  padding-bottom: 80px;
}

.v355_63 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 20px 50px 20px;
  color: #fff;
}

.v355_62 {
  font-family: 'Assistant', sans-serif;
  font-weight: 800; 
  font-size: clamp(50px, 10vw, 130px); 
  line-height: 0.9;
  color: #e3e3e1;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.v355_60 {
  font-family: 'Assistant', sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 3vw, 40px); 
  color: #e3e3e1;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.15em; 
  white-space: nowrap; 
}

.v325_289 {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  padding: 0 24px;
}

.v325_249, .v325_248, .v325_250 {
  position: relative;
  width: calc((100% - 48px) / 3);
  height: 75vh;
  min-height: 550px;
  max-height: 950px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.v325_249 { background-image: url("../images/v325_249.png"); }
.v325_248 { background-image: url("../images/v325_248.png"); }
.v325_250 { background-image: url("../images/v325_250.png"); }

.v325_305 {
  width: 96%; 
  max-width: 2200px;
  margin: 0 auto;
  padding: 80px 0; 
  display: flex;
  flex-direction: column;
  gap: 60px; 
}

.v325_310 {
  display: flex;
  flex-direction: row;
  justify-content: space-between; 
  align-items: center;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;    
}

.v325_316, .v325_318 {
  font-family: 'Assistant', sans-serif;
  font-weight: 400;
  font-size: 32px; 
  line-height: 1.4;
  color: #e3e3e1;
  text-align: right;
  width: 45%;
  opacity: 0.9;
}

.v325_308, .v325_312 {
  font-family: 'Assistant', sans-serif;
  font-weight: 800; 
  font-size: clamp(60px, 9vw, 150px);
  line-height: 1;
  color: #e3e3e1;
  text-align: right;
  margin: 0;
  white-space: nowrap;
  letter-spacing: -1px;
}

.name {
  width: 100%; 
  height: 2px; 
  background-color: #fff;
  opacity: 1;
  margin: 10px 0;
}

@media (max-width: 1100px) {
  .v325_310 { max-width: 95%; }
  .v325_316, .v325_318 { font-size: 24px; }
}
@media (max-width: 900px) {
  .v325_310 {
    flex-direction: column-reverse;
    align-items: flex-end;
    text-align: right;
    gap: 20px;
    padding: 0 20px;
  }
  .v325_316, .v325_318 { width: 100%; font-size: 20px; }
  .v325_289 { flex-direction: column; padding: 0 10px; }
  .v325_249, .v325_248, .v325_250 { width: 100%; height: 400px; }
  .v355_60 { font-size: 18px; white-space: normal; }
}

/* =========================================
   PAGE 4: PROJECTS SECTION
   ========================================= */

.projects-container {
  width: 90%;
  max-width: 1800px; 
  margin: 0 auto; 
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.projects-header {
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  width: 100%;
  padding-bottom: 10px;
}

.projects-title {
  font-weight: 800; 
  font-size: clamp(32px, 5vw, 64px); 
  color: #e3e3e1;
  margin: 0;
  text-align: right;
}

.back-arrow-container {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 60px; 
  width: 100%;
}

.project-card {
  position: relative;
  width: 100%;
  background-color: #000;
  cursor: pointer;
  overflow: hidden;
}

.project-card img {
  display: none;
  width: 100%;
  height: auto;
  max-height: 80vh; 
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.project-card img.active {
  display: block;
}

.img-counter {
  position: absolute;
  top: 20px;
  right: 25px; 
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8); 
  z-index: 2;
  background: rgba(0,0,0,0.4);
  padding: 5px 12px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .projects-container { width: 94%; padding: 20px 0; gap: 20px; }
  .projects-title { font-size: 32px; }
  .back-arrow-container { width: 60px; height: 60px; }
  .projects-list { gap: 40px; }
  .img-counter { font-size: 14px; top: 15px; right: 15px; }
}

/* =========================================
   PAGE 5: GALLERY SECTION
   ========================================= */

/* Main Layout Container */
.gallery-container {
  width: 96%;
  /* Force it to fill the viewport height so it looks like a full slide */
  min-height: 100vh; 
  max-width: 1920px;
  margin: 0 auto;
  padding: 30px 20px 20px 20px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #000;
}

/* --- HEADER SECTION --- */
.gallery-header {
  flex: 0 0 auto; 
  display: flex;
  justify-content: space-between; 
  align-items: center;
  width: 100%;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

/* Title */
.v325_361 {
  color: #fff;
  font-weight: 800; 
  font-size: clamp(40px, 6vw, 80px); 
  text-align: right;
  margin: 0;
  line-height: 1;
}

/* --- GRID SECTION --- */
.gallery-grid {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 15px; 
  width: 100%;
  flex: 1;
  min-height: 600px;
}

/* The Rows */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px; 
  width: 100%;
  min-height: 280px;
}

/* Gallery Items (The Boxes) */
.gallery-item {
  width: 100%;
  min-height: 280px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #222; 
  transition: opacity 0.3s;
  border-radius: 4px;
}

.gallery-item:hover {
  opacity: 0.9;
}

/* --- FOOTER SECTION --- */
.gallery-footer {
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  justify-content: center; 
  padding-top: 20px; 
  padding-bottom: 10px;
}

.v325_362 {
  color: #e3e3e1;
  font-weight: 700; 
  font-size: 32px; 
  text-align: center;
  cursor: pointer;
  letter-spacing: 1px;
  margin-top: 5px;
  transition: opacity 0.3s;
}

.v325_362:hover {
  opacity: 0.7;
}

/* --- GALLERY IMAGES --- */
.v355_58  { background-image: url("../images/v355_58.jpg"); }
.v325_371 { background-image: url("../images/v325_371.png"); }
.v325_365 { background-image: url("../images/v325_365.png"); }
.v325_364 { background-image: url("../images/v325_364.png"); }

.v325_367 { background-image: url("../images/v325_367.png"); }
.v325_372 { background-image: url("../images/v325_372.png"); }
.v325_369 { background-image: url("../images/v325_369.png"); }
.v325_370 { background-image: url("../images/v325_370.png"); }

/* --- LIGHTBOX MODAL --- */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 50px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10000;
}

.lightbox-close:hover {
  color: #ccc;
}

/* Make gallery items clickable */
.gallery-item {
  cursor: pointer;
}


/* --- RESPONSIVE FOR GALLERY --- */
@media (max-width: 1024px) {
  .gallery-container {
    height: auto;
    min-height: 100vh;
  }
  .gallery-grid {
     min-height: auto;
  }
  .gallery-row {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
  }
  .gallery-item {
    width: 100%;
    min-height: 200px; 
  }
}

@media (max-width: 600px) {
  .gallery-row {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }
  .gallery-item {
    min-height: 250px; 
  }
}
/* =========================================
   PAGE 6: CONTACT SECTION
   ========================================= */

.contact-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh; /* Ensure it fills the screen */
  background-color: #000;
  color: #fff;
  margin-top: 100px;
}

/* --- 1. HERO IMAGE --- */
.contact-hero-image {
  width: 100%;
  height: 45vh; 
  min-height: 300px; 
  background-color: #111;
  /* Make sure this image path is correct! */
  background-image: url("../images/v325_375.png"); 
  background-repeat: no-repeat;
  background-position: center 25%;
  background-size: cover;
  flex-shrink: 0; 
}

/* --- 2. INFO BAR --- */
.info-bar {
  width: 100%;
  padding: 10px 40px; 
  background-color: #000;
  display: flex;
  flex-direction: row;
  justify-content: space-between; 
  align-items: center;
  border-bottom: 1px solid #fff;
  flex-wrap: wrap;
  gap: 20px;
  flex-shrink: 0; 
}

.center-info {
  display: flex;
  gap: 60px; 
  justify-content: center;
  flex: 1; 
}

.info-item {
  font-size: 28px; 
  font-weight: 400;
  white-space: nowrap;
}

.copyright { 
  font-size: 22px; 
  opacity: 0.8; 
}

.slogan { 
  font-weight: 700; 
  font-size: 28px; 
}

/* --- 3. CONTACT FORM SECTION --- */
.contact-section {
  flex: 1; 
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;     
  padding: 50px 20px; 
  gap: 40px; 
  min-height: 0; 
}

.contact-title {
  font-size: 64px;
  font-weight: 800; 
  text-align: center;
  line-height: 1.2;
  margin: 0;
  color: #fff;
}

/* Container for Inputs + Arrow */
.form-container {
  display: flex;
  flex-direction: row;
  align-items: flex-end; 
  gap: 80px; 
}

/* The Input Fields */
.inputs-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 450px;
}

.clean-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #666; 
  color: #fff;
  font-family: 'Assistant', sans-serif;
  font-size: 28px;
  padding: 15px 0;
  text-align: right; 
  outline: none;
  transition: border-color 0.3s;
}

.clean-input::placeholder {
  color: #bbb;
}

.clean-input:focus {
  border-bottom: 1px solid #fff; 
}

/* --- ARROW ICON --- */
/* Note: We use specific nesting to avoid affecting other page arrows */
.contact-section .arrow-container {
  padding-bottom: 10px; 
}

.contact-section .arrow-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
  filter: invert(1) brightness(10); 
  margin-left: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

.contact-section .arrow-icon:hover {
  transform: scale(1.1);
}

/* --- RESPONSIVE FOR CONTACT --- */
@media (max-width: 1200px) {
  .info-bar {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .center-info {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .contact-wrapper {
    height: auto;
  }
  
  .contact-title {
    font-size: 40px; 
  }
  
  .inputs-wrapper {
    width: 300px;
  }

  .form-container {
    flex-direction: column-reverse; 
    align-items: center;
    gap: 40px;
  }
  
  .contact-section .arrow-icon {
    margin-top: 10px;
    width: 50px;
    height: 50px;
  }
}

/* =========================================
   MOBILE-SPECIFIC STYLES (max-width: 480px)
   Optimized for phone viewing
   ========================================= */

@media (max-width: 480px) {
  
  /* --- PAGE 1: HERO SECTION (Mobile) --- */
  .v329_52 {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .v329_55 {
    padding-top: 25vh;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
  }
  
  .center-group {
    padding: 0 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .v329_57 {
    font-size: 48px;
    line-height: 1.1;
  }
  
  .v329_58 {
    font-size: 18px;
    margin: 10px 0 20px 0;
  }
  
  .arrow-container {
    margin-top: 15px;
  }
  
  .arrow-icon {
    width: 50px;
    height: 50px;
  }
  
  .v329_59 {
    bottom: 10vh;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .v329_60, .v329_61 {
    font-size: 16px;
    text-align: center;
    width: 100%;
  }
  
  /* Enable phone link on mobile */
  a.v329_61 {
    pointer-events: auto;
    cursor: pointer;
  }

  /* --- PAGE 2: STUDIO SECTION (Mobile) --- */
  .main-wrapper {
    flex-direction: column-reverse;
    height: auto;
    min-height: 100vh;
  }
  
  .image-section {
    height: 40vh;
    min-height: 280px;
    flex: none;
    width: 100%;
  }
  
  .text-section {
    flex: none;
    width: 100%;
    height: auto;
    padding: 30px 20px;
    padding-top: 30px;
  }
  
  .content-box {
    max-width: 100%;
    text-align: right;
  }
  
  .main-title {
    font-size: 26px;
    margin-bottom: 20px;
    line-height: 1.3;
  }
  
  .description p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
  }
  
  .badges-container {
    bottom: 15px;
    left: 15px;
    gap: 10px;
  }
  
  .badge {
    width: 80px;
    height: 80px;
  }

  /* --- PAGE 3: KITCHENS SECTION (Mobile) --- */
  .v316_821 {
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .v355_63 {
    padding: 40px 15px 30px 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .v355_62 {
    font-size: 42px;
    margin-bottom: 10px;
  }
  
  .v355_60 {
    font-size: 12px;
    white-space: normal;
    line-height: 1.4;
    letter-spacing: 0.1em;
  }
  
  .v325_289 {
    flex-direction: column;
    padding: 0 15px;
    gap: 15px;
  }
  
  .v325_249, .v325_248, .v325_250 {
    width: 100%;
    height: 280px;
    min-height: 250px;
  }
  
  .v325_305 {
    width: 100%;
    padding: 40px 15px;
    gap: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  .v325_310 {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    max-width: 100%;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
    direction: ltr;
  }
  
  .v325_308, .v325_312 {
    font-size: 36px;
    text-align: center;
    white-space: normal;
    width: 100%;
    display: block;
    margin: 0 auto;
    direction: rtl;
  }
  
  .v325_316, .v325_318 {
    font-size: 16px;
    width: 100%;
    text-align: center;
    line-height: 1.5;
    display: block;
    margin: 0 auto;
    direction: rtl;
  }
  
  .name {
    margin: 5px 0;
  }

  /* --- PAGE 4: PROJECTS SECTION (Mobile) --- */
  .projects-container {
    width: 100%;
    padding: 20px 15px;
    gap: 15px;
  }
  
  .projects-header {
    padding-bottom: 5px;
    flex-direction: row-reverse;
  }
  
  .projects-title {
    font-size: 28px;
  }
  
  .back-arrow-container {
    width: 50px;
    height: 50px;
  }
  
  .projects-list {
    gap: 25px;
  }
  
  .project-card img {
    max-height: 60vh;
  }
  
  .img-counter {
    font-size: 12px;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
  }

  /* --- PAGE 5: GALLERY SECTION (Mobile) --- */
  .gallery-container {
    width: 100%;
    padding: 20px 15px;
    min-height: auto;
  }
  
  .gallery-header {
    margin-bottom: 15px;
    flex-direction: row-reverse;
  }
  
  .v325_361 {
    font-size: 32px;
  }
  
  .gallery-grid {
    gap: 10px;
    min-height: auto;
  }
  
  .gallery-row {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
  }
  
  .gallery-item {
    min-height: 220px;
  }
  
  .gallery-footer {
    padding-top: 15px;
  }
  
  .v325_362 {
    font-size: 22px;
  }
  
  /* Lightbox Mobile */
  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 36px;
  }

  /* --- PAGE 6: CONTACT SECTION (Mobile) --- */
  #page-6 {
    width: 100%;
    overflow-x: hidden;
  }
  
  .contact-wrapper {
    margin-top: 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .contact-hero-image {
    height: 35vh;
    min-height: 200px;
    width: 100%;
  }
  
  .info-bar {
    padding: 20px 15px;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    left: 0;
    right: 0;
  }
  
  .center-info {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
  }
  
  .info-item {
    font-size: 16px;
    text-align: center;
    /* width: 100%; */
    display: block;
    /* margin: 0 auto; */
    white-space: normal;
    word-wrap: break-word;
    /* padding: 0 10px; */
    box-sizing: border-box;
  }
  
  .copyright {
    font-size: 14px;
    order: 3;
  }
  
  .slogan {
    font-size: 18px;
    order: 1;
  }
  
  .contact-section {
    padding: 30px 15px;
    gap: 25px;
  }
  
  .contact-title {
    font-size: 26px;
    line-height: 1.4;
  }
  
  .form-container {
    flex-direction: column-reverse;
    align-items: center;
    gap: 25px;
    width: 100%;
  }
  
  .inputs-wrapper {
    width: 100%;
    max-width: 320px;
    gap: 20px;
  }
  
  .clean-input {
    font-size: 20px;
    padding: 12px 0;
  }
  
  .contact-section .arrow-container {
    padding-bottom: 0;
  }
  
  .contact-section .arrow-icon {
    width: 60px;
    height: 60px;
    margin-left: 0;
  }
}

/* =========================================
   SMALL MOBILE DEVICES (max-width: 360px)
   ========================================= */

@media (max-width: 360px) {
  .v329_57 {
    font-size: 38px;
  }
  
  .v329_58 {
    font-size: 16px;
  }
  
  .main-title {
    font-size: 22px;
  }
  
  .description p {
    font-size: 14px;
  }
  
  .v355_62 {
    font-size: 34px;
  }
  
  .v325_308, .v325_312 {
    font-size: 30px;
  }
  
  .v325_316, .v325_318 {
    font-size: 14px;
  }
  
  .projects-title {
    font-size: 24px;
  }
  
  .v325_361 {
    font-size: 26px;
  }
  
  .contact-title {
    font-size: 22px;
  }
  
  .clean-input {
    font-size: 18px;
  }
}

/* =========================================
   END OF MASTER CSS
   ========================================= */