@import url(https://fonts.googleapis.com/css?family=Anonymous+Pro);
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    overflow: x-hidden;
    
}

 body {
    background: #ffff;
    height: 100vh;
    width: 100vw;
    justify-content: center;
    align-items: center;
}

/* Header */
header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 10px 10px;
    z-index: 1000; 
}

/* Logo */
.logo img {
    height: 43px;
    width: auto;
    margin: 0;
    padding: 0;
}

/* Hamburger Menu */
.hamburger {
    display: none;  /* changes*/
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
    z-index: 1000;
}

.hamburger div {
    width: 100%;
    height: 4px;
    background-color: #333;
    margin: 6px 0;
    transition: all 0.3s ease-in-out;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 15px;
}

/* Main Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    margin: 0 15px;
}

.nav-links li a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    padding: 10px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #00897B;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    background: #ffff;
    top: 100%;
    left: 0;
    min-width: 200px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 200;
}

.dropdown-menu li {
    display: block;
    position: relative;
}

.dropdown-menu li a {
    padding: 10px;
    display: block;
    color: black;
    font-size: 14px;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
    background: #00897B;
    color: white;
}

/* Submenu Styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
    position: absolute;
    min-width: 200px;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Show dropdown when hovered on desktop */
@media (min-width: 769px) {
    .dropdown:hover > .dropdown-menu {
        display: block;

    }
    
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        margin-left: auto;
        margin-right: 20px;
        width: 5px;
        height: 30px;
        cursor: pointer;
        position: relative;
        z-index: 1000;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown-menu {
        position: relative;
        width: 100%;
        display: none;
        text-align: left;
        background: white !important;
        z-index: 999;
        padding: 5px 10px;
    }

    .dropdown.open .dropdown-menu {
        display: block;
        background: white !important;
    }

    /* Mobile Submenu Handling */
    .dropdown-submenu .dropdown-menu {
        position: relative;
        width: 100%;
        left: 0;
        display: none;
        padding: 5px 15px;
        background: white !important;
    }

    .dropdown-submenu.open .dropdown-menu {
        display: block;
        background: white !important;
        z-index: 999;
    }
}



/* Main Container */
.mainContainer {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px; 
    z-index: 1; 
}
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: -2;
}

/* Dark Overlay for better text readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); 
    z-index: -1;
}


/* Centered Content */

.content {
    position: relative;
    color: white;
    z-index: 1;
    max-width: 80%;
    text-align: left; 
}

/* Heading */
#mainHeading {
    font-size: 2.5rem;    
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 4px 2px 0px rgba(0, 0, 0, 1.5);
    max-width: 70%; 
    line-height: 1.2;
    text-align: center;
    word-wrap: break-word;
}

/* Paragraph */
#mainPara {
    font-size: 1.7rem;
    text-align: center;
    margin-top: 39px;
    line-height: 1.5;
    max-width: 100%;
    word-wrap: break-word;
}
#mainBtn{
    text-align: center;
    margin-top: 20px;
    font-size: 1.2rem;
}


/* Highlight Specific Words */
.teach {
    color: #2ED9A7;  /* Greenish-blue color */
    font-weight: 700;
}

.good {
    font-style: italic;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    #mainHeading {
        font-size: 1.7rem;
        max-width: 90%;
        text-align: center;
         word-wrap: break-word;
        white-space: normal;
        margin: 0 auto Centering;
        line-height: 1.3;
    }

    #mainPara {
        font-size: 1.2rem;
        max-width: 90%;
        text-align: center;
        word-wrap: break-word;
        white-space: normal;
        margin: 0 auto;
    }
}
/* Carousel Container */
.carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Slide Wrapper */
.carousel-container {
    display: flex;
    width: 100%;
    position: relative;
}

/* Individual Slide */
.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    opacity: 0;
    position: absolute;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}

/* Image Box */
.custom-image-box img {
    width: 90%;
    max-width: 1050px;
    height: auto;
    display: block;
    border-radius: 10px;
    transform: scale(0.8);
}
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; transform: translateY(0px); }
    100% { opacity: 0; transform: translateY(10px); }
}

.animate-text h1 {
    animation: fadeInOut 15s ease-in-out infinite;
}

/* Text Box */
.custom-text-box {
    position: absolute;
    top: 20%;
    left: 0;
    margin-left: 40px;
    background-color: rgba(13, 60, 46, 0.9);
    color: white;
    padding: 30px;
    width: 390px;
    height: 288px;
    border-radius: 10px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .custom-text-box {
        width: 300px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .custom-image-box img {
        width: 100%;
        transform: scale(1);
    }
    .custom-text-box {
        position: relative;
        margin: 10px auto;
        width: 90%;
        text-align: center;
        top: -50px;
        padding: 20px;
    }
}

/* Cursor */
.cursor {
    position: relative;
    max-width: 100%; /* Ensures the width adapts */
    margin: 0 auto;
    border-right: 2px solid rgba(255, 255, 255, 0.75);
    font-size: 30px;
    text-align: center;
    white-space: normal;  /* Allow multi-line text */
    overflow: hidden;
    display: inline-block; /* Keep inline while allowing multiline */
    word-break: break-word;
}

.typewriter-animation {
    animation: 
        typewriter 5s steps(50, end) 1s 1 normal both,
        blinkingCursor 500ms steps(50, end) infinite normal;
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blinkingCursor {
    100% {
        border-right-color: transparent;
    }
}
#mainHeading span {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid rgba(255, 255, 255, 0.75);
    width: 0;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
}
/* cards container */

.cardContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    /* background-color: #e2e8f0; */
    padding: 20px;
}
.card {
    flex: 1;
    /* flex-wrap: wrap; */
    min-width: 250px; 
    max-width: 400px; 
    position: relative;
    width: 250px;
    height: 400px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.3);
    background: #dce9e2b8;
    padding: 15px;
    transition: .3s ease;
}

.card:hover img {
    transform: translateY(-20px);
    box-shadow: rgba(85, 147, 233, 0.699) 0px 20px 50px -10px, rgba(109, 71, 214, 0.573) 0px 10px 20px -10px;
}


/* footer logo */
.footer-logo {
    width: 80px;  
    height: auto; 
    display: block;  /* Ensures it aligns left */
    margin-bottom: 10px;
}

.footer-text {
    text-align: justify;
}


/* Styling the text section */
.txsection {
    text-align: center;
    font-weight: bold;
    color: #00856f; 
    font-size: 2rem; 
    margin: 50px auto;
    max-width: 70%;
    /* opacity: 0; */
}
.txsection2 {
    /* text-align: start; */
    /* font-weight: bold; */
    color: #00856f; 
    /* font-size: 2rem;  */
    /* margin: 50px auto; */
    /* max-width: 70%; */
    /* opacity: 0; */
}

/* Responsive font size */
@media (min-width: 0px) and (max-width: 480px) {
    .txsection {
        font-size: 1.8rem;
    }

    .hero-section {
        min-height: 100vh;
    }

    .hero-content {
        padding: 70px;
    }

    .hero-cta {
        padding: 10px 25px;
    }

    .hero-features {
        gap: 15px;
    }

    .graph-text h2 {
        font-size: 1.25rem;
    }

    .graph-text p {
        font-size: 0.85rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .txsection {
        font-size: 1.5rem;
    }

    .hero-content {
        padding: 75px;
    }

    .hero-content h1 {
        margin-bottom: 15px;
    }

    .hero-content p {
        margin-bottom: 20px;
    }

    .hero-cta {
        padding: 12px 30px;
    }

    .hero-features {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .feature-item {
        padding: 15px;
    }

    .graph-section {
        padding: 30px 15px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .hero-section {
        min-height: 80vh;
    }

    .hero-features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .graph-container {
        flex-direction: column;
    }

    .chart-container {
        width: 100%;
        height: 300px;
    }
}

@media (min-width: 993px) {
    .graph-section {
        padding: 50px 20px;
        background-color: #f0f4f8;
    }

    .graph-container {
        display: flex;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto 50px auto;
        gap: 30px;
    }

    .graph-text h2 {
        font-size: clamp(1.5rem, 3vw, 2rem);
        color: #00856f;
        margin-bottom: 20px;
    }

    .graph-text .graph-subtitle {
        font-size: clamp(1rem, 2vw, 1.2rem);
        color: #333;
        margin-bottom: 10px;
    }

    .graph-text p {
        font-size: clamp(0.9rem, 1.5vw, 1rem);
        color: #333;
        line-height: 1.6;
    }

    .chart-container {
        flex: 1;
        position: relative;
        height: 400px;
    }
}

/* Button Styles */
#chartButton {
    display: block;
    background-color: blue;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}


.playstore-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    border-radius: 9999px;
    background-color: rgba(0, 0, 0, 1);
    padding: 0.625rem 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    outline: 0;
    transition: all  .2s ease;
    text-decoration: none;
  }
  
  .playstore-button:hover {
    background-color: transparent;
    color: rgba(0, 0, 0, 1);
  }
  
  .icon {
    height: 1.5rem;
    width: 1.5rem;
  }
  
  .texts {
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
  }
  
  .text-1 {
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    line-height: 1rem;
  }
  
  .text-2 {
    font-weight: 300;
  }

/* animations */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes glowing {
    0% { text-shadow: 0 0 5px #00ffcc, 0 0 10px #00ffcc; }
    50% { text-shadow: 0 0 20px #00ffaa, 0 0 30px #00ffaa; }
    100% { text-shadow: 0 0 5px #00ffcc, 0 0 10px #00ffcc; }
}
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.animated-text {
    animation: fadeInUp 1s ease-out;
}
.glow-effect:hover {
    animation: glowing 1.5s infinite alternate;
}
.gradient-bg {
    background: linear-gradient(-45deg, #00c6ff, #0072ff, #00ffcc, #00ffaa);
    background-size: 300% 300%;
    animation: gradientBG 5s ease infinite;
}
/* about us  */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

/* ncd page */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-left {
    animation: fadeInLeft 1s ease-in-out;
}
.animate-fade-in-right {
    animation: fadeInRight 1s ease-in-out;
}
.animate-fade-in {
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-left {
    animation: fadeInLeft 1s ease-in-out;
}
.animate-fade-in-right {
    animation: fadeInRight 1s ease-in-out;
}
.animate-fade-in {
    animation: fadeIn 1.5s ease-in-out;
}


@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

