/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #222;
    color: white;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #e73c7e;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.menu-toggle.active {
    color: #e73c7e;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.nav-links a:hover {
    color: #e73c7e;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: white;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-title .greeting {
    display: block;
    font-weight: 300;
    font-size: 1.8rem;
}

.hero-title .name {
    font-weight: bold;
    display: block;
    font-size: 2.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: #950101;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #278783;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-social-links {
    position: absolute;
    bottom: 40px;
    display: flex;
    gap: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-social-links a {
    color: white;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-social-links a:hover {
    color: #e73c7e;
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin: 40px 0;
    position: relative;
    color: #333;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #ee7752, #e73c7e);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f9f9f9;
}

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

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.profile-img {
    width: 300px;
    height: 300px;
    position: relative;
    flex-shrink: 0;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.profile-img:hover img {
    transform: scale(1.03);
}

.circle-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px dashed #e73c7e;
    border-radius: 20px;
    z-index: -1;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bio {
    flex: 1;
}

.intro-text, .passion-text {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.passion-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-style: italic;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tag {
    background: #ee7752;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #e73c7e;
    transform: translateY(-2px);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: #e73c7e;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background: #ee7752;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(238, 119, 82, 0.4);
}

/* Resume Download Section */
.resume-download {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.resume-download h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5rem;
}

.certifications {
    margin-top: 30px;
}

.certifications h4 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.2rem;
}

.badges-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
}

.badge-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.badge-item img:hover {
    transform: scale(1.1);
}

/* Skills Section */
.skills {
    padding: 80px 0;
    background: white;
}

.skills-container {
    display: flex;
    gap: 40px;
}

.skills-progress, .skills-tagcloud {
    flex: 1;
}

.skills-progress h3, .skills-tagcloud h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5rem;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-info span:first-child {
    font-weight: 600;
    color: #333;
}

.skill-info span:last-child {
    color: #e73c7e;
    font-weight: 600;
}

.progress-bar {
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #ee7752, #e73c7e);
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

/* Education Section */
.education {
    padding: 80px 0;
    background: #f9f9f9;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #ee7752, #e73c7e);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    padding: 0 20px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    position: relative;
    left: 0;
    transform: none;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    color: #e73c7e;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: inline-block;
    margin-bottom: 15px;
}

.timeline-content {
    width: 100%;
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: #333;
}

.institution {
    font-weight: 600;
    color: #e73c7e;
    margin-bottom: 10px;
    display: block;
}

.description {
    color: #666;
    line-height: 1.6;
}

/* Interests Section */
.interests {
    padding: 80px 0;
    background: white;
}

.interest-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(238, 119, 82, 0.2);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ee7752, #e73c7e);
    color: white;
    border-radius: 50%;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    transform: rotate(15deg) scale(1.1);
}

.card h3 {
    margin-bottom: 15px;
    color: #333;
}

.card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.tags span {
    background: #f0f0f0;
    color: #e73c7e;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background: #f9f9f9;
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    background: #e73c7e;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: #ee7752;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.project-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-links {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(231, 60, 126, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-links {
    opacity: 1;
}

.project-links a {
    color: white;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.project-links a:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-bottom: 10px;
    color: #333;
}

.project-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    background: #f0f0f0;
    color: #e73c7e;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: #f9f9f9;
    padding: 0 5px;
    font-size: 0.9rem;
    color: #e73c7e;
    z-index: 1;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #e73c7e;
    box-shadow: 0 0 0 2px rgba(231, 60, 126, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #e73c7e;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #ee7752;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(238, 119, 82, 0.4);
}

.contact-info {
    padding: 20px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #333;
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #e73c7e;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.5rem;
    color: #e73c7e;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(238, 119, 82, 0.1);
}

.info-item h4 {
    color: #333;
    margin-bottom: 5px;
}

.info-item a, .info-item p {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #e73c7e;
}

/* Footer */
footer {
    background: #222;
    color: white;
    padding: 50px 5% 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    margin-bottom: 20px;
    position: relative;
    font-size: 1.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #e73c7e;
}

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

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

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #e73c7e;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #e73c7e;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-img {
        margin-bottom: 30px;
    }
    
    .skills-container {
        flex-direction: column;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #222;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-title .greeting {
        font-size: 1.5rem;
    }
    
    .hero-title .name {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-date {
        position: relative;
        left: 0;
        margin-bottom: 15px;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-title .greeting {
        font-size: 1.3rem;
    }
    
    .hero-title .name {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .profile-img {
        width: 250px;
        height: 250px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .footer-col {
        min-width: 100%;
    }
    
    .footer-container {
        gap: 20px;
    }
    
    .hero-social-links {
        bottom: 20px;
    }
    
    .hero-social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}