@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

.quicksand {
    font-family: "Quicksand", sans-serif;
}

.raleway {
    font-family: "Raleway", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
}

/* Shared Styles */
.display-flex {
    display: flex;
}


/* Header, Main Styles */
.header,
main {
    max-width: 1460px;
    margin: 0 auto;
}

/* Navbar styles */
.navbar,
.nav-left,
.nav-items {
    justify-content: space-between;
    align-items: center;
}

.navbar {
    padding: 30px 100px;
}

.nav-left {
    max-width: 300px;
    gap: 20px;
}

.nav-title {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(90deg, #7b2ff7, #f107a3);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-items {
    gap: 30px;
    list-style: none;
}

.link {
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.link1 {
    color: rgba(254, 163, 1, 1);
}

.link2 {
    color: rgba(1, 172, 253, 1);
}

.link3 {
    color: rgba(5, 212, 223, 1);
}

.link4 {
    color: rgba(93, 88, 239, 1);
}

.btn {
    background: rgba(254, 163, 1, 1);
    border: none;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
    padding: 10px 40px;
    cursor: pointer;
}

.btn:hover {
    background: rgb(218, 139, 4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.link:hover {
    text-shadow: 5px 5px 6px rgba(162, 161, 161, 0.5);
}

.top-bar {
    display: none;
}

.hidden {
    display: none;
}

/* Hero Section */
.hero {
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 60px;
    padding: 0 100px;
}

.hero-left {
    max-width: 600px;
}

.hero-title {
    font-size: 58px;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 24px;
    color: rgba(17, 17, 17, 1);
}

.desc {
    font-size: 20px;
    font-weight: 400;
    color: rgba(17, 17, 17, 1);
    line-height: 26px;
    margin-bottom: 24px;
}

.btn-common {
    background: rgba(17, 17, 17, 1);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 20px;
}

.part1 {
    color: rgba(254, 163, 1, 1);
}

.part2 {
    color: rgba(1, 172, 253, 1);
}

.hero-img {
    width: 100%;
}


/* Scrolling Text styles */
.scrolling {
    width: 100%;
    overflow: hidden;
}

.scroll-text {
    display: inline-block;
    color: #8700FF;
    font-size: 20px;
    font-weight: 600;
    padding-left: 100%;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* Standard Curriculum Section */
.curriculum-section {
    padding: 60px 100px;
    background-image: url(../assets/images/bg.png);
    background-repeat: no-repeat;
    text-align: center;
}

.section-title {
    font-size: 46px;
    font-weight: 700;
    line-height: 57.5px;
    margin-bottom: 80px;
}

.card-container {
    gap: 28px;
    margin-bottom: 80px;
}

.card {
    border-radius: 20px;
    box-shadow: 0 0 28px .94px rgba(0, 0, 0, 0.05);
}

.card1 {
    border: 1px solid rgba(222, 245, 255, 1);
    background: linear-gradient(180deg, #DEF5FF 0%, rgba(255, 255, 255, 0) 40%);
}

.card2 {
    border: 1px solid rgba(255, 244, 220, 1);
    background: linear-gradient(180deg, #FFF4DC 0%, rgba(255, 255, 255, 0) 40%);
}

.card3 {
    border: 1px solid rgba(242, 232, 255, 1);
    background: linear-gradient(180deg, #EEE1FF 0%, rgba(255, 255, 255, 0) 40%);
}

.card-img {
    margin-top: 52px;
    margin-bottom: 32px;
}

.card-title {
    font-size: 24.5px;
    font-weight: 700;
    line-height: 30px;
    color: rgba(32, 32, 32, 1);
    margin-bottom: 33.5px;
}

.card-desc {
    font-size: 15px;
    font-weight: 500;
    line-height: 28px;
    color: rgba(128, 128, 128, 1);
    margin-bottom: 33.5px;
    padding: 0 40px;
}

.card-btn {
    margin-bottom: 52px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    line-height: 28px;
    background: white;
    cursor: pointer;
}

.btn1 {
    color: #64C8FF;
}

.btn2 {
    color: #F0AA00;
}

.btn3 {
    color: #8700FF;
}

.card-btn:hover {
    text-shadow: 0 5px 6px rgba(162, 161, 161, 0.5);
}

.card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.arrow {
    font-size: 60px;
    background: none;
    border: none;
    border-radius: 30px;
    color: rgba(254, 163, 1, 1);
    cursor: pointer;
}

.arrow:hover {
    color: rgb(196, 129, 13);
}


/* Our Stories Section */
.stories-section {
    text-align: center;
    padding: 60px 100px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(254, 163, 1, 0.2) 100%), url("../assets/images/bg.png");
}


.story-container {
    justify-content: center;
    align-items: stretch;
    margin-bottom: 80px;
}

.story {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    text-align: left;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Large Card */
.story-large {
    flex: 1;
    max-width: 540px;
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    text-align: left;
}

.story-large img {
    width: 100%;
    object-fit: cover;
}

.story-content {
    padding: 60px 25px 35px;
}

.story-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 45px;
}

.story-desc {
    font-size: 15px;
    font-weight: 500;
    line-height: 28px;
    color: #666666;
}

/* Date Badge */
.date {
    position: absolute;
    top: 322px;
    left: 35px;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    color: #FFFFFF;
}

.date-common {
    position: absolute;
    top: 160px;
    left: 35px;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    color: #FFFFFF;
}

.date-blue {
    background: #3CD8E8;
}

.date-green {
    background: #95B226;
}

.date-purple {
    background: #5D58F0;
}


/* Right Grid */
.story-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-left: 20px;
}

.story-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.story h4 {
    font-size: 15px;
    font-weight: 700;
    padding: 35px;
}

.story:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Footer styles */
.footer {
    margin: 0 auto;
    max-width: 1460px;
    padding: 125px 100px;
    background: #01ACFD;
    justify-content: space-between;
}

.footer-left {
    max-width: 400px;
}

.logo2 {
    gap: 20px;
    margin-bottom: 35px;
    align-items: center;
}

.logo2 img {
    width: 70px;
    height: 80px;
}

.logo2 h2 {
    color: #FFFFFF;
    font-size: 42px;
    font-weight: 700;
}

.footer-left p {
    font-size: 20px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 26px;
}

.footer-about h2 {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 32px;
}

.footer-about li {
    font-size: 20px;
    font-weight: 500;
    color: #FFFFFF;
    list-style: none;
    margin-bottom: 20px;
    transition: 0.3s;
}

.footer-about li:hover {
    cursor: pointer;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(243, 240, 240, 0.6);
}

.footer-touch h2 {
    color: #FFFFFF;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 32px;
}

.icons {
    gap: 10px;
}

.icons:hover {
    cursor: pointer;
}

/* ===== Responsive Styles ===== */
/* Mobile Device */
@media screen and (max-width: 576px) {
    .navbar {
        display: none;
    }

    .top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 12px 16px;
        border-bottom: 0.5px solid rgba(254, 163, 1, 1);
    }

    .logo {
        width: 45px;
    }

    .menu-icon {
        font-size: 25px;
        cursor: pointer;
    }

    .hero {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
        padding: 0 20px;
        margin-bottom: 45px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 45px;
        margin-bottom: 18px;
    }

    .desc {
        font-size: 14px;
        font-weight: 500;
    }

    .btn-common {
        font-size: 16px;
        padding: 8px 24px;
    }

    .curriculum-section {
        padding: 20px;
        margin: 0;
    }

    .section-title {
        margin-bottom: 30px;
        font-size: 26px;
    }

    .card-container {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 0px;
    }

    .card-img {
        max-width: 95px;
        margin-bottom: 22px;
    }

    .card-title {
        font-size: 18px;
        margin-bottom: 22px;
    }

    .card-desc {
        margin-bottom: 22px;
    }

    .card-btn {
        margin-bottom: 36px;
    }

    .arrow {
        display: none;
    }

    .stories-section {
        padding: 0 20px 50px;
        margin-top: 40px;
    }

    .story-container {
        margin-bottom: 30px;
    }

    .story {
        position: relative;
    }

    .story-large {
        display: none;
    }

    .story-grid {
        margin-left: 0;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .date-common {
        position: absolute;
        top: 90px;
        left: 20px;
        font-size: 10px;
        padding: 6px 15px;
    }

    .story-img {
        width: 100%;
        height: 105px;
        object-fit: cover;
    }

    .story h4 {
        font-size: 10px;
        font-weight: 700;
        padding: 20px;
    }

    .footer {
        flex-direction: column;
        padding: 60px 20px;
    }

    .footer-left p {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .logo2 img {
        width: 65px;
        height: 75px;
    }

    .logo2 h2 {
        font-size: 32px;
    }

    .footer-touch {
        margin-top: 35px;
    }
}




/* Tablet Responsive */
@media screen and (min-width:576px) and (max-width: 992px) {
    .navbar {
        padding: 20px 40px;
    }

    .logo {
        max-width: 50px;
    }

    .nav-title {
        font-size: 28px;
    }

    .hero {
        padding: 0 40px;
    }

    .hero-left {
        max-width: 500px;
    }

    .hero-title {
        font-size: 45px;
    }

    .desc {
        font-size: 18px;
        padding-right: 30px;
    }

    .curriculum-section {
        padding: 40px;
    }

    .stories-section {
        margin-top: 50px;
        padding: 0 40px 50px;
    }

    .story-container {
        margin-bottom: 40px;
    }

    .story-large {
        display: none;
    }

    .story-grid {
        margin-left: 0;
        gap: 30px;
    }

    .footer {
        padding: 80px 40px;
    }
}