/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Universal Icon Styling - Works with Bootstrap Icons, Font Awesome, and Fallbacks */
.bi, .fas, .fab, .far, .fal, .fad {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* Bootstrap Icons */
.bi {
    font-family: "Bootstrap Icons";
}

/* Font Awesome */
.fas, .fab, .far, .fal, .fad {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Solid", "Font Awesome 6 Regular", "Font Awesome 6 Light", "Font Awesome 6 Duotone";
}

.fas {
    font-weight: 900;
}

.fab {
    font-weight: 400;
}

.far {
    font-weight: 400;
}

/* Ensure icons are properly sized and aligned */
.tool-item i,
.ai-tool-icon i,
.ai-project-header i,
.contact-item i,
.social-link i,
.back-to-top i,
.element i,
.project-image i {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    font-size: 1.2em;
}

/* Icon Styling with Fallbacks */
.tool-item i {
    font-size: 2em;
    margin-bottom: 0.5rem;
    color: #007bff;
    transition: all 0.3s ease;
}

.tool-item:hover i {
    color: #0056b3;
    transform: scale(1.1);
}

.ai-tool-icon i {
    font-size: 2.5em;
    color: #007bff;
    transition: all 0.3s ease;
}

.ai-project-header i {
    font-size: 2em;
    color: #007bff;
    margin-right: 1rem;
}

.contact-item i {
    font-size: 1.5em;
    color: #007bff;
    margin-right: 1rem;
    min-width: 1.5em;
    text-align: center;
}

.social-link i {
    font-size: 1.5em;
    transition: all 0.3s ease;
}

.back-to-top i {
    font-size: 1.2em;
}

.element i {
    font-size: 2em;
    color: #007bff;
}

.project-image i {
    font-size: 3em;
    color: #007bff;
    transition: all 0.3s ease;
}

/* Comprehensive Fallback Emojis - These will show if no icon fonts load */
.tool-item i.bi-code-slash::before,
.tool-item i.fa-code::before { content: "💻"; }

.tool-item i.bi-filetype-html::before,
.tool-item i.fa-html5::before { content: "🌐"; }

.tool-item i.bi-filetype-css::before,
.tool-item i.fa-css3-alt::before { content: "🎨"; }

.tool-item i.bi-filetype-js::before,
.tool-item i.fa-js::before { content: "📜"; }

.tool-item i.bi-filetype-php::before,
.tool-item i.fa-php::before { content: "🐘"; }

.tool-item i.bi-fire::before,
.tool-item i.fa-laravel::before { content: "🔥"; }

.tool-item i.bi-filetype-jsx::before,
.tool-item i.fa-react::before { content: "⚛️"; }

.tool-item i.bi-node-plus::before,
.tool-item i.fa-node-js::before { content: "🟢"; }

.tool-item i.bi-bootstrap::before,
.tool-item i.fa-bootstrap::before { content: "🎯"; }

.tool-item i.bi-filetype-py::before,
.tool-item i.fa-python::before { content: "🐍"; }

.tool-item i.bi-git::before,
.tool-item i.fa-git-alt::before { content: "📦"; }

.tool-item i.bi-database::before,
.tool-item i.fa-database::before { content: "🗄️"; }

.tool-item i.bi-server::before,
.tool-item i.fa-server::before { content: "🖥️"; }

.tool-item i.bi-phone::before,
.tool-item i.fa-mobile-alt::before { content: "📱"; }

.tool-item i.bi-rocket::before,
.tool-item i.fa-rocket::before { content: "🚀"; }

.tool-item i.bi-palette::before,
.tool-item i.fa-palette::before { content: "🎨"; }

.tool-item i.bi-pencil::before,
.tool-item i.fa-paint-brush::before { content: "🖌️"; }

.tool-item i.bi-camera-video::before,
.tool-item i.fa-video::before { content: "🎥"; }

.tool-item i.bi-box::before,
.tool-item i.fa-cube::before { content: "📦"; }

.tool-item i.bi-stars::before,
.tool-item i.fa-magic::before { content: "✨"; }

.tool-item i.bi-robot::before,
.tool-item i.fa-robot::before { content: "🤖"; }

.tool-item i.bi-cpu::before,
.tool-item i.fa-brain::before { content: "🧠"; }

.tool-item i.bi-gear::before,
.tool-item i.fa-microchip::before { content: "🔧"; }

.tool-item i.bi-image::before,
.tool-item i.fa-image::before { content: "🖼️"; }

.tool-item i.bi-graph-up::before,
.tool-item i.fa-chart-line::before { content: "📈"; }

.tool-item i.bi-search::before,
.tool-item i.fa-search::before { content: "🔍"; }

.tool-item i.bi-key::before,
.tool-item i.fa-key::before { content: "🔑"; }

.tool-item i.bi-tags::before,
.tool-item i.fa-tags::before { content: "🏷️"; }

.tool-item i.bi-bullseye::before,
.tool-item i.fa-bullseye::before { content: "🎯"; }

.tool-item i.bi-terminal::before,
.tool-item i.fa-terminal::before { content: "💻"; }

.tool-item i.bi-shield-check::before,
.tool-item i.fa-shield-alt::before { content: "🛡️"; }

.tool-item i.bi-file-earmark-word::before,
.tool-item i.fa-file-word::before { content: "📄"; }

.tool-item i.bi-file-earmark-excel::before,
.tool-item i.fa-file-excel::before { content: "📊"; }

.tool-item i.bi-file-earmark-ppt::before,
.tool-item i.fa-file-powerpoint::before { content: "📋"; }

.tool-item i.bi-file-earmark-pdf::before,
.tool-item i.fa-file-pdf::before { content: "📕"; }

.tool-item i.bi-filetype-scss::before,
.tool-item i.fa-sass::before { content: "💎"; }

.tool-item i.bi-filetype-css::before,
.tool-item i.fa-less::before { content: "🎨"; }

.tool-item i.bi-gear::before,
.tool-item i.fa-gulp::before { content: "🍺"; }

.tool-item i.bi-box::before,
.tool-item i.fa-webpack::before { content: "📦"; }

.tool-item i.bi-npm::before,
.tool-item i.fa-npm::before { content: "📦"; }

.tool-item i.bi-yarn::before,
.tool-item i.fa-yarn::before { content: "🧶"; }

.tool-item i.bi-music-note::before,
.tool-item i.fa-composer::before { content: "🎼"; }

.tool-item i.bi-chat::before,
.tool-item i.fa-slack::before { content: "💬"; }

.tool-item i.bi-discord::before,
.tool-item i.fa-discord::before { content: "🎮"; }

.tool-item i.bi-kanban::before,
.tool-item i.fa-trello::before { content: "📋"; }

.tool-item i.bi-list-task::before,
.tool-item i.fa-asana::before { content: "📊"; }

.tool-item i.bi-bug::before,
.tool-item i.fa-jira::before { content: "🐛"; }

.tool-item i.bi-journal-text::before,
.tool-item i.fa-notion::before { content: "📝"; }

.tool-item i.bi-facebook::before,
.tool-item i.fa-facebook::before { content: "📘"; }

.tool-item i.bi-instagram::before,
.tool-item i.fa-instagram::before { content: "📷"; }

.tool-item i.bi-linkedin::before,
.tool-item i.fa-linkedin::before { content: "💼"; }

.tool-item i.bi-twitter-x::before,
.tool-item i.fa-twitter::before { content: "🐦"; }

.tool-item i.bi-youtube::before,
.tool-item i.fa-youtube::before { content: "📺"; }

.tool-item i.bi-microsoft::before,
.tool-item i.fa-microsoft::before { content: "🪟"; }

.tool-item i.bi-cloud::before,
.tool-item i.fa-aws::before { content: "☁️"; }

.tool-item i.bi-droplet::before,
.tool-item i.fa-digital-ocean::before { content: "🌊"; }

.tool-item i.bi-shop::before,
.tool-item i.fa-shopify::before { content: "🛒"; }

.tool-item i.bi-cart::before,
.tool-item i.fa-woocommerce::before { content: "🛍️"; }

.tool-item i.bi-window::before,
.tool-item i.fa-wix::before { content: "🎨"; }

.tool-item i.bi-grid::before,
.tool-item i.fa-squarespace::before { content: "⬜"; }

.tool-item i.bi-globe::before,
.tool-item i.fa-webflow::before { content: "🌐"; }

.tool-item i.bi-layers::before,
.tool-item i.fa-framer::before { content: "🎨"; }

.tool-item i.bi-wordpress::before,
.tool-item i.fa-wordpress::before { content: "📝"; }

.tool-item i.bi-brush::before,
.tool-item i.fa-adobe::before { content: "🎨"; }

.tool-item i.bi-rulers::before,
.tool-item i.fa-pencil-ruler::before { content: "📏"; }

.tool-item i.bi-github::before,
.tool-item i.fa-github::before { content: "🐙"; }

.tool-item i.bi-arrow-up::before,
.tool-item i.fa-arrow-up::before { content: "⬆️"; }

.tool-item i.bi-telephone::before,
.tool-item i.fa-phone::before { content: "📞"; }

.tool-item i.bi-envelope::before,
.tool-item i.fa-envelope::before { content: "✉️"; }

.tool-item i.bi-globe::before,
.tool-item i.fa-globe::before { content: "🌍"; }

.tool-item i.bi-geo-alt::before,
.tool-item i.fa-map-marker-alt::before { content: "📍"; }

.tool-item i.bi-gear::before,
.tool-item i.fa-cogs::before { content: "⚙️"; }

.tool-item i.bi-truck::before,
.tool-item i.fa-truck::before { content: "🚚"; }

.tool-item i.bi-car-front::before,
.tool-item i.fa-car::before { content: "🚗"; }

.tool-item i.bi-clock::before,
.tool-item i.fa-clock::before { content: "⏰"; }

.tool-item i.bi-qr-code::before,
.tool-item i.fa-qrcode::before { content: "📱"; }

.tool-item i.bi-list-task::before,
.tool-item i.fa-tasks::before { content: "📋"; }

.tool-item i.bi-cart::before,
.tool-item i.fa-shopping-cart::before { content: "🛒"; }

.tool-item i.bi-chat-dots::before,
.tool-item i.fa-comments::before { content: "💬"; }

.tool-item i.bi-translate::before,
.tool-item i.fa-language::before { content: "🌐"; }

.tool-item i.bi-eye::before,
.tool-item i.fa-eye::before { content: "👁️"; }

.tool-item i.bi-person-check::before,
.tool-item i.fa-user-check::before { content: "✅"; }

/* Element icons */
.element i.bi-code-slash::before,
.element i.fa-code::before { content: "💻"; }

.element i.bi-palette::before,
.element i.fa-palette::before { content: "🎨"; }

.element i.bi-rocket::before,
.element i.fa-rocket::before { content: "🚀"; }

.element i.bi-database::before,
.element i.fa-database::before { content: "🗄️"; }

/* Project icons */
.project-image i.bi-gear::before,
.project-image i.fa-cogs::before { content: "⚙️"; }

.project-image i.bi-truck::before,
.project-image i.fa-truck::before { content: "🚚"; }

.project-image i.bi-car-front::before,
.project-image i.fa-car::before { content: "🚗"; }

.project-image i.bi-graph-up::before,
.project-image i.fa-chart-line::before { content: "📈"; }

.project-image i.bi-clock::before,
.project-image i.fa-clock::before { content: "⏰"; }

.project-image i.bi-qr-code::before,
.project-image i.fa-qrcode::before { content: "📱"; }

.project-image i.bi-server::before,
.project-image i.fa-server::before { content: "🖥️"; }

.project-image i.bi-list-task::before,
.project-image i.fa-tasks::before { content: "📋"; }

.project-image i.bi-cart::before,
.project-image i.fa-shopping-cart::before { content: "🛒"; }

/* Contact icons */
.contact-item i.bi-telephone::before,
.contact-item i.fa-phone::before { content: "📞"; }

.contact-item i.bi-envelope::before,
.contact-item i.fa-envelope::before { content: "✉️"; }

.contact-item i.bi-globe::before,
.contact-item i.fa-globe::before { content: "🌍"; }

.contact-item i.bi-geo-alt::before,
.contact-item i.fa-map-marker-alt::before { content: "📍"; }

/* Social icons */
.social-link i.bi-linkedin::before,
.social-link i.fa-linkedin::before { content: "💼"; }

.social-link i.bi-github::before,
.social-link i.fa-github::before { content: "🐙"; }

.social-link i.bi-twitter-x::before,
.social-link i.fa-twitter::before { content: "🐦"; }

.social-link i.bi-instagram::before,
.social-link i.fa-instagram::before { content: "📷"; }

/* Back to top */
.back-to-top i.bi-arrow-up::before,
.back-to-top i.fa-arrow-up::before { content: "⬆️"; }

/* AI tool icons */
.ai-tool-icon i.bi-robot::before,
.ai-tool-icon i.fa-robot::before { content: "🤖"; }

.ai-tool-icon i.bi-code-slash::before,
.ai-tool-icon i.fa-code::before { content: "💻"; }

.ai-tool-icon i.bi-gear::before,
.ai-tool-icon i.fa-microchip::before { content: "🔧"; }

.ai-tool-icon i.bi-cpu::before,
.ai-tool-icon i.fa-brain::before { content: "🧠"; }

.ai-tool-icon i.bi-stars::before,
.ai-tool-icon i.fa-magic-wand-sparkles::before { content: "🪄"; }

.ai-tool-icon i.bi-image::before,
.ai-tool-icon i.fa-image::before { content: "🖼️"; }

/* AI project icons */
.ai-project-header i.bi-chat-dots::before,
.ai-project-header i.fa-comments::before { content: "💬"; }

.ai-project-header i.bi-search::before,
.ai-project-header i.fa-search::before { content: "🔍"; }

.ai-project-header i.bi-graph-up::before,
.ai-project-header i.fa-chart-line::before { content: "📈"; }

.ai-project-header i.bi-translate::before,
.ai-project-header i.fa-language::before { content: "🌐"; }

.ai-project-header i.bi-eye::before,
.ai-project-header i.fa-eye::before { content: "👁️"; }

.ai-project-header i.bi-person-check::before,
.ai-project-header i.fa-user-check::before { content: "✅"; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Accessibility and SEO */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #007bff;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: #007bff !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #007bff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #cccccc;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: #aaaaaa;
    margin-bottom: 2rem;
    max-width: 500px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: white;
}

.btn-outline-light {
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #0a0a0a;
    transform: translateY(-2px);
}

/* Floating Elements */
.floating-elements {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(0, 123, 255, 0.1);
    border: 2px solid rgba(0, 123, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #007bff;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 20%;
    animation-delay: 1.5s;
}

.element-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 3s;
}

.element-4 {
    top: 40%;
    right: 40%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #007bff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #007bff, #00d4ff);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

/* About Section */
.about-text {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.personal-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-label {
    font-weight: 600;
    color: #007bff;
}

.info-value {
    color: #cccccc;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #007bff, #00d4ff);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: #007bff;
    border-radius: 50%;
    border: 3px solid #0a0a0a;
}

.timeline-date {
    font-size: 0.9rem;
    color: #007bff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #cccccc;
    margin: 0;
}

/* Skills Section */
.skills-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

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

.skill-name {
    color: #ffffff;
    font-weight: 500;
}

.skill-percentage {
    color: #007bff;
    font-weight: 600;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(45deg, #007bff, #00d4ff);
    border-radius: 4px;
    transition: width 1.5s ease;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.tool-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.2rem 0.8rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.tool-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 123, 255, 0.1);
    border-color: #007bff;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.2);
}

.tool-item i {
    font-size: 1.8rem;
    color: #007bff;
    margin-bottom: 0.5rem;
    display: block;
    transition: all 0.3s ease;
}

.tool-item:hover i {
    transform: scale(1.1);
    color: #00d4ff;
}

.tool-item span {
    color: #cccccc;
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.tool-item:hover span {
    color: #ffffff;
}

/* Responsive adjustments for tools grid */
@media (max-width: 1200px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 0.8rem;
    }
    
    .tool-item {
        padding: 1rem 0.6rem;
        min-height: 90px;
    }
    
    .tool-item i {
        font-size: 1.6rem;
    }
    
    .tool-item span {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.7rem;
    }
    
    .tool-item {
        padding: 0.8rem 0.5rem;
        min-height: 80px;
    }
    
    .tool-item i {
        font-size: 1.4rem;
    }
    
    .tool-item span {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.6rem;
    }
    
    .tool-item {
        padding: 0.7rem 0.4rem;
        min-height: 70px;
    }
    
    .tool-item i {
        font-size: 1.2rem;
    }
    
    .tool-item span {
        font-size: 0.7rem;
    }
}

/* Experience Section */
.experience-timeline {
    position: relative;
}

.experience-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #007bff;
}

.experience-header {
    margin-bottom: 1.5rem;
}

.experience-header h3 {
    color: #007bff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.company {
    color: #ffffff;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.duration {
    color: #cccccc;
    font-size: 0.9rem;
}

.experience-content {
    color: #cccccc;
    line-height: 1.8;
}

.experience-content ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.experience-content li {
    margin-bottom: 0.5rem;
}

.expertise-areas {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.expertise-areas h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.expertise-areas ul {
    list-style: none;
    padding: 0;
}

.expertise-areas li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.expertise-areas li::before {
    content: '▸';
    color: #007bff;
    margin-right: 0.5rem;
}

/* Projects Section */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #007bff;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.project-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.project-image i {
    font-size: 3rem;
    color: #007bff;
}

.project-content h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.project-content p {
    color: #cccccc;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

/* Contact Section */
.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.contact-info h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #cccccc;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #007bff;
    margin-right: 1rem;
    width: 30px;
}

.contact-item h4 {
    color: #ffffff;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-item p {
    color: #cccccc;
    margin: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 15px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    color: #ffffff;
    outline: none;
}

.form-control::placeholder {
    color: #aaaaaa;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-content p {
    color: #cccccc;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #007bff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #007bff, #00d4ff);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .floating-elements {
        height: 300px;
    }
    
    .element {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .project-card,
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

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

/* Loading animation for skill bars */
.skill-progress {
    animation: skillProgress 2s ease-out;
}

@keyframes skillProgress {
    from {
        width: 0;
    }
}

/* Hover effects for interactive elements */
.project-card:hover .project-image i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.timeline-item:hover::before {
    background: #00d4ff;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

.experience-item:hover .experience-header h3 {
    color: #00d4ff;
    transition: color 0.3s ease;
}

/* AI Section Styles */
.ai-overview {
    text-align: center;
    margin-bottom: 3rem;
}

.ai-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto;
}

/* AI Tools Grid */
.ai-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.ai-tool-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.ai-tool-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 123, 255, 0.1);
    border-color: #007bff;
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.2);
}

.ai-tool-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #007bff, #00d4ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ai-tool-item:hover .ai-tool-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.ai-tool-icon i {
    font-size: 1.8rem;
    color: #ffffff;
}

.ai-tool-content {
    flex: 1;
}

.ai-tool-content h4 {
    color: #007bff;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.ai-tool-content p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ai-tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ai-tag {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.ai-tool-item:hover .ai-tag {
    background: rgba(0, 123, 255, 0.3);
    color: #ffffff;
}

/* AI Projects Grid */
.ai-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.ai-project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ai-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.ai-project-card:hover::before {
    left: 100%;
}

.ai-project-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 123, 255, 0.1);
    border-color: #007bff;
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.2);
}

.ai-project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ai-project-header i {
    font-size: 1.5rem;
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
    padding: 0.8rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.ai-project-card:hover .ai-project-header i {
    background: rgba(0, 123, 255, 0.2);
    transform: scale(1.1);
}

.ai-project-header h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.ai-project-card p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ai-project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.ai-project-card:hover .tech-tag {
    background: rgba(0, 123, 255, 0.2);
    border-color: #007bff;
    color: #007bff;
}

/* AI Skills */
.ai-skills-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.ai-skill-item {
    margin-bottom: 1.5rem;
}

.ai-skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.ai-skill-name {
    color: #ffffff;
    font-weight: 500;
}

.ai-skill-percentage {
    color: #007bff;
    font-weight: 600;
}

.ai-skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.ai-skill-progress {
    height: 100%;
    background: linear-gradient(45deg, #007bff, #00d4ff);
    border-radius: 4px;
    transition: width 1.5s ease;
    position: relative;
}

.ai-skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive Design for AI Section */
@media (max-width: 768px) {
    .ai-tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ai-tool-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .ai-tool-icon {
        align-self: center;
    }
    
    .ai-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ai-project-header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
}

@media (max-width: 576px) {
    .ai-tools-grid {
        gap: 1rem;
    }
    
    .ai-tool-item {
        padding: 1.5rem;
    }
    
    .ai-tool-icon {
        width: 50px;
        height: 50px;
    }
    
    .ai-tool-icon i {
        font-size: 1.5rem;
    }
    
    .ai-projects-grid {
        gap: 1rem;
    }
    
    .ai-project-card {
        padding: 1.5rem;
    }
}