@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poly:ital@0;1&display=swap');

:root {
    /* Base colors */
    --primary-text-color: #002b36; /* deep ocean blue for text */
    --bg-color: #ffffff;           /* white background */

    /* Button styling */
    --btn-color: #ffffff;          /* white text */
    --btn-bg: #0077be;             /* ocean blue buttons */

    /* Header links */
    --header-link-hover: #0077be;   /* ocean blue */
    --header-link-hover-bg: rgba(0, 119, 190, 0.2); /* translucent ocean blue */

    /* Input border on hover/focus */
    --input-hover-bd-color: #005f9e; /* slightly darker ocean blue */

    /* Dropdown menu */
    --dropdown-bg: #e6f7ff;         /* very light blue */
    --dropdown-hover-bg: #b3e5fc;     /* a touch more saturated on hover */

    /* FAQ section */
    --faq-h-text: #00334e;          /* rich, deep blue for headers */
    --faq-content-text: #004f6e;      /* complementary blue for content */

    /* Horizontal rule */
    --hr-color: #b3e5fc;            /* subtle blue accent */

    /* Footer links */
    --footer-link: #0077be;         /* ocean blue */
    --footer-link-hover: #005f9e;     /* darker on hover */

    /* Header and Hero section */
      /* very light ocean tint for gradient overlay */
   /* update to an ocean-themed background if available */
}

/* The remainder of your CSS remains unchanged */
html {
    scroll-behavior: smooth;
    /* font-family: "Ubuntu", sans-serif; */
}

body.modal-open {
    overflow: hidden;
}

header > .collapsible-header {
    display: flex;
    gap: 1rem;
    width: 100%;
    background-color: inherit;
    place-content: center;
    overflow: hidden;
    transition: width 0.3s ease, height 0.3s ease;
}

hr {
    border-color: var(--hr-color); 
    border-style: solid;
}

.animated-collapse {
    transition: width 0.3s ease;
}

.header-links {
    position: relative;
    display: flex;
    align-items: center;
    min-width: fit-content;
    padding: 8px 15px;
    z-index: 2; 
    cursor: pointer;
    transition: background-color 0.5s, color 0.3s;
}

.header-links::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; 
    width: 100%;
    height: 100%;
    background-color: var(--header-link-hover-bg);
    transform: scale(40%);
    opacity: 0;
    border-radius: 8px;
    transition: all 300ms;
}

.header-links:hover {
    color: var(--header-link-hover);
}

.header-links:hover::after {
    transform: scale(100%);
    opacity: 1;
}

.hero-section {
    background-image: var(--hero-bg-img);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-bg-gradient {
    background: linear-gradient(180deg, var(--hero-gradient) 23%, rgba(0,0,0,0) 87%, var(--hero-gradient) 97%);
}

.gradient-text {
    background: rgb(215,215,215);
    background: linear-gradient(90deg, rgba(215,215,215,1) 18%, rgba(136,136,136,1) 71%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.purple-bg-grad {
    background: rgb(126,34,206);
    background: linear-gradient(90deg, #7e22ce91 8%, #625aafae 31%, #7badbbbc 76%, #54d2d0ca 89%);
    filter: blur(50px);
    opacity: 0.5;
}

#dashboard {
    transform: perspective(1200px) translateX(0px) translateY(12px) scale(0.8)
        rotate(0deg) rotateX(70deg);
    transition: transform 0.5;
}

.opacity-0 {
    opacity: 0 !important;
}

.opacity-100 {
    opacity: 100 !important;
}

.btn {
    padding: 10px 15px;
    width: max-content;
    border-radius: 10px;
    color: var(--btn-color);
    background-color: var(--btn-bg);
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
}

.btn:hover {}

.btn:disabled {
    cursor: default;
}

.input {
    padding: 10px;
    background-color: transparent;
    border-radius: 5px;
    outline: none;
    min-width: 100px;
    border: 1px solid #979797;
    transition: border 0.3s;
}

.input:active,
.input:focus,
.input:focus-within {
    border: 1px solid var(--input-hover-bd-color) !important;
}

/* ------------------- scrollbar ------------- */
.scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 20px;
}

.scrollbar::-webkit-scrollbar-track {
    border-radius: 25px;
}

.scrollbar::-webkit-scrollbar-thumb {
    background: #d7d7d7;
    border-radius: 25px;
}

/* ---------------- dropdown --------------------- */
.dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropdown-toggle {
    width: 100%;
    outline: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1;
    background-color: var(--dropdown-bg);
    list-style-type: none;
    padding: 0;
    width: 100%;
    left: 0px;
    border-radius: 10px;
    overflow: hidden;
}

.dropdown-menu li {
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-menu li:hover {
    background-color: var(--dropdown-hover-bg);
}

/* -------------- carousel ------------------*/
.carousel-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    max-width: 800px;
}
  
.carousel {
    display: inline-block;
    animation: scroll 10s linear infinite;
}
  
.carousel-img {
    display: inline-block;
    margin: 0 20px;
}
  
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ------ animated border ------- */
.animated-border {
    position: relative;
    overflow: visible;
}

.animated-border::after {
    content: '';
    position: absolute;
    top: 0px;
    left: -100%;
    width: 30%;
    height: 100%;
    border-radius: inherit;
    background-color: #6366f1;
    filter: blur(1.5rem);
    opacity: 0.8;
    box-shadow: inset 0px 0px 20px 5px #6366f1;
    z-index: -2;
    pointer-events: none;
    animation: slide 10s ease-in-out infinite;
}

.animated-border::before {
    filter: blur(1.5rem);
    opacity: 0.3;
    will-change: transform;
}

@keyframes slide {
    0% {
        left: -100%;
        right: 100%;
    }
    100% {
        left: 100%;
        right: -100%;
    }
}

.footer-link {
    width: fit-content;
    color: var(--footer-link);
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--footer-link-hover);
}

/* -------------- FAQ / Accordion -------------- */
.faq-accordion {
    background-color: inherit;
    color: var(--faq-h-text);
    cursor: pointer;
    padding: 15px 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: height 0.4s;
}

.faq .content {
    padding: 0px 18px;
    color: var(--faq-content-text);
    height: max-content;
    overflow: hidden;
    background-color: transparent;
    text-align: justify;
    max-height: 0px;
    transition: max-height 0.4s, padding 0.4s;
}

/* Section styling */
.video-section {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: box-shadow 0.3s;
}
.video-section:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.video-section h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: #333;
}
.video-section p {
    margin: 0;
    color: #555;
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal.active {
    display: flex;
}
.modal-content {
    position: relative;
    width: 90%;
    max-width: 640px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}
.modal-content iframe {
    width: 100%;
    height: 360px;
    border: none;
}
.modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
}

@media not all and (min-width: 1024px) {
    header .collapsible-header {
        position: fixed;
        top: 60px;
        left: 0px;
        flex-direction: column;
        opacity: 0;
        height: 0vh;
        min-height: 0vh;
        width: 100vw;
        justify-content: space-between;
        padding: 5px;
        padding-top: 5%;
        padding-bottom: 5%;
        place-items: center;
        text-align: center;
        background-color: var(--header-bg);
        overflow-y: auto;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        box-shadow: 0px 2px 3px 2px #9f9f9f7c;
    }
}

.video-container video {
    transition: opacity 0.4s ease;
    opacity: 1;
  }
  .video-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
    opacity: 0;
    z-index: 0;
  }
  .video-layer.active {
    opacity: 1;
    z-index: 1;
  }

  .video-container video.fade-out {
    opacity: 0;
  }

/* Container that holds the iframe */
.video-container {
    margin-top: 2rem;
    width: 560px;   /* adjust to your desired width */
    max-width: 90%; /* ensure it’s responsive on smaller screens */
    position: relative;
    margin: 2rem auto;
  }
  
  /* Ensure iframe scales if you want it responsive */
  .video-container iframe {
    width: 100%;
    height: 315px;
    border: none;
  }
  
  /* Buttons or links to switch videos */
  .video-list {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .video-item {
    padding: 8px 12px;
    background-color: #0077be; /* ocean color example */
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .video-item:hover {
    background-color: #005f9e; /* darker on hover */
  }

/* Feature list styling */
.feature-list {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .feature-item {
    background-color: #ffffff;
    padding: 10px 14px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s, border 0.3s, background-color 0.3s, transform 0.3s;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 6px;
  
    flex: 1 1 250px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .feature-headline {
    font-size: 1.1rem;
    font-weight: bold;
  }
  
  .feature-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
  }
  
  .feature-item.active {
    color: #0077be;
    border-color: #0077be;
    background-color: #f5fbff;
    box-shadow: 0 0 12px rgba(0, 119, 190, 0.2);
    animation: subtleGlow 2.5s ease-in-out infinite;
  }
  
  .feature-item.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 3px;
    background-color: #0077be;
    border-radius: 2px;
  }
  
  /* Hover effect */
  .feature-item:hover {
    color: #005f9e;
    background-color: #f9f9f9;
  }
  
 
@keyframes subtleGlow {
    0%, 100% {
      box-shadow: 0 0 10px rgba(0, 119, 190, 0.15);
    }
    50% {
      box-shadow: 0 0 16px rgba(0, 119, 190, 0.4);
    }
  }

  :root {
    --font-heading: 'Clash Display', sans-serif;
    --font-ui: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
      --primary-color: #66c6ff; /* Light blue like the whale */
    --primary-color-dark: #3399cc;
    --accent-color: #eaf7ff;
  }
  
  h1, h2, h3, h4, h5, .hero-section h2, .feature-headline {
    font-family: var(--font-heading);
  }
  
  nav a, .btn, .header-links {
    font-family: var(--font-ui);
    font-weight: 500;
  }
  
  body, p, .feature-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
  }

  .feature-text {
    color: #b0b0b0; /* lighter gray */
    text-align: center;
    font-size: 1rem;
    max-width: 500px;
    margin: 2rem auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
  }
  
  .feature-text p {
    margin: 0.75rem 0;
    line-height: 1.6;
  }
  
  .feature-text .highlight {
    color: #66c6ff; /* whale blue */
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .cta-button {
    animation: strong-pulse 1.6s infinite ease-in-out;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #66c6ff;
    color: white;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  
  .cta-button:hover {
    background-color: #3399cc;
    transform: scale(1.03);
    text-decoration: none;
  }
  .cta-button i {
    transition: transform 0.3s ease;
  }
  
  .cta-button:hover i {
    transform: translateX(4px);
  }
  
  @keyframes strong-pulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(102, 198, 255, 0.7);
    }
    50% {
      transform: scale(1.08);
      box-shadow: 0 0 20px 8px rgba(102, 198, 255, 0.5);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(102, 198, 255, 0);
    }
  }
  
  
  


  
