/* project section start */

.projects-section {
  padding: 60px 20px;
  background-color: #fff;
}

.section-title.project {
  padding-top: 60px;
  text-align: center;
  color: #d41616;
  font-size: 48px;
  margin-bottom: 40px;
}

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

.project-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  padding-left: 120px;
}

.project-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-name {
  font-size: 24px;
  color: #222;
  margin-bottom: 10px;
  text-align: left;
}

.project-images {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.project-images img {
  width: 100%;
  max-width: 300px;
  height: auto;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.3s ease;
  flex: 1 1 calc(50% - 16px);
  box-sizing: border-box;
}

.project-images img:hover {
  transform: scale(1.05);
}

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

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.6);
  text-align: center;
  padding: 60px 20px 20px 20px;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 70%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Mobile modal styles */
@media (max-width: 768px) {
  .modal {
    padding: 20px;
  }

  .modal.show {
    align-items: center;
    justify-content: center;
    padding: 15px;
  }

  .modal-content {
    max-width: 95%;
    max-height: 85%;
    margin: 0;
  }

  .close {
    top: 10px;
    right: 15px;
    font-size: 30px;
  }

  .nav-btn {
    font-size: 30px;
    padding: 10px;
  }

  .prev {
    left: 10px;
  }

  .next {
    right: 10px;
  }
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.nav-btn:hover {
  color: #ff4d4d;
}

/* Responsive Design */
@media (max-width: 768px) {
  .project-item {
    padding-left: 40px;
    padding-right: 40px;
  }

  .section-title.project {
    font-size: 60px;
  }
}

@media (max-width: 600px) {
  .project-images img {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .section-title.project {
    font-size: 44px;
    padding-top: 40px;
  }

  .project-name {
    font-size: 20px;
    text-align: center;
  }

  .project-item {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* project section end */

/* Services Section */

/*Color Palette: Tailored for Studio13s aesthetic */
:root {
  --primary-color: #047857; /* emerald-700 */
  --secondary-color: #374151; /* gray-700 */
  --bg-light: #f9fafb;
  --bg-gray: #f3f4f6;
  --white: #ffffff;
  --text-light: #6b7280;
}

body {
  font-family: "Playfair Display", sans-serif;
  background-color: white;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 2.5rem;
}

.sub-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.services-section {
  background: white;
  padding: 5rem 1.5rem 3rem;
}

.toggle-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.toggle-btn,
.tier-btn {
  background: var(--bg-gray);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.toggle-btn.active,
.tier-btn.active {
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  color: var(--secondary-color);
}

.icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1.5rem;
  text-align: center;
  padding: 1rem;
}

/* DESIGN CONSULTATION */
.consultation-section {
  background-color: white;
  padding: 5rem 1.5rem;
}

.package-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  height: 500px;
}

@media (min-width: 768px) {
  .package-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.package-title {
  margin-top: -100px !important;
  font-size: 3rem !important;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.price {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.package-features {
  list-style-type: disc;
  list-style-position: outside;
  font-size: 0.8rem;
  line-height: 1.4;
  text-indent: 0;
  padding-left: 10px;
  margin: 0;
}

body {
  margin: 0;
  font-family: Playfair display, sans-serif;
  background-color: white;
}

.services-section,
.consultation-section {
  padding-top: 60px;
  padding-left: 16px;
  padding-right: 16px;
  background-color: white;
}

.consultation-section {
  background-color: white;
}

.section-title {
  text-align: center;
  font-size: 100px;
  color: #d41616;
  margin-bottom: 48px;
  font-family: "Playfair Display", serif;
  font-weight: 100;
}

.subsection-title,
.design-section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 100;
  color: black;
  margin-bottom: 32px;
}

.toggle-container {
  position: relative;
  width: fit-content;
  margin: auto;
}

.toggle-wrapper {
  position: relative;
  background: black;
  border-radius: 9999px;
  width: 700px; /* You can change this to make it wider */
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-option {
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  padding: 10px 0;
  flex: 1; /* Distribute space evenly */
  text-align: center;
  border-radius: 9999px;
  font-weight: bold;
  cursor: pointer;
  color: white;
  transition: color 0.3s ease;
}

.toggle-option.passive {
  color: white;
}

.toggle-option.active {
  color: white;
}

.toggle-background {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 10px); /* Auto-scale background to half width */
  background-color: #d41616; /* Red background */
  border-radius: 9999px;
  transition: all 0.3s ease;
  z-index: 1;
}

.icons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}

@media (min-width: 640px) {
  .icons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .icons-grid {
    grid-template-columns: repeat(5, 1fr);
    padding-left: 40px;
    padding-right: 40px;
  }
}

.services-section .section-title {
  margin-top: 30px;
  font-size: 44px;
}

.package-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .package-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.package-card {
  position: relative;
  height: 350px;
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #d41616;
  transition: transform 0.3s ease;
}

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

.package-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.package-title {
  margin-top: -100px !important;
  font-size: 8rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.package-title-luxe {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 30px;
  margin-left: 20%;
}

.package-price {
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.package-features {
  list-style-type: disc;
  list-style-position: outside;
  font-size: 0.8rem;
  line-height: 1.4;
  text-indent: 0;
  padding-left: 10px;
  margin: 0;
}

/* Fade effect for icons container */
#iconsContainer.fade-out {
  opacity: 0;
  transition: opacity 300ms ease;
}

#iconsContainer.fade-in {
  opacity: 1;
  transition: opacity 300ms ease;
}

/* Optional: Animate individual icon cards */
.icon-card {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.4s ease forwards;
}

#iconsContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
}

/* For the fade animation */
.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}

/* Common icon wrapper used in both layouts */
.icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 15px;
  width: 80px;
  text-align: center;
}

/* Icon image */
.icon-img {
  width: 100px !important;
  height: 100px !important;
  object-fit: contain;
}

/* Icon label */
.icon-label {
  margin-top: 6px;
  font-size: 13px;
}

/* Two-row layout */
.icon-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 150px;
}

/* Default grid layout */
.icon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 150px;
}

.icon-card:nth-child(1) {
  animation-delay: 0s;
}
.icon-card:nth-child(2) {
  animation-delay: 0.05s;
}
.icon-card:nth-child(3) {
  animation-delay: 0.1s;
}
.icon-card:nth-child(4) {
  animation-delay: 0.15s;
}
.icon-card:nth-child(5) {
  animation-delay: 0.2s;
}

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

/* Basic icon styles (add if not present) */
.icon-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.icon-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.icon-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
}

/* Responsive adjustments for icons */
@media (max-width: 640px) {
  .icons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 1rem;
  }

  .icon-img {
    width: 60px !important;
    height: 60px !important;
  }

  .icon-label {
    font-size: 0.75rem;
  }

  .icon-wrapper {
    width: 60px;
    margin: 10px;
  }
}

/* --- Mobile Responsiveness (max-width: 768px) --- */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .subsection-title,
  .design-section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .services-section,
  .consultation-section {
    padding: 3rem 1rem;
  }

  .toggle-wrapper {
    display: flex;
    flex-wrap: wrap; /* allow wrapping */
    justify-content: center;
    gap: 8px; /* spacing between buttons */
    background: black;
    border-radius: 9999px;
    padding: 5px;
    max-width: 100%;
    width: auto;
  }

  .toggle-option {
    flex: 1 1 auto; /* allow buttons to shrink/grow */
    min-width: 90px; /* ensure visibility on mobile */
    text-align: center;
    font-size: 0.75rem;
    padding: 8px 12px;
    white-space: nowrap;
  }

  .toggle-background {
    width: calc(50% - 6px);
  }

  /* --- MODIFIED FOR MOBILE: 3 columns --- */
  .icons-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0.5rem;
    justify-items: center;
  }

  .icon-img {
    width: 60px !important;
    height: 60px !important;
  }

  .icon-label {
    font-size: 0.75rem;
  }

  .icon-wrapper {
    width: 60px;
    margin: 10px;
  }

  .package-card {
    height: 300px !important;
    max-width: 100%;
  }

  .package-title {
    font-size: 3rem !important;
  }

  .package-title .luxe {
    font-size: 3rem !important;
  }

  .package-features {
    font-size: 0.75rem;
    text-indent: 0;
    list-style-position: outside;
    padding-left: 8px;
    margin: 0;
  }

  .package-overlay {
    padding: 16px;
  }

  .toggle-group {
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0 1rem;
  }

  .toggle-btn,
  .tier-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }
}

/* Ultra-small devices (like phones) */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.75rem;
  }

  .subsection-title,
  .design-section-title {
    font-size: 1.25rem;
  }

  /* --- MODIFIED FOR MOBILE: 3 columns --- */
  .icons-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0.5rem;
    justify-items: center;
  }

  .icon-img {
    width: 50px !important;
    height: 50px !important;
  }

  .icon-label {
    font-size: 0.7rem;
  }

  .package-title {
    font-size: 1.5rem;
  }

  .package-card {
    height: 250px;
  }

  .toggle-wrapper {
    max-width: 300px;
  }
}

/* services section end */

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

/* Base */
body {
  font-family: "Playfair Display", serif !important;
}

.navbar {
  background-color: #ffffff;
  border-bottom: 2px solid #d41616;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 140px; /* Increased height for bigger logo */
  padding: 0;
  overflow: hidden;
}

.logo {
  height: 140px; /* Increased height for bigger logo */
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 200px; /* Increased max-height */
  width: auto;
  object-fit: contain;
  display: block;
  margin-left: 0px;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  height: 100%;
  padding: 0 0;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin-left: 400px;
  gap: 20px;
}

.nav-links a {
  position: relative;
  text-decoration: none !important;
  color: #000000;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
  padding-bottom: 4px;
  font-family: "Playfair Display", serif;
  font-size: 20px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #d41616;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #d41616;
}

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

.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 1280px) {
  .navbar {
    background-color: #ffffff;
    border-bottom: 2px solid #d41616;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 140px; /* Increased height for bigger logo */
    padding: 0;
    overflow: hidden;
  }

  .logo {
    height: 100px; /* Increased height for bigger logo */
    padding: 0;
    display: flex;
    align-items: center;
  }

  .logo img {
    max-height: 150px;
    width: auto;
    object-fit: contain;
    display: block;
  }

  .navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    height: 100%;
    padding: 0 0;
  }

  .nav-links {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin-left: 150px;
    gap: 15px;
  }

  .nav-links a {
    position: relative;
    text-decoration: none !important;
    color: #000000;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
    padding-bottom: 4px;
    font-family: "Playfair Display", serif;
    font-size: 20px;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #d41616;
    transition: width 0.3s ease;
  }

  .nav-links a:hover {
    color: #d41616;
  }

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

  .hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }
}

/* mobile Navbar */
@media (max-width: 900px) {
  .navbar-container {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    height: auto;
    padding: 10px 12px;
    gap: 470px;
    position: relative;
    height: 80px; /* Ensure full height for hamburger */
  }

  .logo {
    order: 0;
    flex: 0 0 auto;
    min-width: 0;
    display: flex;
    align-items: center; /* Center vertically */
    height: 140px; /* Ensure full navbar height */
  }

  .logo img {
    max-height: 150px;
    width: auto;
    display: block;
  }

  .hamburger {
    display: block;
    font-size: 56px;
    background: none;
    border: none;
    cursor: pointer;
    color: #d41616;
    margin-right: 0;
    z-index: 1003;
    padding: 8px;
    transition: color 0.2s;
    position: relative;
    order: 1;
    display: flex;
    align-items: center; /* Center vertically */
    height: 80px; /* Ensure full navbar height */
    margin-bottom: 20px;
  }

  .nav-links {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100vw;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-left: 0;
    padding: 24px 20px 16px 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid #d41616;
    display: none;
    z-index: 1002;
    transition: all 0.3s;
    max-height: 0;
    overflow: hidden;
    display: none;
  }

  .nav-links.show {
    display: flex;
    animation: fadeInNav 0.3s;
    max-height: 500px;
    overflow: visible;
  }

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

  .nav-links a {
    font-size: 20px;
    padding: 10px 0;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #eee;
  }

  .hamburger {
    display: block;
  }

  .navbar {
    position: relative;
    z-index: 1000;
    overflow: visible; /* don't clip children */
    display: flex;
    flex-direction: column; /* stack logo and menu */
    height: auto; /* allow height to adjust */
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; /* Places it just below the navbar */
    left: 0;
    width: 100%;
    background-color: white;
    display: none;
    flex-direction: column;
    text-align: center;
    z-index: 999;
  }

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

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    height: auto;
    padding: 10px 12px;
    gap: 144px;
    position: relative;
    margin-left: 50px;
    height: 80px; /* Ensure full height for hamburger */
  }

  .logo {
    order: 0;
    flex: 0 0 auto;
    min-width: 0;
    margin-right: auto;
    margin-left: 40px;
    display: flex;
    align-items: center; /* Center vertically */
    height: 140px; /* Ensure full navbar height */
  }

  .logo img {
    max-height: 120px;
    width: auto;
    display: block;
  }

  .hamburger {
    display: block;
    font-size: 56px;
    background: none;
    border: none;
    cursor: pointer;
    color: #d41616;
    margin-left: 40px;
    margin-right: 0;
    z-index: 1003;
    padding: 8px;
    transition: color 0.2s;
    position: relative;
    order: 1;
    display: flex;
    align-items: center; /* Center vertically */
    height: 80px; /* Ensure full navbar height */
    margin-bottom: 20px;
  }

  .nav-links {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100vw;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-left: 0;
    padding: 24px 20px 16px 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid #d41616;
    display: none;
    z-index: 1002;
    transition: all 0.3s;
    max-height: 0;
    overflow: hidden;
    display: none;
  }

  .nav-links.show {
    display: flex;
    animation: fadeInNav 0.3s;
    max-height: 500px;
    overflow: visible;
  }

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

  .nav-links a {
    font-size: 20px;
    padding: 10px 0;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #eee;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navbar {
    position: relative;
    z-index: 1000;
    overflow: visible; /* don't clip children */
    display: flex;
    flex-direction: column; /* stack logo and menu */
    height: auto; /* allow height to adjust */
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; /* Places it just below the navbar */
    left: 0;
    width: 100%;
    background-color: white;
    display: none;
    flex-direction: column;
    text-align: center;
    z-index: 999;
  }

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

/* SLIDES */
/* Base font */
body {
  margin: 0;
  padding: 0;
  background: white;
  font-family: "Playfair Display", serif;
}

.slider-wrapper {
  position: relative;
  max-width: 85%;
  margin: 40px auto;
  background: white;
  box-sizing: border-box;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 140px;
  padding-bottom: 80px;
}

/* Navigation arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(212, 22, 22, 0.8);
  color: white;
  border: none;
  font-size: 20px;
  padding: 10px 14px;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-nav:hover {
  background: rgba(212, 22, 22, 1);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 15px;
}

.slider-next {
  right: 15px;
}

/* Navigation dots */
.slider-dots {
  text-align: center;
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 25px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: rgba(212, 22, 22, 0.3);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot.active {
  background-color: #d41616;
  border-color: #d41616;
  transform: scale(1.2);
}

.dot:hover {
  background-color: rgba(212, 22, 22, 0.7);
  transform: scale(1.1);
}

.image-frame {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
  height: 80vh; /* Increased from 75vh */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 50px;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slides {
  display: none;
  width: 100%;
  height: 65vh; /* Ensure this matches .image-frame */
  margin: 0;
  padding: 0;
}

.slides.active {
  display: block;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.slides,
.image-frame,
.image-frame img {
  margin: 0;
  padding: 0;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .slider-wrapper {
    max-width: 98%;
    margin: 24px auto;
    padding-bottom: 70px;
    margin-bottom: 120px;
  }
  .image-frame {
    height: 65vh;
    padding-bottom: 24px;
  }
  .slides {
    height: 40vh;
  }

  .slider-nav {
    font-size: 16px;
    padding: 12px 10px;
    width: 38px;
    height: 38px;
  }

  .slider-prev {
    left: 8px;
    padding-top: 12px !important;
  }

  .slider-next {
    right: 8px;
  }

  .slider-dots {
    bottom: -45px;
    padding: 8px 20px;
  }

  .dot {
    height: 10px;
    width: 10px;
    margin: 0 4px;
  }
}

@media (max-width: 600px) {
  .slider-wrapper {
    max-width: 100%;
    margin: 12px auto;
    box-shadow: none;
    margin-bottom: 100px;
    padding-bottom: 80px; /* Increased to accommodate lower dots */
  }
  .image-frame {
    height: 45vh;
    padding-bottom: 12px;
  }
  .slides {
    height: 22vh;
  }
  .slides img,
  .image-frame img {
    border-radius: 8px;
  }

  .slider-nav {
    font-size: 14px;
    padding: 12px 8px;
    width: 32px;
    height: 32px;
    top: 60%; /* Move arrows lower on mobile */
  }

  .slider-prev {
    left: 5px;
    padding-top: 12px !important;
  }

  .slider-next {
    right: 5px;
  }

  .slider-dots {
    bottom: -97px; /* Move dots further down on mobile */
    padding: 8px 18px;
  }

  .dot {
    height: 8px;
    width: 8px;
    margin: 0 3px;
  }
}

/* PROJECTS SLIDER STYLES */
.projects-slider-wrapper {
  position: relative;
  width: 100%;
}

/* Default: Show all projects on desktop */
.project-slide {
  display: block;
  margin-bottom: 30px;
}

/* Make sure project items inside slider are visible by default */
.projects-slider-wrapper .project-item {
  opacity: 1;
  transform: translateY(0);
}

/* Hide navigation elements by default */
.projects-nav,
.projects-dots {
  display: none;
}

/* Mobile styles for projects slider */
@media (max-width: 768px) {
  /* Show only one project at a time on mobile */
  .project-slide {
    display: none;
  }

  .project-slide.active {
    display: block;
  }

  /* Ensure project items in slider are always visible on mobile */
  .projects-slider-wrapper .project-item {
    opacity: 1 !important;
    transform: translateY(0) !important;
    padding-left: 20px; /* Reduce padding on mobile */
  }

  /* Mobile grid layout for project images - 2x2 grid */
  .projects-slider-wrapper .project-images {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    grid-template-rows: 1fr 1fr; /* 2 rows */
    gap: 12px;
    padding: 0 10px;
  }

  .projects-slider-wrapper .project-images img {
    width: 100%;
    height: 150px; /* Fixed height for uniform grid */
    object-fit: cover;
    border-radius: 8px;
    max-width: none;
  }

  /* Project name styling for mobile */
  .projects-slider-wrapper .project-name {
    font-size: 20px;
    text-align: center;
    margin-bottom: 15px;
    padding: 0 20px;
  }

  /* Show navigation elements on mobile */
  .projects-nav {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(212, 22, 22, 0.7);
    color: white;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
    z-index: 100;
    transition: background-color 0.3s ease;
  }

  .projects-nav:hover {
    background-color: rgba(212, 22, 22, 0.9);
  }

  .projects-prev {
    left: 10px;
  }

  .projects-next {
    right: 10px;
  }

  /* Projects dots navigation */
  .projects-dots {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 20px;
    padding: 10px;
    gap: 8px;
  }

  .projects-dots-row {
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .project-dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bdc3c7;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .project-dot.active {
    background-color: #d41616;
  }

  .project-dot:hover {
    background-color: #d41616;
  }
}

/*About Us Section*/
/* Layout for About Us */
.about-us-section {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
  background: white;
  position: relative;
  z-index: 2;
}

.bg-dots {
  background-image: radial-gradient(#ccc 1px, transparent 1.8px);
  background-size: 18px 18px;
  flex: 1 1 50%;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  box-sizing: border-box;
  position: relative;
}

.about-us-images {
  flex: 1 1 50%;
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.about-us-images img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.title-sub {
  font-size: 1rem;
  color: #888;
}
.title-1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #000;
  padding-bottom: 0.5rem;
}

.media_text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #555;
  font-weight: 1000;
  margin-bottom: 1.5rem;
}

/* Button */
.au-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #d41616;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.au-btn:hover {
  background-color: #b31212;
}

@media screen and (max-width: 768px) {
  #about {
    margin-left: 0;
    padding: 30px 20px 20px 20px; /* bottom padding increased */
    margin-top: 400px;
  }

  #about .container {
    flex-direction: column;
  }

  #about .col-lg-5,
  #about .col-lg-7 {
    width: 100%;
    margin-left: 0;
  }

  .col-lg-5 img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    margin-left: 40px;
  }

  .team-section {
    margin-top: 40px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
    position: relative;
    z-index: 20 !important; /* ensures grid is above the dots background */
  }

  .augrid {
    background: white;
    display: grid;
    position: relative;
    z-index: 20 !important; /* ensures grid is above the dots background */
    margin-bottom: 20px;
  }

  .auimage {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  }
  /* Prevent any overflow */
  * {
    box-sizing: border-box;
  }
}

/*testimonials section*/
.testimonial-section {
  position: relative;
  overflow: hidden;
  padding: 3rem 1rem;
  background-color: white;
}

.testimonial-section .section-title.testimonial {
  position: relative;
  z-index: 3;
  text-align: center;
  font-size: 48px;
  margin-bottom: 2rem;
  margin-top: 30px; /* Added top margin to push title down */
  color: #d41616;
}

.testimonial-bg {
  position: absolute;
  inset: 0;
  width: 80%;
  height: 500px;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 1s ease;
  margin-left: 150px;
  margin-top: 150px; /* Reduced top margin to avoid overlap */
  z-index: 1; /* Ensure background stays behind title */
}

.testimonial-content-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.9);
  width: 100%;
  max-width: 500px;
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin: 2.5rem;
  border: 1px solid #e5e7eb;
  backdrop-filter: blur(10px);
  transition: all 0.7s ease;
  margin-top: 350px;
}

.testimonial-quote {
  color: #4b5563;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.6;
}

.testimonial-credit {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}

.testimonial-name {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
}

.testimonial-title {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}

.testimonial-nav {
  margin-top: -50px;
  display: flex;
  justify-content: space-between;
}

.testimonial-btn {
  background-color: #d41616;
  padding: 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.testimonial-btn:hover {
  background-color: #d41616;
}

.underline {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .testimonial-section .section-title.testimonial {
    font-size: 2.5rem !important;
    margin-bottom: 2.2rem; /* Increased for more vertical space */
    color: #d41616; /* Ensure title is visible */
  }
  .testimonial-bg {
    width: 100%;
    height: 180px;
    margin-left: 0;
    margin-top: 60px;
    border-radius: 1rem;
    object-fit: cover;
    background-size: contain;
    background-position: center;
  }
  .testimonial-card {
    max-width: 95vw;
    padding: 2rem; /* Increased padding */
    margin: 2rem auto; /* Increased margin */
    margin-top: 40px; /* Increased top margin */
    border-radius: 1rem;
  }
  .testimonial-content-wrapper {
    margin-top: 100px; /* Increased top margin */
  }
}
@media (max-width: 600px) {
  .testimonial-section {
    padding: 2.5rem 4px; /* Increased vertical padding */
    display: flex;
    flex-direction: column;
  }
  .testimonial-section .section-title.testimonial {
    font-size: 1.5rem;
    margin-bottom: 2rem; /* Fixed: reduced from 400px to reasonable margin */
    color: #d41616; /* Ensure title is visible */
    position: relative;
    z-index: 20; /* Higher z-index to appear above image */
    order: 1; /* Display first */
    margin-top: 0px; /* Reduced top margin */
  }
  .testimonial-bg {
    width: 100%;
    height: 300px; /* Keep original height */
    margin-left: 0;
    margin-top: 0px;
    border-radius: 0.5rem;
    z-index: 1;
    order: 2;
    position: absolute;
    top: 120px;
    background-size: contain; /* Use contain to prevent zoom/crop */
    background-position: center;
    background-repeat: no-repeat;
  }
  .testimonial-content-wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    margin-top: 250px; /* Remove top margin */
    order: 3; /* Display third */
    position: relative;
    z-index: 10;
  }
  .testimonial-card {
    max-width: 100vw;
    padding: 1.5rem; /* Increased padding */
    margin: 1.5rem auto; /* Increased margin */
    margin-top: 10px; /* Increased top margin */
    border-radius: 0.7rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }
  .testimonial-quote {
    font-size: 1.05rem; /* Slightly larger */
    margin-bottom: 1.5rem; /* More space below quote */
  }
  .testimonial-name {
    font-size: 1.1rem;
    margin-top: 1rem; /* More space above name */
  }
  .testimonial-title,
  .testimonial-credit {
    font-size: 0.8rem;
    margin-bottom: 0.5rem; /* More space below */
  }
  .testimonial-nav {
    margin-top: -55px; /* More space above nav */
  }
  .testimonial-btn {
    padding: 0.7rem;
    font-size: 1.1rem;
  }
}

/* happy */
.why-choose-section {
  background-color: #fff;
  padding-top: 8rem;
}

.why-choose-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .why-choose-container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
  }
}

.why-choose-box {
  background: #d41616;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  padding: 4rem 2rem;
  flex: 1;
  position: relative;
  z-index: 1;
  width: 60%;
}

.why-choose-title {
  font-size: 2rem;
  font-weight: 700;
  color: black;
  margin-bottom: 1.5rem;
}

.why-choose-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: white;
}

.why-choose-stats {
  background-color: black;
  color: white;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 40%;
  max-width: 500px;
  position: absolute;
  top: -70px; /* lifts it above */
  right: -20px; /* places it toward the right corner of the box */
  z-index: 2;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 767px) {
  .why-choose-container {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    position: relative;
  }

  .why-choose-stats {
    width: 90%;
    margin: 0 auto;
    margin-bottom: -1.5rem; /* pull down into red box slightly */
    transform: translateY(-1.5rem); /* lifted effect on top */
    background-color: black;
    border-radius: 1rem;
    padding: 2rem 1.2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    z-index: 2; /* 🟢 now on top */
    position: relative;
  }

  .why-choose-box {
    width: 100%;
    border-radius: 1rem 1rem 0 0;
    padding: 2rem 1rem 6rem 1rem;
    position: relative;
    z-index: 1; /* 🔴 now behind */
    margin-top: 5rem;
  }

  .stat {
    text-align: center;
    flex: 1;
    padding: 0 0.5rem;
  }

  .stat-number {
    font-size: 1.6rem;
    font-weight: 800;
  }

  .stat-label {
    font-size: 0.85rem;
    font-weight: 500;
  }
}
/* contact */
body {
  font-family: "Playfair Display", serif;
  background-color: #f8f8f8;
  margin: 0;
  padding: 0;
  color: #111;
}

.contact-section {
  padding: 60px 20px;
  background-color: #f3f3f3;
}

.contact-box {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 40px;
}

.contact-heading {
  font-size: 36px;
  color: #d41616;
  margin-bottom: 40px;
  text-align: left;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background-image: radial-gradient(#aaa 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.contact-item h3 {
  font-size: 20px;
  color: #d41616;
  margin-bottom: 8px;
}

.contact-item p,
.contact-item a {
  font-size: 16px;
  color: #333;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
  color: #d41616;
}

.map-container {
  width: 100%;
  height: 400px;
  border: 2px solid #d41616;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.button-wrap {
  text-align: center;
}

.contact-button {
  background-color: #d41616;
  color: white;
  text-transform: uppercase;
  padding: 12px 30px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.contact-button:hover {
  background-color: #a51212;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-box {
    padding: 20px;
  }
  .contact-grid {
    gap: 16px;
    padding: 16px;
  }
  .map-container {
    height: 250px;
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
    padding: 12px;
  }

  .contact-heading {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 28px;
    margin-bottom: 24px;
  }

  .contact-grid {
    grid-column: 1 / 2;
    gap: 18px;
    padding: 12px;
    margin-bottom: 0;
    height: 100%;
  }

  .map-container {
    grid-column: 2 / 3;
    height: 300px !important; /* Elongated height */
    border-radius: 8px;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    display: flex;
    align-items: stretch;
  }

  .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }

  .text-center.mt-10 {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
    text-align: center;
    width: 100%;
    padding-left: 0;
  }

  .inquiry-button {
    font-size: 14px;
    padding: 10px 18px;
    width: 80%;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 24px 4px;
  }
  .contact-box {
    padding: 6px;
    border-radius: 8px;
  }
  .contact-heading {
    font-size: 20px;
    margin-bottom: 12px;
  }
  .contact-grid {
    gap: 10px;
    padding: 4px;
    margin-bottom: 12px;
  }
  .map-container {
    height: 120px;
    border-radius: 6px;
    margin-bottom: 10px;
  }
  .contact-item h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }
  .contact-item p,
  .contact-item a {
    font-size: 13px;
  }
  .contact-button {
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 4px;
  }
}

/* Contact Form */
.contact-form {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-heading {
  font-size: 28px;
  color: #d41616;
  margin-bottom: 30px;
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.form-group.full {
  grid-column: span 2;
}

label {
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
}

input,
textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  font-family: "Playfair Display", serif;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #d41616;
  outline: none;
}

.form-button-wrap {
  margin-top: 30px;
  text-align: center;
}

.inquiry-button {
  background-color: #d41616;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  margin-bottom: 16px;
}

.inquiry-button:hover {
  background-color: #b81010;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Contact Form Responsive */
@media (max-width: 900px) {
  .contact-form {
    padding: 20px;
  }
  .form-heading {
    font-size: 22px;
    margin-bottom: 18px;
  }
  .form-grid {
    gap: 12px;
  }
  .inquiry-button {
    font-size: 1rem;
    padding: 10px 18px;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
  }

  .contact-item {
    flex: 1 1 100%;
  }

  /* Group all contact items together */
  .contact-grid::before {
    content: "";
    flex: 1 1 48%;
    display: block;
  }

  .map-container {
    flex: 1 1 48%;
    height: 200px;
    margin-top: 12px;
    border-radius: 8px;
  }

  .map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
  }

  .text-center.mt-10 {
    width: 100%;
    text-align: left;
    margin-top: 16px;
    padding-left: 12px;
  }

  .inquiry-button {
    font-size: 14px;
    padding: 10px 18px;
    width: 80%;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 4px;
    border-radius: 6px;
  }
  .form-heading {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .form-grid {
    gap: 6px;
  }
  label {
    font-size: 13px;
    margin-bottom: 4px;
  }
  input,
  textarea {
    font-size: 13px;
    padding: 7px;
    border-radius: 4px;
  }
  .form-button-wrap {
    margin-top: 8px;
  }
  .inquiry-button {
    font-size: 0.9rem;
    padding: 8px 0;
    width: 60%;
    margin-bottom: 6px;
  }
}

/*footer */
.footer {
  background-color: #000;
  color: white;
  padding: 60px 40px 20px;
  font-family: "Playfair Display", serif;
  position: relative;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  align-items: center;
  text-align: center;
}

.footer-logo {
  font-size: 28px;
  color: #d41616;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-text {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 10px;
}

.footer-text a {
  color: #d41616;
  text-decoration: none;
}

.footer-text a:hover {
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-right: 130px;
}

.social-icon {
  background: white;
  color: #d41616;
  font-size: 22px;
  padding: 14px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #d41616;
  color: white;
  transform: scale(1.15);
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 15px;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  position: relative;
  color: #ccc;
  text-decoration: none;
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #d41616;
  transition: width 0.3s;
}

.footer-links a:hover::after {
  width: 100%;
}

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

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #333;
  color: #aaa;
  font-size: 14px;
  margin-top: 20px;
  width: 100%;
}

/* Scroll to Top Button */
#backToTopBtn {
  background: #d41616;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 16px;
  transition: background 0.3s;
}

#backToTopBtn:hover {
  background: #a80e0e;
}

/* Responsive layout */
@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    justify-content: space-between;
  }

  .footer-left {
    width: 35%;
  }

  .footer-socials {
    width: 25%;
    justify-content: center;
  }

  .footer-right {
    width: 25%;
    padding-left: 0;
    text-align: right;
  }
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .footer {
    padding: 40px 16px 16px;
  }
  .footer-container {
    gap: 24px;
    padding: 0;
  }
  .footer-logo {
    font-size: 22px;
    margin-bottom: 12px;
  }
  .footer-heading {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .footer-text {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .footer-links li {
    margin-bottom: 6px;
  }
  .footer-links a {
    font-size: 15px;
  }
  .footer-socials {
    gap: 16px;
    margin-left: 120px;
  }
  .social-icon {
    font-size: 18px;
    padding: 10px;
  }
  .footer-left,
  .footer-right {
    width: 100%;
    padding: 0;
  }
  #backToTopBtn {
    top: auto;
    bottom: 16px;
    right: 16px;
    position: fixed;
    z-index: 99;
    font-size: 18px;
    padding: 12px;
  }
  .footer-bottom {
    font-size: 13px;
    padding-top: 14px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 20px 4px 8px;
  }
  .footer-container {
    gap: 12px;
    padding: 0;
  }
  .footer-logo {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .footer-heading {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .footer-text {
    font-size: 12px;
    margin-bottom: 4px;
  }
  .footer-links li {
    margin-bottom: 3px;
  }
  .footer-links a {
    font-size: 12px;
  }
  .footer-socials {
    gap: 8px;
  }
  .social-icon {
    font-size: 13px;
    padding: 6px;
  }
  .footer-left,
  .footer-right {
    width: 100%;
    padding: 0;
  }
  #backToTopBtn {
    font-size: 14px;
    padding: 8px;
  }
  .footer-bottom {
    font-size: 11px;
    padding-top: 6px;
  }
}

/* careers */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap");

/* IMPORT PLAYFAIR DISPLAY FONT */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&display=swap");

/* BASE STYLE */
body {
  font-family: "Playfair Display", serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
  color: #000000;
}

/* SECTION */
.careers-section {
  padding: 60px 20px 100px;
  background-color: #f8f8f8;
  color: #fff;
}

.careers-box {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px;
  margin-bottom: 30px;
  border: 2px solid #d41616;
  border-radius: 20px;
  background-color: #ffffff;
  color: #000;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* HEADINGS */
.careers-heading {
  font-size: 2.8rem;
  color: #d41616;
  text-align: center;
  margin-bottom: 30px;
}

.careers-intro {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.6;
}

/* GRID LAYOUT */
.careers-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.career-item {
  border-left: 4px solid #d41616;
  padding-left: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.career-item:hover {
  transform: translateY(-5px);
}

.career-item h4 {
  color: #d41616;
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.career-item p,
.career-item ul {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.career-item ul {
  padding-left: 20px;
  list-style-type: disc;
}

.career-item li {
  margin-bottom: 8px;
}

/* BUTTON */
.apply-button {
  text-decoration: none;
}

.inquiry-button {
  background-color: #d41616;
  color: #ffffff;
  padding: 12px 30px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-family: "Playfair Display", serif;
}

.inquiry-button:hover {
  background-color: #a90f0f;
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .careers-section {
    padding: 30px 10px 60px;
  }
  .careers-box {
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 12px;
  }
  .careers-heading {
    font-size: 2rem;
    margin-bottom: 18px;
  }
  .careers-intro {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  .careers-list {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 24px;
  }
  .career-item {
    padding: 14px;
    font-size: 0.95rem;
    border-radius: 6px;
  }
  .career-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .inquiry-button {
    width: 80%;
    font-size: 1rem;
    padding: 12px 0;
  }
}

@media (max-width: 480px) {
  .careers-section {
    padding: 16px 4px 32px;
  }
  .careers-box {
    padding: 8px;
    border-radius: 10px;
  }
  .careers-heading {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .careers-intro {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }
  .career-item {
    padding: 8px;
    font-size: 0.9rem;
    border-radius: 4px;
  }
  .career-item h4 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  .inquiry-button {
    font-size: 0.95rem;
    padding: 10px 0;
    width: 60%;
  }
}
