/* Main CSS Variables for theming */
:root {
    --primary-color: #6e45e2;
    --secondary-color: #d53f8c;
    --gradient-primary: linear-gradient(135deg, #6e45e2 0%, #88619a 100%);
    --gradient-secondary: linear-gradient(135deg, #d53f8c 0%, #9060b9 100%);
    --text-color: #333;
    --text-color-light: #777;
    --bg-color: #fff;
    --bg-color-light: #f8f9fa;
    --border-radius: 12px;
    --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
}

.section-description {
    color: var(--text-color-light);
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    margin-bottom: 25px;
    border-radius: 3px;
}

.btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
}

/* Navbar Styling */
.navbar {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-brand span {
    color: var(--secondary-color);
    font-weight: 600;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 15px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.navbar-toggler {
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hire-me-btn {
    background: var(--gradient-primary);
    color: white;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    transition: var(--transition);
}

.hire-me-btn:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 15px rgba(110, 69, 226, 0.3);
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

/* Hero Section Styling */
.hero-section {
    padding: 160px 0 100px;
    background-color: var(--bg-color-light);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    top: -150px;
    left: -100px;
    z-index: 0;
}

.status-badge {
    display: inline-block;
    background: rgba(110, 69, 226, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 20px;
    font-weight: 500;
}

h1 {
    font-size: 3.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.profession {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-color-light);
    margin-bottom: 30px;
    max-width: 550px;
}

.action-buttons {
    display: flex;
    margin-bottom: 40px;
    gap: 15px;
}

.download-cv-btn {
    background: var(--gradient-primary);
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-cv-btn:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 15px rgba(110, 69, 226, 0.3);
}

.contact-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(110, 69, 226, 0.2);
}

.stats-row {
    display: flex;
    gap: 50px;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    color: var(--text-color-light);
    margin: 0;
}

.profile-circle {
    position: relative;
    width: 380px;
    height: 380px;
    background: #f0f0f0;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.profile-circle::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border: 3px solid transparent;
    border-top-color: var(--secondary-color);
    border-right-color: var(--primary-color);
    border-radius: 50%;
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.profile-image {
    width: 93%;
    height: 93%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.tech-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.react-icon {
    top: 20%;
    right: 5%;
    color: #61dafb;
}

.java-icon {
    top: 80%;
    right: 15%;
    color: #f89820;
}

.spring-icon {
    bottom: 30%;
    left: 5%;
    color: #6db33f;
}

.js-icon {
    top: 40%;
    left: 10%;
    color: #f7df1e;
}

/* About Section Styling */
.about-section {
    background-color: var(--bg-color);
    position: relative;
}

.about-description {
    color: var(--text-color-light);
    margin-bottom: 20px;
}

.personal-info {
    margin-top: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 4px;
    margin-right: 15px;
    width: 20px;
}

.info-content span {
    font-size: 0.875rem;
    color: var(--text-color-light);
    display: block;
    margin-bottom: 2px;
}

.info-content p {
    font-weight: 500;
    margin: 0;
}

/* Skills Section Styling */
.skills-tabs .nav-tabs {
    border-bottom: none;
    margin-bottom: 20px;
}

.skills-tabs .nav-link {
    background: none;
    border: none;
    font-weight: 600;
    color: var(--text-color-light);
    position: relative;
    padding: 10px 20px;
}

.skills-tabs .nav-link.active {
    color: var(--primary-color);
    background: none;
}

.skills-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--gradient-primary);
    bottom: 0;
    left: 25%;
    border-radius: 3px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-icon {
    color: var(--primary-color);
}

.skill-percentage {
    font-weight: 600;
    color: var(--primary-color);
}

.progress {
    height: 8px;
    border-radius: 10px;
    background-color: #f0f0f0;
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 10px;
}

/* Projects Section Styling */
.projects-section {
    background-color: var(--bg-color-light);
    position: relative;
}

.project-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-card.blue-gradient {
    background: linear-gradient(135deg, rgba(110, 69, 226, 0.05) 0%, rgba(136, 97, 154, 0.05) 100%);
    border-top: 5px solid var(--primary-color);
}

.project-card.pink-gradient {
    background: linear-gradient(135deg, rgba(213, 63, 140, 0.05) 0%, rgba(144, 96, 185, 0.05) 100%);
    border-top: 5px solid var(--secondary-color);
}

.project-card.purple-gradient {
    background: linear-gradient(135deg, rgba(120, 81, 201, 0.05) 0%, rgba(154, 105, 170, 0.05) 100%);
    border-top: 5px solid #7851c9;
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-logo {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.project-card.pink-gradient .project-logo {
    background: var(--gradient-secondary);
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-description {
    color: var(--text-color-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tech-tag {
    background: rgba(110, 69, 226, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Experience Section Styling */
.experience-section {
    background-color: var(--bg-color);
    position: relative;
}

.experience-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border-left: 5px solid var(--primary-color);
}

.job-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.company-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.company-name, .duration {
    color: var(--text-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-name i, .duration i {
    color: var(--primary-color);
}

.tech-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.job-description {
    color: var(--text-color-light);
    margin-bottom: 20px;
}

.achievements-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.achievements-list {
    padding-left: 20px;
}

.achievements-list li {
    color: var(--text-color-light);
    margin-bottom: 10px;
    position: relative;
}

.achievements-list li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: -20px;
    font-weight: 700;
}

/* Education Section Styling */
.education-section {
    background-color: var(--bg-color);
    position: relative;
}

.education-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 30px;
    height: 100%;
    position: relative;
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
    overflow: hidden;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.education-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.education-period {
    display: inline-block;
    background: rgba(110, 69, 226, 0.1);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.education-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.education-institution {
    color: var(--text-color-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.education-description {
    color: var(--text-color-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Contact Section Styling */
.contact-section {
    background-color: var(--bg-color-light);
    position: relative;
}

.contact-info-box {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    height: 100%;
}

.contact-info-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 1.25rem;
}

.contact-info-item p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.contact-info-item a, .contact-info-item span {
    color: white;
    font-weight: 500;
    text-decoration: none;
}

.connect-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 30px 0 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.icon-circle-sm {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: var(--transition);
}

.icon-circle-sm:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form-box {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 40px;
    height: 100%;
}

.contact-form-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-color);
}

.form-control {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(110, 69, 226, 0.1);
}

.submit-btn {
    background: var(--gradient-primary);
    color: white;
    font-weight: 500;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.submit-btn:hover {
    background: var(--gradient-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(110, 69, 226, 0.3);
}

/* Footer Styling */
.footer-section {
    background: #1f2235;
    padding: 70px 0 40px;
    color: #ffffff;
    position: relative;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo span {
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.footer-social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-heading {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a::before {
    content: '→';
    color: var(--primary-color);
    font-weight: 600;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-contact-info i {
    color: var(--primary-color);
    font-size: 1rem;
}

.footer-contact-info a, .footer-contact-info span {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-contact-info a:hover {
    color: white;
}

.footer-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-badge {
    background: rgba(110, 69, 226, 0.15);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.skill-badge:hover {
    background: var(--primary-color);
    color: white;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(110, 69, 226, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gradient-secondary);
    color: white;
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-section {
        padding: 140px 0 80px;
    }
    
    h1 {
        font-size: 2.75rem;
    }
    
    .profession {
        font-size: 2.25rem;
    }
    
    .profile-circle {
        width: 340px;
        height: 340px;
    }
    
    .profile-circle::before {
        width: 340px;
        height: 340px;
    }
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-section {
        padding: 120px 0 60px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .profession {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background-color: white;
        padding: 20px;
        border-radius: var(--border-radius);
        box-shadow: var(--card-shadow);
        margin-top: 15px;
    }
    
    .navbar-nav {
        margin-bottom: 15px;
    }
    
    .hire-me-btn {
        margin-top: 10px;
    }
    
    .profile-circle {
        width: 300px;
        height: 300px;
        margin-top: 40px;
    }
    
    .profile-circle::before {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 100px 0 40px;
        text-align: center;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    .profession {
        font-size: 1.75rem;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .stats-row {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-divider {
        margin-left: auto;
        margin-right: auto;
    }
    
    .profile-circle {
        width: 260px;
        height: 260px;
    }
    
    .profile-circle::before {
        width: 260px;
        height: 260px;
    }
    
    .tech-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .hero-section {
        padding: 90px 0 30px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .profession {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .contact-info-box, .contact-form-box {
        padding: 25px;
    }
}