/* ===================================
   Visual Enhancements for Portfolio
   Typography, Cards, Animations
   =================================== */

/* ===================================
   Typography Improvements
   =================================== */

/* Better font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Section headings */
.heading-section h1.big,
.heading-section h1.big-2 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.heading-section h2 {
    font-weight: 600;
    letter-spacing: -0.3px;
}

.heading-section p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

/* ===================================
   Enhanced Card Design
   =================================== */

.resume-wrap {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.resume-wrap:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.resume-wrap h2 {
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.resume-wrap .position {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.95;
}

.resume-wrap li {
    line-height: 1.7;
    list-style-type: disc;
    margin-left: 20px;
}

/* ===================================
   Skills Section Enhancement
   =================================== */

.progress-wrap {
    margin-bottom: 40px;
}

.progress-wrap h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 13px;
}

.progress {
    height: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    overflow: visible;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    position: relative;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-bar span {
    position: absolute;
    right: -35px;
    top: -25px;
    font-weight: 600;
    font-size: 14px;
    color: #007bff;
}

/* Skill progress bar colors */
.progress-bar.color-1 {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.progress-bar.color-2 {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.progress-bar.color-3 {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.progress-bar.color-4 {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
}

.progress-bar.color-5 {
    background: linear-gradient(90deg, #fa709a 0%, #fee140 100%);
}

.progress-bar.color-6 {
    background: linear-gradient(90deg, #30cfd0 0%, #330867 100%);
}

.progress-bar.color-7 {
    background: linear-gradient(90deg, #a8edea 0%, #fed6e3 100%);
}

/* ===================================
   Technology Tags / Badges
   =================================== */

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tags .badge {
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 20px;
    background: rgba(255, 189, 57, 0.1);
    color: #ffbd39;
    border: 1px solid rgba(255, 189, 57, 0.3);
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.tech-tags .badge:hover {
    background: rgba(255, 189, 57, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 189, 57, 0.3);
    border-color: rgba(255, 189, 57, 0.5);
}

/* Skill Categories */
.skill-category {
    margin-bottom: 40px;
}

.skill-category-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.skill-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #ffbd39 0%, transparent 100%);
}

/* ===================================
   Project Cards Enhancement
   =================================== */

#project-section .resume-wrap {
    min-height: auto;
}

#project-section .resume-wrap h2 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 15px;
}

#project-section .resume-wrap p {
    line-height: 1.7;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

#project-section .resume-wrap a {
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
    margin-bottom: 15px;
}

#project-section .resume-wrap a {
    color: #ffffff;
}

#project-section .resume-wrap a:hover {
    transform: scale(1.1) rotate(5deg);
    color: #ffbd39 !important;
}

#project-section .resume-wrap a i {
    transition: color 0.3s ease;
}

#project-section .resume-wrap a:hover i {
    color: #ffbd39;
}

/* ===================================
   Button Enhancements
   =================================== */

.btn-primary {
    background: linear-gradient(135deg, #ffbd39 0%, #ff8c00 100%);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 189, 57, 0.4);
    color: #000000 !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 189, 57, 0.6);
    background: linear-gradient(135deg, #ff8c00 0%, #ffbd39 100%);
    color: #000000 !important;
}

.btn-primary:active {
    transform: translateY(0);
}

/* ===================================
   Contact Section Enhancement
   =================================== */

.contact-info .box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.contact-info .box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.25);
}

.contact-info .icon {
    font-size: 40px;
    color: #007bff;
    transition: all 0.3s ease;
}

.contact-info .box:hover .icon {
    transform: scale(1.15);
    color: #00d4ff;
}

.contact-info p {
    color: #ffffff;
    font-weight: 500;
    margin-top: 10px;
}

/* ===================================
   Experience Section Enhancement
   =================================== */

#experience-section .resume-wrap {
    margin-bottom: 30px;
}

#experience-section .resume-wrap h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

#experience-section .resume-wrap .position {
    display: block;
    margin-bottom: 5px;
}

#experience-section .resume-wrap li {
    font-size: 15px;
    line-height: 1.7;
}

/* ===================================
   About Section Enhancement
   =================================== */

.about-info li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
}

.about-info li span:first-child {
    font-weight: 600;
    color: #007bff;
    min-width: 140px;
    display: inline-block;
}

.counter-wrap .number {
    font-size: 48px;
    font-weight: 700;
    color: #007bff;
    text-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

/* ===================================
   Navbar Enhancement
   =================================== */

.ftco_navbar {
    backdrop-filter: blur(15px);
    background: rgba(26, 26, 46, 0.7) !important;
    border-bottom: 1px solid rgba(255, 189, 57, 0.1);
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* ===================================
   Education Section Enhancement
   =================================== */

#resume-section .resume-wrap .date {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 123, 255, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 15px;
}

#resume-section .resume-wrap h2 {
    font-size: 22px;
    color: #ffffff;
}

/* ===================================
   Awards Section Enhancement
   =================================== */

#awards-section .resume-wrap h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

#awards-section .resume-wrap .position {
    display: block;
    margin-bottom: 15px;
    font-size: 16px;
}

/* ===================================
   Hero Section Enhancement
   =================================== */

/* Modern gradient background for hero section */
.hero-gradient-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle warm glow overlay */
.hero-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 189, 57, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 140, 0, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 189, 57, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Tech grid pattern - more visible */
.hero-gradient-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 189, 57, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 189, 57, 0.06) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 189, 57, 0.12) 2px, transparent 2px);
    background-size: 60px 60px, 60px 60px, 60px 60px;
    background-position: 0 0, 0 0, 30px 30px;
    pointer-events: none;
    opacity: 1;
}

/* Hero text centering */
.hero .slider-item .text {
    text-align: center;
    margin: 0 auto;
}

/* First hero slide styling */
.slider-item:first-child .text .subheading {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #00d4ff;
    display: block;
    margin-bottom: 8px;
}

.slider-item:first-child .text h1 {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.slider-item:first-child .text h1 span {
    color: #ffbd39;
}

.slider-item:first-child .text h2 {
    font-size: 32px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* General hero styles */
.hero .text h1 {
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero .text h2 {
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero .subheading {
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    color: #00d4ff;
}

/* Second hero slide - professional layout */
.slider-item:nth-child(2) .text .subheading {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #00d4ff;
    display: block;
    margin-bottom: 8px;
}

.slider-item:nth-child(2) .text h1 {
    font-size: 72px !important;
    line-height: 1.2;
}

.slider-item:nth-child(2) .text h1 span {
    font-weight: 700 !important;
    color: #ffbd39 !important;
}

.slider-item:nth-child(2) .text h2 {
    font-size: 32px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
}

/* ===================================
   Responsive Adjustments
   =================================== */

@media (max-width: 768px) {
    .resume-wrap {
        padding: 20px;
        margin-bottom: 20px;
    }

    .progress-wrap h3 {
        font-size: 14px;
    }

    .btn-primary {
        padding: 10px 25px;
        font-size: 14px;
    }

    .contact-info .box {
        margin-bottom: 20px;
    }

    #experience-section .resume-wrap h2 {
        font-size: 20px;
    }

    .hero .text h1 {
        font-size: 36px;
    }

    .hero .text h2 {
        font-size: 20px;
    }

    /* First hero slide responsive */
    .slider-item:first-child .text .subheading {
        font-size: 11px;
    }

    .slider-item:first-child .text h1 {
        font-size: 42px !important;
    }

    .slider-item:first-child .text h2 {
        font-size: 22px;
    }

    /* Second hero slide responsive */
    .slider-item:nth-child(2) .text .subheading {
        font-size: 11px;
    }

    .slider-item:nth-child(2) .text h1 {
        font-size: 42px !important;
    }

    .slider-item:nth-child(2) .text h2 {
        font-size: 22px;
    }
}

/* ===================================
   Smooth Scrolling
   =================================== */

html {
    scroll-behavior: smooth;
}

/* ===================================
   Loading Animation - Removed to avoid conflicts
   Site already uses AOS animations
   =================================== */
