     /* Base styles */
    body {
      font-family: "Poppins", sans-serif;
      background-color: #f1f1f1;
      transition: background 0.3s linear;
      margin: 0;
       padding: 0px; /*change from 80px to 15px */
    }

/* Square Accent*/
.square {
  display: inline-block;
  height: 20px;
  width: 20px;
  background-color: #fdb913;
  vertical-align: middle; /* keeps it aligned with text */
  margin-right: 5px; /* adds space between square and text */
}

/* hamburger colors */
/* Default (light mode) hamburger icon */
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


.navbar-toggler {
  border: none; /* optional: remove border */
  background-color: transparent;
}

.navbar-toggler:focus {
  outline: none;       /* removes the default blue/gray focus outline */
  box-shadow: none;    /* removes any shadow some browsers add */
}


.navbar-toggler {
  display: flex;
  flex-direction: column; /* stack icon and text */
  align-items: center;
  justify-content: center;
}

.navbar-toggler .menu-text {
  font-size: 0.8rem; 
  margin-top: 4px;
  color: #292c35; /* default light mode color */
}

/* Submenu text color for light mode */
.navbar .dropdown-menu a {
  color: #292c35; /* bright blue */
}

.navbar .dropdown-menu a:hover {
  color: #292c35; /* bright blue */
  font-weight: bold;
   background-color: #f1f1f1 !important;
}

/* Optional: change background of dropdown in dark mode */
.navbar .dropdown-menu {
  background-color: #f1f1f1 !important;
}

/* Style the active dropdown item */
.navbar .dropdown-menu a.active {
  color: #292c35 !important;
  font-weight: bold;
  background-color: #f1f1f1 !important;
}

    /* Navbar */
    .navbar {
      padding: 0; /* Adjusted from 10px to 0, 20px to 0, removed fixed-top*/
      background-color: #f1f1f1;
      transition: background-color 0.3s;
      margin: 0;
      
}
  
    .navbar-brand img {
      height: 80px;
      filter: brightness(10%);
    }

    @media (max-width: 768px) {
  .navbar-brand img {
    height: 50px;
  }
}

/* Nav link base style */
.nav-link {
  font-weight: 500;
  font-size: 22px;
  color: #292c35 !important;
  position: relative;
  display: inline-block;
  text-decoration: none;
  transition: color 0.3s ease;
  z-index: 1; /* ensures text stays above pseudo-element */
}

/* Gradient underline behind text */
.nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 13%; /* start halfway behind the text */  
  width: 100%;
  height: 16px;
  background: rgba(253, 185, 19, 0.9); /* just the first color */
  transform: translateY(50%); /* adjust so it sits behind text */
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  border-radius: 3px;
  z-index: -1; /* send line behind text */
}

/* Hover effect */
.nav-link:hover::before,
.nav-link:focus::before {
  transform: translateY(0%); /* rise to fully behind text */
  opacity: 1;
}

/* Active (current page) */
.nav-link.active::before,
.nav-link[aria-current="page"]::before {
  transform: translateY(0%);
  opacity: 1;
}

    /* Navbar links alignment */
    .navbar-nav {
      display: flex;
      justify-content: flex-end; /* Align links to the right */
      flex-grow: 1;
    }

    .navbar-nav .nav-item {
      margin-left: 20px;
    }

    /* Make sure the container stretches across the full width */
    .navbar-collapse {
      flex-grow: 1;
    }

    .container-fluid {
      padding-left: 0;
      padding-right: 0;
    }

    /* Responsive Fix */
    @media (max-width: 767px) {
      .toggle-container {
        margin-top: 10px;
      }

      .navbar-nav {
        justify-content: center;
      }
    }

   .custom-container {
  width: 100%;
  padding: 0 50px;
  margin: 0 auto;
}

@media (min-width: 996px) {
  .custom-container {
    max-width: 1600px;
  }
}

.custom-container h1 {
  font-size: clamp(2rem, 2vw, 2.5rem);
}

hr {
  border: none;
  border-top: 2px solid #292c35;
  margin: 1rem 0; /* some spacing */
  width: 100%;    /* this means: full width of its parent container */
}

.hr-full {
  border: none;
  border-top: 2px solid #292c35;
  margin: 0;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

.hero-section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 0vw;
  box-sizing: border-box;
  overflow: hidden; /* Or auto, depending on your content */
}


/* Inner wrapper specific for hero content */
.hero-inner {
  text-align: left;   /* center h1 and button */
  max-width: 1200px;     /* optional width limit */
  margin: 0 auto;       /* ensures it’s centered inside custom-container */
}

.hero-section h1 {
  font-family: "ivyora-display", serif !important;
  font-weight: 700 !important;
  font-style: normal;
  font-size: clamp(2.5rem, 10vw, 123px);
  line-height: clamp(3.2rem, 11.5vw, 150px);
  letter-spacing: 3px;
  margin: 0;
  color: #292c35;
  max-width: 100%;
  word-break: break-word;
}

.highlight-underline {
  background: linear-gradient(to bottom, transparent 60%, #fdb913 60%);
}


/* When screen width is 523px or smaller */
@media (max-width: 523px) {
  .change-to-p {
    font-size: clamp(2rem, 8vw, 90px); /* slightly smaller than h1 */
    line-height: clamp(2.7rem, 9vw, 120px); /* optional: scale line-height too */
  }
}

/* Waving animation */
@keyframes wave-animation {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(14deg); }
  30% { transform: rotate(-8deg); }
  45% { transform: rotate(14deg); }
  60% { transform: rotate(-4deg); }
  75% { transform: rotate(10deg); }
  100% { transform: rotate(0deg); }
}

.wave {
  display: inline-block;       /* Needed for transform */
  transform-origin: 70% 70%;   /* Makes it pivot like a hand */
  animation: wave-animation 2s infinite; /* 2s loop */
}


/* Target screens smaller than 561px */
@media (max-width: 560px) {
  .hide-on-small {
    display: none;
  }
}

/* Target screens from 1496px down to 901px */
@media (max-width: 1496px) and (min-width: 901px) {
  .hide-on-medium {
    display: none;
  }
}


/* Default styles for <p> */
p {
  font-size: clamp(20px, 0.775vw + 16.13px, 31px);
  line-height: 1.55;
  margin-bottom: 1.3rem;
  color: #292c35;
}


/* Footer Styles */
.footer {
  background-color: #f1f1f1;
  color: #292c35;
  padding: 0px 0px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1;
  text-align: left; /* Ensure the column content is left aligned */
}

.footer-column h3 {
  font-size: 32px;
  color: #292c35;
  margin-bottom: 10px;
}

.footer-column p, .footer-column ul {
  font-size: 22px;
  margin: 0; /* Reset margin to avoid unwanted space */
  padding: 0; /* Reset padding to avoid unwanted space */
}

.footer-column ul {
  list-style: none;
  padding-left: 0; /* Remove left padding from the list */
}

.footer-column ul li {
  margin-bottom: 10px;
  padding-left: 0; /* Remove any padding from list items */
}

.footer-column ul li a {
  text-decoration: none;
  color: #292c35;
  text-decoration: underline; /* Underline the link on hover */
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #292c35; /* Hot pink color on hover */
  text-decoration: none; /* Underline the link on hover */
}

.footer-bottom p {
  text-align: center;
  margin-top: 5px;
  font-size: 14px;
  color: #292c35;
  padding-top: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    margin-bottom: 20px;
    text-align: center;
  }
}

/* LinkedIn Icon Default */
.linkedin-link {
  display: inline-block;
  width: 60px;
  height: 60px;
  background-image: url('images/icons/linkedin_light.png');
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-image 0.3s ease;
  margin-bottom: 16px; /* replicates your mb-4 */
}

/* Swap icon on hover */
.linkedin-link:hover {
  background-image: url('images/icons/linkedin_dark.png');
}


/* Card Container */
.card-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3 / 4; /* maintains proportion (400x550) */
  overflow: hidden;
  border-radius: 30px;
  background: white;
  transition: all 0.3s ease;
  margin: auto;
}

/* Card Image */
.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Card Info */
.card-info {
  position: absolute;
  top: -22%;
  left: 0;
  width: 100%;
  height: 22%;
  padding: 5% 8%;
  background: white;
  box-sizing: border-box;
  color: black;
  transition: top 0.3s ease;
  z-index: 2;
}

.card-container:hover .card-info {
  top: 0;
}

.card-container:hover .card-image {
  transform: translateY(22%);
}

.card-info h2 {
  margin: 0;
  color: #009dea;
  font-size: 1.3em;
}

.card-info h3 {
  margin: 5px 0 0;
  color: #009dea;
  font-size: 1em;
  font-weight: normal;
}

/* Make it more mobile friendly */
@media (max-width: 480px) {
  .card-info {
    padding: 4% 6%;
    height: 25%;
    top: -25%;
  }

  .card-container:hover .card-info {
    top: 0;
  }

  .card-container:hover .card-image {
    transform: translateY(25%);
  }

  .card-info h2 {
    font-size: 1.1em;
  }

  .card-info h3 {
    font-size: 0.9em;
  }
}

/* Word Replace */

.ui-word-replace {
  display: inline-flex;
  flex-direction: column;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
}

.ui-word-replace div {
  clip-path: inset(2px 0 0 0);
  height: calc(1lh + 2px);
  overflow: hidden;
}

.ui-word-replace ul {
  all: unset;
  display: grid;
}

.ui-word-replace.--step li {
  animation: step-word calc(2s * 5) steps(5, jump-none) infinite;
  list-style: none;
}

@keyframes step-word {
  to {
    translate: 0 calc((-1lh * 5) + 1lh);
  }
}

/* Gallery Wrapper */
.wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Force 2 columns by default */
  gap: 30px;
  margin-bottom: 40px;
  padding: 0;
  max-width: 100%; /* Ensure the gallery stretches fully across */
  justify-items: center; /* Ensure the items are centered in the columns */
}

/* Each Image Container */
.wp-block-image {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Image Hover Effect */
.wp-block-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Image Style */
.wp-block-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Image Title */
.wp-block-image h4 {
  font-size: 31px;
  margin-top: 15px;
  color: #292c35;
}

/* Image Description */
.wp-block-image p {
  font-size: 19px;
  color: #555;
  margin: 10px 0 0;
  line-height: 1.5;
}

/* Gallery Link */
.gallery-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Gallery Link Hover Effect */
.gallery-link:hover {
  text-decoration: none;
}

.gallery-link:hover .wp-block-image {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.gallery-link:hover h4 {
  color: #292c35; /* Change color to hot pink on hover */
  font-weight: bold;

}


/* Responsive: Stack into one column on small screens */
/* Stack into one column on small screens only */
@media (max-width: 900px) {
  .wp-block-gallery {
    grid-template-columns: 1fr; /* 1 column */
  }

  .wp-block-image {
    max-width: 100%;
  }
}

/* Two columns for wider screens (above 1200px) */
@media (min-width: 901px) {
  .wp-block-gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 20px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
  }
}

  .wp-block-image {
    padding: 20px;
    max-width: 100%;
  }

  /* Shrink h4 for medium screens */
@media (max-width: 1033px) {
  .wp-block-image h4 {
    font-size: 24px; /* smaller than 31px on large screens */
  }
}


/* For smaller screens (below 900px) */
@media (max-width: 900px) {
  .wp-block-gallery {
    gap: 20px;
    padding: 0 10px;
  }

  .wp-block-image {
    padding: 10px;
  }

  .wp-block-image h4 {
    font-size: 31px;
  }

  .wp-block-image p {
    font-size: 15.2px;
  }
}

/* Add On */
/* === Fix uneven card widths caused by paragraph text === */
.wp-block-gallery {
  justify-items: stretch; /* override center */
}

.gallery-link {
  width: 100%; /* force cards to fill grid column */
}

.wp-block-image {
  min-width: 0; /* allow text to wrap instead of forcing width */
}


/* Highlight */
::selection {
  background: #292c35; /* background color when selected */
  color: white;         /* text color when selected */
}


    /* By default, hide the <br> tag */
.responsive-br {
  display: none;
}

/* Show it when screen width is 100px or less */
@media (max-width: 1000px) {
  .responsive-br {
    display: inline;
  }
}

/* CTA Button - Reset default focus and active styles */
.btn:focus,
.btn:active {
  outline: none;         /* Remove default blue outline on focus */
  box-shadow: none;      /* Remove any focus ring or shadow */
}

/* Reversed CTA button style */
.btn-cta {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;   /* pill-shaped */
  font-weight: 300;
  background-color: #292c35; /* solid dark background */
  border: 2px solid #292c35;
  color: #fff;              /* white text */
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover state - invert colors */
.btn-cta:hover {
  background-color: transparent;   /* white background */
  color: #292c35;           /* dark text */
  border: 2px solid #292c35;     /* keep border visible */
  text-decoration: none;
}

/* Square CTA Button */
.btn-cta-square {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;           /* small square corners */
  font-weight: 300;
  background-color: #292c35;
  border: 2px solid #292c35;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Focus and active states */
.btn-cta-square:focus,
.btn-cta-square:active {
  outline: none;
  box-shadow: none;
}

/* Keep the exact same hover effect as .btn-cta */
.btn-cta-square:hover {
  background-color: transparent;   /* reversed effect */
  color: #292c35;
  border-color: #292c35;
}

/* Back to Top */
/* Vertical Back to Top */
.back-to-top-btn {
  z-index: 2;
  position: fixed;
  bottom: 20px;
  right: 3px;
  background-color: #292c35; /* dark background */
  color: white;
  border: none;
  padding: 15px 10px; /* adjust for vertical layout */
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
  
  /* Make text vertical */
  writing-mode: vertical-rl; /* vertical text */
  text-orientation: mixed;
}

.back-to-top-btn:hover {
  background-color: #555C6F; /* hover color */
}

.back-to-top-btn:focus {
  outline: none;
}


/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Two Cloumn Structure */
.left-column {
  padding: 20px;
}

.right-column {
  padding: 20px;
}

/* Align the image near the top of left-column's first heading */
@media (min-width: 992px) { /* for desktop */
  .right-column {
    margin-top: 20px; /* adjust so the photo moves up */
  }
}

/* Small screens: stack naturally */
@media (max-width: 991px) {
  .right-column {
    margin-top: 20px;
  }
}

/* Optional: scale the image */
.right-column .card-image {
  max-width: 100%;
  height: auto;
  display: block;
}


/*icon box */
.icon-section {
  display: flex;
  justify-content: left;
  gap: 40px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.icon-box {
  text-align: center;
  flex: 1 1 120px; /* flexible sizing with minimum width */
  max-width: 150px;
}

.icon-box img {
  width: 100%;
  max-width: 80px;
  height: auto;
  margin-bottom: 10px;
}

.icon-box p {
  font-size: 14px;
  margin: 0;
  color: #333;
}


body {
  overflow-x: hidden; /* prevent horizontal scrollbar from appearing */
}


/* ===== Default: show small-screen hero, hide large ===== */
.hero-small {
  display: block;
}
.hero-large {
  display: none;
}

/* ===== Small-screen hero styling (≤ 1439px) ===== */
.hero-small {
  position: relative;
  min-height: 80vh;
  padding: 0 50px;
  text-align: center;
  overflow: hidden;
}

.hero-small .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 1400px;
  width: 90%;
  margin: 0 auto;
}

.hero-small .hero-content h1 {
  font-family: 'Ivyora Display', serif;
  font-weight: 800;
  font-size: clamp(44px, 6.5vw, 104px); /* slightly larger than before */
  line-height: 1.2;
  color: #292c35;
  margin: 0 0 20px 0;
}

.hero-small .hero-content .btn-ctn,
.hero-small .hero-content .btn-cta {
  font-size: clamp(16px, 1.5vw, 24px); /* button font unchanged */
}

/* ===== Optional fine-tuned breakpoints ===== */
@media (max-width: 768px) {
  .hero-small .hero-content .btn-ctn,
  .hero-small .hero-content .btn-cta {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .hero-small .hero-content .btn-ctn,
  .hero-small .hero-content .btn-cta {
    font-size: 16px;
  }
}


/* ===== Large-screen hero styling (> 1440px) ===== */
@media (min-width: 1440px) {
  .hero-small {
    display: none;
  }

  .hero-large {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 0;
    overflow: hidden;
  }

  .hero-large h1 {
    font-family: 'Ivyora Display', serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 10vw, 123px);
    line-height: clamp(3.2rem, 11.5vw, 150px);
    margin: 0;
    color: #292c35;
  }
}

/*Show More Show Less Button Styling */
.custom-btn {
  font-weight: 700;
  font-size: 36px;
  padding: 1rem 2rem;
  border-radius: 8px;
  background-color: transparent;
  color: #292c35;
  border: 2px solid #292c35;
  cursor: pointer;

  /* Remove Bootstrap button transitions and shadows */
  transition: none !important;
  box-shadow: none !important;
}

/* Remove focus/active styles */
.custom-btn:focus,
.custom-btn:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Hover */
.custom-btn:hover {
  background-color: #292c35;
  color: #fff;
  border: 2px solid #292c35;
}

/* Medium screens (tablet) */
@media (max-width: 992px) {
  .custom-btn {
    font-size: 28px;
    padding: 0.9rem 1.8rem;
  }
}

/* Small screens (mobile) */
@media (max-width: 768px) {
  .custom-btn {
    font-size: 22px;
    padding: 0.75rem 1.5rem;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .custom-btn {
    font-size: 18px;
    padding: 0.6rem 1.2rem;
  }
}

/* Shuffle Letter Effect */
.shuffle-letters {
  font-size: 68px;        /* Large text */
  font-weight: 700;       /* Bold */
  color: #292c35;         /* Text color */
  text-decoration: none;  /* Remove underline */
  cursor: pointer;
  display: inline-block;
  transition: color 0.3s ease;
}

/* Optional: color on hover */
.shuffle-letters:hover {
  color: #fdb913;
  text-decoration: none;
}

/* Remove default link focus/outline */
.shuffle-letters:focus, 
.shuffle-letters:active {
  outline: none;
  text-decoration: none;
}

/* Responsive font sizes */
@media (max-width: 1200px) { .shuffle-letters { font-size: 55px; } }
@media (max-width: 992px) { .shuffle-letters { font-size: 42px; } }
@media (max-width: 768px) { .shuffle-letters { font-size: 34px; } }
@media (max-width: 480px) { .shuffle-letters { font-size: 28px; } }

/* Marquee container */
.scrolling-text-container {
  width: 100vw;
  overflow: hidden;
  margin: 0;
  padding: 0.5rem 0;
  background-color: #f7f7f7;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
  white-space: nowrap;
}

/* Scrolling track */
.scrolling-track {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
  will-change: transform;
  transform: translate3d(0,0,0);
}

/* Scrolling content */
.scrolling-content {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  font-size: 68px;
  font-weight: 700;
  line-height: 1.2;
  padding-right: 2rem;
}

/* Text styles */
.solid {
  color: #292c35;
}

.outlined {
  color: transparent;
  -webkit-text-stroke: 1.5px #292c35;
  text-stroke: 1.5px #292c35;
}


/* Break Section */
.break-section {
  width: 100%;
  height: 350px; /* matches your image height */
  background-image: url('images/la.jpg');
  background-size: cover;       /* cover entire div */
  background-position: center;  /* center the image */
  background-attachment: fixed; /* fixed background for parallax effect */

  /* Top border like .hr-full */
  border-top: 2px solid #292c35;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

/* Reduce height on small screens */
@media (max-width: 768px) {
  .break-section {
    height: 150px; /* or 40-50% of viewport height (vh) */
  }
}

/* icon Inline */
.icon-row {
  display: flex;
  align-items: center;
  gap: 10px; /* spacing between icons */
}

.icon-row img {
  width: 40px; /* adjust size */
  height: auto;
}

/* PROJECT SECTION WRAPPER */
.project-wrapper {
  display: flex;
  flex-wrap: nowrap;
  background: #f1f1f1;
}

/* STACKED / MOBILE LAYOUT (below 1000px) */
@media (max-width: 999.98px) {
  .project-wrapper {
    flex-direction: column;
  }

  .project-left,
  .project-right {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    position: relative;
    border-right: none;
    box-sizing: border-box;
  }
}

/* DESKTOP / SIDE-BY-SIDE layout (1000px and above) */
@media (min-width: 1000px) {
  .project-left {
    position: sticky;
    top: 0;
    flex: 0 0 30%;
    max-width: 30%;
    height: 100vh;
    padding: 40px;   /* default padding */
    padding-left: 0; /* override left padding */
    background: transparent;
    border-right: 1px solid #ddd;
    box-sizing: border-box;
    overflow: auto;
  }

  .project-right {
    flex: 1;
    padding: 40px;  /* default padding */
    padding-right: 0; /* override right padding */
    box-sizing: border-box;
  }
}

/* PROJECT LEFT H1 FONT TYPE & SIZE */
.project-left h1 {
  font-family: "ivyora-display", serif !important;
  font-weight: 700 !important;
  font-size: clamp(2rem, 2vw, 2.5rem);
}

/* PROJECT LEFT P FONT SIZE */
.project-left p {
  font-size: 18px;
  line-height: 1.6;
}

/* IMAGE STYLING */
.project-right img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.project-right img.gif-original {
  width: auto;           /* use natural size */
  max-width: 100%;       /* shrink to container on small screens */
  height: auto;          /* keep aspect ratio */
  display: block;
  margin: 0 auto 1.5rem; /* centers the image */
}


/* RELATED PROJECTS */
.related-projects {
  background: #f1f1f1;
  padding: 40px 20px;
  margin-left: 0; /* important: reset any left margin */
}

    /* Make the whole card clickable */
.gallery-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* No underline on hover */
.gallery-link:hover {
  text-decoration: none;
}

/* Entire card hover: lift + shadow */
.gallery-link .card {
  transition: all 0.3s ease; /* smooth animation */
}

.gallery-link:hover .card {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Title hover: color + bold */
.gallery-link .card-title {
  transition: all 0.3s ease;
  font-size: 28px;
}

.gallery-link:hover .card-title {
  color: #292c35;
  font-weight: bold;
}

/* Start reducing at 1550px and below */
@media (max-width: 1550px) {
  .gallery-link .card-title {
    font-size: 24px;
  }
}

/* Smaller screens */
@media (max-width: 1296px) {
  .gallery-link .card-title {
    font-size: 20px;
  }
}

@media (max-width: 1135px) {
  .gallery-link .card-title {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .gallery-link .card-title {
    font-size: 28px;
  }
}


/* Contentlink */
a.contentlink {
  position: relative;
  color: #292c35;
  text-decoration: none;
}

a.contentlink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;      /* distance from text, smaller = closer */
  height: 3px;       /* thickness of underline */
  background: currentColor;
  transform: scaleX(0);  /* hidden by default */
  transform-origin: left;
  transition: transform 0.25s ease;
}

a.contentlink:hover::after {
  transform: scaleX(1);  /* show underline */
}

/* Accordion */
.accordion-container {
  border: 2px solid #292c35;
  margin-bottom: 10px;
  border-radius: 4px;
  overflow: hidden;
}

.accordion {
  background-color: #f1f1f1;
  color: #292c35;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  outline: none;
  font-size: clamp(18px, 2vw, 25px); /* responsive font size */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion:hover,
.accordion.active {
  background-color: #d7d7d7;
}

.panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  background-color: #f1f1f1;
  transition: max-height 0.3s ease;
}

.accordion-wrapper .panel p {
  font-size: clamp(16px, 2vw, 22px); /* min 16px, scales with viewport, max 22px */
  line-height: 1.6;
  margin: 0;
}

.panel.education-panel ul {
  margin: 0;
  padding-left: 20px;
}

.panel.education-panel li {
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.6;
  margin-bottom: 6px;
  list-style-type: disc;
  color: #292c35;
}


.panel img {
  max-width: 100%;
  height: auto;
  display: block; /* optional, removes inline spacing issues */
}


.symbol {
  font-weight: bold;
}

/* Accordoin fix */
.accordion:focus,
.accordion:active {
  outline: none;
  box-shadow: none;
}


/* Two Columns */
@media (max-width: 1383px) {
  .custom-row {
    flex-direction: column !important; /* stack columns vertically */
  }

  .custom-row .col-md-6 {
    max-width: 100% !important; /* full width for each column */
    flex: 0 0 100% !important;
  }
}

/* Two Columns photo */
.custom-row .col-md-6 img {
  border-top-left-radius: 50px;    /* very round */
  border-bottom-right-radius: 50px; /* very round */
  border-top-right-radius: 10px;   /* slightly round */
  border-bottom-left-radius: 10px; /* slightly round */
}

/*second Two Columns */
.custom-row-2 .col-md-6 img.custom-img {
  border-top-left-radius: 50px;    /* very round */
  border-bottom-right-radius: 50px; /* very round */
  border-top-right-radius: 10px;   /* slightly round */
  border-bottom-left-radius: 10px; /* slightly round */
}

/*second Two Columns */
/* Second row stacking (image on top for small screens, text below) */
@media (max-width: 1383px) {
  .custom-row-2 {
    flex-direction: column-reverse !important; /* normal stacking: text first, image below */
  }

  .custom-row-2 .col-md-6 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* Hide second image */
@media (max-width: 768px) {
  .custom-row-2 .col-md-6:first-child img {
    display: none; /* hide the image */
  }
}


/* More space between two rows */
.spacing-between-rows {
  margin-top: 100px; /* adjust this value as you like */
}
/* Reduce spacing on smaller screens */
@media (max-width: 1383px) {
  .spacing-between-rows {
    margin-top: 50px; /* smaller spacing */
  }
}

/* Full Page Overlay Effect */
#contactOverlay {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(241, 241, 241, 0.95);
  color: #292c35;
  transition: top 0.5s ease;
  z-index: 1000;
}

#contactOverlay.active {
  top: 0;
}

/* Close button stays in corner */
#closeOverlay {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 70px;
  cursor: pointer;
  color: #292c35;
  line-height: 1;
}

/* Optional: spacing inside overlay content */
#contactOverlay h1 {
  margin-bottom: 0.6em;
}

#contactOverlay p {
  line-height: 1.6;
  margin-bottom: 1.2em;
}

/* email Underline */
.email-underline {
  color: #292c35; /* text color */
  background: linear-gradient(to bottom, transparent 60%, #fdb913 60%);
  background-size: 100% 40px; /* thickness of the underline */
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s ease; /* optional smooth effect */
}

.email-underline:hover {
  color: #292c35;
  background: none;
  text-decoration: none;
}

/* Preloader full screen */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* page background while loading */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Spinner / loader */
#preloader .loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #fdb913;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



