/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0099ff;
    --secondary-color: #003366;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-secondary: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #1e2a47 0%, #1a1f3a 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 153, 255, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0099ff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu a:hover {
    color: #00ccff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Neural Network Canvas */
.neural-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Background Orbs */
.hero-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.4) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.4) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}

/* Hero Wrapper */
.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

/* Hero Content */
.hero-content {
    flex: 1;
    animation: fadeInLeft 1s ease-out;
    text-align: center;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #0099ff 0%, #003366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.typing-section {
    min-height: 60px;
    margin-bottom: 1.5rem;
}

.role-text {
    font-size: 1.5rem;
    color: #a0aec0;
    font-weight: 500;
}

.typed {
    color: #0099ff;
    font-weight: 600;
}

.hero-description {
    font-size: 1.125rem;
    color: #cbd5e0;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0099ff 0%, #003366 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 153, 255, 0.5);
}

.btn-funzippy-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid #0099ff;
}

.btn-secondary:hover {
    background: rgba(0, 153, 255, 0.15);
    border-color: #00ccff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 153, 255, 0.4);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0099ff;
    font-size: 1.25rem;
    border: 2px solid rgba(0, 153, 255, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, #0099ff 0%, #003366 100%);
    color: white;
    border-color: #003366;
    transform: rotate(360deg) scale(1.1);
}

.funzippy-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 50%;
    padding: 4px;
    background: white;
}

.funzippy-icon {
    background: white !important;
    border: none !important;
    padding: 0 !important;
    width: 50px !important;
    height: 50px !important;
}

.funzippy-icon:hover {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
}

/* Hero Image */
.hero-image {
    flex: 1;
    animation: fadeInRight 1s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid transparent;
    background: linear-gradient(135deg, #0099ff 0%, #003366 100%) padding-box;
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(0, 153, 255, 0.5),
                0 0 60px rgba(0, 153, 255, 0.3),
                inset 0 0 30px rgba(0, 153, 255, 0.2);
}

.profile-img:hover {
    transform: scale(1.05);
}

.image-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(0, 153, 255, 0.5);
    top: 0;
    left: 0;
    animation: pulse 3s ease-in-out infinite;
    z-index: 1;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 153, 255, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(0, 153, 255, 0);
        transform: scale(1.05);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .role-text {
        font-size: 1.25rem;
    }

    .image-container {
        width: 300px;
        height: 300px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background-color: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0099ff, #003366);
    border-radius: 2px;
}

#about .section-title {
    background: linear-gradient(135deg, #0099ff 0%, #003366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    font-weight: 700;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #1e2a47 0%, #1a1f3a 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

.about::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -50px;
    left: -150px;
    animation: float 25s ease-in-out infinite reverse;
    z-index: 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

.about-text {
    width: 100%;
    text-align: center;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.info-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 153, 255, 0.3);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.info-card i {
    font-size: 3rem;
    color: #0099ff;
    margin-bottom: 1rem;
    display: block;
    transition: all 0.3s ease;
}

.info-card h3 {
    font-size: 1.5rem;
    color: #0099ff;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.info-card p {
    color: #d0d0d0;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.info-card:hover {
    transform: translateY(-10px);
    border: 2px solid #0099ff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 153, 255, 0.4), 
                0 0 20px rgba(0, 153, 255, 0.3);
}

.info-card:hover i {
    color: #003366;
    transform: scale(1.1) rotate(5deg);
}

.info-card:hover h3 {
    background: linear-gradient(135deg, #0099ff 0%, #003366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-card:hover p {
    color: #ffffff;
}

/* Skills Section */
.skills {
    background: linear-gradient(135deg, #1e2a47 0%, #1a1f3a 100%);
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

.skills::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -50px;
    left: -150px;
    animation: float 25s ease-in-out infinite reverse;
    z-index: 0;
}

.skills .container {
    position: relative;
    z-index: 1;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.skill-category {
    background: rgba(22, 27, 56, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 153, 255, 0.3);
    padding: 3rem 2.5rem;
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.1), rgba(0, 51, 102, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 153, 255, 0.3);
    border-color: rgba(0, 153, 255, 0.6);
}

.skill-category:hover::before {
    opacity: 1;
}

.skill-category h3 {
    color: #e8eef7;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 153, 255, 0.3);
    background: linear-gradient(90deg, #0099ff, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.skill-icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.skill-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.4rem;
    border-radius: 0.5rem;
    background: rgba(0, 153, 255, 0.05);
    border: 1px solid rgba(0, 153, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.skill-icon:hover {
    background: rgba(0, 153, 255, 0.15);
    border-color: #0099ff;
    transform: translateY(-5px) scale(1.05);
}

.skill-icon i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.skill-icon:hover i {
    transform: rotateY(360deg);
    filter: brightness(1.2);
}

.skill-name {
    font-size: 0.75rem;
    color: #c5d1e6;
    font-weight: 600;
    text-align: center;
    transition: color 0.3s ease;
}

.skill-icon:hover .skill-name {
    color: #e8eef7;
}

/* Brand Colors for Skill Icons - From Reference */
.skills .skill-icon .fa-java { color: #007396; }
.skills .skill-icon .fa-python { color: #3776AB; }
.skills .skill-icon .fa-js { color: #F7DF1E; }
.skills .skill-icon .fa-js-square { color: #F7DF1E; }
.skills .skill-icon .fa-react { color: #61DAFB; }
.skills .skill-icon .fa-angular { color: #DD0031; }
.skills .skill-icon .fa-node { color: #339933; }
.skills .skill-icon .fa-node-js { color: #339933; }
.skills .skill-icon .fa-aws { color: #FF9900; }
.skills .skill-icon .fa-docker { color: #2496ED; }
.skills .skill-icon .fa-git-alt { color: #F05032; }
.skills .skill-icon .fa-jenkins { color: #D24939; }
.skills .skill-icon .fa-database { color: #4DB33D; }
.skills .skill-icon .fa-leaf { color: #6DB33F; }
.skills .skill-icon .fa-shield-alt { color: #6DB33F; }
.skills .skill-icon .fa-whatsapp { color: #25d366; }
.skills .skill-icon .fa-css3 { color: #2965f1; }
.skills .skill-icon .fa-html5 { color: #e34c26; }

/* Security & Tools */
.skills .skill-icon .fa-lock { color: #ffd700; }
.skills .skill-icon .fa-key { color: #ffd700; }
.skills .skill-icon .fa-shield-virus { color: #4a154b; }
.skills .skill-icon .fa-user-shield { color: #00ccff; }
.skills .skill-icon .fa-bug { color: #ff6b6b; }

/* AWS Services Colors - All Orange */
.skills .skill-icon[title="Route53"] .fa-globe,
.skills .skill-icon[title="Load Balancer"] .fa-balance-scale,
.skills .skill-icon[title="EC2"] .fa-server,
.skills .skill-icon[title="ECS/Fargate"] .fa-cubes,
.skills .skill-icon[title="S3"] .fa-database,
.skills .skill-icon[title="RDS"] .fa-database,
.skills .skill-icon[title="Lambda"] .fa-bolt,
.skills .skill-icon[title="CloudWatch"] .fa-chart-area,
.skills .skill-icon[title="VPC"] .fa-network-wired,
.skills .skill-icon[title="EBS"] .fa-hdd,
.skills .skill-icon[title="Auto Scaling"] .fa-expand-arrows-alt,
.skills .skill-icon[title="CloudFront"] .fa-cloud { 
    color: #FF9900; 
}

/* Specific Service Colors from Reference */
.skills .skill-icon .fa-hdd { color: #569A31; } /* S3 green */
.skills .skill-icon .fa-server { color: #FF9900; } /* EC2 orange */
.skills .skill-icon .fa-network-wired { color: #8C4FFF; } /* CloudFront purple */
.skills .skill-icon .fa-route { color: #4B612C; } /* CloudTrail green */
.skills .skill-icon .fa-chart-pie { color: #146EB4; } /* QuickSight blue */

/* Payment Services */
.skills .skill-icon .fa-credit-card { color: #00c853; }
.skills .skill-icon[title*="PhonePe"] .fa-mobile-alt { color: #5f259f; }

/* Communication APIs */
.skills .skill-icon .fa-sms { color: #00cc66; }
.skills .skill-icon .fa-envelope { color: #00ccff; }

/* AI/ML */
.skills .skill-icon .fa-brain { color: #10A37F; }
.skills .skill-icon .fa-image { color: #e91e63; }
.skills .skill-icon .fa-face-smile { color: #FFD21E; }
.skills .skill-icon .fa-vector-square { color: #667eea; }
.skills .skill-icon .fa-microchip { color: #10A37F; }
.skills .skill-icon .fa-comment-dots { color: #10A37F; }
.skills .skill-icon .fa-user-robot { color: #764ba2; }

/* Utilities */
.skills .skill-icon .fa-qrcode { color: #ffffff; }
.skills .skill-icon .fa-video { color: #ff6b6b; }
.skills .skill-icon .fa-fire { color: #ff6b00; }

/* Observability & Analytics */
.skills .skill-icon[title="Datadog"] .fa-chart-line { color: #632ca6; }
.skills .skill-icon .fa-search { color: #667eea; }
.skills .skill-icon .fa-eye { color: #ff9900; }
.skills .skill-icon .fa-chart-bar,
.skills .skill-icon .fa-chart-area,
.skills .skill-icon .fa-chart-line { color: #F2C811; }
.skills .skill-icon .fa-tools { color: #0078C0; }

/* Architecture Patterns */
.skills .skill-icon .fa-project-diagram { color: #667eea; }
.skills .skill-icon .fa-sitemap { color: #008CC1; }
.skills .skill-icon .fa-map-pin { color: #000000; }
.skills .skill-icon .fa-cloud { color: #FF9900; }
.skills .skill-icon .fa-infinity { color: #667eea; }
.skills .skill-icon .fa-cube { color: #EE0000; }
.skills .skill-icon .fa-layer-group { color: #667eea; }
.skills .skill-icon[title="Event-Driven"] .fa-bolt { color: #ffeb3b; }
.skills .skill-icon .fa-sync-alt { color: #00cc66; }
.skills .skill-icon .fa-code-branch { color: #f05032; }

/* Responsive Design */
@media screen and (max-width: 768px) {
    .skills .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skills .skill-category {
        padding: 2rem 1.5rem;
    }
    
    .skill-icons-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
        }
    
    .skills .skill-icon {
        padding: 1rem 0.5rem;
    }
    
    .skills .skill-icon i {
        font-size: 2.5rem;
    }
    
    .skills .skill-icon .skill-name {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 600px) {
    .skills .container {
        padding: 1rem;
    }
    
    .skills .skill-category h3 {
        font-size: 1.6rem;
    }
    
    .skill-icons-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .skill-icons-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
        }
    }

@media (max-width: 600px) {
    .skill-icons-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
    }
    
    .skill-icon {
        padding: 1rem 0.5rem;
        min-height: 100px;
    }
    
    .skill-icon i {
        font-size: 2rem;
    }
    
    .skill-name {
        font-size: 0.75rem;
    }
}

/* Icon Brand Colors */
.fa-js { color: #f7df1e; }
.fa-java { color: #007396; }
.fa-hashtag { color: #68217a; }
.fa-git-alt { color: #f05032; }
.fa-docker { color: #2496ed; }
.fa-aws { color: #ff9900; }
.fa-jenkins { color: #d24939; }
.fa-database { color: #4479a1; }
.fa-leaf { color: #47a248; }
.fa-fire { color: #e25a1c; }
.fa-shield-alt { color: #6db33f; }
.fa-route { color: #5f4b8b; }
.fa-cube { color: #7b42bc; }
.fa-bug { color: #ff6b6b; }
.fa-user-shield { color: #4a90e2; }
.fa-lock { color: #f39c12; }
.fa-mobile-alt { color: #3498db; }
.fa-key { color: #e74c3c; }
.fa-chart-line { color: #632ca6; }
.fa-search { color: #00c853; }
.fa-project-diagram { color: #2563eb; }
.fa-bolt { color: #f39c12; }
.fa-server { color: #34495e; }
.fa-sync-alt { color: #16a085; }
.fa-box { color: #41b883; }
.fa-shield-virus { color: #4a148c; }
.fa-chart-bar { color: #d32f2f; }
.fa-stream { color: #ff6f00; }
.fa-rocket { color: #f39c12; }
.fa-calendar { color: #16a085; }

/* Experience Section */
.experience {
    background: linear-gradient(135deg, #1e2a47 0%, #1a1f3a 100%);
    position: relative;
    overflow: hidden;
}

.experience::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

.experience .orb-2 {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -50px;
    left: -150px;
    animation: float 25s ease-in-out infinite reverse;
    z-index: 0;
}



.experience .container {
    position: relative;
    z-index: 1;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.exp-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 153, 255, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    transition: all 0.3s ease;
    height: fit-content;
}

.exp-card.featured {
    border-color: rgba(243, 156, 18, 0.5);
    background: rgba(255, 249, 230, 0.12);
    backdrop-filter: blur(10px);
}

.exp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 153, 255, 0.3);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.exp-title-group h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.exp-title-group h3 i {
    color: #0099ff;
    font-size: 1rem;
}

.exp-card.featured .exp-title-group h3 i {
    color: #f39c12;
}

.company {
    color: #00ccff;
    font-weight: 600;
    font-size: 1rem;
}

.exp-card.featured .company {
    color: #f39c12;
}

.duration {
    color: #b0b0b0;
    font-size: 0.875rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.duration i {
    color: #00ccff;
}

.exp-description {
    color: #d0d0d0;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.toggle-details {
    background: linear-gradient(135deg, #0099ff, #003366);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.toggle-details:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 153, 255, 0.3);
}

.toggle-details i {
    transition: transform 0.3s ease;
}

.toggle-details.active i {
    transform: rotate(180deg);
}

.exp-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
}

.exp-details.show {
    max-height: 2000px;
    margin-top: 1.5rem;
}

.exp-details h4 {
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.exp-details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.exp-details li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: #d0d0d0;
    line-height: 1.6;
    font-size: 0.9rem;
}

.exp-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #00ccff;
    font-weight: bold;
}

.tech-stack {
    background: rgba(0, 153, 255, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #d0d0d0;
    border: 1px solid rgba(0, 153, 255, 0.2);
}

.tech-stack strong {
    color: #00ccff;
    display: block;
    margin-bottom: 0.5rem;
}

/* Education Section */
.education {
    background: linear-gradient(135deg, #1e2a47 0%, #1a1f3a 100%);
    position: relative;
    overflow: hidden;
}

.education::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

.education::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -50px;
    left: -150px;
    animation: float 25s ease-in-out infinite reverse;
    z-index: 0;
}

.education .container {
    position: relative;
    z-index: 1;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.education-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 153, 255, 0.3);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    transition: all 0.3s ease;
}

.education-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.institution {
    color: #00ccff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cert-list {
    list-style: none;
    padding-left: 0;
}

.cert-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #d0d0d0;
}

.cert-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ccff;
    font-weight: bold;
}

.education-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 153, 255, 0.6);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 153, 255, 0.4), 
                0 0 20px rgba(0, 153, 255, 0.3);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #0099ff 0%, #003366 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: white;
}

.contact-intro {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #0099ff;
    padding: 1.25rem;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    width: 70px;
    height: 70px;
}

.contact-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #0099ff;
}

.contact-button .icon {
    width: 32px;
    height: 32px;
}

.contact-funzippy-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0099ff, #003366);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Chatbot Widget */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0099ff, #003366);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.chatbot-window.show {
    display: flex;
}

.chatbot-header {
    background: linear-gradient(135deg, #0099ff, #003366);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #f9fafb;
}

.chatbot-message {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.chatbot-message.bot p {
    background: white;
    padding: 0.75rem;
    border-radius: 0.75rem;
    margin: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 80%;
}

.chatbot-message.user p {
    background: linear-gradient(135deg, #0099ff, #003366);
    color: white;
    padding: 0.75rem;
    border-radius: 0.75rem;
    margin: 0;
    margin-left: auto;
    max-width: 80%;
}

.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.suggestion-btn {
    background: white;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.suggestion-btn:hover {
    background: #0099ff;
    color: white;
    border-color: #0099ff;
}

.chatbot-footer {
    padding: 1rem;
    background: white;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}

.chatbot-footer input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    font-size: 0.875rem;
    outline: none;
}

.chatbot-footer input:focus {
    border-color: #0099ff;
}

.chatbot-footer button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0099ff, #003366);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-footer button:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-30px) translateX(20px);
    }
    50% {
        transform: translateY(-20px) translateX(40px);
    }
    75% {
        transform: translateY(-40px) translateX(20px);
    }
}

@keyframes floatBig {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-50px) translateX(-30px) scale(1.1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-80px) translateX(0) scale(1.2);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-50px) translateX(30px) scale(1.15);
        opacity: 0.4;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about-image img {
        width: 250px;
        height: 250px;
    }

    .image-border {
        width: 250px;
        height: 250px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .exp-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .duration {
        white-space: normal;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .chatbot-window {
        width: calc(100vw - 40px);
        left: 50%;
        transform: translateX(-50%);
    }

    .chatbot-container {
        left: 50%;
        transform: translateX(-50%);
    }

    .scroll-to-top {
        bottom: 100px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 3rem 0;
    }
}
