@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {

  /* color */
  --primary: #513550;
  --secondary: #EBE1E5;
  --accent: #F3F7FA;

  /* font size */
  -heading-0: 68px;
  --heading-1: 64px;
  --heading-2: 48px;
  --heading-3: 42px;
  --heading-4: 32px;
  --heading-5: 30px;

  --text-medium: 18px;
  --text-regular: 16px;
  --text-light: 13px;

  /* font weight */
  --font-weight-bold: 700;
  --font-weight-semi-bold: 600;
  --font-weight-medium: 500;
  --font-weight-regular: 400;
  --font-weight-light: 300;

  /* font-family */
  --font-family: Montserrat;


}

* {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--accent);
  color: var(--primary);
}


.navbar-brand img {
  width: 90px;
  /* Adjust logo size */
  height: auto;
  mix-blend-mode: multiply;
  /* Blends with background */


}

.navbar-toggler {
  border: none;
  /* Remove default border */
  outline: none;
  /* Remove outline on focus */
  padding: 0;
  /* Remove padding */
}

.navbar-toggler:focus {
  box-shadow: none;
  /* Remove focus shadow */
}

.navbar-toggler-icon {

  width: 30px;
  height: 30px;
  background-size: cover;
}



.navbar {
  background-color: var(--accent);
  /* Set background color */
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
  /* transition: all 0.3s ease-in-out;  */
  height: auto;
}

.navbar-nav .nav-link {
  position: relative;
  color: var(--primary);
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}


/* .hero{
    height: calc(100vh - 17vh); 
    background-color: var(--secondary);
} */

.hero {
  /* min-height: calc(100vh - 60px);  */
  color: var(--primary);
  background-color: var(--accent);
  overflow: hidden; /* Prevent any internal overflow */
  position: relative; /* For proper child containment */
}


@media (min-width: 992px) {
  .hero-section {
    min-height: calc(100vh - 80px);
    /* Adjust for desktop navbar */
  }
}

/* .text-label,
.text-hero-bold,
.text-hero-regular{
  margin: 24px 0;
} */

.text-label {
  font-size: var(--text-regular);
  font-weight: var(--font-weight-regular);
  /* line-height: 31px; */
}

.text-hero-bold {
  font-size: var(--heading-3);
  font-weight: var(--font-weight-bold);
  line-height: 60px;
  font-family: Libre Baskerville;

}

.text-hero-regular-bold {
  font-size: var(--text-medium);
  font-weight: var(--font-weight-medium);
  line-height: 35px;
  text-align: justify;
}

.text-hero-regular {
  font-size: var(--text-medium);
  font-weight: var(--font-weight-regular);
  line-height: 35px;
  text-align: justify;
}

.text-hero-semi-bold {
  font-size: var(--heading-4);
  font-weight: var(--font-weight-semi-bold);
  line-height: 38px;
  font-family: Libre Baskerville;
}

.btn-custom {
  background-color: var(--primary);
  /* Your custom color */
  border-color: var(--primary);
  /* Match border color to background */
  color: #ffffff;
  /* White text for contrast */
}

/* Hover and focus states */
.btn-custom:hover,
.btn-custom:focus {
  background-color: #3e293e;
  /* Darker shade for hover */
  border-color: #3e293e;
  color: #ffffff;
}

/* Active state */
.btn-custom:active {
  background-color: #2c1d2c;
  /* Even darker shade for active state */
  border-color: #2c1d2c;
  color: #ffffff;
}

.time {
  background-color: var(--primary);
  color: white;
}



@media (max-width: 991px) {

  body {
    text-align: center;
  }

  .navbar-collapse {
    text-align: center;
  }

  .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center items */
  }

  .text-hero-bold {
    font-size: var(--heading-4);
    font-weight: var(--font-weight-bold);
    line-height: 40px;
    font-family: Libre Baskerville;

  }

  .text-hero-regular {
    font-size: var(--text-regular);
    font-weight: var(--font-weight-regular);
    line-height: 28px;
    text-align: justify;
  }

  
}

/* backtotop */
.back-to-top {
  z-index: 9999;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: white;
  color: var(--primary);
  border: none;
  border-radius: 15%;
  font-size: 25px;
  display: none;
  /* Initially hidden */
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 8px rgba(128, 128, 128, 0.5);
}

.back-to-top.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.back-to-top.hide {
  opacity: 0;
  transform: translateY(20px);
}

footer{
  background-color: var(--primary);
  color: white;
}

hr.dotted {
  border: 0;
  border-top: 3px dotted var(--primary);
}

.border-style-5 {
  border: 1px solid rgba(255, 87, 34, 0.3);
  position: relative;
}
.corner-tl, .corner-br {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 3px solid var(--primary);
  transition: all 0.3s ease; /* Smooth transition */
}

.corner-tl {
  top: -5px;
  left: -5px;
  border-right: none;
  border-bottom: none;
}

.corner-br {
  bottom: -5px;
  right: -5px;
  border-left: none;
  border-top: none;
}

.border-style-5:hover .corner-tl {
  top: -10px; /* Increase spacing */
  left: -10px; /* Increase spacing */
}

.border-style-5:hover .corner-br {
  bottom: -10px; /* Increase spacing */
  right: -10px; /* Increase spacing */
}

.img-cover{
  object-fit: cover; 
  height: 535.33px; 
  width: 100vw; 
  max-height: 100%;
}

@media (max-width: 991px) {
  .img-cover{
      object-fit: contain;
      height: auto;
  }
}


.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Timeline Center Line */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #4e54c8, #8f94fb);
  border-radius: 2px;
}

/* Timeline Items */
.timeline-item {
  padding: 20px 0;
  position: relative;
  width: 50%;
  clear: both;
}

.timeline-item.left {
  float: left;
  text-align: right;
  padding-right: 40px;
}

.timeline-item.right {
  float: right;
  text-align: left;
  padding-left: 40px;
}

/* Timeline Dot */
.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  top: 30px;
  z-index: 1;
}

.timeline-item.left .timeline-dot {
  right: -10px;
}

.timeline-item.right .timeline-dot {
  left: -10px;
}

/* Timeline Content */
.timeline-content {
  position: relative;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  border: none;
  transition: transform 0.3s ease;
  height: 100%;
}

.timeline-content:hover {
  transform: translateY(-5px);
}

.timeline-time {
  color: #6c757d;
  font-size: 0.9rem;
}

/* Mobile View */
@media (max-width: 767.98px) {

  body {
    overflow-x: hidden; /* Safe for mobile in this case */
  }

  .timeline::before {
      left: 20px;
  }
  
  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
      width: 95%;
      float: none;
      padding: 20px 0 20px 40px;
      text-align: left;
  }
  
  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
      left: 10px;
      right: auto;
  }
  
  .timeline-content {
      width: 100%;
  }
}

.contact .card {
  border-radius: 12px;
  background-color: #f8f9fa; /* Light background */
  padding: 20px;
}

.contact .card-body ul {
  padding: 0;
  margin: 0;
}

.contact .card-body ul li {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.contact .card-body ul li i {
  font-size: 1.5rem;
}

/* iframe {
  max-width: 100%;
  height: auto;
} */

