:root {
    --primary: #0277C6;
    --secondary: #A786D2;
    --bg-color: #eeeeee;
    --text-color: #333333;
    --font-primary: "Inter", sans-serif;
    --font-secondary: "Poppins", sans-serif;
}

[data-theme="dark"] {
    --bg-color: #152028;
    --text-color: #c0c9d7;
}

body {
    font-family: var(--font-primary);
    background-size: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 0.88rem;
}

.footer-logo {
    filter: contrast(0);
}

.h1,
h1 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
}

.h2,
h2 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.h3,
h3 {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
}

.background-img {
    background-image: url(../img/bg.svg);
    background-repeat: no-repeat;
}

::-moz-selection {
    /* Code for Firefox */
    color: white;
    background: var(--secondary);
}

::selection {
    color: white;
    background: var(--secondary);
}

.navbar-nav {
    display: flex;
    gap: 2rem;
}

.navbar-nav .nav-link.active {
    border-bottom: 4px solid var(--primary);
}

.navbar {
    background-color: var(--bg-color);
    box-shadow: 0 4px 24px #00000010;
}

.nav-link,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: var(--text-color);
}

.nav-link:focus,
.nav-link:hover {
    color: var(--primary);
}

.poppins-regular {
    font-family: var(--font-primary);
    font-weight: 400;
    font-style: normal;
}

.poppins-bold {
    font-family: var(--font-primary);
    font-weight: 700;
    font-style: normal;
}

.btn.btn-primary {
    border-radius: 50px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: 0;
    padding: 8px 20px;
}

.banner-txt {
    margin: 5rem 0;
}

.banner-txt h1 {
    font-weight: 700;
    color: var(--text-color);
    font-size: 2.6rem;
}

.banner-txt h1 .typed-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title1 {
    text-transform: uppercase;
    color: var(--primary);
    font-family: var(--font-secondary);
    font-size: 1rem;
    text-align: center;
    margin: 0 0 1rem 0;
    letter-spacing: 5px;
}

.title2 {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 2rem;
    text-align: center;
}

a.link {
    font-size: 0.7rem;
    margin-top: 0.5rem;
    display: block;
    text-decoration: none;
    color: var(--secondary);
    text-align: right;
}



.section-header {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 8rem 0 3rem;
}

.section-two {
    background-color: #00000020;
    padding: 5rem 0 0;
}

.section-three {
    background: linear-gradient(110deg, var(--primary), var(--secondary));
    color: white;
    padding: 5rem 0;
}

.section-four {
    background: #00000010;
    color: var(--text-color);
    padding: 5rem 0;
}

.section-img {
    background-size: cover;
    background-position: center;
    color: #cccccc;
    padding: 5rem 0;
}

.section-img-1 {
    background-image: url(../img/section-bg-1.jpg);
}

.section-img-2 {
    background-image: url(../img/section-bg-2.jpg);
}

.section-img-3 {
    background-image: url(../img/section-bg-3.jpg);
}

.section-footer {
    background-color: #000000cf;
    padding: 5rem 0 0;
    text-align: center;
    color: #a6a6a6;
}

.section-footer a {
    text-decoration: none;
    color: #a6a6a6;
}

.section-footer p {
    margin: 0;
    font-size: 0.8rem;
}

.section-three .title1,
.section-footer .title1 {
    color: white;
}

.sticky-top.offset-80 {
    top: 80px;
}

.my-list {
    list-style: square;
}

.my-list li {
    margin-bottom: 0.5rem;
}

.card-1 {
    background: var(--bg-color);
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 4px 16px #0000001a;
    height: 100%;
}

.card-1 h3 {
    color: var(--primary);
    font-size: 1rem;
}

.card-1 ul {
    margin: 0;
    padding: 0 0 0 15px;
    list-style: circle;
}

.card-1 ul li {
    color: var(--bg-color);
    font-size: 0.7rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.card-2 {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px #00000010;
    height: 100%;
}

.card-2 p {
    font-size: 1rem;
    margin: 8px;
}

.btn-link {
    text-decoration: none;
    color: var(--secondary);
}

video {
    display: block;
}

.quote {
    font-size: 1.6rem;
    text-align: center;
    position: relative;
    padding: 0 4rem;
}

.quote::before {
    position: absolute;
    content: "";
    height: 40px;
    width: 52px;
    background-image: url(../img/q1.svg);
    left: 0;
    top: 0;
}


.quote::after {
    position: absolute;
    content: "";
    height: 40px;
    width: 52px;
    background-image: url(../img/q2.svg);
    right: 0;
    bottom: 0;
}

#themeToggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 8px;
    background: #00000069;
    border-radius: 24px;
    height: 40px;
    width: 40px;
    display: block;
    box-shadow: 0 2px 8px #00000010;
    z-index: 999;
}

#themeToggle i {
    height: 25px;
    width: 25px;
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}

#themeIcon.theme-day {
    background-image: url(../img/night.svg);
}

#themeIcon.theme-night {
    background-image: url(../img/day.svg);
}

/* change transition duration to control the speed of fade effect */
.carousel-item {
    transition: transform 2.6s ease-in-out;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    transition: opacity 1.6s ease-in-out;
}

@media (max-width: 1280px) {

    .banner-txt h1,
    .quote,
    .title2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {

    .banner-txt h1,
    .quote,
    .title2 {
        font-size: 1rem;
    }
}