:root {
    --primary: #e57a77;
    --light: #f5f5f5;
    --dark: #353535;
  }
  
  .bg-gray {
    background-color: #f3f3f3;
  }
  
  body {
    background-color: #ffffff;
  }
  
  * {
    font-family: "Poppins", sans-serif;
  }
  
  .fw-medium {
    font-weight: 500 !important;
  }
  
  .fw-bold {
    font-weight: 700 !important;
  }
  
  .fw-black {
    font-weight: 900 !important;
  }
  
  .back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
  }
  
  /*** Spinner ***/
  #spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
  }
  
  #spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
  }
  
  .contact-form {
    background-color: var(--primary);
  }
  
  /*** Button ***/
  .btn {
    font-weight: 500;
    transition: 0.5s;
  }
  
  .btn.btn-primary,
  .btn.btn-secondary {
    color: #ffffff;
  }
  
  .btn-square {
    width: 38px;
    height: 38px;
  }
  
  .btn-sm-square {
    width: 32px;
    height: 32px;
  }
  
  .btn-lg-square {
    width: 48px;
    height: 48px;
  }
  
  .btn-square,
  .btn-sm-square,
  .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
  }
  
  .btn-light-gray {
    background-color: #e0e0e0;
    color: #000;
    border: 1px solid #d6d6d6;
  }
  
  .btn-light-gray:hover {
    background-color: #d6d6d6;
    border-color: #c9c9c9;
  }
  
  ::placeholder {
    color: #fff;
    opacity: 1;
  }
  
  :-ms-input-placeholder {
    /* For Internet Explorer 10-11 */
    color: #fff;
  }
  
  ::-ms-input-placeholder {
    /* For Edge */
    color: #fff;
  }
  
  input:-webkit-autofill,
  input:-webkit-autofill:hover,
  input:-webkit-autofill:focus,
  textarea:-webkit-autofill,
  textarea:-webkit-autofill:hover,
  textarea:-webkit-autofill:focus,
  select:-webkit-autofill,
  select:-webkit-autofill:hover,
  select:-webkit-autofill:focus {
    border: 2px solid #ffffff;
    -webkit-text-fill-color: #f1f1f1;
    -webkit-box-shadow: 0 0 0px 1000px var(--primary) inset;
    transition: background-color 5000s ease-in-out 0s;
  }
  
  .input-info {
    border-width: 2px;
    border-color: #fff;
    height: 55px;
    border-radius: 6px;
  }
  
  .input-message {
    border-width: 2px;
    border-color: #fff;
    height: 180px;
    border-radius: 6px;
  }
  
  .submit-button {
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
  }
  
  /*** Navbar ***/
  .navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
  }
  
  .navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
  }
  
  .navbar-light .navbar-nav .nav-link:hover,
  .navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
  }
  
  @media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
      margin-right: 0;
      padding: 10px 0;
    }
  
    .navbar-light .navbar-nav {
      border-top: 1px solid #eeeeee;
    }
  }
  
  .navbar-light .navbar-brand,
  .navbar-light a.btn {
    height: 75px;
  }
  
  .navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
  }
  
  .navbar-light.sticky-top {
    top: 0;
    transition: box-shadow 0.25s ease;
  }
  
  @media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
      display: block;
      border: none;
      margin-top: 0;
      top: 150%;
      opacity: 0;
      visibility: hidden;
      transition: 0.5s;
    }
  
    .navbar .nav-item:hover .dropdown-menu {
      top: 100%;
      visibility: visible;
      transition: 0.5s;
      opacity: 1;
    }
  }
  
  /*** Header ***/
  
  .owl-carousel {
    pointer-events: none;
    user-select: none;
  }
  
  .owl-carousel .owl-item {
    pointer-events: none;
  }
  
  .owl-carousel .owl-item .btn {
    pointer-events: all;
  }
  
  .owl-carousel .owl-dots,
  .owl-carousel .owl-nav {
    display: none !important;
  }
  
  @media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
      position: relative;
      min-height: 500px;
    }
  
    .header-carousel .owl-carousel-item img {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  
    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
      font-size: 14px !important;
      font-weight: 400 !important;
    }
  
    .header-carousel .owl-carousel-item h1 {
      font-size: 30px;
      font-weight: 600;
    }
  }
  
  .header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
  }
  
  .header-carousel .owl-nav .owl-prev,
  .header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: transparent;
    border: 1px solid #ffffff;
    font-size: 22px;
    transition: 0.5s;
  }
  
  .header-carousel .owl-nav .owl-prev:hover,
  .header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
  }
  
  .header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #ffffff;
    transition: 0.5s;
  }
  
  .header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: transparent;
    border: 1px solid #ffffff;
  }
  
  .header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
  }
  
  .page-header {
    background: linear-gradient(rgba(53, 53, 53, 0.7), rgba(53, 53, 53, 0.7)),
      url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
  }
  
  .breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
  }
  
  .hero-section {
    background-color: #ffffff;
  }
  
  .hero-title {
    font-weight: 900;
    font-family: 'Montserrat', 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    font-size: clamp(2.6rem, 6vw + 1rem, 4.8rem);
    letter-spacing: -0.02em;
    line-height: 1.02;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    color: #2b2b2b;
  }

  /* Gradient-highlight the name */
  .hero-name {
    display: inline-block;
    background: linear-gradient(90deg, #e57a77 0%, #ff9a9e 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 0 0.06rem;
    text-shadow: 0 10px 24px rgba(229,122,119,0.08);
  }

  /* Entrance animation for the headline */
  .hero-title {
    transform-origin: left center;
    animation: heroEntrance 700ms cubic-bezier(.22,.9,.32,1) both;
  }

  @keyframes heroEntrance {
    0% { opacity: 0; transform: translateY(10px) scale(0.995); }
    60% { opacity: 1; transform: translateY(-6px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
  }
  
  .hero-subtitle {
    font-size: 1.6rem;
    line-height: 1.6;
    font-weight: 600;
    color: #555555;
  }
  
  .hero-photo-plain {
    max-width: 720px;
    width: 100%;
    height: auto;
    display: block;
  }

  .hero-photo-plain {
    transition: transform 0.3s ease;
    cursor: pointer;
  }

  .hero-photo-plain:hover {
    transform: scale(1.03);
  }
  
  @media (max-width: 767.98px) {
    .hero-section {
      text-align: center;
    }

    .hero-title {
      font-size: 2.6rem;
    }

    .hero-subtitle {
      font-size: 1.4rem;
      line-height: 1.5;
    }
  }

  /* Mobile refinements for a cleaner stacked layout */
  @media (max-width: 767.98px) {
  .hero-photo-plain {
    max-width: 420px;
    margin: 1.5rem auto 0;
  }

  .hero-section .d-flex {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.6rem;
    line-height: 1.05;
  }

    .hero-subtitle {
      font-size: 1.15rem;
    }

    .hero-section .btn-primary,
    .hero-section .btn-light-gray {
      width: 100%;
      padding: 0.8rem 1rem;
      font-size: 0.98rem;
    }

    .about-intro-text {
      font-size: 1rem;
      padding: 0 0.8rem;
    }

    .about-image-rounded {
      max-width: 100%;
      width: 100%;
      border-radius: 12px;
    }

    .work-experience .display-4 {
      font-size: 2rem;
      margin-top: 0.35rem;
    }

    .work-intro-text {
      font-size: 1rem;
    }

    .work-role {
      font-size: 1rem;
    }

    .work-dates {
      font-size: 0.85rem;
    }

    .work-list {
      font-size: 0.95rem;
      padding-left: 0.95rem;
    }

    .work-item {
      margin-bottom: 1.25rem;
    }

    /* Reduce horizontal padding on stacked columns */
    .work-experience .col-lg-5,
    .work-experience .col-lg-7,
    .about-section .col-lg-12 {
      padding-left: 0.8rem;
      padding-right: 0.8rem;
    }
  }

  /* Mobile-only: center the entire Work Experience section while keeping lists readable */
  @media (max-width: 767.98px) {
    .work-experience {
      text-align: center;
    }

    .work-experience .section-title,
    .work-experience .display-4,
    .work-experience .work-intro-text {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }

    .work-experience .row {
      justify-content: center;
    }

    .work-experience .col-lg-5,
    .work-experience .col-lg-7 {
      width: 100%;
      max-width: 720px;
      padding-left: 0.8rem;
      padding-right: 0.8rem;
    }

    .work-profile-img {
      margin-left: auto;
      margin-right: auto;
      display: block;
    }

    .work-item {
      margin-left: auto;
      margin-right: auto;
      display: block;
    }

    /* keep bullet lists left-aligned but constrained and centered visually */
    .work-list {
      text-align: left;
      display: inline-block;
      max-width: 560px;
      width: 100%;
      padding-left: 1.1rem;
    }
  }

  @media (max-width: 425px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-photo-plain { max-width: 340px; }
  }

  /* Increase About section image height on mobile (allow cropping for larger visual) */
  @media (max-width: 767.98px) {
    .about-image-rounded {
      width: 100% !important;
      height: 320px !important;
      object-fit: cover;
    }
  }

  @media (max-width: 425px) {
    .about-image-rounded {
      height: 280px !important;
    }
  }

  /* Nudge the header photo slightly to the right on large desktop screens */
  @media (min-width: 992px) {
    .hero-photo-plain {
      position: relative;
      left: 40px;
    }
  }

  /* Normalize project buttons' height and alignment */
  #projects .postcard__text .btn,
  #projects .postcard__text button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    height: 48px !important;
    min-height: 48px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    line-height: 1 !important;
  }

  /* Ensure full-width mobile buttons keep the height */
  @media (max-width: 767.98px) {
    #projects .postcard__text .btn,
    #projects .postcard__text button {
      width: 100% !important;
      height: 52px !important;
      min-height: 52px !important;
    }
  }

  /* On small screens, show the header image before the text */
  @media (max-width: 767.98px) {
    .hero-section .col-lg-7 {
      order: -1;
    }
  }

.hero-section .btn-primary,
.hero-section .btn-light-gray {
  padding: 0.9rem 2.6rem;
  font-size: 1rem;
  border-radius: 8px;
}

@media (max-width: 575.98px) {
  .hero-section .btn-primary,
  .hero-section .btn-light-gray {
    width: 100%;
  }
}
  
  /*** Section Title ***/
  .section-title h1 {
    position: relative;
    display: inline-block;
    padding: 0 60px;
  }
  
  .section-title.text-start h1 {
    padding-left: 0;
  }
  
  .section-title h1::before,
  .section-title h1::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 5px;
    bottom: 0;
    background: var(--dark);
  }
  
  .section-title h1::before {
    left: 0;
  }
  
  .section-title h1::after {
    right: 0;
  }
  
  .section-title.text-start h1::before {
    display: none;
  }
  
  /*** About ***/
  .about-section {
    background-color: #ffffff;
    padding-top: 4.5rem;
    padding-bottom: 6rem;
    overflow: visible;
  }

  .about-intro-text {
    font-size: 0.98rem;
    color: #4a4a4a;
    line-height: 1.7;
  }

  .about-education-layout {
    margin-top: 0.5rem;
  }

  .about-right-heading .section-title {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0.4rem;
    text-align: center;
  }

  .about-right-heading .display-4 {
    margin-bottom: 0;
    text-align: center;
  }

  .about-section .about-intro-text {
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  .education-image-wrap {
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    background: transparent;
    padding: 0;
    padding-bottom: 1.75rem;
  }

  .education-profile-image {
    width: 100%;
    border-radius: 0;
    display: block;
    object-fit: contain;
    cursor: pointer;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.35s ease;
  }

  .education-image-wrap:hover .education-profile-image {
    transform: scale(1.08);
  }

  .education-card {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-left: 4px solid #e57a77;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
    transition: none;
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    min-height: auto;
  }

  .education-card:hover {
    transform: none;
    box-shadow: none;
  }

  .education-logo-wrap {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 0;
    background-color: transparent;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    margin-top: 0.02rem;
  }

  .education-logo {
    width: 100%;
    height: 100%;
    min-width: 34px;
    min-height: 34px;
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
  }

  .education-content {
    min-width: 0;
    color: #2f2f2f;
    font-family: 'Open Sans', sans-serif;
    width: 100%;
  }

  .education-headline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .education-school {
    font-size: 1rem;
    font-weight: 700;
    color: #2f2f2f;
    line-height: 1.35;
  }

  .education-dates {
    font-size: 0.9rem;
    font-weight: 400;
    font-style: italic;
    color: #5f5f5f;
    white-space: nowrap;
    margin-left: auto;
    text-align: right;
  }

  .education-program {
    font-size: 0.92rem;
    color: #2f2f2f;
    line-height: 1.4;
  }

  .education-highlights {
    margin: 0;
    padding-left: 1rem;
  }

  .education-highlights li {
    font-size: 0.92rem;
    color: #2f2f2f;
    line-height: 1.4;
    margin-bottom: 0.2rem;
  }

  .education-highlights li:last-child {
    margin-bottom: 0;
  }

  .education-highlights li strong {
    color: #2f2f2f;
    font-weight: 700;
  }

  .sti-logo {
    border-radius: 6px;
  }

  @media (max-width: 991.98px) {
    .about-section {
      padding-top: 3.75rem;
      padding-bottom: 4.25rem;
    }

    .about-education-layout {
      row-gap: 1.3rem !important;
    }

    .about-right-heading {
      margin-bottom: 0.9rem !important;
    }

    .about-section .about-intro-text {
      max-width: 100%;
      margin-bottom: 1rem !important;
    }

    .education-image-wrap {
      max-width: 520px;
      margin: 0 auto;
      padding-bottom: 1.25rem;
    }

    .education-card {
      padding: 0.82rem 0.9rem;
    }
  }

  @media (max-width: 575.98px) {
    .about-section {
      padding-top: 3.25rem;
      padding-bottom: 3.6rem;
    }

    .about-right-heading .section-title {
      margin-bottom: 0.3rem;
    }

    .about-intro-text {
      font-size: 0.94rem;
      line-height: 1.6;
    }

    .education-card {
      padding: 0.8rem 0.86rem;
      gap: 0.62rem;
      border-left-width: 4px;
      border-radius: 10px;
    }

    .education-logo-wrap {
      flex-basis: 38px;
      width: 38px;
      height: 38px;
      border-radius: 0;
    }

    .education-logo {
      min-width: 30px;
      min-height: 30px;
      max-width: 38px;
      max-height: 38px;
    }

    .education-school {
      font-size: 0.96rem;
      line-height: 1.33;
    }

    .education-headline {
      display: block;
    }

    .education-dates {
      font-size: 0.85rem;
      margin-top: 0.12rem;
      white-space: normal;
      margin-left: 0;
      text-align: left;
    }

    .work-dates {
      font-size: 0.85rem;
    }

    .education-program,
    .education-highlights li {
      font-size: 0.88rem;
      line-height: 1.38;
    }

    .education-highlights {
      padding-left: 0.95rem;
    }
  }

  @media (hover: none) and (pointer: coarse) {
    .education-profile-image {
      cursor: default;
    }

    .education-image-wrap:hover .education-profile-image {
      transform: scale(1);
    }
  }

.work-experience {
  background-color: #ffffff;
  }

  .work-experience .section-title {
    margin-bottom: 0.25rem;
  }

  .work-experience .display-4 {
    font-weight: 900;
    letter-spacing: 0.02em;
    color: #222222;
  }

  .work-intro-text {
    font-size: 0.98rem;
    color: #666666;
  }

  .work-profile-img {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
  }

  @media (min-width: 992px) {
    .work-profile-img {
      max-width: 260px;
    }
  }

  .work-item {
  margin-bottom: 2.25rem;
}

.work-role {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0;
}

.work-headline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.work-company {
  font-weight: 500;
}

.work-dates {
  font-size: 0.9rem;
  font-weight: 400;
  font-style: italic;
  color: #5f5f5f;
  margin-bottom: 0;
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .work-headline {
    display: block;
    text-align: left;
    margin-bottom: 0.35rem;
  }

  .work-headline .work-dates {
    margin-left: 0;
    margin-top: 0.12rem;
    text-align: left;
    white-space: normal;
  }
}

.work-list {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.95rem;
  color: #444444;
}

.work-list li + li {
  margin-top: 0.15rem;
}

/* Accordion divider consistency */
.accordion {
  --accordion-divider-color: #c6c6c6;
}
.accordion .accordion-item {
  border: none;
  border-bottom: 1px solid var(--accordion-divider-color) !important;
}
.accordion .accordion-header {
  margin: 0;
}
.accordion .accordion-button {
  padding: 1rem 1.25rem;
  background: transparent;
  box-shadow: none;
  border: none;
}
.accordion .accordion-body {
  padding: 0.75rem 1.25rem;
}
.accordion .accordion-list {
  margin-bottom: 0.75rem;
}
.accordion .accordion-item:last-child .accordion-list {
  margin-bottom: 0;
}

.about-me .row {
  align-items: flex-start;
}

@media (min-width: 992px) {
  .about-me .polaroid-frame {
    position: sticky;
    top: 110px;
  }
}

.about-me .accordion {
  padding-left: 0;
}
.about-me .accordion .accordion-button {
  padding-left: 0.25rem;
}
.about-me .accordion .accordion-body {
  padding-left: 0.25rem;
}

.about-me .col-lg-5 {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.about-me .polaroid-frame {
  position: -webkit-sticky;
  position: sticky;
  top: 110px;
  will-change: transform;
  z-index: 2;
}

  
  /*** Service ***/
  .service-item img {
    transition: 0.5s;
  }
  
  .service-item:hover img {
    transform: scale(1.1);
  }

  /* Make service/skills cards opaque with a subtle top border so they don't appear transparent */
  .service-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-top: 6px solid rgba(229,122,119,0.10);
    padding-top: 1rem;
    overflow: hidden;
  }

  /* Target the Skills section cards specifically so other cards aren't affected */
  #skills .card {
    background-color: #ffffff;
    border-top: 6px solid rgba(229,122,119,0.10);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    overflow: hidden;
  }

  /* Reduce top border on small screens to keep proportion */
  @media (max-width: 767.98px) {
    .service-item,
    #skills .card {
      border-top-width: 4px;
    }
  }

  /* Ensure the hr inside the skills header stays centered and subtle */
  #skills hr {
    width: 50% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-top-color: rgba(0,0,0,0.06) !important;
  }
  
  /*** Feature ***/
  @media (min-width: 992px) {
    .container.feature {
      max-width: 100% !important;
    }
  
    .feature-text {
      padding-left: calc(((100% - 960px) / 2) + 0.75rem);
    }
  }
  
  @media (min-width: 1200px) {
    .feature-text {
      padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
    }
  }
  
  @media (min-width: 1400px) {
    .feature-text {
      padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
    }
  }
  
  /*** Project Portfolio ***/
  #portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: 0.5s;
    border-bottom: 2px solid transparent;
  }
  
  #portfolio-flters li:hover,
  #portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
  }
  
  .portfolio-item img {
    transition: 0.5s;
  }
  
  .portfolio-item:hover img {
    transform: scale(1.1);
  }
  
  .portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    bottom: 0;
    left: 50%;
    background: rgba(53, 53, 53, 0.7);
    transition: 0.5s;
  }
  
  .portfolio-item:hover .portfolio-overlay {
    width: 100%;
    height: 100%;
    left: 0;
  }
  
  .portfolio-item .portfolio-overlay .btn {
    opacity: 0;
  }
  
  .portfolio-item:hover .portfolio-overlay .btn {
    opacity: 1;
  }
  
  /*** Quote ***/
  @media (min-width: 992px) {
    .container.quote {
      max-width: 100% !important;
    }
  
    .quote-text {
      padding-right: calc(((100% - 960px) / 2) + 0.75rem);
    }
  }
  
  @media (min-width: 1200px) {
    .quote-text {
      padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
    }
  }
  
  @media (min-width: 1400px) {
    .quote-text {
      padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
    }
  }
  
  .thick-border {
    border-width: 15px;
    border-style: solid;
    border-color: var(--primary);
  }
  
  /*** Team ***/
  .team-item img {
    transition: 0.5s;
  }
  
  .team-item:hover img {
    transform: scale(1.1);
  }
  
  .team-item .team-social {
    position: absolute;
    width: 38px;
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    transition: 0.5s;
  }
  
  .team-item .team-social .btn {
    color: var(--primary);
    background: #ffffff;
  }
  
  .team-item .team-social .btn:hover {
    color: #ffffff;
    background: var(--primary);
  }
  
  .team-item:hover .team-social {
    left: 0;
  }
  
  /*** Testimonial ***/
  .testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
  }
  
  .testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(
      to left,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
  }
  
  @media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
      width: 200px;
    }
  }
  
  @media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
      width: 300px;
    }
  }
  
  .testimonial-carousel .owl-item .testimonial-text {
    border: 5px solid var(--light);
    transform: scale(0.8);
    transition: 0.5s;
  }
  
  .testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
  }
  
  .testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
  }
  
  .testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
  }
  
  .testimonial-carousel .owl-nav .owl-prev,
  .testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: 0.5s;
  }
  
  .testimonial-carousel .owl-nav .owl-prev:hover,
  .testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
  }
  
  /*** Contact ***/
  @media (min-width: 992px) {
    .container.contact {
      max-width: 100% !important;
    }
  
    .contact-text {
      padding-left: calc(((100% - 960px) / 2) + 0.75rem);
    }
  }
  
  @media (min-width: 1200px) {
    .contact-text {
      padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
    }
  }
  
  @media (min-width: 1400px) {
    .contact-text {
      padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
    }
  }
  
  /*** Footer ***/
  .footer {
    background: linear-gradient(rgba(53, 53, 53, 0.7), rgba(53, 53, 53, 0.7)),
      url(../img/footer.jpg) center center no-repeat;
    background-size: cover;
  }
  
  .footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #ffffff;
    transition: 0.3s;
  }
  
  .footer .btn.btn-social:hover {
    color: var(--primary);
  }
  
  .footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #ffffff;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
  }
  
  .footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
  }
  
  .footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
  }
  
  .footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
  }
  
  .footer .copyright a {
    color: var(--light);
  }
  
  .footer .copyright a:hover {
    color: var(--primary);
  }
  
  footer a:hover,
  footer a:hover i {
    color: var(--primary);
  }
  
  /* Styling for logos */
  .org-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
  }
  
  .logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 15px;
  }

  .footer-logo {
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    background: transparent;
  }
  
  /* Accordion */
  .accordion {
    background-color: transparent;
    border: none;
  }
  
  .accordion:not(.collapsed) {
    background-color: transparent;
  }
  
  .accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
  }
  
  .accordion-button {
    background-color: transparent;
    border: none;
    color: #000;
    border-bottom: 1px solid #ccc;
    padding: 1rem;
    font-size: 18px;
  }
  
  .accordion-list {
    background-color: transparent !important;
    box-shadow: none !important;
  }
  
  .accordion-button.collapsed {
    background-color: transparent;
    color: #6c757d;
  }
  
  .accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--bs-primary);
  }
  
  .accordion-button:hover {
    background-color: transparent;
    color: var(--bs-primary);
  }
  
  .accordion-button:focus {
    background-color: transparent;
    outline: none;
    box-shadow: none;
    color: var(--bs-primary);
  }
  
  .accordion-body {
    padding: 1rem;
    background-color: transparent;
  }
  
  .feature-text {
    font-size: 1.1rem;
  }
  
  .display-5 {
    font-size: 2.5rem;
  }
  
  .playball-regular {
    font-family: "Playball", serif;
    font-weight: 700;
    font-style: normal;
  }
  
  input:focus,
  select:focus,
  textarea:focus,
  button:focus {
    outline: 2px solid var(--bs-primary) !important;
    box-shadow: none;
  }
  .lds-ripple {
    color: var(--primary);
  }
  .lds-ripple,
  .lds-ripple div {
    box-sizing: border-box;
  }
  .lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ripple div {
    position: absolute;
    border: 4px solid currentColor;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  }
  .lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
  }
  @keyframes lds-ripple {
    0% {
      top: 36px;
      left: 36px;
      width: 8px;
      height: 8px;
      opacity: 0;
    }
    4.9% {
      top: 36px;
      left: 36px;
      width: 8px;
      height: 8px;
      opacity: 0;
    }
    5% {
      top: 36px;
      left: 36px;
      width: 8px;
      height: 8px;
      opacity: 1;
    }
    100% {
      top: 0;
      left: 0;
      width: 80px;
      height: 80px;
      opacity: 0;
    }
  }
  
  a,
  a:hover {
    text-decoration: none;
    transition: color 0.3s ease-in-out;
  }
  
  #pageHeaderTitle {
    margin: 2rem 0;
    text-transform: uppercase;
    text-align: center;
    font-size: 2.5rem;
  }
  
  /* Cards */
  .postcard {
    flex-wrap: wrap;
    display: flex;
  
    box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
    border-radius: 10px;
    margin: 0 0 2rem 0;
    overflow: hidden;
    position: relative;
    color: black;
  
    &.light {
      background-color: #ffffff;
    }
  
    .t-dark {
      color: #18151f;
    }
  
    a {
      color: inherit;
    }
  
    h1,
    .h1 {
      margin-bottom: 0.5rem;
      font-weight: 500;
      line-height: 1.2;
    }
  
    .small {
      font-size: 80%;
    }
  
    .postcard__title {
      font-size: 1.75rem;
    }
  
    .postcard__img {
      max-height: 180px;
      width: 100%;
      object-fit: cover;
      position: relative;
    }
  
    .postcard__img_link {
      display: contents;
    }
  
    .postcard__bar {
      width: 50px;
      height: 10px;
      margin: 10px 0;
      border-radius: 5px;
      background-color: #424242;
      transition: width 0.2s ease;
    }
  
    .postcard__text {
      padding: 1.5rem;
      position: relative;
      display: flex;
      flex-direction: column;
    }
  
    .postcard__preview-txt {
      overflow: hidden;
      text-overflow: ellipsis;
      text-align: justify;
      height: 100%;
    }
  
    .postcard__tagbox {
      display: flex;
      flex-flow: row wrap;
      font-size: 14px;
      margin: 20px 0 0 0;
      padding: 0;
      justify-content: center;
  
      .tag__item {
        display: inline-block;
        background: rgba(83, 83, 83, 0.4);
        border-radius: 3px;
        padding: 2.5px 10px;
        margin: 0 5px 5px 0;
        cursor: default;
        user-select: none;
        transition: background-color 0.3s;
  
        &:hover {
          background-color: rgba(83, 83, 83, 0.8);
        }
      }
    }
  
    &:before {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      opacity: 1;
      border-radius: 10px;
    }
  
    &:hover .postcard__bar {
      width: 100px;
    }
  }
  
  @media screen and (min-width: 769px) {
    .postcard {
      flex-wrap: inherit;
  
      .postcard__title {
        font-size: 2rem;
      }
  
      .postcard__tagbox {
        justify-content: start;
      }
  
      .postcard__img {
        max-width: 300px;
        max-height: 100%;
        transition: transform 0.3s ease;
      }
  
      .postcard__text {
        padding: 3rem;
        width: 100%;
      }
  
      .media.postcard__text:before {
        content: "";
        position: absolute;
        display: block;
        background: #18151f;
        top: -20%;
        height: 130%;
        width: 55px;
      }
  
      &:hover .postcard__img {
        transform: scale(1.1);
      }
  
      &:nth-child(2n + 1) {
        flex-direction: row;
      }
  
      &:nth-child(2n + 0) {
        flex-direction: row-reverse;
      }
  
      &:nth-child(2n + 1) .postcard__text::before {
        left: -12px !important;
        transform: rotate(4deg);
      }
  
      &:nth-child(2n + 0) .postcard__text::before {
        right: -12px !important;
        transform: rotate(-4deg);
      }
    }
  }
  @media screen and (min-width: 1024px) {
    .postcard__text {
      padding: 2rem 3.5rem;
    }
  
    .postcard__text:before {
      content: "";
      position: absolute;
      display: block;
  
      top: -20%;
      height: 130%;
      width: 55px;
    }
  
    .postcard.dark {
      .postcard__text:before {
        background-color: #18151f;
      }
    }
    .postcard.light {
      .postcard__text:before {
        background-color: #ffffff;
      }
    }
  }
  
  /* COLORS */
  
  .pink .postcard__title:hover {
    color: var(--primary);
  }
  .pink .postcard__bar {
    background-color: var(--primary);
  }
  
  .container {
    overflow: hidden;
    position: relative;
  }
  
  .slider {
    display: flex;
    width: max-content;
    animation: slidein 30s linear infinite;
  }
  
  .logos {
    display: flex;
    white-space: nowrap;
    margin: 0;
  }
  
  .logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 15px;
  }
  
  @keyframes slidein {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  .polaroid-frame {
    background: #fff;
    display: inline-block;
    padding: 18px; 
    border-radius: 15px;
    box-shadow: 0 12px 36px 0 rgba(0,0,0,0.22), 0 2px 12px rgba(0,0,0,0.13);
    position: relative;
    width: 100%;
    max-width: 370px;
    aspect-ratio: 3/4;
    margin-bottom: 24px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .polaroid-frame:hover {
    transform: scale(1.03) rotate(-2deg);
    box-shadow: 0 18px 48px 0 rgba(0,0,0,0.28), 0 4px 16px rgba(0,0,0,0.18);
  }
  .polaroid-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    background: #f3f3f3;
  }
  @media (max-width: 576px) {
    .polaroid-frame {
      max-width: 95vw;
    }
  }
