

.video-play-btn {
  position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    border: 3px solid white;
    padding: 2px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-slide-in {
  animation: slide-in 0.3s ease-out;
}

.is-invalid {
  border: 1px solid #ef4444;
  padding-right: calc(1.5em + .75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}


select.is-invalid {
    background-position: right 2rem center, center right 3.5rem
}

select{
    --bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
        width: 100%;
        opacity: 1;
}

/* Input placeholder */
    input::placeholder {
      color: #9ca3af; /* gray-400 */
      opacity: 1;     /* Fix Safari opacity */
    }
    
    /* Select placeholder (first option) */
     .select-placeholder {
      color: #9ca3af; /* gray-400 */
    }
    
    /* When selected option has value */
    .select-placeholder:has(option:checked:not([value=""])) {
      color: #151515; /* dark */
    }

.invalid-feedback {
    color: #dc3545;
    padding-left: 5px;
    font-size: 12px;
    margin-top: 4px;
    font-family: "Inter", sans-serif;
}



.idea-wrap{
    position: fixed;
    right: 19px;
    bottom: 24px;
    cursor: pointer;
    display: block;
    z-index:99;
}

.bg-container {
  background-image: url("/public/images/Frame_1.png");
  background-size: 100% 100%;
}

.Libre-font {
  font-family: "Libre Baskerville", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.Urbanist-font{
     font-family: "Urbanist", sans-serif;
}

.Poppins-font{
    font-family: "Inter", sans-serif;
}

.auto-container {
  position: relative;
  max-width: 1680px;
  width: 100%;
  padding: 0 15px;
  margin: 0 auto; /* center container */
}

section{
    position: relative;
    padding: 60px 0;
}

/*Hero section*/

.hero-section {
    position: relative;
}

.hero-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
}


.hero-section .video-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 6%);
    z-index: 1;
}


.hero-heading {
    display: grid;
    gap: 3px;
}

/* Common heading style */
.hero-heading span {
    color: #2C394B;
    font-weight: 700;
}

/* First line */
.hero-heading .hero-line-sm {
    font-family: "Urbanist", sans-serif;
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 0.1s;
}

/* Middle line (big text) */
.hero-heading .hero-line-lg {
     font-family: "Urbanist", sans-serif;
    font-size: 100px;
    line-height: 0.9;
    letter-spacing: -0.02em;
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 0.3s;
    font-weight:600;
}

/* Last line */
.hero-heading .hero-line-md {
     font-family: "Urbanist", sans-serif;
    font-size: 34px;
    line-height: 2.2;
    letter-spacing: 0.08em;
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 0.5s;
    font-weight:900;
}

/* Fade up animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.idea-button-white {
  background-color: #ffffff;
  color: #2C394B;
  font-weight: 700; /* font-Bold */
  font-size: 16px;

  padding: 14px 40px; /* py-3.5 px-10 */
  border-radius: 9999px; /* rounded-full */

  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1),
              0 10px 10px -5px rgba(0,0,0,0.04); /* shadow-xl */

  cursor: pointer; /* overrides pointer */
  transition: all 300ms ease;
  transform: scale(1);
}

.idea-button-white:hover {
  background-color: #f3f4f6; /* gray-100 */
  transform: scale(1.05);
}

.idea-button {
  background-color: #2C394B;
  color: #FFFFFF;
  font-weight: 700; /* font-Bold */
  font-size: 16px;

  padding: 14px 40px; /* py-3.5 px-10 */
  border-radius: 9999px; /* rounded-full */

  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1),
              0 10px 10px -5px rgba(0,0,0,0.04); /* shadow-xl */

  cursor: pointer; /* overrides pointer */
  transition: all 300ms ease;
  transform: scale(1);
}

.idea-button:hover {
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}
.delay-300 {
  animation-delay: 0.3s;
}
.delay-500 {
  animation-delay: 0.5s;
}
.delay-700 {
  animation-delay: 0.7s;
}

.afacad-font {
  font-family: "Libre Baskerville", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.font-normal-f {
    font-family: "Libre Baskerville", serif;
}

.font-Bold {
    font-family: "Libre Baskerville", serif;
  font-weight: bold;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   ============================================ */


   
/* Tablet Devices (768px - 1024px) */
@media (max-width: 1024px) {
  .main-body-container {
    padding-left: 40px !important;
    padding-right: 40px !important;
    height: auto !important;
    min-height: 100vh;
  }

  .container {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  /* Hero section text sizes */
  .main-body-container .text-\[44px\] {
    font-size: 32px !important;
  }

  .main-body-container .text-\[120px\] {
    font-size: 80px !important;
  }

  /* Section headings */
  .text-\[54px\] {
    font-size: 40px !important;
  }

  .text-\[60px\] {
    font-size: 44px !important;
  }

  .text-\[40px\] {
    font-size: 32px !important;
  }
   .grid-cols-2,
  .grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* Mobile Devices (< 768px) */
@media (max-width: 768px) {
  /* Main video section */
  .main-body-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    height: auto !important;
    min-height: 100vh;
  }

  .main-body-container .flex-grow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  /* Container padding */
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Grid layouts to single column */
  .grid-cols-2,
  .grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Hero section text sizes */
  .main-body-container .text-\[44px\] {
    font-size: 44px !important;
  }

  .main-body-container .text-\[120px\] {
    font-size: 120px !important;
    line-height: 1 !important;
  }

  /* Video centering on mobile */
  .main-body-container video {
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Section headings */
  .text-\[54px\] {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }

  .text-\[60px\] {
    font-size: 36px !important;
  }

  .text-\[40px\] {
    font-size: 28px !important;
  }

  .text-\[25px\] {
    font-size: 20px !important;
  }

  /* Text sizes */
  .text-\[18px\] {
    font-size: 16px !important;
  }

  .text-xl {
    font-size: 18px !important;
  }


  /* Padding adjustments */
  .py-20 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .py-10 {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .p-\[80px\] {
    padding: 40px 20px !important;
  }

  .px-\[100px\] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .px-\[50px\] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .px-\[40px\] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .pt-\[80px\] {
    padding-top: 40px !important;
  }

  .gap-\[60px\] {
    gap: 30px !important;
  }

  .gap-16 {
    gap: 30px !important;
  }

  /* Section heights */
  .h-\[580px\],
  .h-\[700px\],
  .h-\[900px\] {
    height: auto !important;
    min-height: 500px;
  }

  .h-\[500px\] {
    height: auto !important;
    max-height: 400px;
  }

  /* Images */
  .section-5 img {
    height: auto !important;
    max-height: 300px;
  }

  /* Form adjustments */
  .w-\[500px\] {
    width: 100% !important;
    max-width: 500px;
  }

  /* Footer */
  footer .grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* Navigation */
  nav {
    padding-top: 20px !important;
  }

  nav .h-12 {
    height: 40px !important;
  }

  /* Hide absolute positioned images on mobile */
  .absolute.top-\[50px\].right-0 {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    margin-top: 20px;
    max-width: 100%;
  }

  /* Card padding */
  .p-8 {
    padding: 20px !important;
  }

  .p-5 {
    padding: 15px !important;
  }

  /* Section specific adjustments */
  .section-5 {
    padding: 40px 20px !important;
  }

  .section-9 {
    padding: 40px 20px !important;
  }
}




/* Toast container */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Toast base */
.toast-item {
  min-width: 280px;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  animation: slideIn 0.3s ease forwards;
}

/* Error (red) */
.toast-error {
  background: #e63946;
}
.toast-warning {
   background: #fb923c;
  color: #ffffff;
}
.toast-success {
  background: #07bc0c;
}

/* Close button */
.toast-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
}

.toast-close:hover {
  opacity: 1;
}

/* Animation */
@keyframes slideIn {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

