/* Universal Mobile Overflow Fix */

html,
body {
    width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* ====================== LOADER SPINNER ====================== */
    .spinner {
      position: absolute;
      width: 9px;
      height: 9px;
    }

    .spinner div {
      position: absolute;
      width: 50%;
      height: 150%;
      background: #1E3A2F;           /* Cedar Green color - brand ke hisaab se */
      transform: rotate(calc(var(--rotation) * 1deg)) translate(0, calc(var(--translation) * 1%));
      animation: spinner-fzua35 1s calc(var(--delay) * 1s) infinite ease;
    }

    .spinner div:nth-child(1) { --delay: 0.1; --rotation: 36; --translation: 150; }
    .spinner div:nth-child(2) { --delay: 0.2; --rotation: 72; --translation: 150; }
    .spinner div:nth-child(3) { --delay: 0.3; --rotation: 108; --translation: 150; }
    .spinner div:nth-child(4) { --delay: 0.4; --rotation: 144; --translation: 150; }
    .spinner div:nth-child(5) { --delay: 0.5; --rotation: 180; --translation: 150; }
    .spinner div:nth-child(6) { --delay: 0.6; --rotation: 216; --translation: 150; }
    .spinner div:nth-child(7) { --delay: 0.7; --rotation: 252; --translation: 150; }
    .spinner div:nth-child(8) { --delay: 0.8; --rotation: 288; --translation: 150; }
    .spinner div:nth-child(9) { --delay: 0.9; --rotation: 324; --translation: 150; }
    .spinner div:nth-child(10){ --delay: 1;   --rotation: 360; --translation: 150; }

    @keyframes spinner-fzua35 {
      0%, 10%, 20%, 30%, 50%, 60%, 70%, 80%, 90%, 100% {
        transform: rotate(calc(var(--rotation) * 1deg)) translate(0, calc(var(--translation) * 1%));
      }
      50% {
        transform: rotate(calc(var(--rotation) * 1deg)) translate(0, calc(var(--translation) * 1.5%));
      }
    }

    /* Full Screen Preloader */
    #preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #FAF9F5;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: opacity 0.6s ease;
    }

    body {
      background-color: #FAF9F5;
      font-family: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
      color: #1A1C1E;
      line-height: 1.4;
    }

    h1, h2, h3, h4, .hero-heading, .section-title {
      font-family: 'Inter', 'Neue Haas Grotesk', 'Suisse Intl', sans-serif;
      font-weight: 300;
      letter-spacing: -0.02em;
    }

    /* ====================== BACK TO TOP ====================== */
    .back-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      background-color: #1E3A2F;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      box-shadow: 0 4px 12px rgba(30, 58, 47, 0.25);
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s ease;
      z-index: 999;
      text-decoration: none;
    }

    .back-to-top:hover {
      background-color: #465d4b;
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(30, 58, 47, 0.35);
      color: white;
    }

    .back-to-top.show {
      opacity: 1;
      visibility: visible;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
      }
    }

/* ====================== TOP BAR ====================== */
.top-bar {
  background-color: #95a17f;
  color: #ffffff;
  padding: 0.65rem 0;
  font-size: 0.92rem;
}

.top-bar-left {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
}

.contact-item i {
  font-size: 1rem;
}

.top-bar-right {
  display: flex;
  gap: 1.1rem;
  justify-content: flex-end;
}

.social-icon {
  color: #ffffff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: #C2BCAD;
  transform: translateY(-2px);
}


@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }
}

/* ====================== NAVBAR ====================== */
.navbar-custom {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-img {
  height: 70px;
  width: auto;
  max-height: 80px;
  object-fit: contain;
  margin-top: -5%;
  margin-bottom: -5%;
}

/* Nav Links */
.nav-link-custom {
  color: #1E3A2F;
  font-weight: 400;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-link-custom:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: #1E3A2F;
  transition: all 0.3s ease;
}

.nav-link-custom:not(.dropdown-toggle):hover::after,
.nav-link-custom.active:not(.dropdown-toggle)::after {
  width: 100%;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: #1E3A2F;
}

/* Dropdown Styles */
.dropdown-toggle.nav-link-custom::after {
  border-top-color: #ffffff;
  margin-left: 6px;
}

.dropdown-toggle.nav-link-custom:hover::after {
  border-top-color: #1E3A2F;
}

/* Desktop Hover Dropdown */
@media (min-width: 992px) {
  .dropdown-hover:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    margin-top: 0;
  }
  
  .dropdown-hover .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    margin-top: 10px;
  }
}

.dropdown-menu {
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 0.5rem 0;
}

.dropdown-item {
  padding: 0.65rem 1.4rem;
  font-size: 0.92rem;
  color: #1E3A2F;
}

.dropdown-item:hover {
  background-color: #F1EFEA;
  color: #1E3A2F;
}



/* ====================== HERO BANNER SLIDER ====================== */
.hero-banner {
  height: 60vh;
  min-height: 400px;
  position: relative;
  margin-top: -7%;
}

.hero-bg-img {
  height: 60vh;
  min-height: 400px;
  object-fit: cover;
  filter: brightness(0.68) contrast(1.08);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55));
}

.hero-heading {
  font-size: 4rem;
  line-height: 1.15;
  text-shadow: 0 3px 15px rgba(0,0,0,0.7);
  font-weight: 300;
}

/* ====================== CAROUSEL CONTROLS ====================== */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;

  border-radius: 50%;
  top: 70%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  color: #1E3A2F;
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1); /* White color */
}

/* Left Button (Previous) */
.carousel-control-prev {
  left: 20px;
}

/* Right Button (Next) */
.carousel-control-next {
  right: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 42px;
    height: 42px;
  }
  
  .carousel-control-prev {
    margin-top: -15%;
    left: 10px;
  }
  
  .carousel-control-next {
    margin-top: -15%;
    right: 10px;
  }
}
/* ====================== END ====================== */

/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {
  .hero-banner,
  .hero-bg-img {
    margin-top: -20%;
    min-height: 480px;
  }

  .hero-overlay {
  top: -6%;
  width: 100%;
  height: 106%;
}

  .hero-heading {
    margin-left: 10%;
    font-size: 2.5rem;
    width: 80%;
  }
  
  .top-bar-left {
    justify-content: center;
    gap: 1.2rem;
  }
  
  .top-bar-right {
    justify-content: center;
    margin-top: 8px;
  }
}

/* spacing + authority: white space = authority */
    section {
      padding: 96px 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .bg-dark-custom {
      background-color: #3f3e3c;
      color: #ffffff;
    }

    .bg-dark-custom .text-muted-light {
      color: #ffffff;
    }

    .section-title {
      font-size: 2.4rem;
      font-weight: 550;
      margin-bottom: 2rem;
      letter-spacing: -0.02em;
    }

    /* buttons with cedar green */
    .btn-primary-cedar {
      background-color: #1E3A2F;
      color: white;
      padding: 0.85rem 2rem;
      border: none;
      font-weight: 500;
      font-size: 0.95rem;
      transition: all 0.2s ease;
      display: inline-block;
      border-radius: 0;
    }
    .btn-primary-cedar:hover {
      background-color: #2b5343;
      color: white;
    }
    .btn-outline-cedar {
      background: transparent;
      border: 1px solid #1E3A2F;
      color: #897959;
      padding: 0.85rem 2rem;
      font-weight: 500;
      text-decoration: none;
      display: inline-block;
      transition: 0.2s;
      border-radius: 0;
    }
    .btn-outline-cedar:hover {
      background: #1E3A2F;
      color: white;
    }

    /* role cards */
    .role-card h3 {
      font-size: 1.5rem;
      font-weight: 550;
      margin-bottom: 1rem;
    }
    .role-card p {
      color: #3F4247;
      font-size: 0.95rem;
    }

/* ====================== POSITIONING STRIP ====================== */
.positioning-strip {
  background: #cad1bf79;
  padding: 2.8rem 0;
  margin-top: 0%;
}
/* ====================== POSITIONING STRIP END ====================== */
    

    /* horizontal process: thin-line graphics */
    .process-step {
      border-top: 1px solid #D9D6CE;
      padding-top: 1.5rem;
    }
    .step-icon {
      font-size: 1.8rem;
      font-weight: 300;
      margin-bottom: 0.75rem;
      color: #1E3A2F;
    }
    .step-title {
      font-weight: 600;
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
    }
    .step-desc {
      font-size: 0.85rem;
      color: #5E5F62;
    }

    /* sector cards */
    .sector-card {
      background: white;
      padding: 1.8rem;
      border: 1px solid #EFEDE7;
      transition: all 0.25s ease;
      height: 100%;
    }
    .sector-card:hover {
      border-color: #C2BCAD;
      transform: translateY(-3px);
    }
    .sector-icon {
      font-size: 2rem;
      margin-bottom: 1.2rem;
      opacity: 0.8;
    }
    .sector-card h4 {
      font-size: 1.3rem;
      font-weight: 550;
      margin-bottom: 0.8rem;
    }
    .sector-card p {
      font-size: 0.85rem;
      color: #4F5359;
    }

    /* why cedar dark section differentiators */
    .differentiator-list {
      list-style: none;
      padding-left: 0;
    }
    .differentiator-list li {
      margin-bottom: 1.5rem;
      border-left: 2px solid #5F7B6A;
      padding-left: 1rem;
      font-weight: 450;
    }

    /* about pillars */
    .pillar {
      border-top: 2px solid #D4D0C4;
      padding-top: 1.2rem;
    }
    .pillar h4 {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
    }
    .pillar p {
      font-size: 0.85rem;
      color: #5D5F64;
    }

    .chairman-img {
      width: 180px;
      height: 220px;
      background: #E2DFD7;
      filter: grayscale(1);
      background-size: cover;
      background-position: center;
      background-image: url('https://placehold.co/400x500/3C3E40/FFFFFF?text=CHAIRMAN');
    }

    /* partnership grid card style */
    .partnership-item {
      margin-bottom: 2rem;
    }

    /* contact form */
    .form-control-plain-bootstrap {
      border-radius: 0;
      border: 1px solid #E5E2D9;
      padding: 0.8rem 1rem;
    }
    .form-control-plain-bootstrap:focus {
      border-color: #1E3A2F;
      box-shadow: none;
    }

    /* Styling for Our Role section with image */
.role-description p {
  font-size: 1rem;
  line-height: 1.7;
  color: #3F4247;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.role-description p:last-child {
  margin-bottom: 0;
}

/* Image styling */
.role-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.role-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.role-image:hover {
  transform: scale(1.02);
  filter: grayscale(0) contrast(1.08);
}

/* Optional: Add a subtle border or shadow for sophistication */
.role-image-wrapper {
  position: relative;
}

.role-image-wrapper::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(30, 58, 47, 0.15);
  pointer-events: none;
  z-index: -1;
}

/* Responsive adjustment */
@media (max-width: 991.98px) {
  .role-description p {
    font-size: 0.92rem;
    line-height: 1.6;
  }
  
  .role-image-wrapper {
    margin-top: 1rem;
  }
  
  .role-image-wrapper::after {
    display: none;
  }
}

/* Step Icon - Lamba Arrow Hover */
.step-icon {
  font-size: 1.8rem;
  color: #F0EFEA;
  transition: all 0.4s ease;
  display: inline-block;
}

.step-icon:hover {
  letter-spacing: 8px;           /* Arrow lamba ho jayega */
  color: #ffffff;
  transform: translateX(4px);    /* thoda right side bhi shift ho */
}

.process-steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.process-step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  border-bottom: 1px solid #EFEDE7;
  padding-bottom: 1.5rem;
}

.process-step-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-number {
  font-size: 2rem;
  font-weight: 500;
  color: #1E3A2F;
  opacity: 0.5;
  font-family: 'Inter', monospace;
  min-width: 60px;
}

.step-content {
  flex: 1;
}

.step-content .step-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1A1C1E;
}

.step-content .step-desc {
  font-size: 0.9rem;
  color: #5E5F62;
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .process-step-item {
    gap: 1rem;
    flex-direction: column;
  }
  
  .step-number {
    font-size: 1.5rem;
    min-width: auto;
  }
}

/* Why Fujairah */
.why-fujairah-points {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.point-item {
  padding-left: 1.2rem;
  border-left: 3px solid #1E3A2F;
}

.point-item strong {
  display: block;
  font-size: 1.15rem;
  color: #1E3A2F;
  margin-bottom: 0.4rem;
}

.point-item p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #3F4247;
  margin: 0;
}
/* ============== END ============== */

/* ============== STRATEGIC SECTORS ============== */
.hexagon-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 0;
}

.hex-row {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.hex-row.middle {
  margin: -100px 0;
  z-index: 2;
}

/* Hexagon Card */
.hex-card {
  width: 380px;
  height: 410px;
  background: white;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  padding: 2.1rem 1.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.35s ease;
  border: 3px solid #E8E4D8;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.hex-card.center {
  width: 380px;
  height: 410px;
  padding: 2.3rem 1.8rem;
  background: #F8F6F0;
  border-color: #D4C9A8;
}

.hex-card:hover {
  transform: translateY(-15px) scale(1.04);
  box-shadow: 0 20px 35px rgba(0,0,0,0.12);
  border-color: #C2BCAD;
}

/* Icon & Text */
.sector-icon {
  margin-bottom: 1.2rem;
  color: #1E3A2F;
}

.hex-card h4 {
  font-size: 1.27rem;
  font-weight: 600;
  margin-bottom: 0.95rem;
  color: #1A1C1E;
  line-height: 1.3;
}

.hex-card p {
  font-size: 0.95rem;
  line-height: 1.58;
  color: #4F5359;
  flex: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .hex-card { 
    width: 245px; 
    height: 285px; 
  }
  .hex-card.center { 
    width: 275px; 
    height: 315px; 
  }

.sector-icon {
  margin-top: -9%;

}

.hex-card h4 {
  font-size: 1rem;
}

.hex-card p {
  font-size: 0.80rem;
}
}

@media (max-width: 768px) {
  .hex-row { 
    flex-direction: column; 
    gap: 40px; 
  }

  .hex-row.middle { 
    margin: 0; 
  }

  .hex-card, 
  .hex-card.center { 
    width: 285px; 
    height: 320px; 
  }
}
/* ============== END ============== */

/* Mission & Vision Card Styling */
.mission-vision-card {
  background: white;
  padding: 2rem 2rem;
  border: 1px solid #EFEDE7;
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}

.mission-vision-card:hover {
  border-color: #C2BCAD;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}

.mv-icon {
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mv-icon svg {
  width: 42px;
  height: 42px;
  opacity: 0.85;
}

.mv-title {
  font-size: 1.4rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: #1A1C1E;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.mv-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: #1E3A2F;
}

.mv-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4F5359;
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

/* Responsive */
@media (max-width: 768px) {
  .mission-vision-card {
    padding: 1.5rem;
  }
  
  .mv-title {
    font-size: 1.25rem;
  }
  
  .mv-text {
    font-size: 0.88rem;
  }
  
  .mv-icon svg {
    width: 36px;
    height: 36px;
  }
}

/* Mission & Vision Section */
.mission-vision-section {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Heading */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
  color: #1A1C1E;
  margin-bottom: 0.75rem;
  font-family: 'Inter', 'Neue Haas Grotesk', sans-serif;
}

.section-heading .heading-underline {
  width: 60px;
  height: 2px;
  background-color: #1E3A2F;
  margin: 0 auto;
}

/* Mission & Vision Cards Container */
.mv-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ==================== CARD POSITION ==================== */
.card-position {
  width: 550px;
  height: 300px;
  background: #4c5044;           /* Distinct dark green tone */
  position: relative;
  display: grid;
  place-content: center;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
}

.card-position .border {
  position: absolute;
  inset: 0px;
  border: 2px solid #000000;
  opacity: 0;
  transform: rotate(10deg);
  transition: all 0.5s ease-in-out;
}

.card-position .bottom-text {
  position: absolute;
  left: 50%;
  bottom: 13px;
  transform: translateX(-50%);
  font-size: 6px;
  text-transform: uppercase;
  padding: 0px 5px 0px 8px;
  color: #ffffff;
  background: #4c5044;
  opacity: 0;
  letter-spacing: 7px;
  transition: all 0.5s ease-in-out;
  font-weight: 500;
  font-family: 'Inter', monospace;
}

.card-position .content {
  transition: all 0.5s ease-in-out;
  text-align: center;
  padding: 0 1.5rem;
}

.card-position .logo {
  height: 50px;
  position: relative;
  width: 50px;
  margin: 0 auto;
  overflow: hidden;
  transition: all 1s ease-in-out;
}

.card-position .logo .logo-icon {
  height: 50px;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-position .logo .trail {
  position: absolute;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
}

.card-position .card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.card-position .card-desc {
  font-size: 0.8rem;
  color: #ffffff;
  line-height: 1.5;
  max-width: 500px;
  margin: 0 auto;
  opacity: 0;
  transition: all 0.5s ease-in-out 0.3s;
  transform: translateY(10px);
}

.card-position:hover {
  border-radius: 0;
  transform: scale(1.05);
}

.card-position:hover .logo {
  width: 200px;
  animation: opacity 1s ease-in-out;
}

.card-position:hover .border {
  inset: 15px;
  opacity: 1;
  transform: rotate(0);
}

.card-position:hover .bottom-text {
  letter-spacing: 3px;
  opacity: 1;
  transform: translateX(-50%);
}

.card-position:hover .card-desc {
  opacity: 1;
  transform: translateY(0);
}

.card-position:hover .trail {
  animation: trail 1s ease-in-out;
}

/* Mission Card */
.card-mission {
  width: 300px;
  height: 300px;
  background: #4c5044;
  position: relative;
  display: grid;
  place-content: center;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
}

.card-mission .border {
  position: absolute;
  inset: 0px;
  border: 2px solid #C2BCAD;
  opacity: 0;
  transform: rotate(10deg);
  transition: all 0.5s ease-in-out;
}

.card-mission .bottom-text {
  position: absolute;
  left: 50%;
  bottom: 13px;
  transform: translateX(-50%);
  font-size: 6px;
  text-transform: uppercase;
  padding: 0px 5px 0px 8px;
  color: #C2BCAD;
  background: #4c5044;
  opacity: 0;
  letter-spacing: 7px;
  transition: all 0.5s ease-in-out;
  font-weight: 500;
  font-family: 'Inter', monospace;
}

.card-mission .content {
  transition: all 0.5s ease-in-out;
  text-align: center;
  padding: 0 1.5rem;
}

.card-mission .logo {
  height: 50px;
  position: relative;
  width: 50px;
  margin: 0 auto;
  overflow: hidden;
  transition: all 1s ease-in-out;
}

.card-mission .logo .logo-icon {
  height: 50px;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-mission .logo .trail {
  position: absolute;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
}

.card-mission .card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.card-mission .card-desc {
  font-size: 0.8rem;
  color: #D1D0CB;
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
  opacity: 0;
  transition: all 0.5s ease-in-out 0.3s;
  transform: translateY(10px);
}

.card-mission:hover {
  border-radius: 0;
  transform: scale(1.05);
}

.card-mission:hover .logo {
  width: 200px;
  animation: opacity 1s ease-in-out;
}

.card-mission:hover .border {
  inset: 15px;
  opacity: 1;
  transform: rotate(0);
}

.card-mission:hover .bottom-text {
  letter-spacing: 3px;
  opacity: 1;
  transform: translateX(-50%);
}

.card-mission:hover .card-desc {
  opacity: 1;
  transform: translateY(0);
}

.card-mission:hover .trail {
  animation: trail 1s ease-in-out;
}

/* Vision Card */
.card-vision {
  width: 300px;
  height: 300px;
  background: #4c5044;
  position: relative;
  display: grid;
  place-content: center;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
}

.card-vision .border {
  position: absolute;
  inset: 0px;
  border: 2px solid #C2BCAD;
  opacity: 0;
  transform: rotate(10deg);
  transition: all 0.5s ease-in-out;
}

.card-vision .bottom-text {
  position: absolute;
  left: 50%;
  bottom: 13px;
  transform: translateX(-50%);
  font-size: 6px;
  text-transform: uppercase;
  padding: 0px 5px 0px 8px;
  color: #C2BCAD;
  background: #4c5044;
  opacity: 0;
  letter-spacing: 7px;
  transition: all 0.5s ease-in-out;
  font-weight: 500;
  font-family: 'Inter', monospace;
}

.card-vision .content {
  transition: all 0.5s ease-in-out;
  text-align: center;
  padding: 0 1.5rem;
}

.card-vision .logo {
  height: 50px;
  position: relative;
  width: 50px;
  margin: 0 auto;
  overflow: hidden;
  transition: all 1s ease-in-out;
}

.card-vision .logo .logo-icon {
  height: 50px;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-vision .logo .trail {
  position: absolute;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
}

.card-vision .card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.card-vision .card-desc {
  font-size: 0.8rem;
  color: #D1D0CB;
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
  opacity: 0;
  transition: all 0.5s ease-in-out 0.3s;
  transform: translateY(10px);
}

.card-vision:hover {
  border-radius: 0;
  transform: scale(1.05);
}

.card-vision:hover .logo {
  width: 200px;
  animation: opacity 1s ease-in-out;
}

.card-vision:hover .border {
  inset: 15px;
  opacity: 1;
  transform: rotate(0);
}

.card-vision:hover .bottom-text {
  letter-spacing: 3px;
  opacity: 1;
  transform: translateX(-50%);
}

.card-vision:hover .card-desc {
  opacity: 1;
  transform: translateY(0);
}

.card-vision:hover .trail {
  animation: trail 1s ease-in-out;
}

/* Keyframes for animations */
@keyframes opacity {
  0% { border-right: 1px solid transparent; }
  10% { border-right: 1px solid #C2BCAD; }
  80% { border-right: 1px solid #C2BCAD; }
  100% { border-right: 1px solid transparent; }
}

@keyframes trail {
  0% {
    background: linear-gradient(90deg, rgba(189, 159, 103, 0) 90%, #C2BCAD 100%);
    opacity: 0;
  }
  30% {
    background: linear-gradient(90deg, rgba(189, 159, 103, 0) 70%, #C2BCAD 100%);
    opacity: 1;
  }
  70% {
    background: linear-gradient(90deg, rgba(189, 159, 103, 0) 70%, #C2BCAD 100%);
    opacity: 1;
  }
  95% {
    background: linear-gradient(90deg, rgba(189, 159, 103, 0) 90%, #C2BCAD 100%);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .section-heading h2 {
    font-size: 2rem;
  }
  
  .mv-container {
    gap: 1.5rem;
  }
  
  .card-mission, .card-vision {
    width: 340px;
    height: 280px;
  }
  
  .card-mission .card-desc, .card-vision .card-desc {
    font-size: 0.75rem;
  }
  
  .card-mission .card-title, .card-vision .card-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .section-heading h2 {
    font-size: 1.6rem;
  }

  .card-position {
  width: 300px;
  height: 400px;
}
  
  .card-mission, .card-vision {
    width: 300px;
    height: 260px;
  }
  
  .card-mission .card-desc, .card-vision .card-desc {
    font-size: 0.7rem;
  }
}

    /* Cedar Holdings Footer Styles */
.cedar-footer {
  background-color: #17181A;
  color: #D1D0CB;
  padding: 4rem 0 2rem;
  margin-top: 0;
  border-top: 1px solid rgba(194, 188, 173, 0.15);
}

.footer-logo {
  filter: brightness(0) invert(1);
  height: 500%;
  width: 100%;
  margin-left: 12%;
  opacity: 0.9;
}

.footer-description {
  font-family:  Georgia, 'Times New Roman', Times, serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #A8A7A3;
  width: 500px;
  margin-bottom: 0;
}

.footer-heading-1 {
  font-size: 1rem;
  margin-left: 30%;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.footer-heading-2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.footer-hr-1 {
  width: 40px;
  height: 2px;
  background-color: #C2BCAD;
  margin: 0.5rem 0 1rem 30%;
  border: none;
  opacity: 1;
}

.footer-hr-2 {
  width: 40px;
  height: 2px;
  background-color: #C2BCAD;
  margin: 0.5rem 0 1rem 0;
  border: none;
  opacity: 1;
}

.footer-links {

  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links li a {
  margin-left: 30%;
  color: #D1D0CB;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 0;
}

.footer-links li a:hover {
  color: #C2BCAD;
  padding-left: 5px;
}

.footer-address,
.footer-email,
.footer-phone {

  font-size: 0.85rem;
  line-height: 1.6;
  color: #D1D0CB;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-address i,
.footer-email i,
.footer-phone i {
  color: #C2BCAD;
  font-size: 1rem;
  margin-top: 0.2rem;
}

.footer-email a,
.footer-phone a {
  color: #D1D0CB;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-email a:hover,
.footer-phone a:hover {
  color: #C2BCAD;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon-f {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(194, 188, 173, 0.1);
  border-radius: 50%;
  color: #C2BCAD;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon-f:hover {
  background-color: #C2BCAD;
  color: #17181A;
  transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(194, 188, 173, 0.15);
}

.footer-bottom small {
  font-size: 0.75rem;
  color: #8A8985;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 991.98px) {
  .cedar-footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-logo {
  margin-left: 0%;
}
  
  .footer-heading-1 {
    margin-left: 0%;
    margin-top: 1rem;
  }
  
  .footer-bottom {
    margin-top: 2rem;
  }

.footer-description {
    margin-left: 5%;
    width: 300px;
    font-size: 1rem;
    }
  }

@media (max-width: 768px) {
  .cedar-footer {
    text-align: center;
  }
  
  .footer-hr-1 {
    margin: 0.5rem 0 1rem 45%;
    align-content: center;
  }

    .footer-hr-2 {
      align-content: center;
      margin: 0.5rem 0 1rem 45%;
  }

  .footer-links li a {
  margin-left: 5%;
  color: #D1D0CB;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 0;
}
  
  .footer-address,
  .footer-email,
  .footer-phone {
    justify-content: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-links li a:hover {
    padding-left: 0;
  }
}

.contact-details {
    font-size: 15px;
    line-height: 1.8;
}

.contact-details a {
    color: #1A2C25;
    text-decoration: none;
}