body,
html {
    font-family: "Inter";
    scroll-behavior: smooth;
}


.container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px; 
}

.logo {
    font-size: 200px;
    margin-left: 80px;
}


.skills-container {
    display: flex;
    gap: 20px;
    padding-bottom: 50px;
    padding-top: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.skill-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgb(237, 242, 248);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 35px;
    padding: 30px;
    transition: all 2.3s ease;
}

.skill-circle:hover {
    background-color: rgb(195, 206, 219);
    transition: all 2.3s ease;
 
}
.custom-tooltip {
    background-color: rgb(0, 106, 124) ;
}
.card {border-radius:20px;}
.card_image {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 20px 20px 0px 0px;
    height: 150px;
}


.hero-section {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
}
.name-highlight {
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.title {
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
}

/* Faster Animated Gradient Background */
.animated-gradient-bg {
    min-height: calc(100vh - 110px);
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 8s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Mouse Trail Elements */
.cursor-trail {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: overlay;
    z-index: 0;
}

/* Content Styling (on top of trail) */
.hero-content {
    position: relative;
    z-index: 1;
}

/* Text Styling */
.hero-text {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.name {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.title {
    font-size: 1.8rem;
    letter-spacing: 3px;
}

.btn-custom {
    background-color: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: white;
    color: #333;
}

:root {
    --primary-color: #0d6efd;
    --hover-color: #0b5ed7;
}

.login-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: white;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    position: relative;
}

.form-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.login-container:hover .form-header h2::after {
    transform: scaleX(1);
}

.form-control {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    transform: translateY(-2px);
}

.btn-login {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background-color: var(--primary-color);
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.btn-login:hover {
    background-color: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.optional-label {
    color: #6c757d;
    font-style: italic;
}

.name-fields {
    display: flex;
    gap: 15px;
}

.name-fields .form-group {
    flex: 1;
}

.input-group {
    position: relative;
}

.input-group .form-control {
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-password:hover {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.floating-label {
    position: relative;
    margin-bottom: 25px;
}

.floating-label label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #6c757d;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 5px;
}

.floating-label .form-control:focus + label,
.floating-label .form-control:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: var(--primary-color);
}

.bubbles {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    top: 0;
    left: 0;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    animation: float 15s infinite ease-in;
}

@keyframes float {
    0% {
        bottom: -100px;
        transform: translateX(0);
    }
    50% {
        transform: translateX(100px);
    }
    100% {
        bottom: 100%;
        transform: translateX(-200px);
    }
}

:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #fd79a8;
}



/* Floating bubbles background */
.bubbles {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    top: 0;
    left: 0;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    animation: float 15s infinite ease-in;
}

@keyframes float {
    0% {
        bottom: -100px;
        transform: translateX(0);
    }
    50% {
        transform: translateX(100px);
    }
    100% {
        bottom: 100%;
        transform: translateX(-200px);
    }
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transform: translateY(30px) rotateX(10deg);
    opacity: 0;
    animation: formEntrance 1s 0.3s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

@keyframes formEntrance {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.contact-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        transparent 0%,
        rgba(108, 92, 231, 0.05) 50%,
        transparent 100%
    );
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.contact-header h1 {
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    position: relative;
    animation: textGlow 2s infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 5px rgba(108, 92, 231, 0.3); }
    to { text-shadow: 0 0 15px rgba(108, 92, 231, 0.5); }
}

.contact-header h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 15px auto;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.contact-container:hover .contact-header h1::after {
    transform: scaleX(1);
}

.form-control {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 2px solid #eee;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(108, 92, 231, 0.2);
    transform: translateY(-5px);
}

.form-control:hover {
    border-color: var(--secondary-color);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: perspective(500px) translateZ(0);
    overflow: hidden;
    position: relative;
}

.btn-submit:hover {
    transform: perspective(500px) translateZ(20px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

.email-display {
    background: linear-gradient(45deg, rgba(108, 92, 231, 0.1), rgba(253, 121, 168, 0.1));
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    border-left: 5px solid var(--primary-color);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.email-display:hover {
    transform: rotateY(10deg) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    animation: pulse 0.5s;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(108, 92, 231, 0); }
    100% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0); }
}

.toggle-password {
    transition: all 0.3s ease;
}

.toggle-password:hover {
    transform: scale(1.2) rotate(15deg);
    color: var(--accent-color);
}

/* Floating label animation */
.floating-label {
    position: relative;
    margin-bottom: 25px;
}

.floating-label label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #777;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    background: rgba(255, 255, 255, 0.7);
    padding: 0 5px;
    border-radius: 5px;
}

.floating-label .form-control:focus + label,
.floating-label .form-control:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: var(--primary-color);
    background: white;
    transform: translateZ(20px);
}

/* Animated border */
.animated-border {
    position: relative;
}

.animated-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: width 0.5s ease;
}

.animated-border:hover::after {
    width: 100%;
}

:root {
    --primary-color: #6c5ce7;
    --secondary-color: #00cec9;
}

.skills-container {
    padding: 2rem 0;
}

.skills-header h1 {
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.skills-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.skills-header:hover h1::after {
    transform: scaleX(1);
}

.skills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-left: 1.5rem !important; /* ps-4 equivalent */
}

.skill-item {
    background: rgba(108, 92, 231, 0.1);
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.2);
}

.skill-icon {
    font-size: 1.2rem;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.skill-item {
    animation: fadeIn 0.6s forwards;
    opacity: 0;
}

.skill-item:nth-child(1) { animation-delay: 0.1s; }
.skill-item:nth-child(2) { animation-delay: 0.2s; }
.skill-item:nth-child(3) { animation-delay: 0.3s; }
.skill-item:nth-child(4) { animation-delay: 0.4s; }
.skill-item:nth-child(5) { animation-delay: 0.5s; }
.skill-item:nth-child(6) { animation-delay: 0.6s; }


.skills-container {
    width: 100%;
    padding: 4rem 0;
}

.skills-header {
    text-align: center;
    margin-bottom: 4rem;
}

.skills-header h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    animation: textGlow 2s infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 10px rgba(108, 92, 231, 0.3); }
    100% { text-shadow: 0 0 20px rgba(253, 121, 168, 0.5); }
}

.skills-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    padding: 0 2rem;
}

.skill-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.8) rotate(10deg);
}

.skill-circle.active {
    animation: circleEntrance 0.8s forwards;
}

@keyframes circleEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(10deg);
    }
    80% {
        transform: scale(1.05) rotate(-2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

:root {
    --primary: #6c5ce7;
    --secondary: #00cec9;
    --accent: #fd79a8;
}

.skill-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        transparent 0%,
        rgba(108, 92, 231, 0.1) 50%,
        transparent 100%
    );
    transform: rotate(0deg);
    transition: transform 1.5s linear;
    z-index: 1;
}

.skill-circle:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.2);
}

.skill-circle:hover::before {
    transform: rotate(180deg);
}

.skill-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.skill-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.skill-circle:hover .skill-icon {
    transform: scale(1.2);
}

.skill-name {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
}

/* Screen Time Animation */
.skill-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(108, 92, 231, 0.1);
    overflow: hidden;
}

.skill-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    animation: progressFill 2s 0.8s forwards cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes progressFill {
    to { transform: scaleX(var(--progress)); }
}

/* Individual progress values */
.skill-circle:nth-child(1) .skill-progress-bar { --progress: 0.95; }
.skill-circle:nth-child(2) .skill-progress-bar { --progress: 0.9; }
.skill-circle:nth-child(3) .skill-progress-bar { --progress: 0.85; }
.skill-circle:nth-child(4) .skill-progress-bar { --progress: 0.8; }
.skill-circle:nth-child(5) .skill-progress-bar { --progress: 0.75; }

/* Animation delays */
.skill-circle:nth-child(1) { animation-delay: 0.1s; }
.skill-circle:nth-child(2) { animation-delay: 0.2s; }
.skill-circle:nth-child(3) { animation-delay: 0.3s; }
.skill-circle:nth-child(4) { animation-delay: 0.4s; }
.skill-circle:nth-child(5) { animation-delay: 0.5s; }

@media (max-width: 992px) {
    .skill-circle {
        width: 180px;
        height: 180px;
    }
    .skill-icon {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .skills-row {
        gap: 2rem;
    }
    .skill-circle {
        width: 150px;
        height: 150px;
    }
    .skill-icon {
        font-size: 2.5rem;
    }
    .skill-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .skills-row {
        gap: 1.5rem;
    }
    .skill-circle {
        width: 130px;
        height: 130px;
    }
    .skill-icon {
        font-size: 2rem;
        margin-bottom: 0.7rem;
    }
}

:root {
    --primary: #6c5ce7;
    --secondary: #00cec9;
    --accent: #fd79a8;
    --dark: #2d3436;
    --light: #f8f9fa;
}

section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
}

/* Animated Background Elements */
.bg-element {
    position: absolute;
    opacity: 0.05;
    z-index: -1;
    font-family: monospace;
    font-weight: bold;
}

/* Main Card */
.portfolio-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform-style: preserve-3d;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.portfolio-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Header Styles */
.main-title {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease 0.2s;
}

.main-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.title-underline {
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    margin: 1.5rem auto 3rem;
    border-radius: 5px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s ease 0.5s;
}

.title-underline.animate {
    transform: scaleX(1);
}

/* Description Text */
.description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease 0.7s;
    text-align: center;
    font-weight: 600;
}

.description.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.skill-badge {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.skill-badge.animate {
    opacity: 1;
    transform: scale(1);
}

.skill-badge:nth-child(1) { transition-delay: 1s; }
.skill-badge:nth-child(2) { transition-delay: 1.2s; }
.skill-badge:nth-child(3) { transition-delay: 1.4s; }
.skill-badge:nth-child(4) { transition-delay: 1.6s; }

.skill-badge i {
    transition: all 0.3s ease;
}

.skill-badge:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.3);
    color: var(--accent);
}

.skill-badge:hover i {
    transform: scale(1.3) rotate(10deg);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 1.8s;
    position: relative;
    overflow: hidden;
    border: none;
}

.cta-button.animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-button:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.6);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .portfolio-card {
        padding: 3rem;
    }
    .main-title {
        font-size: 3rem;
    }
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 2rem 0;
    }
    .portfolio-card {
        padding: 2rem;
        border-radius: 15px;
    }
    .main-title {
        font-size: 2.5rem;
    }
    .description {
        font-size: 1.1rem;
    }
    .skill-badge {
        padding: 1.5rem 1rem;
        font-size: 1.5rem;
    }
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}