/* Visual Improvements for Kapil's Portfolio */

/* Enhanced Card Shadows and Hover Effects */
.icon_box:hover {
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Better Portfolio Item Hover Effects */
.portfolio_item {
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(135deg, rgba(39, 226, 120, 0.1), rgba(0, 212, 255, 0.1));
}

.portfolio_item:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.portfolio_item img {
    transition: all 0.3s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio_item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Enhanced Portfolio Content */
.portfolio_content {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
    backdrop-filter: blur(10px);
    border-radius: 0 0 15px 15px;
}

.portfolio_content h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio_content p {
    color: #cccccc;
    font-size: 14px;
}

/* Enhanced Link Container */
.link_container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.link_container a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #27E278, #00d4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.link_container a:hover {
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(39, 226, 120, 0.4);
}

/* Enhanced Progress Bars */
.progress {
    border-radius: 25px;
    height: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.progress-bar {
    border-radius: 25px;
    background: linear-gradient(45deg, #27E278, #00d4ff);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

/* Enhanced Banner Section */
.banner_content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.banner_content h4 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
}

/* Enhanced Profile Image */
.image_banner {
    position: relative;
    display: inline-block;
}

.image_banner img {
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(39, 226, 120, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.image_banner:hover img {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(39, 226, 120, 0.5);
}

/* Animated Circle Background */
.circle_bg1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    z-index: 1;
}

.circle_bg1 span {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(39, 226, 120, 0.3);
    animation: rotate 20s linear infinite;
}

.circle_bg1 span:nth-child(1) {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation-delay: 0s;
    border-color: rgba(39, 226, 120, 0.4);
}

.circle_bg1 span:nth-child(2) {
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    animation-delay: -2.5s;
    border-color: rgba(0, 212, 255, 0.3);
}

.circle_bg1 span:nth-child(3) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    animation-delay: -5s;
    border-color: rgba(39, 226, 120, 0.5);
}

.circle_bg1 span:nth-child(4) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-delay: -7.5s;
    border-color: rgba(0, 212, 255, 0.4);
}

.circle_bg1 span:nth-child(5) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    animation-delay: -10s;
    border-color: rgba(39, 226, 120, 0.3);
}

.circle_bg1 span:nth-child(6) {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    animation-delay: -12.5s;
    border-color: rgba(0, 212, 255, 0.5);
}

.circle_bg1 span:nth-child(7) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    animation-delay: -15s;
    border-color: rgba(39, 226, 120, 0.4);
}

.circle_bg1 span:nth-child(8) {
    width: 30%;
    height: 30%;
    top: 35%;
    left: 35%;
    animation-delay: -17.5s;
    border-color: rgba(0, 212, 255, 0.3);
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: rotate(360deg);
        opacity: 1;
    }
}

/* Enhanced Skill Bars Animation */
.skill_content {
    margin-bottom: 25px;
}

.progrees_bar_text b {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.count_pr {
    font-weight: 700;
    color: #27E278;
}

/* Enhanced Social Icons */
.social_icons li a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social_icons li a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(39, 226, 120, 0.3);
}

/* Enhanced Contact Section Icons */
.icon_box_style_2 .box_icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #27E278, #00d4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(39, 226, 120, 0.3);
}

.icon_box_style_2:hover .box_icon {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 20px 40px rgba(39, 226, 120, 0.4);
}

.icon_box_style_2 .box_icon i {
    font-size: 32px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.icon_box_style_2:hover .box_icon i {
    transform: scale(1.2);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Enhanced Contact Form */
.form-control {
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 15px 25px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #27E278;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(39, 226, 120, 0.3);
}

.btn-default {
    border-radius: 25px;
    padding: 15px 35px;
    background: linear-gradient(45deg, #27E278, #00d4ff);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-default:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(39, 226, 120, 0.4);
}

/* Enhanced Section Spacing */
.heading_s1 h2 {
    position: relative;
    margin-bottom: 30px;
}

.heading_s1 h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #27E278, #00d4ff);
    border-radius: 2px;
}

.heading_s1.text-center h2:after {
    left: 50%;
}

.heading_s1.text-left h2:after {
    left: 0;
    transform: none;
}

/* Enhanced About Section */
.about_info {
    padding: 30px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

/* Enhanced Basic Info Formatting */
.profile_info_style2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile_info_style2 li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.profile_info_style2 li:hover {
    padding-left: 10px;
    background: rgba(39, 226, 120, 0.05);
    border-radius: 8px;
    border-bottom: 1px solid rgba(39, 226, 120, 0.2);
}

.profile_info_style2 li:last-child {
    border-bottom: none;
}

.profile_info_style2 .title {
    font-weight: 600;
    color: #27E278;
    min-width: 120px;
    margin-right: 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile_info_style2 p {
    margin: 0;
    color: #ffffff;
    font-weight: 400;
    flex: 1;
}

.profile_info_style2 a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.profile_info_style2 a:hover {
    color: #27E278;
    text-decoration: underline;
}

/* Icon for each info item */
.profile_info_style2 .title:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #27E278, #00d4ff);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

/* Enhanced Services Icons */
.icon_box_style_3 .box_icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(45deg, #27E278, #00d4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(39, 226, 120, 0.3);
}

.icon_box_style_3:hover .box_icon {
    transform: translateY(-15px) scale(1.15);
    box-shadow: 0 25px 50px rgba(39, 226, 120, 0.4);
    background: linear-gradient(45deg, #00d4ff, #27E278);
}

.icon_box_style_3 .box_icon i {
    font-size: 2.5rem;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.icon_box_style_3:hover .box_icon i {
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

/* Enhanced Service Box Content */
.icon_box_style_3 .icon_box_content h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.icon_box_style_3:hover .icon_box_content h5 {
    color: #27E278;
    transform: translateY(-5px);
}

.icon_box_style_3 .icon_box_content p {
    color: #cccccc;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.icon_box_style_3:hover .icon_box_content p {
    color: #ffffff;
}

/* Enhanced Training Certificates */
.icon_box_style_2 {
    border-left: 4px solid #27E278;
    transition: all 0.3s ease;
}

.icon_box_style_2:hover {
    border-left-width: 8px;
    padding-left: 35px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced Loading Animation */
.preloader {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
}

/* Enhanced Footer */
.footer_dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

/* Enhanced Navigation */
.navbar-nav .nav-link {
    position: relative;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #27E278, #00d4ff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover:before,
.navbar-nav .nav-link.active:before {
    width: 80%;
}

/* Enhanced Grid Layout */
.grid_item {
    margin-bottom: 30px;
}

/* Enhanced Typography */
.text_white h5 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.text_white p {
    color: #cccccc;
    line-height: 1.6;
}

/* Enhanced Button Animations */
.btn-aylen {
    position: relative;
    overflow: hidden;
}

.btn-aylen: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: left 0.5s;
}

.btn-aylen:hover:before {
    left: 100%;
}

/* Enhanced Filter Tabs */
.filter_tab1 li a {
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
}

.filter_tab1 li a:hover,
.filter_tab1 li a.current {
    background: linear-gradient(45deg, #27E278, #00d4ff);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 226, 120, 0.3);
}

/* Enhanced Experience Section */
#experience .icon_box_content {
    position: relative;
    padding: 30px;
}

#experience .icon_box_content h4 {
    color: #27E278;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#experience .icon_box_content h6 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(39, 226, 120, 0.1), rgba(0, 212, 255, 0.1));
    border-left: 4px solid #27E278;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

#experience .icon_box_content h6:hover {
    background: linear-gradient(135deg, rgba(39, 226, 120, 0.2), rgba(0, 212, 255, 0.2));
    border-left-width: 6px;
    transform: translateX(5px);
}

#experience .icon_box_content h6 .text_default {
    background: linear-gradient(45deg, #27E278, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 18px;
    margin-right: 10px;
}

#experience .icon_box_content p {
    color: #cccccc;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#experience .icon_box_content ul {
    margin-top: 15px;
    padding-left: 0;
    list-style: none;
}

#experience .icon_box_content ul li {
    color: #ffffff;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
    transition: all 0.3s ease;
}

#experience .icon_box_content ul li:before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0;
    color: #27E278;
    font-size: 12px;
    transition: all 0.3s ease;
}

#experience .icon_box_content ul li:hover {
    color: #27E278;
    padding-left: 30px;
}

#experience .icon_box_content ul li:hover:before {
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(39, 226, 120, 0.5);
}

/* Personal Works Styling */
#experience .icon_box_content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(39, 226, 120, 0.3), transparent);
    margin: 20px 0;
}

#experience .icon_box_content iframe {
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#experience .icon_box_content iframe:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(39, 226, 120, 0.2);
}

#experience .icon_box_content a {
    color: #27E278;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

#experience .icon_box_content a:hover {
    color: #00d4ff;
    border-bottom-color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .banner_content h2 {
        font-size: 2.5rem;
    }

    .banner_content h4 {
        font-size: 1.2rem;
    }

    .icon_box:hover {
        transform: translateY(-5px);
    }

    .portfolio_item:hover {
        transform: scale(1.02);
    }

    .navbar-nav .nav-link {
        padding: 8px 15px;
    }
}