* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #2c3e50;
    position: relative;
}

/* Navigation */
.navbar2 {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    height: 44px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s;
}

.nav-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-links2 {
    display: flex;
    list-style: none;
    justify-content: center;
    flex: 1;
    margin: 0 auto;
    padding: 0;
}

.nav-links2 li {
    margin: 0 10px;
}

.nav-links2 a {
    color: #f5f5f7;
    font-size: 12px;
    opacity: 0.8;
    transition: opacity 0.3s;
    text-decoration: none;
}

.nav-links2 a:hover {
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #f5f5f7;
    font-size: 18px;
    cursor: pointer;
}

/* Introduction Section */
.intro-section {
    padding-top: 120px;
    min-height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.intro-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-title {
    font-family: 'Raleway', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.highlight {
    color: #000000;
}

.intro-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.intro-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
    max-width: 600px;
}

.btn {
    display: inline-block;
    background-color: #000000;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #000000;
    transition: all 0.3s;
    margin-right: 15px;
    margin-bottom: 10px;
}

.btn:hover {
    background-color: white;
    color: #000000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: #000000;
}

.btn-outline:hover {
    background-color: #000000;
    color: white;
}

.intro-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-container {
    width: 400px;
    height: 500px;
    
    overflow: hidden;
   
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Experience Section */
.experience-section {
    background-color: white;
}

.experience-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.card-subtitle {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 5px;
    font-weight: 500;
}

.card-date {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 15px;
    font-weight: 500;
}

.card-desc {
    color: #555;
}

/* Education Section */
.education-section {
    background-color: #f8f9fa;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #000000;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 1;
    padding: 10px 20px;
    background-color: #000000;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    align-self: center;
    z-index: 1;
}

.timeline-content {
    flex: 2;
    padding: 25px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 0 30px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #000000;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -40px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -40px;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.timeline-subtitle {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 500;
}

.timeline-desc {
    color: #555;
}

/* Projects Section */
.projects-section {
    background-color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 180px;
    background: linear-gradient(135deg, #000000, #2c3e50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.project-desc {
    color: #555;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.project-tech span {
    background-color: #e8f4fc;
    color: #000000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.project-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.project-link:hover {
    color: #2980b9;
}

.project-link:hover i {
    transform: translateX(5px);
}

/* Skills Section */
.skills-section {
    background-color: #f8f9fa;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.skills-category {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.skills-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.skill-item {
    margin-bottom: 25px;
}

.skill-item p {
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.skill-bar {
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: linear-gradient(90deg, #000000, #2c3e50);
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

.additional-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-box {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-box h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.info-box ul {
    list-style-type: none;
}

.info-box li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.info-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #000000;
    margin-right: 15px;
    width: 30px;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.contact-item p {
    color: #555;
}

.social-links {
    margin-top: 40px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #f0f0f0;
    border-radius: 50%;
    color: #555;
    font-size: 1.3rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon.github:hover {
    background-color: #333;
    color: white;
}

.social-icon.credly:hover {
    background-color: #ff6b00;
    color: white;
}

.social-icon.whatsapp:hover {
    background-color: #25d366;
    color: white;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #000000;
}

.contact-form button {
    width: 100%;
}

/* Footer */
.footer2 {
    background-color: #f5f5f7;
    color: #6e6e73;
    font-size: 12px;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #d2d2d7;
}

.footer-column h4 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #424245;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal a {
    color: #424245;
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 734px) {
    .nav-links2 {
        display: none;
        position: fixed;
        top: 44px;
        left: 0;
        width: 100%;
        height: calc(100vh - 44px);
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 60px 25px;
        transition: transform 0.4s ease, opacity 0.3s ease;
        transform: translateY(-100%);
        opacity: 0;
        overflow-y: auto;
    }

    .nav-links2.show {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links2 li {
        width: 100%;
        margin: 7px 0;
        padding-bottom: 12px;
    }

    .nav-links2 a {
        font-size: 24px;
        color: #f5f5f7;
        opacity: 1;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1100;
    }

    body.menu-open {
        overflow: hidden;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .intro-content {
        flex-direction: column;
        text-align: center;
    }
    
    .intro-desc {
        margin: 0 auto 30px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-date {
        flex: 0 0 120px;
        margin-right: 20px;
    }
    
    .timeline-content {
        margin-left: 80px;
        margin-right: 0;
    }
    
    .timeline-content::before {
        left: -40px !important;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .intro-title {
        font-size: 2.5rem;
    }
    
    .timeline-date {
        flex: 0 0 100px;
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    .timeline-content {
        margin-left: 60px;
    }
    
    .image-container {
        width: 300px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-legal {
        margin-top: 10px;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .image-container {
        width: 300px;
        height: 400px;
    }
    
    .skills-container,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .experience-cards,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
}