/* Google Fonts: Poppins (primary font) & Inter (fallback/utility) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Colors */
  --color-primary: #0e3d8b;
  /* Robbialac Blue */
  --color-secondary: #ff5e14;
  /* Orange/Red highlight */
  --color-accent: #ffb800;
  /* Warm yellow */
  --color-text-dark: #1e293b;
  /* Dark neutral slate-800 */
  --color-text-muted: #64748b;
  /* Muted slate-500 */
  --color-bg-light: #f8fafc;
  /* Light section backgrounds slate-50 */
  --color-border: #e2e8f0;
  /* Divider slate-200 */

  /* Fonts */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;

  /* Rainbow line colors */
  --rainbow-gradient: linear-gradient(to right,
      #0e3d8b,
      #2ea64f,
      #ffd000,
      #ff5e14,
      #e61a27,
      #7a3194,
      #0e3d8b);
}

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

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-text-dark);
  background-color: #f5eee9;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 60px;
  font-weight: 600;
  color: #0B2056;
  line-height: 1.06;
  letter-spacing: 0;
}

h2,
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 55px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  color: #11329A;
  text-align: center;
}

/* Rainbow Line at Very Top */
.rainbow-top-bar {
  height: 5px;
  width: 100%;
  background: var(--rainbow-gradient);
  background-size: 200% 100%;
  animation: rainbow-flow 8s linear infinite;
  position: fixed;
  z-index: 1050;
}

@keyframes rainbow-flow {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: -200% 0%;
  }
}

/* Header Styles */
.site-header {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.header-container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 105px;
  /* Adjust header height to fit double-bar */
}

.header-left {
  display: flex;
  align-items: center;
}

.logo-link {
  display: inline-block;
}

.logo {
  height: 95px;
  width: auto;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  flex-grow: 1;
  padding-left: 30px;
  gap: 30px;
}

.header-nav-column {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header-top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.top-link {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.top-link i {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.top-link:hover,
.top-link:hover i {
  color: var(--color-primary);
}

.header-main-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  padding-top: 10px;
  gap: 12px;
}

.header-actions {
  display: flex;
  align-items: center;
}

/* Main Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.main-nav a i {
  font-size: 10px;
  color: var(--color-text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.main-nav a:hover i {
  color: var(--color-primary);
  transform: rotate(180deg);
}

/* Search Button */
.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dark);
  font-size: 16px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.search-btn:hover {
  color: var(--color-primary);
  transform: scale(1.1);
}

/* Primary Button (Header & Hero) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #0b3495;
  color: #ffffff;
  padding: 8px 8px 8px 28px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(11, 52, 149, 0.2);
  gap: 12px;
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: #082670;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 52, 149, 0.3);
}

.btn-primary-circle {
  width: 26px;
  height: 26px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.btn-primary-circle svg {
  width: 12px;
  height: 12px;
  stroke: #0b3495;
  stroke-width: 3;
}

.btn-primary:hover .btn-primary-circle {
  transform: scale(1.05);
}

/* Premium fly-out, fly-in animation for hover */
.btn-primary:hover .btn-primary-circle svg {
  animation: arrow-fly 0.4s ease forwards;
}

@keyframes arrow-fly {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }

  49% {
    transform: translate(15px, -15px);
    opacity: 0;
  }

  50% {
    transform: translate(-15px, 15px);
    opacity: 0;
  }

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 20px;
    height: 90px;
  }

  .logo {
    height: 55px;
  }

  .main-nav ul {
    gap: 16px;
  }

  .header-main-bar {
    gap: 15px;
  }

  .btn-primary {
    padding: 8px 8px 8px 18px;
    font-size: 13px;
    gap: 1rem;
  }

  .btn-primary-circle {
    width: 32px;
    height: 32px;
  }
}

/* Hero Section Styles */
.hero-section {
  width: 100%;
  background-color: #f5eee9;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 1140;
  max-width: 1920px;
  display: block;
}

/* About Section Styles */
.about-section {
  width: 100%;
  background-color: #f5eee9;
  padding: 80px 0 80px 0;
  overflow: hidden;
}

.about-container {
  margin: 0 auto;
  padding: 0 40px 0 227px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}


.about-content {
  width: 55%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-title {
  margin-bottom: 25px;
}

.about-title span.brand-pink {
  animation: text-gradient-flow 20s linear infinite;
  font-weight: 600;
}

@keyframes text-gradient-flow {
  0% {
    color: #133198;
  }

  14% {
    color: #ff7b00;
  }

  28% {
    color: #ffd500;
  }

  42% {
    color: #00c853;
  }

  57% {
    color: #00b0ff;
  }

  71% {
    color: #2962ff;
  }

  85% {
    color: #d500f9;
  }

  100% {
    color: #133198;
  }
}


.btn-more-about {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #11329A33;
  color: #000000;
  text-decoration: none;
  padding: 6px 6px 6px 18px;
  border-radius: 50px;
  margin-bottom: 45px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-more-about .arrow-circle {
  width: 28px;
  height: 28px;
  background-color: #11329A;
  /* Deep blue badge */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  /* White arrow */
  transition: transform 0.3s ease;
}

.btn-more-about .arrow-circle i {
  font-size: 11px;
  transition: transform 0.3s ease;
}

.btn-more-about:hover {
  background-color: #ded6ce;
  /* Darker beige on hover */
  transform: translateY(-1px);
}

.btn-more-about:hover .arrow-circle i {
  transform: translateX(3px);
}

.about-swiper-container {
  width: 100%;
  max-width: 550px;
}

.about-swiper {
  width: 100%;
  padding-bottom: 40px !important;
}

.about-swiper .swiper-slide {
  height: auto;
}

.about-swiper .slide-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 323 / 210;
  display: block;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* Custom Swiper Pagination Styling (Dashes) */
.about-swiper .swiper-pagination-bullets {
  bottom: 0px !important;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.about-swiper .swiper-pagination-bullet {
  background: #c3bbb3 !important;
  /* Beige/grey bullet */
  opacity: 1 !important;
  width: 12px !important;
  height: 4px !important;
  border-radius: 2px !important;
  margin: 0 6px 0 0 !important;
  transition: all 0.3s ease !important;
}

.about-swiper .swiper-pagination-bullet-active {
  background: #11329A !important;
  /* Active deep blue */
  width: 24px !important;
}

.about-image-wrap {
  width: 45%;
  display: flex;
  justify-content: flex-end;
}

.about-right-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1019 / 780;
  display: block;
  border-radius: 20px;
}

/* About Section Responsive */
@media (max-width: 1024px) {
  .about-container {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
  }

  .about-content {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .about-title {
    font-size: 38px;
  }

  .btn-more-about {
    margin-bottom: 35px;
  }

  .about-swiper-container {
    max-width: 100%;
  }

  .about-swiper .swiper-pagination-bullets {
    justify-content: center;
  }

  .about-image-wrap {
    width: 100%;
    justify-content: center;
  }

  .about-right-img {
    max-width: 80%;
  }
}

@media (max-width: 576px) {
  .about-section {
    padding: 60px 0;
  }

  .about-title {
    font-size: 30px;
  }

  .about-right-img {
    max-width: 100%;
  }
}

/* New About Us Features */
.about-description {
  color: #64748b;
  margin-bottom: 30px;
  max-width: 90%;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  width: 100%;
  margin-top: 10px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  color: #0B2056;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 15px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.5;
  letter-spacing: 0;
}

@media (max-width: 1024px) {
  .about-description {
    max-width: 100%;
  }

  .about-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .about-features-grid {
    grid-template-columns: 1fr;
  }
}

/* Interactive Tools Section Styles */
.interactive-tools-section {
  width: 100%;
  background-color: #f5eee9;
  padding: 40px 0 80px 0;
}

.interactive-tools-container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 40px;
}

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

.tool-card-left,
.tool-card-right {
  height: 100%;
}

.tool-card-left img,
.tool-card-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card-right img {
  flex: 1;
  min-height: 0;
}

.tool-card-left img:hover,
.tool-card-right img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.tool-card-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 991px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

/* Expert Services Section */
.expert-services-section {
  width: 100%;
  padding: 80px 0;
  background-color: #ffffff;
}

.expert-services-container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 40px;
}

.expert-services-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin-top: 50px;
}

.expert-right-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.expert-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .expert-services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .expert-right-grid {
    grid-template-columns: 1fr;
  }
}

/* Solutions Section Styles */
.solutions-section {
  width: 100%;
  background-color: #f5eee9;
  padding: 80px 0 40px 0;
}

.solutions-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-title {
  color: #0B2056;
  margin-bottom: 20px;
}

.section-subtitle {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 400;
  color: #252B37;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .solutions-section {
    padding: 50px 0 30px 0;
  }

  .section-title {
    font-size: 38px;
  }

  .section-subtitle {
    font-size: 18px;
  }
}

/* Solutions Swiper Slider Styles */
.solutions-swiper-container {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: visible;
  /* Ensure arrows sitting outside container borders are visible */
}

.solutions-swiper {
  width: 100%;
  overflow: hidden;
  /* Hide cards overflowing the active slide area */
  padding: 15px 0 25px 0;
  /* Space for the slide-up animation */
}

.solutions-swiper .swiper-wrapper {
  overflow: visible;
  /* Swiper needs wrapper overflow visible to load items */
}

.solutions-swiper .swiper-slide {
  height: auto;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 24px;
  display: flex;
  justify-content: center;
}

/* Lift on Hover Animation */
.solutions-swiper .swiper-slide:hover {
  transform: translateY(-10px);
}

.solution-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 340 / 679;
  display: block;
  border-radius: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

/* Custom Navigation Buttons (Visible only on Hover) */
.solutions-swiper-container .swiper-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  color: #0e3d8b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  z-index: 10;
  cursor: pointer;
  border: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.solutions-swiper-container .swiper-nav-btn i {
  font-size: 16px;
}

/* Hover State to show Arrows */
.solutions-swiper-container:hover .swiper-nav-btn {
  opacity: 1;
  pointer-events: auto;
}

.solutions-swiper-container .swiper-nav-btn:hover {
  background-color: #0e3d8b;
  color: #ffffff;
}

.solutions-swiper-container .swiper-nav-btn.prev-btn {
  left: -80px;
  /* Positioned left outside the container */
}

.solutions-swiper-container .swiper-nav-btn.next-btn {
  right: -80px;
  /* Positioned right outside the container */
}

/* Responsive adjustments for Navigation */
@media (max-width: 768px) {
  .solutions-swiper-container {
    padding: 0;
  }

  .solutions-swiper-container .swiper-nav-btn {
    opacity: 1 !important;
    pointer-events: auto !important;
    width: 42px;
    height: 42px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .solutions-swiper-container .swiper-nav-btn.prev-btn {
    left: 10px;
  }

  .solutions-swiper-container .swiper-nav-btn.next-btn {
    right: 10px;
  }
}

/* Visualizer Section Styles */
.visualizer-section {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visualizer-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 907;
  max-width: 1920px;
  display: block;
}

/* Perfect Colour Section Styles */
.perfect-colour-section {
  position: relative;
  width: 100%;
  background-color: #f5eee9;
  padding: 80px 0 40px 0;
  overflow: hidden;
}

.perfect-colour-decoration {
  position: absolute;
  top: 17%;
  left: 0;
  width: 18%;
  min-width: 200px;
  z-index: 1;
  pointer-events: none;
}

.perfect-colour-header {
  position: relative;
  z-index: 1;
}

.perfect-colour-header .section-title {
  /* Inherits from global h2 / .section-title */
}

.perfect-colour-header .section-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
}

.perfect-colour-container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Perfect Colour Swiper Slider Styles */
.perfect-colour-swiper-container {
  position: relative;
  width: 100%;
  padding-left: 124px;
  box-sizing: border-box;
  overflow: visible;
}

.perfect-colour-swiper {
  width: 100%;
  overflow: hidden;
  /* Hide cards overflowing the active slide area */
  padding: 15px 0 25px 0;
  /* Space for the slide-up animation */
}

.perfect-colour-swiper .swiper-wrapper {
  overflow: visible;
}

.perfect-colour-swiper .swiper-slide {
  height: auto;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 24px;
  display: flex;
  justify-content: center;
}

/* Lift on Hover Animation */
.perfect-colour-swiper .swiper-slide:hover {
  transform: translateY(-10px);
}

.perfect-colour-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 804 / 601;
  display: block;
  border-radius: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

/* Custom Navigation Buttons (Visible only on Hover) */
.perfect-colour-swiper-container .swiper-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  color: #0e3d8b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  z-index: 10;
  cursor: pointer;
  border: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.perfect-colour-swiper-container .swiper-nav-btn i {
  font-size: 16px;
}

/* Hover State to show Arrows */
.perfect-colour-swiper-container:hover .swiper-nav-btn {
  opacity: 1;
  pointer-events: auto;
}

.perfect-colour-swiper-container .swiper-nav-btn:hover {
  background-color: #0e3d8b;
  color: #ffffff;
}

.perfect-colour-swiper-container .swiper-nav-btn.prev-btn {
  left: 99px;
  /* 124px padding - 25px overlap */
  /* Offset to overlap the edge of the first slide slightly */
}

.perfect-colour-swiper-container .swiper-nav-btn.next-btn {
  right: 20px;
}

/* Responsive adjustments for Navigation */
@media (max-width: 768px) {
  .perfect-colour-swiper-container .swiper-nav-btn {
    opacity: 1 !important;
    pointer-events: auto !important;
    width: 42px;
    height: 42px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .perfect-colour-swiper-container .swiper-nav-btn.prev-btn {
    left: 10px;
  }

  .perfect-colour-swiper-container .swiper-nav-btn.next-btn {
    right: 10px;
  }
}

/* Shop Online Section Styles */
.shop-online-section {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
}

.shop-online-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1919 / 609;
  max-width: 1680px;
  display: block;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .shop-online-section {
    padding: 30px 0;
  }

  .shop-online-img {
    padding: 0 20px;
  }
}

/* Follow Us Section Styles */
.follow-us-section {
  width: 100%;
  background-color: #f5eee9;
  padding: 60px 0 0 0;
}

.follow-us-container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 40px;
}

.follow-us-swiper-container {
  position: relative;
  width: 100%;
  padding: 0;
}

.follow-us-swiper {
  width: 100%;
  overflow: hidden;
  padding: 10px 0 20px 0;
}

.follow-us-card {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.follow-us-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.follow-us-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 300 / 375;
  display: block;
  border-radius: 24px;
  transition: transform 0.5s ease;
}

.follow-us-card:hover .follow-us-card-img {
  transform: scale(1.05);
}

.follow-us-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 61, 139, 0.6);
  /* Brand blue overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.follow-us-card:hover .follow-us-overlay {
  opacity: 1;
}

.follow-us-overlay i {
  color: #ffffff;
  font-size: 32px;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.follow-us-card:hover .follow-us-overlay i {
  transform: scale(1);
}

@media (max-width: 768px) {
  .follow-us-section {
    padding: 40px 0 0 0;
  }

  .follow-us-container {
    padding: 0 20px;
  }

  .prefooter-section {
    padding: 40px 0 60px 0;
  }

  .prefooter-container {
    padding: 0 20px;
  }
}

/* Prefooter Section Styles */
.prefooter-section {
  width: 100%;
  background-color: #f5eee9;
  background-image: url('../imgs/prefooter/foooter.png');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% auto;
  min-height: 48.4vw;
  /* Aspect ratio of foooter.png */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 80px 0 100px 0;
  box-sizing: border-box;
}

.prefooter-container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 40px;
}

.prefooter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.prefooter-card {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prefooter-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.prefooter-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

/* Aspect ratios for prefooter images to avoid layout shifts */
.prefooter-grid .prefooter-card:nth-child(1) .prefooter-img {
  aspect-ratio: 335 / 156;
}

.prefooter-grid .prefooter-card:nth-child(2) .prefooter-img {
  aspect-ratio: 362 / 156;
}

.prefooter-grid .prefooter-card:nth-child(3) .prefooter-img {
  aspect-ratio: 335 / 156;
}

.prefooter-grid .prefooter-card:nth-child(4) .prefooter-img {
  aspect-ratio: 354 / 156;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .prefooter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .prefooter-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 380px;
    margin: 0 auto;
  }
}

/* Back to Top Button Styles */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-primary);
  /* Brand blue */
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(14, 61, 139, 0.3);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.back-to-top i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-secondary);
  /* Highlight orange on hover */
  box-shadow: 0 6px 18px rgba(255, 94, 20, 0.4);
}

.back-to-top:hover i {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .back-to-top i {
    font-size: 16px;
  }
}

/* Footer Section */
.site-footer {
  width: 100%;
  display: block;
  margin-top: -5vw;
}

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