/* Reset and Base Styles */
* {
    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: #fefefe;
}

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

/* Color Variables */
:root {
    --primary-color: #7FB3D3;     /* Pastel Blue */
    --secondary-color: #A8D8A8;   /* Pastel Green */
    --accent-color: #E6D3A3;      /* Beige */
    --dark-color: #2C3E50;
    --light-color: #FFFFFF;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e1e8ed;
    --shadow: 0 2px 20px rgba(127, 179, 211, 0.1);
    --shadow-hover: 0 5px 30px rgba(127, 179, 211, 0.2);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fcff 0%, #e8f4fd 100%);
    padding-top: 70px;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.name-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 40px;
    line-height: 1.8;
    font-style: italic;
    padding: 20px;
    background: rgba(127, 179, 211, 0.1);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--light-color);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: #6ba3c7;
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--light-color);
    font-size: 1.2rem;
    font-weight: 500;
    box-shadow: var(--shadow-hover);
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: var(--accent-color);
    animation: float 4s ease-in-out infinite;
    opacity: 0.7;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: var(--delay);
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: var(--delay);
}

.floating-icon:nth-child(3) {
    top: 10%;
    right: 20%;
    animation-delay: var(--delay);
}

.floating-icon:nth-child(4) {
    bottom: 20%;
    left: 20%;
    animation-delay: var(--delay);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--light-color);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-color);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: rgba(127, 179, 211, 0.05);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.highlight-item span {
    font-weight: 500;
    color: var(--text-color);
}

/* Experience Section */
.experience {
    background: #f8fcff;
}

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

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 80px;
}

.timeline-dot {
    position: absolute;
    left: 22px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--light-color);
    box-shadow: var(--shadow);
}

.timeline-content {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.timeline-subtitle {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline-period {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 500;
}

.timeline-description {
    color: var(--text-color);
    line-height: 1.6;
}

/* Education Section */
.education {
    background: var(--light-color);
}

.education-content {
    max-width: 600px;
    margin: 0 auto;
}

.education-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #f8fcff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.education-icon {
    background: var(--primary-color);
    color: var(--light-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.education-degree {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.education-university {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.education-period {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 15px;
}

.education-description {
    color: var(--text-color);
    line-height: 1.6;
}

/* Skills Section */
.skills {
    background: #f8fcff;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.skill-category {
    background: var(--light-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(127, 179, 211, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(127, 179, 211, 0.1);
    transform: translateX(5px);
}

.skill-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 20px;
}

.skill-item span {
    color: var(--text-color);
    font-weight: 500;
}

/* Certificates Section */
.certificates {
    background: var(--light-color);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.certificate-card {
    background: #f8fcff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    text-align: center;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.certificate-icon {
    background: var(--secondary-color);
    color: var(--light-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
}

.certificate-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.certificate-description {
    color: var(--text-color);
    line-height: 1.6;
}

/* Community Section */
.community {
    background: #f8fcff;
}

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

.community-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    text-align: center;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.community-icon {
    background: var(--accent-color);
    color: var(--dark-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.community-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.community-role {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.community-description {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    background: var(--light-color);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px;
    background: #f8fcff;
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    min-width: 150px;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: var(--primary-color);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-item span {
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    color: #b8c3d0;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-link {
    color: #b8c3d0;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--light-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .image-placeholder {
        width: 280px;
        height: 280px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .education-card {
        flex-direction: column;
        text-align: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-top: 30px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .image-placeholder {
        width: 220px;
        height: 220px;
    }
    
    .image-placeholder i {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .experience-timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 12px;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text > * {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.hero-title {
    animation-delay: 0.1s;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.hero-description {
    animation-delay: 0.3s;
}

.hero-buttons {
    animation-delay: 0.4s;
}
