/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #2c3e50;
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section */
header {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: white;
    padding: 0 20px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.highlight {
    color: #3498db; /* Tech Blue */
}

.tagline {
    font-style: italic;
    color: #7f8c8d;
    margin-top: 10px;
}
/* Certifications Styles */
.certs-container {
    padding: 60px 10%;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.cert-card {
    background: white;
    padding: 20px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.cert-card:hover {
    transform: translateY(-5px); /* Lift effect when hovering */
    border-color: #3498db;
}

.cert-icon {
    font-size: 2.5rem;
    margin-right: 20px;
}

.cert-info h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.cert-info p {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.date {
    display: block;
    font-size: 0.8rem;
    color: #bdc3c7;
    margin-top: 5px;
}

.verify-link {
    margin-left: auto;
    font-size: 0.8rem;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

/* Placeholder Style */
.cert-card.placeholder {
    border: 2px dashed #bdc3c7;
    background: transparent;
    box-shadow: none;
}

/* Project Cards */
#projects {
    padding: 50px 5%;
}
.skills-section {
    padding: 60px 10%;
    background: #ffffff;
}

.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.skill-category h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    display: inline-block;
}

.skill-item {
    margin-bottom: 15px;
}

.skill-item span {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.progress-line {
    height: 8px;
    width: 100%;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.fill {
    display: block;
    height: 100%;
    width: 0%; /* Start at 0 for animation */
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 10px;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 4px solid #3498db;
}
/* About Me Styles */
.about-container {
    padding: 80px 10%;
    background-color: #ffffff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px; /* Space between image and text */
    flex-wrap: wrap; /* Makes it stack on mobile phones */
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.image-placeholder img {
    width: 300px;
    height: 300px;
    border-radius: 15px; /* Slightly rounded corners */
    object-fit: cover;
    border: 5px solid #f4f7f6;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
}

.edu-box {
    margin-top: 25px;
    padding: 15px;
    background: #ecf0f1;
    border-left: 5px solid #3498db;
}

.edu-box h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.edu-box ul {
    list-style: none;
}
.animation-visual {
    position: absolute;
    z-index: -1; /* Puts it behind the text */
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Make sure header is relative so visual stays inside */
header {
    position: relative;
    overflow: hidden;
}
.wave-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    gap: 4px;
    margin-top: 20px;
}

.dot {
    width: 6px;
    height: 20px;
    background-color: #3498db;
    border-radius: 3px;
    opacity: 0.6;
}
.cert-preview {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #eee;
}

.cert-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This crops the image to fit perfectly */
    transition: transform 0.3s ease;
}

.cert-card:hover .cert-preview img {
    transform: scale(1.1); /* Zoom effect on hover */
}
.extra-section {
    padding: 60px 10%;
    background-color: #fff;
}
.extra-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}
.extra-card {
    text-align: center;
    padding: 20px;
    width: 250px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: 0.3s;
}
.extra-card:hover {
    background: #eef7ff;
    transform: translateY(-5px);
}
.extra-card .icon {
    font-size: 3rem;
    margin-bottom: 10px;
}
.project-section {
    padding: 80px 10%;
    background-color: #f4f7f6;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border-top: 5px solid #3498db;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.2);
}

.project-tag {
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #3498db;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.project-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.project-details {
    margin-top: 15px;
    list-style: none;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
}

.project-details strong {
    color: #2c3e50;
}

/* Specific highlight for Data Science card */
.data-science {
    border-top-color: #2ecc71; /* Green for DS */
}

.data-science .project-tag {
    color: #2ecc71;
}
/* Mobile Optimization */
/* Mobile Optimization */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem; 
    }

    .about-content {
        flex-direction: column; 
        text-align: center;
    }

    .wave-container {
        transform: scale(0.7); 
    }

    nav ul {
        display: none; 
    }
} /* This closing bracket is essential! */
.bento-container {
    padding: 60px 10%;
    background: #f8f9fa;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 20px;
}

.bento-item {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #eef0f2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.15);
}

/* Bento Grid Sizing Logic */
.main-project { grid-column: span 2; grid-row: span 2; border-left: 6px solid #3498db; }
.skills-tall { grid-column: span 1; grid-row: span 2; }
.cert-small { grid-column: span 1; grid-row: span 1; border-top: 4px solid #2ecc71; }
.soft-skills { grid-column: span 1; grid-row: span 1; background: #2c3e50; color: white; }
.internship-goal { grid-column: span 2; grid-row: span 1; background: #eef7ff; }

/* Responsive (Mobile) */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .main-project, .skills-tall, .cert-small, .soft-skills, .internship-goal {
        grid-column: span 1;
        grid-row: span 1;
    }
}
.header-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.download-btn {
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #3498db;
}

.download-btn:hover {
    background-color: transparent;
    color: #3498db;
    transform: scale(1.05);
}

.contact-btn {
    background-color: transparent;
    color: #2c3e50;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #2c3e50;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #2c3e50;
    color: white;
}
.toolbox-section {
    padding: 60px 10%;
    background-color: #fff;
}

.toolbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.tool-category h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-bar {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.progress-bg {
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 5px;
    transition: width 1.5s ease-in-out; /* Smooth fill on load */
}

/* Language Tag Styling */
.lang-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lang-tag {
    background: #f1f3f5;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #495057;
    border: 1px solid #dee2e6;
}
.contact-section {
    padding: 80px 10%;
    background-color: #f4f7f6;
}

.contact-container {
   display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    min-height: 50vh;
    width: 100%
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    width: 350px;
    margin: 10px auto;
    text-align: center;
}

.info-item i {
    font-size: 1.5rem;
    color: #3498db;
}

.info-item h4 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.info-item a, .info-item p {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 0.95rem;
}

.contact-form {
    flex: 1.5;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #3498db;
}

.submit-btn {
    background-color: #3498db;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}
.contact-area {
    padding: 80px 10%;
    background-color: #f9f9f9;
}

.contact-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-sidebar {
    flex: 1;
    min-width: 280px;
}

.contact-card {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.contact-card i {
    font-size: 1.5rem;
    color: #3498db;
    margin-bottom: 10px;
}

.contact-card h4 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.contact-card a {
    color: #3498db;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
}

.contact-form-wrapper {
    flex: 2;
    min-width: 300px;
}


.main-contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.send-btn {
    background: #3498db;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.send-btn:hover {
    background: #2980b9;
}
.gallery-container {
    padding: 100px 10%;
    text-align: center;
}

.gallery-container h1 {
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.cert-preview img {
    width: 100%;
    height: 200px;
    object-fit: contain; /* Shows the whole certificate without cropping */
    background: #f0f0f0;
    border-bottom: 1px solid #ddd;
}
.final-thought {
    padding: 60px 10%;
    text-align: center;
    background: transparent;
}

.quote-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the content horizontally */
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.quote-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-color); /* Works with your new Dark Mode */
    margin: 15px 0;
    line-height: 1.6;
}

.quote-line {
    width: 50px;
    height: 3px;
    background: #3498db; /* Your signature blue color */
    margin: 10px 0;
    border-radius: 2px;
}

.location-tag {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7f8c8d;
}