@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;
}


.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;
}


.sectionHeading {
    padding: 36px 16px 14px 16px;
    font-size: 44px;
    text-align: center;
    font-weight: 700;
    margin: 6% 0px 0px 0px;
    color: var(--primary1);
}



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


.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: 96%;
    height: auto;
    margin: 22% 2% 4% 2%;
}



/* Contact  */

.sectionText {
    font-size: 17px;
    line-height: 28px;
    padding: 0px 160px 0px 160px;
    text-align: center;
}

.details i {
    font-size: 22px;
    padding: 6px;
    margin: 0px 16px 0px 0px;
    color: var(--primary1);
}

.details {
    display: flex;
    width: 70%;
    margin: 36px 40px 20px 40px;
}

.details .head {
    font-weight: 600;
    font-size: 20px;
    line-height: 36px;
}

.details .sub-title {
    font-weight: 400;
    font-size: 17px;
    line-height: 26px;
}

input {
    width: 100%;
    height: 44px;
    margin: 5px 0;
}

textarea {
    width: 100%;
    margin: 5px 0;
}

select {
    width: 100%;
    height: 44px;
    margin: 5px 0;
}

.contactInput,
.selectinput,
.messageinput {
    border-color: #d1d5db;
    color: #707172;
}

.contactInput:focus,
.selectinput:focus,
.messageinput:focus {
    box-shadow: none;
    border-color: var(--text1);
    color: var(--text1);
}

.submit {
    margin-top: 24px;
    border: none;
    width: 200px;
    height: 48px;
    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;
}

.submit::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;
}

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

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

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

}

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

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

}



/* 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,
.animate-bg-gradient {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, background 1s ease;
}

.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);
}

.animate-bg-gradient {
    background: linear-gradient(120deg, #f1f1f1, #f1f1f1);
}

.animate-bg-gradient.is-visible {
    background: linear-gradient(120deg, #e0f7fa, #bbdefb);
}

.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,
.animate-bg-gradient.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) {
    /* header */
    .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%;
    }

    .left {
        display: none;
    }

    .right {
        display: none;
    }

    .sectionHeading {
        padding: 30px 16px;
        font-size: 36px;
        text-align: center;
        font-weight: 700;
        margin: 50px 0px 0px 0px;
    }

    .sectionText {
        font-size: 15px;
        line-height: 25px;
        padding: 0px 16px 0px 16px;
    }

    .details {
        width: 100%;
        margin: 0px;
        padding: 14px 16px;
    }

    .details i {
        font-size: 20px;
        padding: 6px;
    }

    .details .head {
        font-size: 18px;
        line-height: 26px;
    }

    .details .sub-title {
        font-size: 16px;
        line-height: 24px;
    }

    .contactform {
        margin-right: 0px;
    }

    .contactform .contactInput,
    .contactform .selectinput,
    .contactform .messageinput {
        margin: 0px 16px;
        padding: 5px 16px;
        width: 94%;
    }

    .submit {
        margin: 20px 0px 6px 30px;
    }
    .aboutHead {
        padding: 20% 5% 4% 5%;

    }

    .aboutHead h1 span {
        font-size: 32px;
        line-height: 32*1.2px;
    }

    .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;
    }
}