/* Add these new styles to your existing style.css */

/* Navigation */
#navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff9900;
    background: #232f3e;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* This ensures image fills circle properly */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ff9900;
}

.nav-menu i {
    margin-right: 5px;
}

.view-cv-btn {
    background: #232f3e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.view-cv-btn:hover {
    background: #ff9900;
    color: #232f3e;
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat h3 {
    font-size: 2rem;
    color: #ff9900;
    margin-bottom: 5px;
}

/* Tabs */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.tab-btn {
    padding: 10px 20px;
    background: #f1f1f1;
    border: none;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.tab-btn:hover {
    background: #ddd;
}

.tab-btn.active {
    background: #232f3e;
    color: white;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.skill-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.skill-item h4 {
    color: #232f3e;
    margin-bottom: 10px;
    border-left: 4px solid #ff9900;
    padding-left: 10px;
}

/* Soft Skills */
.soft-skills-section {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
}

.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.soft-skill-category {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.soft-skill-category h4 {
    color: #232f3e;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff9900;
}

.soft-skill-category ul {
    list-style: none;
    padding-left: 0;
}

.soft-skill-category li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    position: relative;
    padding-left: 25px;
}

.soft-skill-category li:before {
    content: "✓";
    color: #ff9900;
    font-weight: bold;
    position: absolute;
    left: 0;
}
/* IPG Main Card - Clickable */
.ipg-main-card {
    cursor: pointer;
    transition: all 0.3s;
    border-left: 5px solid #ff9900;
    grid-column: 1 / -1;
}

.ipg-main-card:hover {
    background: #fff8e7;
    transform: translateY(-5px);
}

.expand-indicator {
    margin-top: 15px;
    color: #ff9900;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px dashed #ff9900;
}

.expand-indicator i {
    transition: transform 0.3s;
}

/* IPG Projects Container */
.ipg-projects-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 10px 0 30px 30px;
    padding-left: 20px;
    border-left: 3px dashed #ff9900;
    animation: slideDown 0.4s ease;
}

/* IPG Project Items */
.ipg-project-item {
    background: #f9f9fc;
    border-left: 8px solid #ff9900;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    width: 100%;
}

.ipg-project-item:hover {
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.15);
    transform: translateX(5px);
}

.ipg-project-item .project-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff9900;
}

.ipg-project-item .project-header i {
    font-size: 2rem;
    color: #ff9900;
}

.ipg-project-item .project-header h3 {
    margin: 0;
    color: #232f3e;
    font-size: 1.4rem;
    font-weight: 600;
}

.ipg-project-item .project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .ipg-project-item .project-content {
        grid-template-columns: 1fr;
    }
    .ipg-projects-container {
        margin-left: 15px;
        padding-left: 10px;
    }
}

.ipg-project-item .project-definition {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ipg-project-item .project-definition p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #555;
}

.ipg-project-item .project-definition strong {
    color: #232f3e;
    font-weight: 600;
}

.ipg-project-item .project-definition li {
    margin-left: 20px;
    margin-bottom: 5px;
    color: #555;
}

.ipg-project-item .project-diagram h4 {
    color: #232f3e;
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 1px dashed #ff9900;
    padding-bottom: 8px;
}

/* Main Project Cards */
.main-project-card {
    cursor: pointer;
    transition: all 0.3s;
    border-left: 5px solid #ff9900;
    grid-column: 1 / -1;
}

.main-project-card:hover {
    background: #fff8e7;
    transform: translateY(-5px);
}

/* Mobile Projects Container */
.mobile-projects-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 10px 0 30px 30px;
    padding-left: 20px;
    border-left: 3px dashed #ff9900;
    animation: slideDown 0.4s ease;
}

/* Mobile Project Items */
.mobile-project-item {
    background: #f9f9fc;
    border-left: 8px solid #ff9900;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    width: 100%;
}

.mobile-project-item:hover {
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.15);
    transform: translateX(5px);
}

.mobile-project-item .project-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff9900;
}

.mobile-project-item .project-header i {
    font-size: 2rem;
    color: #ff9900;
}

.mobile-project-item .project-header h3 {
    margin: 0;
    color: #232f3e;
    font-size: 1.4rem;
    font-weight: 600;
}

.mobile-project-item .project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .mobile-project-item .project-content {
        grid-template-columns: 1fr;
    }
    .mobile-projects-container {
        margin-left: 15px;
        padding-left: 10px;
    }
}

.mobile-project-item .project-definition {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mobile-project-item .project-definition p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #555;
}

.mobile-project-item .project-definition strong {
    color: #232f3e;
    font-weight: 600;
}

.mobile-project-item .project-diagram h4 {
    color: #232f3e;
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 1px dashed #ff9900;
    padding-bottom: 8px;
}

/* Slide Down Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eaeaea;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.project-icon {
    font-size: 2.5rem;
    color: #ff9900;
    margin-bottom: 15px;
}

.project-platform {
    color: #666;
    font-style: italic;
    margin: 10px 0;
}

.project-desc {
    color: #555;
    line-height: 1.6;
    margin: 15px 0;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tech-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Architecture Diagrams */
.architecture-diagram {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid #eaeaea;
    transition: transform 0.3s, box-shadow 0.3s;
}

.architecture-diagram:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 153, 0, 0.2);
    border-color: #ff9900;
}

/* Optional: Add caption below diagram */
.diagram-caption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    font-style: italic;
}

.view-details-btn {
    width: 100%;
    padding: 12px;
    background: #232f3e;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.view-details-btn:hover {
    background: #ff9900;
    color: #232f3e;
}

.center-btn {
    text-align: center;
    margin-top: 40px;
}

.all-projects-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff9900, #ff6600);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: transform 0.3s;
}

.all-projects-btn:hover {
    transform: scale(1.05);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ff9900;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 70px;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    background: #232f3e;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    width: 100px;
    text-align: center;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.job-title {
    color: #ff9900;
    font-weight: bold;
    margin: 10px 0;
}

/* Certifications Grid */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.cert-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 5px solid #ff9900;
}

.cert-icon {
    font-size: 2.5rem;
    color: #232f3e;
    margin-bottom: 15px;
}

.cert-date {
    color: #666;
    font-style: italic;
}

.cert-id {
    color: #888;
    font-size: 0.9rem;
}

/* Education Card */
.edu-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.edu-institution {
    color: #ff9900;
    font-weight: bold;
    margin: 10px 0;
}

.edu-duration {
    color: #666;
    margin: 5px 0;
}

.edu-grade {
    background: #e3f2fd;
    color: #1976d2;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    margin-top: 10px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-btn {
    padding: 12px 20px;
    background: #232f3e;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    transition: background 0.3s;
}

.contact-btn:hover {
    background: #ff9900;
    color: #232f3e;
}

.linkedin-btn {
    background: #0077b5;
}

.linkedin-btn:hover {
    background: #005582;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

.close-modal:hover {
    color: #000;
}

.diagram-placeholder {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 20px 0;
}

.diagram-placeholder i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

/* Footer */
.footer-tech {
    color: #888;
    font-size: 0.9rem;
    margin: 10px 0;
}

.footer-links a {
    color: #ff9900;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline:before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-date {
        width: 80px;
        font-size: 0.9rem;
    }
}