@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Caveat:wght@400;700&family=Lobster&family=Monoton&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display+SC:ital,wght@0,400;0,700;1,700&family=Playfair+Display:ital,wght@0,400;0,700;1,700&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&family=Source+Sans+Pro:ital,wght@0,400;0,700;1,700&family=Work+Sans:ital,wght@0,400;0,700;1,700&display=swap');

.navbar {
    background-color: #0C0521;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: 160px;
    margin-left: 10px;
}

/* Updated nav links */
.nav-link {
    color: white !important;
    font-weight: 500;
}

/* Space between nav items */
.navbar-nav .nav-item {
    margin-right: 20px;
}

.navbar-toggler {
    background-color: #0C0521;
    /* Matches navbar */
    border: 2px solid white;
    /* White outline */
    border-radius: 6px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    /* Maintain size consistency */
    width: 40px;
    margin-right: 10px;
    /* Optional: adjust right spacing */
}

/* Override Bootstrap's default icon image */
.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: white;
    display: block;
    box-shadow:
        0 6px 0 0 white,
        0 12px 0 0 white;
}

.cont1 {
    background-image: url('https://assets.ccbp.in/frontend/responsive-website/landing-section-bg.png');
    height: 70vh;
    background-size: cover;
}

.text1 {
    color: white;
    font-size: 30px;
    padding-bottom: 15px;
    font-weight: bold;
}

.s-text1 {
    color: #FFDDA9;
}

.text2 {
    color: white;
    font-size: 17px;
    font-weight: bold;
}

.s-text2 {
    padding: 10px;
}

.butt {
    color: #0C0521;
    font-size: 20px;
    font-weight: bold;
    background-color: #FFDDA9;
    border-radius: 10px;
    height: 50px;
    width: 125px;
}

.rolling-stack,
.rolling-stack-paragraph {
    display: inline-block;
    /* keep span inline with surrounding text */
    position: relative;
    overflow: hidden;
    /* hide off‑screen words */
    vertical-align: bottom;
}

/* common word styling */
.rolling-stack span,
.rolling-stack-paragraph span {
    display: block;
    line-height: 1.2em;
    /* keeps even slide height */
}

/* highlight colour for heading words */
.rolling-stack span {
    color: #FFDDA9;
}

/* ---------- Heading word animation ---------- */
@keyframes rollHeading {

    0%,
    26% {
        transform: translateY(0%);
    }

    /* flexible */
    33%,
    60% {
        transform: translateY(-100%);
    }

    /* powerful */
    66%,
    93% {
        transform: translateY(-200%);
    }

    /* creative */
    100% {
        transform: translateY(-300%);
    }

    /* loop reset (invisible) */
}

.rolling-stack {
    height: 1.2em;
    /* exact line height of heading */
}

.rolling-stack span {
    animation: rollHeading 9s infinite cubic-bezier(.46, .03, .52, .96);
}

/* ---------- Paragraph line animation ---------- */
@keyframes rollPara {

    0%,
    26% {
        transform: translateY(0%);
    }

    33%,
    60% {
        transform: translateY(-100%);
    }

    66%,
    93% {
        transform: translateY(-200%);
    }

    100% {
        transform: translateY(-300%);
    }
}

.rolling-stack-paragraph {
    display: block;
    /* full‑width below heading */
    height: 1.4em;
    /* line height of paragraph text */
    margin: 0 auto 15px;
    /* keep your original bottom padding */
}

.rolling-stack-paragraph span {
    animation: rollPara 9s infinite cubic-bezier(.46, .03, .52, .96);
    color: #ffffff;
    /* keep paragraph text white */
}

.cont2 {
    background-color: #323f4b;
    padding: 30px;
}

.cont2-text-h {
    font-size: 30px;
    color: #f9fbfe;
    text-align: center;
    padding: 10px;
}

.cont2-logos {
    height: 55px;
    width: 135px;
    padding: 10px;
}

.cont3 {
    background-color: white;
    padding: 40px;
}

.cont3-card {
    padding-left: 20px;
    padding-right: 20px;
}

.cont3-card-img {
    height: 180px;
    width: 180px;
    padding-bottom: 15px;
}

.cont3-card-head {
    color: #323f4b;
    font-size: 20px;
    padding-bottom: 15px;
    font-weight: bold;
}

.cont3-card-para {
    color: #7b8794;
    font-size: 15px;
    padding-bottom: 15px;
}

.cont4 {
    background-color: white;
    padding: 30px;
}

.cont4-img {
    height: 250px;
    width: 300px;
    border-radius: 20px;
    padding-bottom: 15px;
}

.cont4-h {
    color: #323f4b;
    font-size: 23px;
    padding-bottom: 15px;
    font-weight: bold;
}

.cont4-p {
    color: #7b8794;
    font-size: 15px;
    padding-bottom: 15px;
}

.cont5 {
    background-color: white;
    padding: 30px;
}

.cont5-img {
    height: 250px;
    width: 300px;
    border-radius: 20px;
    padding-bottom: 15px;
}

.cont5-h {
    color: #323f4b;
    font-size: 23px;
    padding-bottom: 15px;
    font-weight: bold;
}

.cont5-p {
    color: #7b8794;
    font-size: 15px;
    padding-bottom: 15px;
}

.cont6 {
    background-color: white;
    padding: 30px;
}

.cont6-text-h {
    color: #323f4b;
    font-size: 25px;
    text-align: center;
    font-weight: bold;
}

.cont6-text-p {
    color: #9aa5b1;
    font-size: 20px;
    text-align: center;
}

.cont6-list {
    padding: 20px;
}

.cont6-list-img {
    height: 70px;
    width: 70px;
}

.cont6-list-text-h {
    color: #323f4b;
    font-size: 18px;
    padding-left: 10px;
}

.cont6-list-text-p {
    color: #7b8794;
    font-size: 13px;
    padding-left: 10px;
}