:root {
  /* --color-primary: #F4BECF; */
  --color-primary: #465d56;
  --color-secondary: #73998d;
  --color-white: #FFFFFF;
  --color-light-grey: #7C8187;
  --color-text-main: #1e1e1e;
  --color-text-secondary: #575757;
  --color-background: #e1dedf4f;
  --color-input: #fafafa;
}

body {
	opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in-out;
	animation-duration: 0.4s;
}
@keyframes fadeInOpacity {
  0% {
    opacity: 0.3;

  }
  100% {
    opacity: 1;


  }
}


body {
  font-family: "Raleway", sans-serif;
  font-weight: 450;
  color: var(--color-text-main);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  background: var(--color-background);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Oswald", sans-serif;
  color: var(--color-text-main);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h4 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h5 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h6 { font-size: clamp(1rem, 2vw, 1.25rem); }

p {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

a {
    font-weight: 700;
    color: var(--color-text-main);
}

html, body {
  overflow-x: hidden;
}
/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 40vh;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
}


.hero-text {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: 10%;
}

/* Zigzag sections */
.zigzag, .container { max-width: 1200px; margin: auto; 
}

/* Box section */
.bg-gradient {
  background: linear-gradient(to bottom, var(--color-background), var(--color-white));
  
}

.custom-box {
  position: relative;
  overflow: hidden;
  padding: 1.8rem;
  background: var(--color-white);
  border: none;
  box-shadow: rgba(17, 17, 26, 0.5) 2px 5px 2px;
  transition: box-shadow 0.3s ease;
  border-radius: 1px;  
}


/* 🌊 BOX STYLES */
.card.custom-box {
  padding: 1.6rem;
  background: var(--color-white);
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3px;
  border: none;
  
}
.custom-box .box-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: 0;
  transition: transform 0.3s ease, opacity 0.6s ease;
  
}
.custom-box:hover .box-bg {
  transform: scale(1.05);
  opacity: 0.2;
}
.custom-box:hover {
  box-shadow: 0 4px 5px rgba(17, 17, 26, 0.106);

}
.card-body { position: relative; z-index: 1; }

.custom-box p {
  color: var(--color-text-main) !important;
  font-weight: 600 !important;
  text-shadow: var(--color-background);
  z-index: 1;
}

/* Small helpers */
.hr-sp {
  width: 50px;
  border: none;
  border-top: 3px solid var(--color-secondary);
  margin: 1rem auto;
}
.logo img {
  max-height: 55px;
  transition: transform .3s, filter .3s;
}
.logo:hover img {
  transform: scale(1.05);
}


/* 🌊 BOUNCY 3D BUTTON */
.button-1 {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  outline-offset: 3px;
  transition: filter 200ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  font-family: inherit;
  font-weight: 600;
}

.button-1-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background: hsl(0, 0%, 0%, 0.2); /* subtle shadow */
  will-change: transform;
  transform: translateY(2px);
  transition: transform 400ms cubic-bezier(.3,.7,.4,1);
}

.button-1-edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(
    to left,
    var(--color-primary) 0%,
    var(--color-primary) 8%,
    var(--color-primary) 92%,
    var(--color-primary) 100%
  );
}

.button-1-front {
  display: block;
  position: relative;
  padding: 10px 24px; /* smaller padding */
  font-size: 1rem; /* smaller text */
  border-radius: 2px;
  color: var(--color-white);
  background: var(--color-primary);
  will-change: transform;
  transform: translateY(-3px);
  transition: transform 400ms cubic-bezier(.3,.7,.4,1);
}

@media (min-width: 768px) {
  .button-1-front {
    font-size: 1.1rem;
    padding: 10px 32px; /* smaller but still balanced on desktop */
  }
}

.button-1:hover {
  filter: brightness(110%);
}

.button-1:hover .button-1-front {
  transform: translateY(-5px);
  transition: transform 200ms cubic-bezier(.3,.7,.4,1.5);
}

.button-1:active .button-1-front {
  transform: translateY(-2px);
  transition: transform 34ms;
}

.button-1:hover .button-1-shadow {
  transform: translateY(3px);
  transition: transform 200ms cubic-bezier(.3,.7,.4,1.5);
}

.button-1:active .button-1-shadow {
  transform: translateY(1px);
  transition: transform 34ms;
}

.button-1:focus:not(:focus-visible) {
  outline: none;
}
.button-1-shadow {
  background: rgba(0, 0, 0, 0.2);
}
.button-1-edge {
  background: linear-gradient(to left, var(--color-primary) 0%, var(--color-primary) 100%);
}
.button-1-front {
  color: var(--color-white);
  background: var(--color-primary);
}


/* btn but GREY  */

.button-2 {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  outline-offset: 3px;
  transition: filter 200ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  font-family: inherit;
}

.button-2-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background: hsl(0, 0%, 0%, 0.2); /* subtle shadow */
  will-change: transform;
  transform: translateY(2px);
  transition: transform 400ms cubic-bezier(.3,.7,.4,1);
}

.button-2-edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(
    to left,
    var(--color-primary) 0%,
    var(--color-primary) 8%,
    var(--color-primary) 92%,
    var(--color-primary) 100%
  );
}

.button-2-front {
  display: block;
  position: relative;
  padding: 10px 24px; /* smaller padding */
  font-size: 1rem; /* smaller text */
  border-radius: 2px;
  color: var(--color-white);
  background: var(--color-text-secondary);
  will-change: transform;
  transform: translateY(-3px);
  transition: transform 400ms cubic-bezier(.3,.7,.4,1);
}

@media (min-width: 768px) {
  .button-2-front {
    font-size: 1.1rem;
    padding: 10px 32px; /* smaller but still balanced on desktop */
  }
  
}

.button-2:hover {
  filter: brightness(110%);
}

.button-2:hover .button-2-front {
  transform: translateY(-5px);
  transition: transform 200ms cubic-bezier(.3,.7,.4,1.5);
}

.button-2:active .button-2-front {
  transform: translateY(-2px);
  transition: transform 34ms;
}

.button-2:hover .button-2-shadow {
  transform: translateY(3px);
  transition: transform 200ms cubic-bezier(.3,.7,.4,1.5);
}

.button-2:active .button-2-shadow {
  transform: translateY(1px);
  transition: transform 34ms;
}

.button-2:focus:not(:focus-visible) {
  outline: none;
}
.button-2-shadow {
  background: rgba(0, 0, 0, 0.2);
}
.button-2-edge {
   background: linear-gradient(to left, var(--color-text-secondary) 0%, var(--color-primary) 100%);
}
.button-2-front {
  color: var(--color-white);
background: linear-gradient(to left, var(--color-text-secondary) 0%, var(--color-primary) 100%);
}




/* Background helper */
.bg {
  background-color: var(--color-white);
  padding: 3%;
}
.boxes{
  margin-top: -10%;
  
}
@media (max-width: 768px) {
.boxes{
  margin-top: -30%;
  

}
  .custom-box{
      margin: 3%;
    
  }
    .card.custom-box {
  padding: 1.2rem;
}
}

.button-front {
  margin-right: 15px; /* adds space to the right of the first button */
}

.zig-img{
    box-shadow: 0 5px 0.5px var(--color-primary);
}
.line-top {
  box-shadow: 0 -3px 0 0px var(--color-primary);
}

footer {
  color: var(--color-text-main);
  font-size: 0.9rem;
  padding: 3rem 1rem;
}

footer a,
footer .footer-links a {
  color: var(--color-text-main);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

footer a:hover,
footer .footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(2px); /* subtle hover movement */
}

footer .vertical-line {
  width: 1px;
  height: 60px;
  background-color: #ddd;
  margin: 0 auto;
}

footer .footer-links {
  list-style: none;
  padding: 0;
}

footer .footer-links li {
  margin-bottom: 0.5rem;
}

footer .footer-links li:last-child {
  margin-bottom: 0;
}

/* Responsive Footer */
@media (max-width: 767px) {
  footer .vertical-line {
    display: none;
  }

  footer .row {
    text-align: center;
    flex-direction: column;
  }

  footer .col-md-4,
  footer .col-md-3 {
    margin-bottom: 1.5rem;
  }
}



/* INITIAL HIDDEN STATES */
.fade-slide-up, .slide-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out 0s, transform 0.6s ease-out 0s;
}

.fade-in-left, .slide-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease-out 0s, transform 0.6s ease-out 0s;
}

.fade-in-right, .slide-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease-out 0s, transform 0.6s ease-out 0s;
}

/* VISIBLE STATE */
.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* DELAY HELPERS */
.delay-1  { transition-delay: 0.1s !important; }
.delay-2  { transition-delay: 0.2s !important; }
.delay-3  { transition-delay: 0.3s !important; }
.delay-4  { transition-delay: 0.4s !important; }
.delay-5  { transition-delay: 0.5s !important; }
.delay-6  { transition-delay: 0.6s !important; }
.delay-7  { transition-delay: 0.7s !important; }
.delay-8  { transition-delay: 0.8s !important; }
.delay-9  { transition-delay: 0.9s !important; }
.delay-10 { transition-delay: 1s !important; }






/* Fullscreen overlay for smooth transitions */
#page-transition-overlay {
  position: fixed;
  inset: 0; /* top, right, bottom, left = 0 */
  background-color: #ffffff; /* fade color */
  pointer-events: none; /* let clicks pass */
  opacity: 0;
  z-index: 9999;
  transition: opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;
}

/* Show overlay */
#page-transition-overlay.active {
  opacity: 1;
}

/* HTML: <div class="corner-only"></div> */
.corner-only {
  --s: 50px; /* size of the corners */
  border: 8px solid #465d56; 
    padding: 3rem;
  mask: 
    conic-gradient(#000 0 0) content-box,
    conic-gradient(at var(--s) var(--s),#0000 75%,#000 0) 
    0 0/calc(100% - var(--s)) calc(100% - var(--s));
    max-width: 1200px;
    margin: auto;
}

.fillerboxleft {
    height: 10px; /* adjust space as needed */
      width: 20%;
  background-color: #465d56; 
}


  .icon-accent {
  opacity: .85;
   color: var(--color-primary);
}

.card-title + i,
.d-flex i {
  transform: translateY(-8px);
  margin-left: 2%;
}