@font-face {
    font-family: 'Machina';
    src: url('/659dbdfd5a080be8d348316f_PPNeueMachina_\ Light.ttf');
}

@font-face {
    font-family: 'rj';
    src: url(./Rejouice-Headline.ttf) format('truetype');
  }

:root{
    --salmon:#EF9D71;
    --dsalmon : #532521;
    --cyan: #AEDEE0;
    --dcyan: #1f2f32;
    --black: #000 ;
    --white : #fff;
}

body{
    transition: background-color ease-out .5s;
}

body::-webkit-scrollbar{
display: none;
}



*::selection{
    background-color: var(--salmon);
}

.swiper-slide h1{
    opacity: 0.9;
    font-family: 'rj';
    font-size: 18vw;
    font-weight: 100;
    line-height: 27vw;
}

.swiper-slide h1 span{
    font-family: 'rj';
    display: inline-block;
}

.loader{
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    background-color: #000;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 10px;
}

.loader-text {
    position: relative; /* Ensure relative positioning so it can move */
    color: white;
    font-size: 2rem;
    white-space: nowrap;
}

.loader h3{
    font-size: 2vw;
    font-weight: 100;
}

.vdodiv {
    --clip: 100%; /* Define the initial value here */
    clip-path: circle(var(--clip) at 50% 50%);
}


body[theme="black"]{
    background-color: var(--black);
}

body[theme="black"] .section{
    color: var(--white);
}

body[theme="cyan"]{
    background-color: var(--cyan);
}

body[theme="cyan"] .section{
   color: var(--dcyan);
}

body[theme="salmon"]{
    background-color: var(--salmon);
}

body[theme="salmon"] .section{
    color: var(--dsalmon);
}

body[theme="white"]{
    background-color: var(--white);
}

body[theme="white"] .section{
    color: var(--black);
}

/* Chatbot Container */
.chatbot {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40vh;
    background-color: #f0f4f8;
    font-family: 'Roboto', sans-serif;
}

/* Chat Window */
.chat-window {
    width: 380px;
    height: 550px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

/* Chat Header */
.chat-header {
    background-color: #4a90e2;
    color: white;
    padding: 15px;
    font-size: 20px;
    text-align: center;
    font-weight: 500;
    border-radius: 12px 12px 0 0;
}

/* Chat Messages Container */
.chat-messages {
    flex-grow: 1;
    padding: 15px;
    background-color: #f9fafb;
    overflow-y: auto;
    border-top: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
}

/* Chat Messages Style */
.chat-message {
    margin-bottom: 10px;
    padding: 12px 15px;
    border-radius: 15px;
    max-width: 70%;
    word-wrap: break-word;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    line-height: 1.6;
}

/* User Message Styling */
.chat-message.user {
    background-color: #4a90e2;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

/* Bot Message Styling */
.chat-message.bot {
    background-color: #eaeff3;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

/* Chat Questions (Buttons) Container */
.chat-questions {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

/* Question Buttons Styling */
.question-btn {
    padding: 10px 15px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

/* Button Hover Effect */
.question-btn:hover {
    background-color: #357abd;
}

/* Chat Window Scroll Styling */
.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background-color: #cccccc;
    border-radius: 8px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background-color: #999999;
}

@keyframes bounce-right {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

.animate-bounce-right {
    animation: bounce-right 1s infinite;
}

.scroll-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.scroll-section h1 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 600; /* font-semibold */
    color: #4B5563; /* text-gray-600 */
    letter-spacing: 0.05em; /* tracking-wider */
    text-transform: uppercase; /* uppercase */
    margin-bottom: 0.5rem; /* mb-2 */
}

.scroll-section svg {
    height: 2.5rem; /* h-10 */
    width: 2.5rem; /* w-10 */
    color: #2563EB; /* text-blue-600 */
    animation: bounce 1.5s infinite;
}

.scroll-section .decorative-line {
    width: 5rem; /* w-20 */
    height: 2px; /* h-[2px] */
    background-color: #2563EB; /* bg-blue-600 */
    margin-top: 1rem; /* mt-4 */
}

/* Animation for bouncing arrow */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}




#scrollToTop {
    z-index: 111;
    position: fixed; /* Sticks the button in place */
    bottom: 30px; /* Distance from the bottom */
    right: 30px; /* Distance from the right */
    background-color: #1f2937; /* Dark background color */
    color: white; /* Arrow color */
    padding: 10px; /* Padding around the button */
    border-radius: 50%; /* Make the button circular */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow for 3D effect */
    cursor: pointer; /* Changes the mouse cursor to a pointer on hover */
    display: none; /* Initially hidden */
    transition: opacity 0.3s ease-in-out; /* Smooth appearance */
}

#scrollToTop:hover {
    background-color: #4b5563; /* Change background color on hover */
}

#scrollToTop svg {
    width: 24px; /* Adjust the size of the arrow */
    height: 24px;
}

#scrollToTop.show {
    display: block; /* Make the button visible */
    opacity: 1; /* Fade it in */
}

/* For the Resume button hover effect */
.resume-button {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.resume-button:hover {
    transform: scale(1.1); /* Slight zoom-in effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Increase shadow depth */
    border-color: var(--dcyan); /* Optional: Change border color on hover */
}

/* For inner text animation */
.resume-button .masker {
    overflow: hidden;
    position: relative;
}

.resume-button .masker span {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.resume-button:hover .masker span {
    transform: translateY(-5px); /* Moves the text slightly upwards on hover */
}


.skills {
    
    gap: 20px; /* Adjust the spacing between cards */
}

.skill {
    width: 450px; /* Make the skill cards take 3 per row */
    height: auto;
    padding: 20px;
    border: 2px solid #ccc;
    background-color: white;
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.skill img {
    width: 40px; /* Size of the skill icons */
    height: 40px;
}

.skill h2 {
    font-size: 1.25rem;
    font-weight: bold;
}

/* Hover effect */
.skill:hover {
    background-color: black;
    color: white;
    transform: scale(1.05);
}

/* Make sure animations work when scrolling */
.skill.opacity-0 {
    opacity: 1;
    transform: translateY(0);
}
