/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4f46e5;
    --secondary-color: #818cf8;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --bg-color: #ffffff;
    --gradient: linear-gradient(135deg, #4f46e5, #818cf8);
}

body {
    max-width: 100%;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Profile Section Styles */
.profile-section {
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    animation: float 6s ease-in-out infinite;
}

.profile-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 75%;
    margin: 12.5%;
    border-radius: 50%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border: 6px solid white;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.developer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.4s ease;
}

.profile-circle:hover .developer-img {
    transform: scale(1.04);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.floating-card.experience {
    top: 18%;
    left: -6%;
}

.floating-card.projects {
    bottom: 18%;
    right: -6%;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.tech-stack {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 1rem;
}

.tech-bubble {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.tech-bubble:hover {
    transform: translateY(-5px);
}

/* Intro Section Styles */
.intro-section {
    padding: 2rem;
    text-align: left;
}

.greeting {
    display: inline-block;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-wrapper {
    margin-bottom: 1.5rem;
}

.primary-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.secondary-title {
    font-size: 1.5rem;
    color: var(--light-text);
}

.bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-text);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn i {
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background:white ;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: #333;
    color: white;
    border: none;
}

.btn-secondary:hover {
    border: 1px solid #333;
    background: white;
    color:#333 ;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
    transform: translateY(-3px);
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .profile-section {
        order: -1;
        /* ................................. */
        /* max-width: 53vh; */

    }

    .intro-section {
        text-align: center;
        /* ................................. */
        /* max-width: 54vh; */

    }
    .bio {
        font-size: 1rem;
        line-height: 1.8;
        color: var(--light-text);
        margin-bottom: 2rem;
    }

    .social-link {
        width: 40px;
        height: 30px;
    }
    .hero-content {
        gap: 0px;
    }
    .profile-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .stats {
        justify-content: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .floating-card {
        display: none;
    }

    /* ................................. */
    .profile-section {
        order: -1;
        /* ................................. */
        /* max-width: 53vh; */

    }

    .intro-section {
        text-align: center;
        /* ................................. */
        /* max-width: 54vh; */

    }
    .bio {
        font-size: 1rem;
        line-height: 1.8;
        color: var(--light-text);
        margin-bottom: 2rem;
    }

    .social-link {
        width: 40px;
        height: 30px;
    }
    .hero-content {
        gap: 0px;
    }
}

@media (max-width: 480px) {
  ..title-wrapper{
    margin-bottom: 1rem;
  }
    h1 {
    font-size: 1.8rem;
   }
    .project-info p{
        margin-bottom: 0px;
    }
  
    .project-card{
    max-width: 35vh;
  }
  
    .tech-stack{
    gap: 0.5rem;
   }
.tech-bubble{
    width: 36px;
    height: 36px;
}
   .section-title h2{
    font-size: 2rem;
   }
    .hero {
        padding: 1rem;
        max-width: 56.5vh;
    }

    .stats {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
    /* ................................. */
    .profile-section {
        order: -1;
        /* ................................. */
        max-width:40vh;

    }

    .intro-section {
        text-align: center;
        /* ................................. */
        max-width: 45vh;

    }
    .bio {
        font-size: 1rem;
        line-height: 1.8;
        color: var(--light-text);
        margin-bottom: 2rem;
    }

    .social-link {
        width: 40px;
        height: 30px;
    }
    .hero-content {
        gap: 0px;
    }
}

/* Add animation for floating effect */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.profile-wrapper {
    animation: float 6s ease-in-out infinite;
}

.projects-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.project-image {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: linear-gradient(45deg, #1a365d, #2563eb);
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.project-link {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.project-link i {
    font-size: 1.8rem;
    color: #24292e;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: translateY(-5px) scale(1.1);
    background: #24292e;
    border-color: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.project-link:hover i {
    color: white;
}

.project-link:active {
    transform: scale(0.95);
}

/* .project-info {
    padding: 1.5rem;
    background: white;
    border-top: 4px solid var(--primary-color);
    
} */
.project-info {
    gap: 5px;
    display: flex;
    padding: 1.5rem;
    background: white;
    border-top: 4px solid var(--primary-color);
    flex-direction: column;
    align-items: center
}

.project-info h3 {
    color: #24292e;
    font-weight: 600;
    margin-bottom: 0.75rem;

}

.project-info p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-tech span {
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--gradient);
    color: white;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hover effect for tech tags */
.project-tech span:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    background: linear-gradient(135deg, #818cf8, #4f46e5);
}

/* Subtle variations for multiple tags */
.project-tech span:nth-child(2) {
    background: linear-gradient(155deg, #4f46e5, #818cf8);
}

.project-tech span:nth-child(3) {
    background: linear-gradient(175deg, #4f46e5, #818cf8);
}

/* Technology-specific colors */
.project-tech span[data-tech="PHP"] {
    background: #777BB3;
}

.project-tech span[data-tech="MySQL"] {
    background: #4479A1;
}

.project-tech span[data-tech="Security"] {
    background: #2E3440;
}

.project-tech span[data-tech="JavaScript"] {
    background: #F7DF1E;
    color: #000000;
}

.project-tech span[data-tech="Web"] {
    background: #61DAFB;
    color: #000000;
}

.project-tech span[data-tech="Console"] {
    background: #43853D;
}

.project-tech span[data-tech="CMS"] {
    background: #FF6C37;
}

.project-tech span[data-tech="Database"] {
    background: #336791;
}

.project-tech span[data-tech="API"] {
    background: #009688;
}

.project-tech span[data-tech="E-commerce"] {
    background: #FF4E50;
}

/* Add an icon overlay to represent project type */
.project-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
}

/* Project-specific icons */
/* .project-image:nth-child(1)::after {
    content: '📊';
    font-size: 2rem;
}

.project-image:nth-child(2)::after {
    content: '🔒';
    font-size: 2rem;
}

.project-image:nth-child(3)::after {
    content: '🔑';
    font-size: 2rem;
}

.project-image:nth-child(4)::after {
    content: '📝';
    font-size: 2rem;
}

.project-image:nth-child(5)::after {
    content: '📱';
    font-size: 2rem;
}

.project-image:nth-child(6)::after {
    content: '📚';
    font-size: 2rem;
} */

/* Enhanced hover effects */
.project-card:hover .project-image::after {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.project-card:hover .project-image::before {
    background: rgba(0, 0, 0, 0.5);
}

/* Animation for links appearance */
.project-links {
    display: flex;
    gap: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.project-card:hover .project-links {
    transform: translateY(0);
    opacity: 1;
}

/* Pulse animation for extra attention */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.project-card:hover .project-link {
    animation: pulse 2s infinite;
}

.project-link:hover {
    animation: none;  /* Stop pulse animation on hover */
}

/* Technology tag styling with gradient theme */
.project-tech span[data-tech="gradient"] {
    background: var(--gradient);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hover effect for gradient tech tags */
.project-tech span[data-tech="gradient"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    background: linear-gradient(135deg, #818cf8, #4f46e5);  /* Reverse gradient on hover */
}

/* Subtle variations for multiple tags */
.project-tech span[data-tech="gradient"]:nth-child(2) {
    background: linear-gradient(155deg, #4f46e5, #818cf8);
}

.project-tech span[data-tech="gradient"]:nth-child(3) {
    background: linear-gradient(175deg, #4f46e5, #818cf8);
}

/* Experience & Certifications Section Styles */
.experience-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.experience-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.experience-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-column h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--gradient);
}

/* Experience Card Styles */
.experience-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.exp-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.company-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.project-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.exp-title h4 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.company-name {
    color: #64748b;
    font-weight: 500;
}

.duration {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* LinkedIn Card Styles */
.linkedin-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-bottom: 1.5rem;
}

.linkedin-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.linkedin-header i {
    font-size: 2rem;
    color: #0077b5;
}

.linkedin-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--gradient);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.linkedin-button:hover {
    transform: translateY(-2px);
}

/* Certification Card Styles */
.cert-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-3px);
}

.cert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.cert-info h4 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.cert-issuer {
    color: #64748b;
    font-size: 0.9rem;
}

.cert-date {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .experience-container {
        grid-template-columns: 1fr;
    }
}

.certificates-container {
    width: 100%;
    padding: 30px 0;
    background: var(--bg-color);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.certificates-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Standardized Card Design */
.certificate-card {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 450px; /* Fixed height for all cards */
    display: flex;
    flex-direction: column;
}

/* Title with Fixed Height */
.certificate-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    padding-bottom: 12px;
    height: 60px; /* Fixed height for title */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Organization Name */
.certificate-card .org {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    height: 24px; /* Fixed height */
}

/* Description with Fixed Height */
.certificate-card .description {
    color: var(--light-text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 15px 0;
    position: relative;
    z-index: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 96px; /* Fixed height for 4 lines */
}

/* Skills Section Enhancement */
.certificate-card .skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
    position: relative;
    z-index: 1;
    height: 70px; /* Adjusted fixed height */
    overflow-y: auto;
    padding: 2px;
}

/* Individual Skill Tags */
.certificate-card .skills span {
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.15);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    height: 28px; /* Fixed height for all skill tags */
    line-height: 1;
}

/* Skill Tag Hover Effect */
.certificate-card .skills span:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
    border-color: transparent;
}

/* Skills Container Scrollbar */
.certificate-card .skills::-webkit-scrollbar {
    width: 3px;
}

.certificate-card .skills::-webkit-scrollbar-track {
    background: rgba(79, 70, 229, 0.05);
    border-radius: 10px;
}

.certificate-card .skills::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* Skills Layout for Different Screen Sizes */
@media (max-width: 768px) {
    .certificate-card .skills {
        height: 60px;
        gap: 5px;
    }

    .certificate-card .skills span {
        padding: 5px 12px;
        font-size: 0.75rem;
        height: 26px;
    }
}

/* Hover State for Skills Container */
.certificate-card:hover .skills span {
    border-color: rgba(79, 70, 229, 0.3);
}

/* Active State for Skills */
.certificate-card .skills span:active {
    transform: translateY(0);
    background: var(--primary-color);
    color: white;
}

/* Button Container */
.credential-link-container {
    margin-top: auto; /* Push to bottom */
    padding-top: 15px;
}

/* Standardized Button */
.credential-link {
    display: inline-block;
    width: 100%;
    height: 45px; /* Fixed height */
    line-height: 45px; /* Center text vertically */
    padding: 0 20px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Hover Effects */
.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.15);
}

.credential-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

/* Scrollbar Styling for Skills */
.certificate-card .skills::-webkit-scrollbar {
    width: 4px;
}

.certificate-card .skills::-webkit-scrollbar-track {
    background: rgba(79, 70, 229, 0.1);
    border-radius: 4px;
}

.certificate-card .skills::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .certificates-scroll {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .certificate-card {
        height: 400px; /* Slightly shorter on mobile */
    }

    .certificate-card h4 {
        height: 50px;
        font-size: 1.1rem;
    }

    .certificate-card .description {
        height: 80px;
        -webkit-line-clamp: 3;
    }

    .certificate-card .skills {
        height: 60px;
    }
}

/* Loading State */
.certificate-card.loading {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Info Section Styles */
.info-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--bg-color);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 20px rgba(79, 70, 229, 0.08),
        0 0 0 1px rgba(79, 70, 229, 0.1);
}

.info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(79, 70, 229, 0.05),
        rgba(129, 140, 248, 0.05)
    );
    border-radius: 16px;
    z-index: 0;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 30px rgba(79, 70, 229, 0.15),
        0 0 0 2px rgba(79, 70, 229, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    z-index: 1;
}

.card-content {
    flex: 1;
    z-index: 1;
}

.card-content h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.card-content p {
    color: var(--light-text);
    margin-bottom: 15px;
}

.stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.stats span {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.connect-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

/* Platform-specific styles */
.linkedin .card-icon {
    color: #0077B5;
}

.github .card-icon {
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-container {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .info-card {
        padding: 20px;
    }

    .card-icon {
        font-size: 2rem;
    }

    .card-content h3 {
        font-size: 1.3rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .github .card-icon {
        color: #fff;
    }
}

/* Additional styles for profile details */
.profile-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.profile-details span {
    color: var(--light-text);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Enhanced stats styling */
.stats {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.stats span {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Platform-specific enhancements */
.linkedin .stats span {
    background: rgba(0, 119, 181, 0.1);
    color: #0077B5;
}

.github .stats span {
    background: rgba(51, 51, 51, 0.1);
    color: #333;
}

/* Contact Section Styles */
.contact-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.contact-form {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 
        0 10px 20px rgba(79, 70, 229, 0.08),
        0 0 0 1px rgba(79, 70, 229, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 14px 25px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: 
        0 5px 15px rgba(79, 70, 229, 0.08),
        0 0 0 1px rgba(79, 70, 229, 0.1);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .info-item {
        padding: 15px;
    }
}