* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.8em;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item .nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 1em;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.nav-item .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item .nav-link:hover::after,
.nav-item .nav-link.active::after {
    width: 80%;
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: calc(70vh - 80px);
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-left {
    flex: 1;
    max-width: 500px;
}

.intro-text {
    font-size: 1.2em;
    font-style: italic;
    margin-bottom: 10px;
    opacity: 0.9;
}

.name {
    font-size: 4em;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    border-bottom: 3px solid #ffd700;
    display: inline-block;
    padding-bottom: 5px;
}

.highlight {
    color: #4dabf7;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-resume {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-resume:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link.linkedin {
    background: #0077b5;
    color: white;
}

.social-link.github {
    background: #24292e;
    color: white;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-image-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(77, 171, 247, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.play-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #667eea;
    font-size: 1.2em;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Stats Section */
.stats-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.stats-banner {
    background: white;
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    transform: translateY(-20px);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.stat-icon img {
    width: 48px;
    height: 48px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2em;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.stat-label {
    font-size: 0.9em;
    color: #666;
    font-weight: 500;
    line-height: 1.2;
}

/* Section Styling */
section {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #2c3e50;
}

/* About Section */
.about-section {
    padding: 60px 0;
}

.about-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.about-card h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: left;
}

.about-card p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

.highlight-text {
    color: #4dabf7;
}

/* Skills Section */
.skills-section {
    padding: 60px 0;
}

.skills-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.skills-card h2 {
    text-align: left;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 30px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.skill-tag {
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 500;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-tag.business {
    background: #4dabf7;
}

.skill-tag.problem {
    background: #51cf66;
}

.skill-tag.canva {
    background: #ff6b6b;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Projects Section */
.projects-section {
    padding: 60px 0;
}

.project-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-content {
    display: flex;
    padding: 30px;
    gap: 30px;
}

.project-info {
    flex: 2;
}

.project-info h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #2c3e50;
}

.project-info p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tools {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tool-tag {
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    color: white;
}

.tool-tag.excel { background: #1f7244; }
.tool-tag.powerbi { background: #f2c811; color: #333; }
.tool-tag.sql { background: #336791; }
.tool-tag.mysql { background: #00758f; }
.tool-tag.python { background: #3776ab; }
.tool-tag.api { background: #009688; }

.project-summary {
    flex: 1;
    background: #e8f4fd;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

.project-summary.orange {
    background: #fff3e0;
}

.project-summary h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.project-actions {
    display: flex;
    gap: 10px;
    padding: 0 30px 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-view-project {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-view-project:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-linkedin {
    background: #0077b5;
    color: white;
}

.btn-linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
}

.btn-github {
    background: #28a745;
    color: white;
}

.btn-github:hover {
    background: #218838;
    transform: translateY(-2px);
}

.btn-send {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 100%;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-cancel {
    background: #6c757d;
    color: white;
}

/* Contact Section */
.contact-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-card h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    color: #2c3e50;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* Project Modal Styles */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    animation: modalFadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    background: white;
    margin: 2% auto;
    width: 95%;
    max-width: 1200px;
    height: 90%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8em;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.modal-left {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    background: #f8f9fa;
}

.modal-right {
    flex: 1;
    padding: 30px;
    background: white;
    overflow-y: auto;
    border-left: 1px solid #e9ecef;
}

.project-details h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.project-details h4 {
    color: #495057;
    margin: 25px 0 15px 0;
    font-size: 1.2em;
}

.project-details p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.project-learnings ul {
    list-style: none;
    padding: 0;
}

.project-learnings li {
    background: white;
    padding: 12px 15px;
    margin: 8px 0;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.modal-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.modal-skills-list .skill-tag {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    color: white;
}

/* Project Images Section */
.project-images {
    margin-bottom: 30px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.project-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.project-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    cursor: pointer;
}

.project-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 15px 10px 10px;
    font-size: 0.9em;
    text-align: center;
}

/* Video Container */
.video-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.video-container iframe {
    width: 100%;
    height: 250px;
    border: none;
}

.video-placeholder {
    padding: 60px 20px;
    text-align: center;
    color: #666;
}

.video-placeholder i {
    font-size: 3em;
    color: #dc3545;
    margin-bottom: 15px;
}

/* Modal Footer */
.modal-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Image Lightbox */
.image-lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox-close:hover {
    color: #ccc;
}

/* Animation */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .nav-item .nav-link {
        padding: 15px 20px;
        display: block;
        font-size: 1.1em;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .name {
        font-size: 2.5em;
    }
    
    .profile-image-container {
        width: 250px;
        height: 250px;
    }
    
    .stats-banner {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px;
        transform: translateY(-10px);
    }
    
    .stat-item {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }
    
    .stats-section {
        padding: 20px 0 40px;
    }
    
    .project-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .about-card,
    .skills-card,
    .contact-card {
        padding: 30px 20px;
    }
    
    .about-card h1 {
        font-size: 2em;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .modal-container {
        width: 98%;
        height: 95%;
        margin: 1% auto;
    }
    
    .modal-body {
        flex-direction: column;
    }
    
    .modal-left,
    .modal-right {
        flex: none;
    }
    
    .skills-list {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .project-actions {
        padding: 0 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .about-card h1 {
        font-size: 1.8em;
    }
    
    .stats-banner {
        flex-direction: column;
        gap: 15px;
        transform: translateY(0);
    }
    
    .stat-item {
        width: 100%;
        justify-content: flex-start;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
}
/* Certifications Section */
.certifications-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.certification-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.certification-content {
    display: flex;
    align-items: center;
    padding: 30px;
    gap: 25px;
}

.certification-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2em;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.certification-info {
    flex: 1;
}

.certification-info h3 {
    font-size: 1.6em;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
}

.certification-provider {
    font-size: 1.1em;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 5px;
}

.certification-date {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.certification-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.certification-skills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cert-skill {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
}

.certification-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.btn-view-cert {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-width: 160px;
}

.btn-download-cert {
    background: #28a745;
    color: white;
    min-width: 160px;
}

.btn-view-cert:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-download-cert:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Certificate Modal */
.certificate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    animation: modalFadeIn 0.3s ease;
}

.certificate-modal-container {
    position: relative;
    background: white;
    margin: 2% auto;
    width: 90%;
    max-width: 900px;
    height: 85%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.certificate-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.certificate-modal-body {
    flex: 1;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.certificate-modal-footer {
    padding: 20px 30px;
    background: white;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 15px;
    justify-content: center;
}

#certificateViewer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#certificateViewer img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#certificateViewer iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.certificate-placeholder {
    text-align: center;
    color: #666;
    padding: 60px;
}

.certificate-placeholder i {
    font-size: 4em;
    margin-bottom: 20px;
    color: #ccc;
}

/* Responsive Design for Certifications */
@media (max-width: 768px) {
    .certification-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .certification-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5em;
    }
    
    .certification-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .certificate-modal-container {
        width: 95%;
        height: 90%;
        margin: 5% auto;
    }
    
    .certification-skills {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .certification-actions {
        flex-direction: column;
    }
    
    .btn-view-cert,
    .btn-download-cert {
        min-width: 140px;
    }
}
/* Project Preview Image Styles */
.project-preview {
    flex: 1;
    background: white;
    padding: 8px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid #f0f0f0;
}

.report-image {
    width: 100%;
    max-width: 350px;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.report-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Make sure the project content layout works well */
.project-content {
    display: flex;
    padding: 10px;
    gap: 0px;
    align-items: flex-start;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .project-preview {
        order: -1; /* Show image first on mobile */
    }
    
    .report-image {
        max-width: 200px;
    }
}
/* Ultra-compact version
.project-info {
    margin-bottom: 10px;
}

.project-info p {
    margin-bottom: 10px;
}

.project-tools {
    margin-bottom: 0; /* No margin after skill tags */
/* }

.project-actions {
    margin-top: -10px; /* Negative margin to pull buttons up */
    /* padding: 0 30px 30px;
/* } 
/* Inline project actions inside project-info */
.project-actions-inline {
    display: flex;
    gap: 8px;
    margin-top: 8px; /* Very small gap after PowerBI tag */
    flex-wrap: wrap;
}

.project-actions-inline .btn {
    padding: 12px 16px; /* Slightly smaller buttons */
    border: none;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.project-actions-inline .btn-view-project {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.project-actions-inline .btn-view-project:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.project-actions-inline .btn-linkedin {
    background: #0077b5;
    color: white;
}

.project-actions-inline .btn-linkedin:hover {
    background: #005885;
    transform: translateY(-1px);
}

.project-actions-inline .btn-github {
    background: #28a745;
    color: white;
}

.project-actions-inline .btn-github:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* Ensure project-tools has minimal bottom margin */
.project-tools {
    margin-bottom: 30px; /* Remove bottom margin */
}

/* Hide or remove the old project-actions CSS */
.project-actions {
    display: none; /* Hide the old external buttons */
}

/* Image Gallery Modal Enhancements */
#imageGalleryModal button {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#imageGalleryModal button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

#imageGalleryModal #modalImage {
    animation: imageZoomIn 0.3s ease;
}

@keyframes imageZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    #imageGalleryModal button {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.5rem !important;
    }
    
    #imageGalleryModal button:first-of-type {
        left: 20px !important;
    }
    
    #imageGalleryModal button:nth-of-type(2) {
        right: 20px !important;
    }
    
    #imageGalleryModal button:nth-of-type(3) {
        top: 20px !important;
        right: 20px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1.8rem !important;
    }
}

/* Certificate Modal Image Display Fix */
.certificate-modal-body {
    flex: 1;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    overflow: auto;
    max-height: 70vh; /* Allow scrolling if needed */
}

#certificateViewer {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to top instead of center */
    padding: 10px;
}

#certificateViewer img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: none; /* Remove height constraint */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: block;
}

/* Alternative: Full-width display */
#certificateViewer img.full-width {
    width: 100%;
    height: auto;
    max-width: none;
}

/* ===== scroll-inside modal for very tall screenshots (Project 2) ===== */
#tallShotBox{
    display:none;               /* JS toggles to flex */
    position:fixed; inset:0;
    z-index:4000;
    justify-content:center;
    align-items:center;
}
#tallShotBox .ts-overlay{
    position:absolute; inset:0;
    background:rgba(0,0,0,.9);
}
#tallShotBox .ts-content{
    position:relative;
    max-width:90vw;             /* fill most of screen width */
    max-height:90vh;            /* cap height so we can scroll */
    overflow-y:auto;            /* <-- vertical scrollbar */
    border-radius:12px;
}
#tallShotBox img{
    width:100%;
    height:auto;                /* keep natural tallness */
    display:block;
}
#tallShotBox .ts-close{
    position:absolute;
    top:15px; right:20px;
    font-size:2rem; color:#fff;
    background:transparent;
    border:none; cursor:pointer;
}

#tallShotBox .ts-close{
    position:absolute;
    top:15px;
    right:20px;
    font-size:2rem;
    color:#000000;
    background:transparent;
    border:none;
    cursor:pointer;
}
