/* Variables */
:root {
    --primary-color: #4a6cf7;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --accent-color: #00c896;
    --text-color: #495057;
    --border-color: #dee2e6;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Inter', sans-serif;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

section {
    padding: 80px 0;
}

.section-title {
    position: relative;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

.highlight {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: #3a56e0;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 108, 247, 0.2);
    color: white;
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.small-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Modern Header Styling  */
header {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1fc 100%);
    padding: 1.2rem 0;
    box-shadow: 0 4px 20px #788eff14;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
  }
  
  header.scrolled {
    padding: 0.8rem 0;
    background: #a5b4ff14;
    backdrop-filter: blur(10px);
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(90deg, #3a56e0 0%, #5e7bf6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    padding-bottom: 4px;
  }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-links li a {
    color: #4f4f4f;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
  }
  
  .nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3a56e0 0%, #5e7bf6 100%);
    transition: width 0.3s ease;
  }
  
  .nav-links li a:hover {
    color: #3a56e0;
  }
  
  .nav-links li a:hover::after {
    width: 100%;
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
  }
  
  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #3a56e0;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  /* Active nav item */
  .nav-links li a.active {
    color: #3a56e0;
    font-weight: 600;
  }
  
  .nav-links li a.active::after {
    width: 100%;
  }
  
  /* For mobile navigation */
  @media (max-width: 768px) {
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 70%;
      height: 100vh;
      background: white;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: all 0.5s ease;
      box-shadow: -5px 0 15px rgba(58, 86, 224, 0.1);
    }
    
    .nav-links.active {
      right: 0;
    }
    
    .hamburger {
      display: block;
      z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
    }
  }

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 255, 0.95) 100%), url('/api/placeholder/1000/800') center/cover;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 50%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* About Section */
.about {
    background-color: #f9fafc;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1.5;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.about-text .role {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.detail {
    display: flex;
    align-items: center;
}

.detail i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.about-cta {
    margin-top: 20px;
}

/* Skills Section */
.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--box-shadow);
}

.category h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.skill-item {
    margin-bottom: 15px;
}

.skill-name {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.skill-bar {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 10px;
}

.skills-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    background-color: #e9ecef;
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.chip:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Projects Section */
.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-bottom: 10px;
}

.project-info p {
    color: var(--text-color);
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.project-tags span {
    background-color: #f0f2f5;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.github-link {
    font-size: 1.5rem;
    color: var(--dark-color);
}

.github-link:hover {
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    background-color: #f9fafc;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-style: normal;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Contact Section */
.contact-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.contact-card i {
    color: #4f6df5; 
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.contact-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.contact-card .btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.contact-card .primary-btn {
    background-color: #4f6df5;
    color: white;
}

.contact-card .primary-btn:hover {
    background-color: #3a58e0;
}

.contact-card .secondary-btn {
    background-color: #4f6df5;
    color: #ffffff;
}

@media (max-width: 992px) {
    .contact-cards-container {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-card {
        width: 100%;
        max-width: 350px;
    }
}

/* Footer */
footer {
    background-color: #ffffff;
    padding: 30px 0 20px;
    position: relative;
    overflow: hidden;
}

.modern-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-link {
    color: #000000;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4a6cf7;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background-color: #ffffff;
    color: #4a6cf7;
    transform: translateY(-3px);
}

.footer-copyright {
    color: #666666;
    font-size: 0.85rem;
    max-width: 500px;
}

.footer-copyright span {
    color: var(--primary-color);
}

.footer-divider {
    width: 80%;
    max-width: 600px;
    height: 1px;
    background-color: #4a6cf7;
    margin: 0 auto 20px;
}

@media (max-width: 768px) {
    .footer-links {
        gap: 1.5rem;
        margin: 1rem 0 2rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    animation: slideUp 1s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden {
    opacity: 0;
}

/* Project Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    overflow-y: auto;
    padding: 30px 0;
}

.modal-container {
    background-color: white;
    width: 90%;
    max-width: 1000px;
    border-radius: 10px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease forwards;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.modal-content {
    padding: 30px;
}

.project-modal h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.modal-gallery img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.modal-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.modal-description h3 {
    color: var(--dark-color);
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.modal-description p, .modal-description li {
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.6;
}

.modal-description ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.modal-tags span {
    background-color: #f0f2f5;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark-color);
    font-weight: 500;
}

@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-gallery {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .project-modal h2 {
        font-size: 1.6rem;
    }
}

body.modal-open {
    overflow: hidden;
}

/* Full screen image preview */
.img-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.img-preview-container {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-preview-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.img-preview-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Direct Email Button Styles */
.direct-contact {
    margin: 20px 0;
}

.email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.email-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.email-btn i {
    font-size: 1.2em;
}

.contact-item .fab.fa-linkedin,
.contact-item .fab.fa-linkedin-in {
    display: inline-block;
    width: 20px;
    text-align: center;
    margin-right: 10px;
    font-size: 1.2em;
    color: inherit;
    opacity: 1;
}

.contact-item i {
    display: inline-block;
    width: 20px;
    text-align: center;
    margin-right: 10px;
    opacity: 1;
}

/* Certificate Section Styles */
.certificates {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.certificate-slider {
    position: relative;
    padding: 20px 0 60px;
    margin-top: 40px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.prev-btn, .next-btn {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.certificate-wrapper {
    overflow: hidden;
    margin: 0 30px;
}

.certificate-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.certificate-item {
    min-width: 100%;
    padding: 15px;
}

.certificate-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.certificate-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.certificate-card:hover .certificate-image img {
    transform: scale(1.05);
}

.certificate-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.certificate-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.certificate-info .issuer {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.certificate-info .date {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.certificate-info .description {
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .certificate-card {
        flex-direction: column;
    }
    
    .certificate-image {
        height: 200px;
    }
    
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
    }
    
    .prev-btn {
        left: -5px;
    }
    
    .next-btn {
        right: -5px;
    }
}

.typing-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 15px;
    color: #007bff;
    font-size: 3rem;
}

.typing-text {
    display: inline-block;
    white-space: nowrap;
}

.cursor {
    display: inline-block;
    margin-left: 2px;
    color: #007bff;
    font-weight: bold;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Skills Slider */
.skills-slider-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    margin-bottom: 40px;
}

.skills-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.skills-track {
    display: flex;
    align-items: center;
    width: fit-content;
    transition: all 0.5s ease;
}

.skill-logo {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 0 20px;
    width: 150px;
    text-align: center;
    transition: transform 0.3s ease;
}

.skill-logo:hover {
    transform: translateY(-10px);
}

.skill-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.skill-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.skill-logo p {
    margin-top: 10px;
    font-weight: 500;
    font-size: 14px;
}

@keyframes slideSkills {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Scroll Reveal Animation */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for project cards */
.project-card.reveal-element {
    transition-delay: calc(var(--item-index) * 0.1s);
}

/* Section Transitions */
.about, .skills, .projects, .certificates, .contact {
    transition: all 0.5s ease;
}

/* Project Card Hover Effects */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Button Hover Animation */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.4), rgba(255,255,255,0.1));
    transition: all 0.5s ease;
}

.btn:hover::after {
    left: 100%;
}

/* Page Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    animation: fadeIn 1s ease;
}

/* IntersectionObserver Polyfill Warning */
.intersection-observer-notice {
    display: none;
    padding: 10px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* Mobile Responsiveness for animations */
@media (max-width: 768px) {
    .skills-track {
        animation-duration: 30s !important;
    }
    
    .skill-logo {
        width: 120px;
        margin: 0 10px;
    }
    
    .skill-logo img {
        width: 60px;
        height: 60px;
    }
}