/* General styling */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    height: 100%;
    touch-action: auto; /* allow touch interactions/scrolling on mobile */
    -webkit-overflow-scrolling: touch; /* smooth momentum scrolling on iOS */
}

/* Removed forced scroll-behavior: auto so smooth scroll works consistently */
/* .body used for page background */
.body {
    background-color: #000000;
}

/* Preloader styling */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* very high while preloader visible */
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ball {
    width: 20px;
    height: 20px;
    background-color: #000;
    border-radius: 50%;
    animation: bounce 0.5s infinite alternate;
}

@keyframes bounce {
    to {
        transform: translateY(-50px);
    }
}

/* Header styling */
.head {
    border: 1px solid rgb(255, 255, 255);
    border-radius: 35px;
    height: 100vh;
    width: 100%;
    top: 0;
    padding-bottom: 50px;
}

/* Sidebar styling */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 100000; /* raise above other elements */
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transition: 0.5s;
    padding-top: 60px;
    pointer-events: auto; /* ensure touches are accepted */
}

.sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 18px;
    display: block;
    transition: 0.3s;
    color: #ffffff;
    font-weight: bold;
    pointer-events: auto;
}

.sidebar a:hover {
    color: #ffffff;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    z-index: 100001; /* above the sidebar content */
    color: #fff;
    cursor: pointer;
}

.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px 15px;
    border: none;
    position: fixed; /* ensure it sits above content */
    z-index: 100002; /* topmost so users can tap it */
}

.openbtn:hover {
    background-color: #ffea05;
}

.mainbody {
    margin-top: 5vh;
    padding: 10px 20px;
}

/* Circle text styling */
#circle-container {
    position: relative;
    cursor: pointer;
    width: 190px;
    padding-top: 10px;
    height: 190px;
    border-radius: 200%;
    border: 2px solid #fe6e00;
    display: flex;
    justify-content: center;
    align-items: center;
}

#text {
    position: absolute;
    width: 100%;
    height: 100%;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    flex-wrap: wrap;
}

p#text {
    height: 300px;
    width: 300px;
    position: relative;
    animation: effect 8s linear infinite;
}

@keyframes effect {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Button styling */
button.hire {
    background-color: #ffffff;
    border: 1px solid #fe6e00;
    border-radius: 50px;
    color: #000000;
    cursor: pointer;
    width: 100%;
}

button.hire:hover {
    background-color: #26e200;
    color: #fff;
}

/* Contact icons styling */
a {
    cursor: pointer;
    text-decoration: none;
}

p a.rounded-circle {
    background-color: #262626;
}

p a:hover {
    background-color: #26e200;
}

/* Canvas styling */
#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.UPH {
    top: 0;
}

.resume-timeline {
    position: relative;
    padding-left: 40px;
}
.vertical-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #fe6e00;
}
.date {
    position: relative;
    padding-left: 20px;
    font-size: 20px;
    color:#fe6e00;
    font-weight: bold;
}
.balls {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #fe6e00;
    border-radius: 50%;
}

.fixed-left {
    position: static;
    overflow: auto;
}

.service{
    border: 1px solid #ffffff;
    border-radius: 10px;
    padding: 25px;
}
.service:hover{
    border: 1px solid#ff6f00;
}

.row.skills.text-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.skill {
    background-color: #fff;
    border-radius: 70px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    min-height: 35vh;
    margin-bottom: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.skill-inner {
    text-align: center;
}

.skill img {
    max-width: 70px;
    margin-bottom: 15px;
}

.skill .percent {
    font-size: 24px;
    color:#fe6e00;
    margin: 10px 0;
}

.skill .name {
    font-size: 18px;
    color:#050200;
}

/* Common styles for all animations */
.scroll-animation {
    opacity: 0;
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

/* Specific animations */
.scroll-animation[data-animation="fade_from_right"] {
    transform: translateX(20px);
}

.scroll-animation[data-animation="fade_from_left"] {
    transform: translateX(-20px);
}

.scroll-animation[data-animation="fade_from_top"] {
    transform: translateY(-20px);
}

.scroll-animation[data-animation="fade_from_bottom"] {
    transform: translateY(20px);
}

/* Active state for animations */
.scroll-animation.active {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Basic CSS for the testimonial slider */
.testimonial-slider-wrap {
    position: relative;
    /* do not push slider behind other interactive elements */
    z-index: 1;
}

.testimonial-item {
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0 10px;
    border: 1px solid#ffffff;
    border-radius: 5px;
}

.testimonial-item-inner {
    text-align: left;
}

.author {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.author img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    max-width: 50px;
    max-height: 50px;
    margin-right: 10px;
}

.author .right {
    display: inline-block;
    vertical-align: top;
}

.author h3 {
    margin: 0;
    font-size: 16px;
}

.author .designation {
    font-size: 14px;
    color: #fe6e00;
}

.testimonial-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.prev, .next {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

a.nav-link{
    color: white;
}

.owl-theme .owl-dots .owl-dot span {
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    height: 10px;
    margin: 5px 7px;
    width: 10px;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #000;
}

/* General styling for the pricing table container */
.pricing-table-items {
    margin: 0 auto;
    padding: 50px 0;
    max-width: 1200px;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

/* Styling for each pricing table */
.pricing-table {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

/* Hover effect for pricing table */
.pricing-table:hover {
    transform: translateY(-10px);
}

/* Header styling for the pricing table */
.pricing-table-header {
    padding-bottom: 20px;
    margin-bottom: 20px;
}

/* Top part of the header */
.pricing-table-header .top {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

/* Title styling */
.pricing-table-header h4 {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
}

/* Description styling */
.pricing-table-header p {
    font-size: 14px;
    color: #666;
    text-align: right;
}

/* Price styling */
.pricing-table-header h1 {
    font-size: 40px;
    font-weight: 700;
    color:#fe6e00
}

.pricing-table-header h1 span {
    font-size: 20px;
    color: #666;
}

/* Feature list styling */
.feature-lists {
    list-style: none;
    padding: 0;
}

/* Button styling */
.theme-btn {
    display: inline-block;
    padding: 10px 20px;
    background:#fe6e00;
    color: #000000;
    text-transform: uppercase;
    border-radius: 5px;
    transition: background 0.3s ease;
    text-decoration: none;
    margin-top: 20px;
}

.theme-btn:hover {
    background: #fe6e00;
}

/* Info paragraph styling */
.info {
    font-size: 16px;
    color: #666;
    margin-top: 20px;
}

.info a:hover {
    text-decoration: underline;
}

@media (max-width: 1041px) {
    .head {
        width: 100%;
        height: fit-content;
    }

    .skill {
        background-color: #fff;
        border-radius: 50px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        margin: 0;
        min-height: 28vh;
        max-height: 28vh;
        padding: 20px 10px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .skill img {
        max-width: 60px;
        margin-bottom: 15px;
    }
}

@media (min-width: 1041px) {
    .fixed-left {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        overflow-y: auto;
    }

    .col-lg-8.offset-lg-4,
    .col-xl-8.offset-xl-4 {
        margin-left: 33.3333%; /* This makes room for the fixed-left div */
    }
}