
/* GLOBAL */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f7f7f7;
    color: #333;
    overflow-x: hidden;
}

/* ================== ANIMATION KEYFRAMES ================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Make every section animated */
.section,
.hero img,
.product-box,
.cta,
footer {
    animation: fadeIn 1.2s ease;
}

/* ================== NAVBAR ================== */
.navbar,
.navbar-light,
.bg-light,
.custom-navbar {
    border-bottom: none !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    animation: fadeIn 1s ease;
}

.custom-navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff !important;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #333 !important;
    margin-left: 10px;
    transition: 0.3s;
}

/* Nav hover animation */
.nav-link:hover {
    color: #ff6f00 !important;
    transform: translateY(-3px);
}

/* ================== HERO SECTION ================== */


/* ================== PRODUCT SECTION ================== */
.section {
    padding: 80px 40px;
    text-align: center;
    animation: fadeIn 1.2s ease;
}

.product-box {
    max-width: 1000px;
    margin: auto;
    display: flex;
    gap: 40px;
    align-items: center;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
    animation: fadeUp 1.2s ease;
}

.product-box img {
    width: 45%;
    border-radius: 20px;
    transition: 0.4s;
}

/* Image Zoom Effect */
.product-box img:hover {
    transform: scale(1.05);
}

/* ================== CTA SECTION ================== */
.cta {
    background: linear-gradient(135deg, #ff9900, #ffcf40);
    color: black;
    padding: 100px 40px;
    text-align: center;
    margin-top: 60px;
    animation: fadeIn 1.2s ease;
}

/* CTA Button Animation */
.cta button {
    padding: 15px 32px;
    font-size: 20px;
    border: none;
    background: #111;
    color: white;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.4s ease;
}

.cta button:hover {
    background: #333;
    transform: translateY(-4px) scale(1.05);
}

/* ================== FOOTER ================== */


/* ================== MOBILE FIXES ================== */
@media (max-width: 768px) {
    .hero {
        margin-top: 60px;
        height: 90vh;
    }
    .product-box {
        flex-direction: column;
        padding: 20px;
    }
    .product-box img {
        width: 100% !important;
    }
    .hero img {
        width: 90%;
    }
}




    .science-overlay h3,
    .science-overlay p,
    .science-overlay h2 {
        opacity: 0;
        animation: fadeSlide 1.2s ease forwards;
    }

    .science-overlay h3:nth-child(1) {
        animation-delay: 0.2s;
        color: #6d1b7b;
    }

    .science-overlay .curved-text {
        animation-delay: 0.5s;
        color: #d354ff;
        text-shadow: 0 0 8px rgba(211, 84, 255, 0.6);
    }

    .science-overlay .subline {
        animation-delay: 0.8s;
        color: #555;
    }

    .science-overlay .john-hopkins {
        animation-delay: 1.1s;
        color: #0a84ff;
        text-shadow: 0 0 10px rgba(10, 132, 255, 0.7);
    }

    @keyframes fadeSlide {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mito-section {
  padding: 50px 20px;
  background: #f7f9fc;
}

.mito-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.mito-text {
  max-width: 900px;
  margin: auto;
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  text-align: center;
}
/* Wrapper */
#product {
    margin-bottom: 0;
    padding-bottom: 20px; /* Optional: Add padding inside the section if you want space there */
}

.mito-wrapper {
    margin-top: 0;
    padding-top: 20px; /* Optional: Add padding inside the section if you want space there */
}
/* Flex Layout */
.mito-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Columns */
.mito-left, .mito-right {
  flex: 1;
  min-width: 350px;
}

/* Video Style */
.mito-left video {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0px 8px 25px rgba(0,0,0,0.15);
}

/* Purple Heading */
.mito-title {
  font-size: 32px;
  font-weight: 700;
  color: #7b3eff; /* Purple */
  margin-bottom: 15px;
  line-height: 1.3;
}

/* Text */
.mito-text {
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  text-align: justify;
}

/* Animation Base */
.fade-left, .fade-right {
  opacity: 0;
  animation: fadeSlide 1s ease forwards;
}

/* Direction */
.fade-left {
  transform: translateX(-40px);
  animation-delay: 0.2s;
}

.fade-right {
  transform: translateX(40px);
  animation-delay: 0.4s;
}

/* Keyframes */
@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .mito-title {
    text-align: center;
  }
  .mito-text {
    text-align: center;
  }
}
.img-box {
  position: relative;
  display: inline-block;
}

.contact-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 18px;
  background: #4a3aff;
  color: #fff;
  padding: 8px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.7);
}
/* Floating Icons Wrapper */
.floating-icons {
    position: fixed;
    right: 20px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

/* Icon Button */
.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: 0.3s ease-in-out;
}

/* WhatsApp Color */
.float-btn.whatsapp {
    background-color: #25D366;
}

/* Call Button Color */
.float-btn.call {
    background-color: #007bff;
}

/* Hover Effect */
.float-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}


.title {
    font-weight: bold;
}

/* Light green like the logo */
.green {
    color: #72C05A; 
}

/* Purple like the logo */
.purple {
    color: #5A1E9A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* SECTION 1 : HERO IMAGE */
.hero-section {
    position: relative;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
}

.overlay-text {
    position: absolute;
    bottom: 25px;
    left: 30px;
    font-size: 36px;
    font-weight: bold;
    color: white;
    text-shadow: 0px 2px 8px black;
}

/* SECTION 2 : DOWNLOAD */
.download-section {
    padding: 50px 20px;
    text-align: center;
}

.download-box {
    margin: 25px auto;
    max-width: 450px;
    background: #fafafa;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.download-btn {
    background: #6b45ff;
    padding: 14px;
    width: 100%;
    border: none;
    color: white;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
}

.download-btn:hover {
    background: #562ee0;
}

/* SECTION 3 : STUDY GRID */
.study-section {
    padding: 50px 20px;
}

.study-section h2 {
    text-align: center;
    margin-bottom: 25px;
}

.study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 22px;
}

.study-card {
    position: relative;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 10px;
}

.study-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
}

.download-small {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #6b45ff;
    border: none;
    padding: 7px 11px;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.download-small:hover {
    background: #4c27cc;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Animated Image */
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomAnim 12s infinite ease-in-out;
}

@keyframes zoomAnim {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Animated Text */
.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0px 4px 15px rgba(0,0,0,0.6);
}

/* Custom Text Animation */
.animated-text {
    opacity: 0;
    animation: textAnim 2s ease forwards;
}

@keyframes textAnim {
    0% {
        opacity: 0;
        transform: translate(-50%, -40%) scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -45%) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
#bgVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* stays behind everything */
}

.hero-section {
    position: relative;
    z-index: 2;   /* keeps hero above video */
    background: white; /* hides video */
}



