/* ================================
   GLOBAL RESET & BASE
=================================== */

/* Freeze animations until page start */
html.is-prestart * {
  animation-play-state: paused !important;
  transition: none !important;
}

/* Loader overlay (optional if you add #intro in HTML) */
#intro {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Fade out when finished */
#intro.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Loader video — centered and responsive */
#intro video {
  position: static !important; /* override global video rules */
  width: 20%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Titillium Web", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

/* Make images & videos responsive by default */
img,
video {
  max-width: 100%;
  height: auto;
}


/* ---- button logo ------*/

/* ================================
   FULLSCREEN VIDEO BACKGROUND
=================================== */

video.desktop-video,
video.mobile-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Show mobile video by default */
.desktop-video {
  display: none;
}
.mobile-video {
  display: block;
}

/* Switch to desktop video on tablets and up */
@media (min-width: 768px) {
  .desktop-video {
    display: block;
  }
  .mobile-video {
    display: none;
  }
}

/* ================================
   FLOATING BAR (BOTTOM NAV)
=================================== */

.floating-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 20, 20, 0.9);
  color: #fff;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  width: 50%;
  min-width: 380px;
  max-width: 900px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  z-index: 5;
}

.floating-bar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-bar img {
  height: 25px;
  object-fit: contain;
}

.floating-bar span {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Toggle button */
.toggle-btn {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 17px;
  width: 110px;
  height: 34px;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  cursor: pointer;
}

.toggle-btn:hover {
  background: #eaeaea;
  transform: scale(1.05);
}

/* Floating bar: smaller devices */
@media (max-width: 767.98px) {
  .floating-bar {
    width: 90%;
    min-width: 0;
    padding: 8px 14px;
    bottom: 16px;
  }

  .floating-bar span {
    font-size: 0.85rem;
  }

  .toggle-btn {
    width: 90px;
    font-size: 0.85rem;
  }
}

/* ================================
   FULLSCREEN SECTION LIST (MENU)
=================================== */

.section-list {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 4;
}

.section-list.show {
  opacity: 1;
  pointer-events: auto;
}

.section-list button {
  background: none;
  border: none;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: 1px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.section-list a {
  text-decoration: none;
  color: inherit;
}

.section-list button:hover,
.section-list a:hover {
  transform: scale(1.06);
  color: #00e0d3;
}

/* ================================
   SECTIONS & LAYOUT
=================================== */

section {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Overlay container for story sections (for future effects if needed) */
.story-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.story-section > * {
  position: relative;
  z-index: 1;
}

#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* General vertical rhythm for content sections */
.story-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

/* Allow more breathing space on small screens (scroll instead of forced 100vh feeling) */
@media (max-width: 767.98px) {
  .story-section {
    min-height: auto;
    padding: 50px 0;
  }
}

/* Make product process section not “too tall” on small screens */
.product-thumb-slider.vh-100 {
  min-height: 100vh;
}
@media (max-width: 767.98px) {
  .product-thumb-slider.vh-100 {
    height: auto !important;
    min-height: auto;
    padding: 60px 0;
  }
}

/* ================================
   TYPOGRAPHY
=================================== */

/* Headline animation */
.headline-flow {
  animation: flow 3s ease-in-out infinite;
}

@media (max-width: 767.98px) {
  .headline-flow {
  animation: none;
}
}

@keyframes flow {
  0%,
  100% {
    letter-spacing: 0px;
  }
  50% {
    letter-spacing: 2px;
  }
}

/* Typewriter */
#typewriter {
  text-align: center;
}

.cursor {
  display: inline-block;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* Global heading styles */
h1 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: #000;
  letter-spacing: -0.06em;
  margin-bottom: 1.5rem;
}

h2 {
  text-align: center;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  margin-bottom: 1rem;
}

h3 {
  text-align: center;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  margin-bottom: 0.75rem;
}

p {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 300;
  color: #000;
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin-bottom: 1rem;
}

strong {
  font-weight: 700;
}

/* Adjust typography on very small screens */
@media (max-width: 575.98px) {
  h1 {
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    margin: 10px 30px 20px;
  }

  p {
    font-size: 0.95rem;
    margin: 0 16px 16px;
  }
}

/* Founder section uses white text on dark background */
#founder h1,
#founder p,
#founder .vision {
  color: #fff;
}

/* Founder vision line */
.vision {
  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
}

/* ================================
   FIRST TROPHY VIDEO
=================================== */

.firsttrophy {
  position: relative;
  width: 60%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .firsttrophy {
    width: 80%;
  }
}

@media (max-width: 575.98px) {
  .firsttrophy {
    width: 100%;
  }
}

/* ================================
   GALLERY
=================================== */

.scale-smooth {
  display: inline-block;
  transition: transform 0.5s ease-out;
}

.scale-smooth:hover {
  transform: scale(1.05);
}

/* Ensure gallery images never overflow their columns */
.row img {
  display: block;
  width: 100%;
  height: auto;
}

/* ================================
   FORM STYLES (QUOTE / CONTACT)
=================================== */

.quote-form-section {
  background: #f5f7f8;
}

.quote-form {
  border: 1px solid #ddd;
}

.quote-form .form-control {
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.95rem;
  padding: 10px 5px;
}

.quote-form .form-control:focus {
  border-color: #000;
  outline: none;
  box-shadow: none;
}

/* Primary call-to-action button */
.btn-submit {
  background-color: #000;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid #fff;
  padding: 12px;
  transition: 0.3s ease;
}

.btn-submit:hover {
  background-color: #444;
  border-color: #000;
  transform: scale(1.03);
}

/* Optional checkbox styling (if used later) */
.form-check-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #8b0000;
}

.form-check-input:checked {
  background-color: #8b0000;
  border-color: #8b0000;
}

.form-check-input:not(:checked) {
  background-color: #fff;
  border: 2px solid #ccc;
}

.form-check-input:hover {
  border-color: #8b0000;
  transform: scale(1.1);
  transition: 0.2s ease;
}

/* Button logo inside CTA */
.butlogo {
  height: 1rem;
  margin-right: 4px;
}

/* Make form full-width on small devices */
@media (max-width: 767.98px) {
  .quote-form {
    margin-top: 24px;
  }
}

/* ================================
   PRODUCT PROCESS CARDS
=================================== */

.product-thumb-slider .card.depth {
  background-color: #fff;
}

.product-thumb-slider .card.depth .card-body {
  padding: 24px 12px;
}

/* On small screens, add some spacing between cards */
@media (max-width: 575.98px) {
  .product-thumb-slider .card.depth {
    margin-bottom: 10px;
  }
}

/* ================================
   FOUNDER SECTION IMAGE
=================================== */

.founder-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Center founder section content better on mobile */
@media (max-width: 991.98px) {
  #founder .container {
    padding-top: 60px;
    padding-bottom: 1000px;
  }

  .founder-img {
    width: auto%;
    height: 100%;
    object-fit: cover;
  }

  #founder .row {
    text-align: center;
  }
}

/* ================================
   FOOTER
=================================== */

.footer {
  background: #0b0b0b;
  color: #e0e0e0;
  padding: 60px 20px 30px;
  position: relative;
  z-index: 6;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo Section */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 28px;
}

.footer-logo h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.footer-about {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

/* Headings */
.footer h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
}

/* Links */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-col ul li a:hover {
  color: #00e0d3;
}

/* Contact Info */
.footer-col p {
  margin: 5px 0;
  text-align: left;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-col i {
  margin-right: 8px;
  color: #00e0d3;
}

/* Social Icons */
.social-icons a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.4rem;
  margin-right: 15px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #00e0d3;
  transform: translateY(-3px);
}

/* Bottom Bar */
.footer-bottom p {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Footer responsiveness */
@media (max-width: 768px) {
  .footer-container {
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-col p {
    text-align: center;
  }

  .social-icons a {
    margin: 0 10px;
  }
}

/* scroll-hint */
.scroll_sec{
  position: relative;
}

.scroll-hint {
  position: absolute;
  left: 0;
  right: 0;
  margin: 730px auto;
  width: 100px;
  align-items: center;
  text-align: center;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border-radius: 20px;
  opacity: 0;
  animation: fadeIn 15s ease forwards, float 1.5s infinite ease-in-out;
  backdrop-filter: blur(3px);
}


@media (max-width: 1366px){
    .scroll-hint {
        margin: 42% auto;
    }
}

@media (max-width: 768px){
    .scroll-hint {
        margin: 530px auto;
    }
}



@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@keyframes fadeIn {
  80% { opacity: 0; }
  100% { opacity: 1; }
}

