@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
}

p {
    font-family: 'Roboto Slab', sans-serif;
}


/* Navbar Styles */
.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.transparent {
    background-color: transparent !important;
}

.navbar.scrolled {
    background-color: #000 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navbar toggler icon styling for better visibility */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

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

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


.navbar-nav .nav-item a {
    -webkit-transition: background .2s ease-in-out;
    -moz-transition: background .2s ease-in-out;
    transition: background .2s ease-in-out;
    font-weight: 400;
    text-align: center;
    letter-spacing: 1px;
    font-size: 14px;
}

.navbar-nav .nav-item:hover {
    background-color: rgba(195, 195, 195, 0.582);
    color: #fff;
}

.navbar-nav .nav-item a.active {
    border-bottom: 1px solid #fff !important;
    animation-delay: 0.4s;
    animation: 0.2s ease-in-out fadeInUp;
}

.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.398), rgba(0, 0, 0, 0.822)), url('/uploads/img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    height: 100vh;
    width: 100%;

}

.hero-section h1 {
    color: #FFF;
    font-size: 64px;
    font-weight: 300;
    letter-spacing: 3px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-section p {
    color: #FFF;
    font-size: 17px;
    font-weight: 300;
    animation-delay: 0.4s;
    animation: fadeInUp 0.9s ease-out;
}

.header .indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    color: #FFF;
    text-decoration: none;
}

/* About Section */
.about {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.about h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 20px;
}

.about .lead-area {
    /* layout with center align and maximum with 420px */
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    font-weight: 300;
}

.about p {
    font-size: 16px;
    line-height: 1.6;
    color: #0b0b0b;
    animation: fadeInUp 0.8s ease-out;
}

/* Passion section */
.passion {
    padding: 60px 0;
}

.passion h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 50px;
}

.passion .card-text {
    font-size: 14px;
    line-height: 1.6;
    color: #0b0b0b;
    font-weight: 300;
}

.passion .card {
    background-color: #f8f9fa;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.9s ease-in-out;
}

.passion .card:nth-child(1) {
    animation-delay: 0.3s;
}

.passion .card:nth-child(2) {
    animation-delay: 0.6s;
}

.passion .card:nth-child(3) {
    animation-delay: 0.9s;
}

.passion .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.passion .card .icon {
    font-size: 32px;
    color: #007bff;
    margin-bottom: 20px;
}

.passion [data-category="web"] i {
    background: linear-gradient(135deg, #68d391, #38a169);
}

.passion [data-category="web"]:hover i {
    background: linear-gradient(35deg, #68d391, #38a169);
}

.passion [data-category="qa"] i {
    background: linear-gradient(135deg, #f6ad55, #ed8936);
}

.passion [data-category="qa"]:hover i {
    background: linear-gradient(35deg, #f6ad55, #ed8936);
}

.passion [data-category="wp"] i {
    background: linear-gradient(135deg, #fc8181, #e53e3e);
}

.passion [data-category="wp"]:hover i {
    background: linear-gradient(35deg, #fc8181, #e53e3e);
}

/* Skills Section */
.skills-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 40px 0px;
}

.skills-section h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 60px;
    color: #ffffff;
}

.skills-tree-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Skill Category Styling */
.skill-category {
    position: relative;
    /* background: rgba(255, 255, 255, 0.05); */
    background: #05162a;
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.skill-category:hover {
    /* background: rgba(255, 255, 255, 0.08); */
    border-color: rgba(74, 144, 226, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 5px 10px rgba(74, 144, 226, 0.1);
}

/* Category Header */
.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 22px;
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.category-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Skill Branches */
.skill-branches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
}

.skill-branches::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 25px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(180deg, rgba(74, 144, 226, 0.3), transparent);
}

/* Individual Skill Tags */
.skill-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0);
    border: 1px solid rgba(74, 144, 226, 0.2);
    color: #a8b2d1;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    font-family: 'Roboto Slab', sans-serif;
}

.skill-tag::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background: rgba(74, 144, 226, 0.3);
}

.skill-tag i {
    font-size: 14px;
    opacity: 0.8;
}

.skill-tag:hover {
    background: rgba(74, 144, 226, 0.15);
    border-color: #4A90E2;
    color: #ffffff;
    transform: translateX(5px) scale(1.05);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Category-specific hover colors */
.skill-category[data-category="frontend"] .skill-tag:hover {
    border-color: #61dafb;
    box-shadow: 0 5px 15px rgba(97, 218, 251, 0.3);
    background: rgba(97, 218, 251, 0.15);
}

.skill-category[data-category="frontend"] .category-icon {
    background: linear-gradient(135deg, #61dafb, #21a1c4);
}

.skill-category[data-category="backend"] .skill-tag:hover {
    border-color: #68d391;
    box-shadow: 0 5px 15px rgba(104, 211, 145, 0.3);
    background: rgba(104, 211, 145, 0.15);
}

.skill-category[data-category="backend"] .category-icon {
    background: linear-gradient(135deg, #68d391, #38a169);
}

.skill-category[data-category="testing"] .skill-tag:hover {
    border-color: #f6ad55;
    box-shadow: 0 5px 15px rgba(246, 173, 85, 0.3);
    background: rgba(246, 173, 85, 0.15);
}

.skill-category[data-category="testing"] .category-icon {
    background: linear-gradient(135deg, #f6ad55, #ed8936);
}

.skill-category[data-category="languages"] .skill-tag:hover {
    border-color: #fc8181;
    box-shadow: 0 5px 15px rgba(252, 129, 129, 0.3);
    background: rgba(252, 129, 129, 0.15);
}

.skill-category[data-category="languages"] .category-icon {
    background: linear-gradient(135deg, #fc8181, #e53e3e);
}

.skill-category[data-category="devops"] .skill-tag:hover {
    border-color: #4fd1c7;
    box-shadow: 0 5px 15px rgba(79, 209, 199, 0.3);
    background: rgba(79, 209, 199, 0.15);
}

.skill-category[data-category="devops"] .category-icon {
    background: linear-gradient(135deg, #4fd1c7, #38b2ac);
}

.skill-category[data-category="design"] .skill-tag:hover {
    border-color: #f093fb;
    box-shadow: 0 5px 15px rgba(240, 147, 251, 0.3);
    background: rgba(240, 147, 251, 0.15);
}

.skill-category[data-category="design"] .category-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

/* Responsive design */
@media (max-width: 768px) {
    .skills-section {
        min-height: auto;
        padding: 80px 0;
    }

    .skills-tree-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .skill-category {
        padding: 20px;
    }

    .skill-tag {
        font-size: 10px;
        padding: 6px 10px;
    }

    .skill-tag::before {
        display: none;
    }

    .skill-branches::before {
        display: none;
    }

    .skills-section h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .category-title {
        font-size: 16px;
    }
}

/* Animation for skill categories */
.skill-category {
    animation: fadeInUp 0.8s ease-out;
}

.skill-category:nth-child(1) {
    animation-delay: 0.1s;
}

.skill-category:nth-child(2) {
    animation-delay: 0.2s;
}

.skill-category:nth-child(3) {
    animation-delay: 0.3s;
}

.skill-category:nth-child(4) {
    animation-delay: 0.4s;
}

.skill-category:nth-child(5) {
    animation-delay: 0.5s;
}

.skill-category:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Contact Section */
.contact {
    background-color: #f8f9fa;
    padding: 40px 0;
    text-align: center;
    transition: fadeInUp 0.3s ease;
}

.contact h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 20px;
    transition: fadeInUp 0.3s ease-out;

}

.contact p {
    font-size: 16px;
    line-height: 1.6;
    color: #0b0b0b;
    margin-bottom: 20px;
    animation-delay: 0.5s;
    transition: fadeInUp 0.6s ease-out;

}

.contact {
    /* layout with center align and maximum with 420px */
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    font-weight: 300;
}

.contact a {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 24px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-weight: 500;
}

.contact a:hover {
    background-color: #151515;
    transform: translateY(-5px);
    color: #ffffff;
}

/* Footer Styles */
.footer .social-link i {
    color: #ffffff;
    transition: fadeInUp 0.3s ease;
}

.footer p {
    font-family: 'Lato', sans-serif;
}

.footer .social-link a:hover {
    background: #ededed94 !important;
    animation-delay: 0.5s;
    transform: translate(0, -5px);
    transition: fadeInUp 0.3s ease;
}

/* Experience Section */
.experience {
    padding: 40px 0;
}

.experience h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 50px;
    color: #333;
}

.experience-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    border: 0;
}

.experience-card.current-org{
    border: 1px solid #374D5470;
    
}
.experience-card.current-org::after{
    content: "Current Organization";
    position: absolute;
    top: -15px;  
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: linear-gradient(120deg, #141815 0%, #8fd3f4 100%);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}
.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.experience-card .card-header {
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 15px;
}

.experience-category {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;

}

.experience-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.experience-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: 'Roboto Slab', sans-serif;
    font-size: 10px;
    font-weight: 400;

}



.experience-item span {
    line-height: 1.5;
    color: #444;
    font-size: 14px;
}

.experience-item strong {
    color: #333;
    font-weight: 600;
}

.highlight {
    background: linear-gradient(120deg, #e93297 0%, #177bad 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 4px;
    position: relative;
}

.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    opacity: 0.1;
    border-radius: 4px;
    z-index: -1;
}

/* Tech Stack Badges */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tech-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .experience-category {
        font-size: 14px;
    }
    
    .experience-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .experience-item i {
        margin-bottom: 5px;
    }
    
    .tech-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
}
