@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Backgrounds - Soft Navy Gradient */
    --bg-navy: #0b0f1a;
    --bg-black: #000000;
    --bg-dark: radial-gradient(circle at top, var(--bg-navy) 0%, var(--bg-black) 100%);

    --bg-card: #111420;
    --bg-card-hover: #161a29;

    /* Primary Accent - Muted Enterprise Purple */
    --primary-color: #8b5cf6;
    /* Muted Violet */
    --secondary-color: #6d28d9;
    /* Deep Violet */
    --accent-color: #8b5cf6;
    /* Single accent color strategy */

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    /* Soft Slate/Gray for scannability */
    --text-highlight: #c4b5fd;
    /* Soft Lavender */

    --gradient-main: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    --gradient-text: linear-gradient(90deg, #c4b5fd, #8b5cf6);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(139, 92, 246, 0.2);

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.75;
    /* Increased for readability */
    overflow-x: hidden;
}

p {
    max-width: 70ch;
    /* Optimal line length */
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    /* Slightly rounded, not full pill */
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(101, 31, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    filter: brightness(1.1);
    /* Brighter on hover */
}

/* Navbar */
.navbar {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(11, 15, 26, 0.8);
    /* Refined navy glassmorphism */
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Gradient ring */
    background: conic-gradient(from 120deg, rgba(139,92,246,0.95), rgba(109,40,217,0.9));
    padding: 3px;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.22);
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* white inner border to match the circular avatar style */
    border: 2px solid #fff;
    display: block;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
}

.nav-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Layout for Pages */
.page-wrapper {
    padding-top: 100px;
    /* Space for fixed navbar */
    min-height: 80vh;
}

/* Hero Section (Home) */
.hero-section {
    min-height: 90vh;
    /* Full screen minus footer */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 60px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 2rem;
    color: var(--text-highlight);
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-profile-img {
    width: 260px;
    height: 260px;
    margin: 40px auto;
    position: relative;
    z-index: 1;
    /* outer decorative ring using a pseudo-element */
}

.hero-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* white inner border */
    border: 4px solid #ffffff;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
    display: block;
}

.hero-profile-img::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(from 120deg, rgba(139,92,246,0.95), rgba(109,40,217,0.9));
    z-index: 0;
    filter: blur(6px);
}

.hero-profile-img > img { position: relative; z-index: 1; }

/* Glow effect behind image */
.hero-profile-img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    z-index: -1;
    filter: blur(30px);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1a25;
    /* Dark grey-purple */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

/* Section Headings */
.page-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-subtitle {
    text-align: center;
    color: var(--text-highlight);
    font-size: 1.2rem;
    margin-bottom: 50px;
}

/* Cards Grid (Common for Projects, Expertise) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* More spacious cards */
    gap: 40px;
    /* Increased gap */
    margin-bottom: 80px;
}

.expertise-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 1200px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .expertise-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Service/Expertise Card */
.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
    text-align: left;
    /* Enterprise standard: left alignment */
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.content-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    /* More pronounced lift */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.1);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 25px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
}

.content-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: white;
}

.content-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.project-impact {
    margin-top: 20px;
    padding: 15px;
    background: rgba(139, 92, 246, 0.03);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    text-align: left;
    width: 100%;
}

.impact-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.impact-text {
    font-size: 0.9rem;
    color: white;
    line-height: 1.4;
}

/* About Layout */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Experience Timeline/List */
.experience-list {
    max-width: 800px;
    margin: 0 auto;
}

.experience-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    transition: var(--transition);
}

.experience-item:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.job-info-with-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.company-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 8px;
    border: 1px solid var(--border-color);
}

.job-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.company-name {
    font-size: 1rem;
    color: var(--text-highlight);
    font-weight: 500;
}

.job-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.job-achievements {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.job-achievements li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.job-achievements li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.tech-stack-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tech-chip {
    font-size: 0.7rem;
    padding: 3px 8px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--text-highlight);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 50px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Todo: mobile menu */
    }

    .nav-toggle {
        display: block;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .job-header {
        flex-direction: column;
    }
}

/* Skills Section Styles */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

.skill-card-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 45px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition);
    height: 100%;
}

.skill-card-compact:hover {
    border-color: rgba(139, 92, 246, 0.5);
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.1);
}

.skill-card-compact i {
    font-size: 2.2rem;
    margin-bottom: 25px;
    transition: var(--transition);
}

.skill-card-compact h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.skill-card-compact p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 500;
}

/* Specific Icon Colors - Vibrant Update */
/* Reset gradient overrides for all specific colored icons */
.skill-card-compact[class*="color-"] i {
    -webkit-text-fill-color: initial;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
}

/* 1. Programming (Python) -> Vibrant Blue */
.skill-card-compact.color-web i,
.skill-card-compact.color-prog i {
    color: #3b82f6;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

/* 2. Databases / Visualization -> Vibrant Teal */
.skill-card-compact.color-viz i,
.skill-card-compact.color-ds i,
.skill-card-compact.color-db i {
    color: #00d2d3;
    filter: drop-shadow(0 0 8px rgba(0, 210, 211, 0.5));
}

/* 3. Machine Learning -> Vibrant Orange */
.skill-card-compact.color-ml i,
.skill-card-compact.color-scrap i {
    color: #ff9f43;
    filter: drop-shadow(0 0 8px rgba(255, 159, 67, 0.5));
}

/* 4. Generative AI -> Vibrant Purple */
.skill-card-compact.color-genai i {
    color: #be2edd;
    filter: drop-shadow(0 0 8px rgba(190, 46, 221, 0.5));
}

/* 5. MLOps -> Deep Green/Teal */
.skill-card-compact.color-ops i {
    color: #10ac84;
    filter: drop-shadow(0 0 8px rgba(16, 172, 132, 0.5));
}

/* 6. Computer Vision -> Vibrant Red/Pink */
.skill-card-compact.color-cv i {
    color: #ff6b6b;
    filter: drop-shadow(0 0 8px rgba(255, 107, 107, 0.5));
}

/* 7. NLP -> Vibrant Indigo/Blue */
.skill-card-compact.color-nlp i {
    color: #54a0ff;
    filter: drop-shadow(0 0 8px rgba(84, 160, 255, 0.5));
}

/* 8. Agentic AI -> Vibrant Green */
.skill-card-compact.color-agent i {
    color: #1dd1a1;
    filter: drop-shadow(0 0 8px rgba(29, 209, 161, 0.5));
}

/* 9. RAG Systems -> Cyan */
.skill-card-compact.color-rag i {
    color: #48dbfb;
    filter: drop-shadow(0 0 8px rgba(72, 219, 251, 0.5));
}

.skills-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: left;
}

.skills-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.skills-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2ecc71;
    /* Green color from image */
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.skill-category-header i {
    color: #2ecc71;
    font-size: 1.2rem;
}

.skill-category-header h3 {
    margin: 0;
    color: #2ecc71;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Categorized Skill Colors */
.skill-cat-programming i,
.skill-cat-programming h3 {
    color: #3498db !important;
}

.skill-cat-programming li::before {
    color: #3498db !important;
}

.skill-cat-ml i,
.skill-cat-ml h3 {
    color: #e67e22 !important;
}

.skill-cat-ml li::before {
    color: #e67e22 !important;
}

.skill-cat-genai i,
.skill-cat-genai h3 {
    color: #9b59b6 !important;
}

.skill-cat-genai li::before {
    color: #9b59b6 !important;
}

.skill-cat-db i,
.skill-cat-db h3 {
    color: #1abc9c !important;
}

.skill-cat-db li::before {
    color: #1abc9c !important;
}

.skill-cat-cloud i,
.skill-cat-cloud h3 {
    color: #2ecc71 !important;
}

.skill-cat-cloud li::before {
    color: #2ecc71 !important;
}

.skill-cat-api i,
.skill-cat-api h3 {
    color: #667eea !important;
}

.skill-cat-api li::before {
    color: #667eea !important;
}

.skill-cat-etl i,
.skill-cat-etl h3 {
    color: #f1c40f !important;
}

.skill-cat-etl li::before {
    color: #f1c40f !important;
}

/* Enhanced Card Style for Skills */
.skills-grid .content-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.skills-grid .content-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Detailed Footer Styles */
.footer {
    padding: 80px 0 40px;
    /* Increased padding */
    background: rgba(11, 15, 26, 0.6);
    border-top: 1px solid var(--border-color);
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-col h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 15px;
}

.footer-links-list a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links-list a i {
    font-size: 1.1rem;
    width: 20px;
}

.footer-links-list a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    /* padding-top: 30px; */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 0;
    margin-top: 30px;
}

.custom-form {
    width: 100%;
}


@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-links-list a {
        justify-content: center;
    }
}

/* New Project Refactoring Styles */
.project-category-section {
    margin-bottom: 80px;
}

.project-category-section .content-card {
    text-align: left;
    align-items: flex-start;
}

/* Certifications Layout Styles */
.cert-category-section {
    margin-bottom: 60px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.cert-card-v2 {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    height: 100%;
}

.cert-card-v2:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.1);
}

.cert-badge-icon {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.25));
}

.cert-card-v2 h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.cert-issuer {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.cert-year {
    color: var(--text-highlight);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.cert-btn-v2 {
    display: inline-block;
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    margin-top: auto;
}

.cert-btn-v2:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.hidden-cert {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hidden-cert.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.cert-view-more-container {
    text-align: center;
    margin-top: 30px;
}

.category-title {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
}

.category-title i {
    color: var(--primary-color);
}

.hidden-project {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hidden-project.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.view-more-container {
    text-align: center;
    margin-top: -10px;
    margin-bottom: 40px;
}

.view-more-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.view-more-btn:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 15px var(--border-glow);
}

/* Contact Page Redesign */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-info-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.1);
}

.contact-info-card i {
    font-size: 2.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.contact-info-card h3 {
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
}

.contact-info-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
    padding: 0 20px;
}

.skill-card-compact {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.skill-card-compact:hover {
    border-color: var(--primary-color);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
}

.skill-card-compact i {
    font-size: 2rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-card-compact h3 {
    font-size: 1.1rem;
    color: white;
}

.skill-card-compact p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Hidden elements for toggling */
.hidden-cert,
.hidden-skill {
    display: none !important;
}

.hidden-cert.show,
.hidden-skill.show {
    display: flex !important;
}

.cert-view-more-container,
.skills-view-more-container {
    text-align: center;
    margin-top: 30px;
}