@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;600;700;800;900&display=swap');

:root {
    --primary1: #1877F2;
    --primary2: #F8E831;
    --secondary1: #0c62d3;
    --secondary2: #e9d70e;
    --text1: #0A1931;
    --text2: #ffffff;
}

::selection {
    color: var(--text2);
    background: var(--primary1);
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text1)
}

html {
    scroll-behavior: smooth;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

/* Header style */
.bgtext {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 260px;
    color: #2e79b618;
    font-weight: 700;
    user-select: none;
}

.left_box {
    padding: 18px 44px;
    margin-top: 140px;
}

.left_box h1 {
    font-size: 72px;
    line-height: 72px;
    font-weight: 700;
}

.left_box p {
    margin-top: 20px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 300;
    width: 72%;
}

.headerImage {
    width: 76%;
    height: auto;
    margin: 22% 12% 4% 12%;
}

.aboutHead {
    padding: 7% 5% 1% 5%;
    text-align: center;
}

.aboutText {
    text-align: center;
}

.aboutHead h1 span {
    font-size: 180px;
    line-height: 180*1.5px;
    font-weight: 700;
    letter-spacing: 0.002em;
    color: var(--text1);
}

.aboutText p {
    font-size: 24px;
    line-height: 36px;
    font-weight: 300;
}

.underline {
    background-image: linear-gradient(120deg, #F8E831 100%, #F8E831 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.2em;
    background-position: 0 88%;
}

.left {
    position: absolute;
    left: 15px;
    top: 0px;
    height: 120px;
}

.right {
    position: absolute;
    right: 15px;
    top: 0px;
    height: 140px;
}

.dotbox {
    position: relative;
    overflow: hidden;
}

.dotbox .left {
    position: absolute;
    left: 15px;
    top: 0px;
    height: 120px;
}

.dotbox .right {
    position: absolute;
    right: 15px;
    top: 0px;
    height: 120px;
}

.dotbox .Tleft {
    position: absolute;
    left: -36px;
    top: 4px;
    height: 200px;
    transform: rotate(48deg);
    opacity: 0.4;
}

.dotbox .Tright {
    position: absolute;
    right: -40px;
    top: 4px;
    height: 200px;
    transform: rotate(48deg);
    opacity: 0.4;
}

.dotbox .Tcenter1 {
    position: absolute;
    left: 30%;
    top: -6px;
    height: 80px;
    transform: rotate(-28deg);
    opacity: 0.3;
}

.dotbox .Tcenter2 {
    position: absolute;
    right: 30%;
    bottom: -16px;
    height: 90px;
    transform: rotate(20deg);
    opacity: 0.3;
}

/* CTA */
.bookCta {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 28px;
    padding: 30px 0px;
}

.bookCta h3 {
    font-size: 48px;
    line-height: 64px;
    font-weight: 700;
    padding: 0px 56px;
    color: var(--text1);
}

.headertext a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book {
    border: none;
    width: 230px;
    height: 48px;
    padding: 0 24px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary1), var(--primary2));
    color: var(--text2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.book::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary1), var(--secondary2));
    transition: left 0.4s ease;
    z-index: -1;
}

.book:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.5);
}

.book:hover::before {
    left: 0;
}

.blogbox {
    background-color: var(--text2);
    width: 320px;
    margin: 28px auto;
    padding: 0 0 8px 0;
    box-shadow: 4px 7px 30px 7px rgb(0,0,0,6%);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blogbox:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.blogtop {
    height: auto;
}

.blogtop img {
    width: 100%;
    border-radius: 8px 8px 0 0;
}

.blogbody {
    height: 130px;
    margin: 0 0 18px 0;
    padding: 0 7px;
}

.bloghead {
    height: 48px;
    margin: 10px 0px 0px 0px;
    padding: 0px;
}

.bloghead h1 {
    font-size: 16px;
    font-weight: 700;
    line-height: 16*1.5px;
    margin: 0px 5px;
}

.blogcontent {
    margin: 0 0 25px 0;
}

.blogcontent p {
    font-size: 14px;
    line-height: 21px;
    font-weight: 300;
    margin: 0px 5px;
}

.blogend {
    height: 24px;
    margin: 0px 5px 5px 5px;
    padding: 0 7px;
}

.blogAuthor img {
    border-radius: 50%;
}

.blogAuthor p {
    font-size: 14px;
    line-height: 21px;
    font-weight: 300;
    margin: 0 0 0 10px;
}

.blogdate {
    font-size: 14px;
    line-height: 21px;
    font-weight: 300;
}

/* Animations and Effects */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary1);
    border-radius: 10px;
    border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary2);
}

body {
    cursor: none;
    overflow-x: hidden;
}

.cursor {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: rgba(58, 123, 213, 0.5);
    border: 1px solid #3a7bd5;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background-color 0.3s ease;
    z-index: 10000;
    box-shadow: 0 0 10px rgba(58, 123, 213, 0.5), 
                0 0 20px rgba(58, 123, 213, 0.3);
}

.cursor.is-hovering {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 210, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.7), 
                0 0 40px rgba(0, 210, 255, 0.5);
}

/* Scroll Animations */
.fade-in-up,
.fade-in-left,
.fade-in-right,
.animate-slide-up,
.animate-scale,
.animate-rotate,
.animate-bounce,
.animate-pulse,
.animate-fade,
.animate-stagger {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up {
    transform: translateY(20px);
}

.fade-in-left {
    transform: translateX(-50px);
}

.fade-in-right {
    transform: translateX(50px);
}

.animate-slide-up {
    transform: translateY(30px);
}

.animate-scale {
    transform: scale(0.9);
}

.animate-rotate {
    transform: rotate(-10deg);
}

.animate-bounce {
    transform: translateY(0);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.animate-pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.animate-fade {
    opacity: 0;
}

.animate-stagger {
    transform: translateY(20px);
}

.fade-in-up.is-visible,
.fade-in-left.is-visible,
.fade-in-right.is-visible,
.animate-slide-up.is-visible,
.animate-scale.is-visible,
.animate-rotate.is-visible,
.animate-bounce.is-visible,
.animate-pulse.is-visible,
.animate-fade.is-visible,
.animate-stagger.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
}

/* Hover Animations */
.animate-scale-hover:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.2);
}

/* Interactive Elements */
.interactive-element {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    will-change: transform, box-shadow;
}

.interactive-element:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.2);
}

/* Parallax Effect */
.parallax {
    transition: transform 0.3s ease;
}

@media (max-width: 947px) {
    .aboutHead {
        padding: 28% 5% 1% 5%;    
    }
    
    .aboutHead h1 span {
        font-size: 64px;
        line-height: 64*1.5px;
    }
    
    .aboutText p {
        font-size: 17px;
        line-height: 26px;
    }

    .book {
        width: 180px;
        height: 40px;
        font-size: 15px;
        margin-top: 6px;
    }

    .bgtext {
        display: none;
    }

    .left, .right, .Tcenter1, .Tcenter2, .Tleft, .Tright {
        display: none;
    }

    .bookCta h3 {
        font-size: 28px;
        line-height: 38px;
        padding: 4px;
    }

    .bookCta {
        margin-top: 0px;
        padding: 16px;
    }

    .left_box {
        padding: 0px 16px;
        margin-top: 10px;
    }

    .headerImage {
        width: 90%;
        height: auto;
        margin: 20% 5% 2% 5%;
    }

    .left_box h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .left_box p {
        font-size: 16px;
        margin-top: 10px;
        width: 100%;
    }

    .animate-slide-up, .animate-stagger, .animate-scale, .animate-rotate, .animate-bounce {
        transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    }

    .parallax {
        transform: none !important;
    }
}