/* display background color black on navbar scroll */
.navbarScroll.navbarDark {
    background-color: black;
}

/* hero background image */
.bgimage {
    height:100vh;
    background: url('images/heroImage.png');
    background-size:cover;
    position:relative;
}
/* text css above hero image*/
.hero_title {
    font-size: 4.5rem;
}
.hero_desc {
    font-size: 2rem;
}
.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

/* spacing on all sections */
/* #about, #services, #portfolio, #contact {
    margin-top: 4rem;
    padding-top: 4rem;
} */
#contact {
    padding-bottom: 4rem;
}
/* about section image css */
.imageAboutPage {
    width: 100%;
}

/* services section css */
.servicesText.card {
    height: 280px;
    cursor: pointer;
  }
.servicesIcon {
    font-size: 36px;
    text-align: center;
    width: 100%;
}
.card-title {
    text-align: center;
}
.card:hover .servicesIcon {
    color: #008000;
}
.servicesText:hover {
    border: 1px solid #008000;
}

/* social media icons styling */
.social-icons {
    font-size: 36px;
    cursor: pointer;
}
.fa-facebook:hover,.fa-instagram:hover,.fa-twitter:hover,.fa-linkedin:hover, .fa-twitch:hover {
    color: #008000;
}
.fab {
    color: #000000;
}
/* footer styling */
#footer {
    background-color: #808080;
    text-align: center;
}
/* ripple effect
body {
    overflow: hidden;
  }
  
  .ripple {
    position: absolute;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 1%, rgba(0, 0, 0, 0) 80%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    transform: scale(1);
    opacity: 0;
    pointer-events: none;
    animation: ripple-animation 2s ease-out;
  }
  
  @keyframes ripple-animation {
    0% {
      opacity: 0.4;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(100);
    }
  }
   */
  
/* matrix code effect */
.matrix-code {
    position: absolute;
    color: #00ff41;
    font-family: monospace;
    font-weight: bold;
    font-size: 20px;
    pointer-events: none;
    opacity: 0.8;
    user-select: none;
  }
  
  .ripple {
    position: absolute;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.2) 1%, rgba(0, 255, 65, 0) 80%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    transform: scale(1);
    opacity: 0;
    pointer-events: none;
    animation: ripple-animation 2s ease-out;
  }
  
  @keyframes ripple-animation {
    0% {
      opacity: 0.4;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(100);
    }
  }
  /* plays video on hover */
  .video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
  }
  
  .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.3s ease;
  }
  
  .video-container:hover video {
    opacity: 1;
  }
  /* logos for experience */
  .experience-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
  }
  
  .experience-logo img {
    max-height: 50px;
    margin-right: 20px;
    animation: spin 2s linear infinite;
  }
  
  .experience-info h4 {
    margin-bottom: 10px;
  }
  
  .experience-info p {
    margin-bottom: 0;
  }
  
  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

/* ============================================
   AI PRODUCT MANAGER PORTFOLIO - NEW STYLES
   ============================================ */

/* ---------- Section Titles ---------- */
.section-title {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 2px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ---------- Hero Section Enhancements ---------- */
.highlight-name {
    color: #28a745;
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-top: 1rem;
}

.hero-cta {
    margin-top: 2rem;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Fade in up animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

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

/* ---------- Scroll Animation Base ---------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- About Image ---------- */
.about-image-wrapper {
    position: relative;
    display: inline-block;
}

.about-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(40, 167, 69, 0.2);
    border: 5px solid white;
    transition: all 0.4s ease;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745, #20c997);
    z-index: -1;
    opacity: 0.3;
    animation: pulseRing 3s ease-in-out infinite;
}

@keyframes pulseRing {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.5; }
}

.about-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(40, 167, 69, 0.3);
}

/* ---------- Differentiator Box ---------- */
.differentiator-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #28a745;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.differentiator-icon {
    background: #28a745;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.differentiator-content h5 {
    color: #28a745;
    margin-bottom: 0.5rem;
}

/* ---------- Stats Section ---------- */
.stats-row {
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #28a745;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: #28a745;
}

.stat-label {
    color: #6c757d;
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ---------- Skills Section ---------- */
.skill-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.15);
}

.skill-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #28a745;
    transition: all 0.4s ease;
}

.skill-icon.highlight {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.skill-card:hover .skill-icon {
    transform: rotateY(360deg);
}

.skill-card h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.skill-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.skill-card:hover .skill-list li {
    padding-left: 10px;
    color: #333;
}

/* ---------- Portfolio Cards ---------- */
.portfolioContent {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.4s ease;
}

.portfolioContent:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.portfolio-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.portfolio-badge .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.portfolio-tags .tag {
    background: #e8f5e9;
    color: #28a745;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.portfolioContent .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolioContent:hover .card-img-top {
    transform: scale(1.05);
}

/* Equal height portfolio cards */
#portfolio .row {
    display: flex;
    flex-wrap: wrap;
}

#portfolio .row > [class*="col-"] {
    display: flex;
}

.portfolioContent {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.portfolioContent .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolioContent .card-body .btn {
    margin-top: auto;
}

/* Sensorium image - adjust position to show person */
.sensorium-img {
    object-position: center top;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #28a745, #20c997);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item[data-side="right"] {
    margin-left: 50%;
    padding-left: 3rem;
}

.timeline-item[data-side="left"] {
    padding-right: 3rem;
    text-align: right;
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid #28a745;
    border-radius: 50%;
    top: 0;
}

.timeline-item[data-side="right"] .timeline-marker {
    left: -10px;
}

.timeline-item[data-side="left"] .timeline-marker {
    right: -10px;
}

.timeline-marker.current {
    background: #28a745;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(40, 167, 69, 0.1); }
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-item[data-side="left"] .timeline-header {
    flex-direction: row-reverse;
}

.timeline-item[data-side="left"] .timeline-content {
    text-align: left;
}

.company-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.company-logo-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.timeline-date {
    background: #e8f5e9;
    color: #28a745;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.role-title {
    color: #28a745;
    margin: 0.5rem 0 1rem;
}

.location {
    color: #6c757d;
    font-size: 0.9rem;
}

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

.experience-highlights li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.experience-highlights li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #28a745;
}

.experience-highlights .metric {
    color: #28a745;
    font-weight: 600;
}

/* ---------- Experience Micro-Animations ---------- */

/* Floating animation for logos */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

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

/* Role icon styling */
.role-icon {
    margin-right: 8px;
    color: #28a745;
    font-size: 1rem;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Custom icons for experience list items */
.experience-highlights li[data-icon]::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.experience-highlights li[data-icon="strategy"]::before { content: '\f0e8'; } /* sitemap */
.experience-highlights li[data-icon="feature"]::before { content: '\f005'; } /* star */
.experience-highlights li[data-icon="growth"]::before { content: '\f062'; } /* arrow-up */
.experience-highlights li[data-icon="support"]::before { content: '\f4ad'; } /* comment-dots */
.experience-highlights li[data-icon="bug"]::before { content: '\f188'; } /* bug */
.experience-highlights li[data-icon="integration"]::before { content: '\f0c1'; } /* link */
.experience-highlights li[data-icon="ai"]::before { content: '\f544'; } /* robot */
.experience-highlights li[data-icon="vr"]::before { content: '\f729'; } /* vr-cardboard */
.experience-highlights li[data-icon="speed"]::before { content: '\f3fd'; } /* bolt */
.experience-highlights li[data-icon="patent"]::before { content: '\f0eb'; } /* lightbulb */
.experience-highlights li[data-icon="auto"]::before { content: '\f1b9'; } /* car */
.experience-highlights li[data-icon="scenario"]::before { content: '\f0ae'; } /* tasks */
.experience-highlights li[data-icon="demo"]::before { content: '\f2b5'; } /* handshake */

/* Hover effect for list items */
.experience-highlights li {
    transition: all 0.3s ease;
}

.experience-highlights li:hover {
    padding-left: 2rem;
    background: linear-gradient(90deg, rgba(40, 167, 69, 0.05) 0%, transparent 100%);
    border-radius: 5px;
}

.experience-highlights li:hover::before {
    color: #20c997;
    transform: scale(1.2);
}

/* Staggered animation for list items on scroll */
.timeline-content.visible .experience-highlights li {
    animation: slideInLeft 0.4s ease forwards;
    opacity: 0;
}

.timeline-content.visible .experience-highlights li:nth-child(1) { animation-delay: 0.1s; }
.timeline-content.visible .experience-highlights li:nth-child(2) { animation-delay: 0.2s; }
.timeline-content.visible .experience-highlights li:nth-child(3) { animation-delay: 0.3s; }
.timeline-content.visible .experience-highlights li:nth-child(4) { animation-delay: 0.4s; }
.timeline-content.visible .experience-highlights li:nth-child(5) { animation-delay: 0.5s; }
.timeline-content.visible .experience-highlights li:nth-child(6) { animation-delay: 0.6s; }
.timeline-content.visible .experience-highlights li:nth-child(7) { animation-delay: 0.7s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Tech tags styling */
.experience-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.tech-tag {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #28a745;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-tag:hover {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

/* Timeline content hover glow effect */
.timeline-content:hover {
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.15);
    border-left: 3px solid #28a745;
}

/* ---------- Certifications Section ---------- */
.subsection-title {
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.education-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.education-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.education-item:last-child {
    border-bottom: none;
}

.education-item h5 {
    color: #333;
    margin-bottom: 0.3rem;
}

.institution {
    color: #6c757d;
    margin-bottom: 0.2rem;
}

.gpa {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 0;
}

.certifications-grid {
    display: grid;
    gap: 1rem;
}

.cert-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #28a745;
    flex-shrink: 0;
}

.cert-icon.google {
    background: white;
    padding: 10px;
}

.cert-icon.google img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-content h5 {
    margin-bottom: 0.2rem;
    color: #333;
}

.cert-content p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ---------- Contact Section ---------- */
.contact-info-cards {
    display: grid;
    gap: 1rem;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.contact-card i {
    font-size: 1.5rem;
    color: #28a745;
    width: 40px;
    text-align: center;
}

.contact-card h5 {
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.contact-card p,
.contact-card a {
    margin-bottom: 0;
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

.contact-card a:hover {
    color: #28a745;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* ---------- Background Section Alternating ---------- */
.bg-light-custom {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* ---------- Logo Image Fix ---------- */
.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 15px;
}

/* ---------- Responsive Timeline ---------- */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        margin-left: 0 !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-item .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }

    .timeline-item .timeline-header {
        flex-direction: column !important;
    }

    .hero_title {
        font-size: 2.5rem;
    }

    .hero_desc {
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .differentiator-box {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        width: 200px;
        height: 200px;
    }
}
