:root {
    --primary-color: #6c63ff;
    --secondary-color: #4a41e0;
    --dark-color: #1a1a2e;
    --light-color: #f5f5f5;
    --text-color: #333;
    --section-padding: 100px 0;
    --transition: all 0.3s ease;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

section {
    padding: var(--section-padding);
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--bs-primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    z-index: 999;
}

.navbar.scrolled {
    background-color: var(--bs-dark);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--bs-primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 50%;
}

/* Home Section */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.profile-img-container {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 5px solid var(--bs-primary);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.3);
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    background-color: rgba(108, 99, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    width: 120px;
}

.experience-badge span {
    color: var(--bs-primary);
    font-weight: 700;
}

/* Expertise Section */
.expertise-item {
    background-color: var(--bs-dark-bg-subtle);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100%;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--bs-primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
}

/* Portfolio Section */
.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 46, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-title {
    color: #fff;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: var(--transition);
    font-size: 22px;
    text-align: center;
}

.portfolio-view {
    width: 45px;
    height: 45px;
    background-color: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transform: translateY(20px);
    transition: var(--transition);
    cursor: pointer;
}

.portfolio-item:hover .portfolio-title,
.portfolio-item:hover .portfolio-view {
    transform: translateY(0);
}

.portfolio-view:hover {
    background-color: #fff;
    color: var(--bs-primary);
}

.portfolio-img-modal {
    width: 100%;
    height: auto;
}

.tech-badge {
    background-color: blue;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

/* Education & Experience Section */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 2px;
    background-color: var(--bs-primary);
    left: 0;
    top: 0;
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    left: -2.5rem;
    top: 0.5rem;
}

.timeline-content {
    background-color: var(--bs-dark-bg-subtle);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 3px solid var(--bs-primary);
}

.date {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: ivory;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--bs-primary);
}

.institution, .company {
    color: aqua;
    font-weight: 500;
}

.responsibilities {
    padding-left: 1.2rem;
    margin-top: 1rem;
}

.responsibilities li {
    margin-bottom: 0.5rem;
}

/* Skills Section */
.skill-group {
    background-color: var(--bs-dark-bg-subtle);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
}

.progress-bar {
    background-color: var(--bs-primary);
}

/* Contact Section */
.contact-info {
    padding: 2rem;
    background-color: var(--bs-dark-bg-subtle);
    border-radius: 10px;
    height: 100%;
}

.contact-form {
    background-color: var(--bs-dark-bg-subtle);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-control {
    background-color: var(--bs-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--bs-primary);
}

.social-icon {
    color: #fff;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--bs-primary);
    transform: translateY(-3px);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--bs-dark);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    #home {
        text-align: center;
    }
    
    .profile-img-container {
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item::before {
        left: -2rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeUp 0.5s ease forwards;
}

/* Form message styles */
.form-message {
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: 500;
}

.form-message.success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.form-message.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.img-fluid {
    width: 100% !important;
    height: 100% !important;
}
.skill-expert {
    color: #00FF6A;
}
.skill-advanced {
    color: #FFD700;
}
.skill-intermediate {
    color: #00FFFF;
}
.skill-beginner {
    color: #FF6F00;
}
.progress-bar.skill-expert {
    background-color: #00FF6A;
}
.progress-bar.skill-advanced {
    background-color: #FFD700;
}
.progress-bar.skill-intermediate {
    background-color: #00FFFF;
}
.progress-bar.skill-beginner {
    background-color: #FF6F00;
}
iframe#chipp-chat-bubble-container {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: coral;
}