/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Hero Section */
.hero-container {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(0, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    padding: 0 2rem;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.profile-image {
    position: relative;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    border: 3px solid transparent;
    background: linear-gradient(45deg, #00ffff, #0080ff, #8000ff);
    padding: 3px;
    will-change: transform;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.profile-photo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 3s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 50px rgba(0, 255, 255, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 80px rgba(0, 255, 255, 0.8); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-text {
    max-width: 800px;
}

.name-title {
    margin-bottom: 1.5rem;
}

.name {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00ffff, #0080ff, #8000ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5)); }
    to { filter: drop-shadow(0 0 30px rgba(128, 0, 255, 0.8)); }
}

.titles {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: #b0b0b0;
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 3rem;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-height: 44px;
    min-width: 44px;
}

.cta-primary {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.5);
}

.cta-secondary {
    background: transparent;
    color: #00ffff;
    border: 2px solid #00ffff;
}

.cta-secondary:hover {
    background: #00ffff;
    color: #000;
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #00ffff);
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #00ffff;
    border-bottom: 2px solid #00ffff;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* About Section */
.about-section {
    min-height: 100vh;
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00ffff, #0080ff, #8000ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #00ffff, #8000ff);
    margin: 0 auto;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.about-card:hover::before {
    left: 100%;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.5);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00ffff, #8000ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00ffff;
    margin-bottom: 1.5rem;
}

.education-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.education-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.education-item h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.education-item p {
    color: #b0b0b0;
    margin-bottom: 0.5rem;
}

.status {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.summary-text, .interest-text {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.summary-text strong, .interest-text strong {
    color: #00ffff;
}

.achievements-grid {
    display: grid;
    gap: 1rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #00ffff;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateX(10px);
}

.achievement-item i {
    font-size: 1.5rem;
    color: #00ffff;
}

.achievement-item h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.achievement-item p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* Skills Section */
.skills-section {
    min-height: 100vh;
    padding: 5rem 0;
    background: linear-gradient(135deg, #16213e 0%, #0f0f23 50%, #1a1a2e 100%);
    position: relative;
}

.section-subtitle {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin-top: 1rem;
    font-weight: 300;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.skill-card:hover::before {
    left: 100%;
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.6);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #00ffff, #8000ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #000;
}

.skill-card h3 {
    color: #00ffff;
    font-size: 1.3rem;
    font-weight: 600;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-name {
    color: #00ffff;
    font-weight: 500;
    min-width: 100px;
}

.skill-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #8000ff);
    border-radius: 4px;
    width: 0;
    transition: width 2s ease;
    position: relative;
    will-change: width;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skill-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.skill-tag:hover::before {
    left: 100%;
}

.skill-tag:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* Experience & Education Section */
.experience-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
}

.experience-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline-section {
    margin-bottom: 4rem;
}

.timeline-title {
    color: #00ffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-title i {
    font-size: 1.5rem;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2.5rem;
    border-left: 2px solid rgba(0, 255, 255, 0.3);
}

.timeline-marker {
    position: absolute;
    left: -8px;
    top: 0;
    width: 16px;
    height: 16px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border-radius: 50%;
    border: 3px solid #1a1a2e;
}

.timeline-marker.education {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.4);
}

.timeline-header {
    margin-bottom: 1.5rem;
}

.timeline-header h4 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.company {
    color: #00ffff;
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.duration {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.timeline-description p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.coursework {
    margin-top: 1.5rem;
}

.coursework h5 {
    color: #00ffff;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
}

.course-item {
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.course-item:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
    color: #00ffff;
}

/* Certifications Section */
.certifications-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 50%, #0a0a0a 100%);
    position: relative;
}

.certifications-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cert-category {
    margin-bottom: 4rem;
}

.category-title {
    color: #00ffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: center;
    justify-content: center;
}

.category-title i {
    font-size: 1.5rem;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cert-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-card:hover::before {
    opacity: 1;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.cert-card.hackerrank {
    border-color: rgba(0, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 128, 255, 0.05));
}

.cert-card.hackerrank:hover {
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.2);
}

.cert-card.hackerrank .cert-icon {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
}

.cert-card.leetcode {
    border-color: rgba(255, 193, 7, 0.5);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.05));
}

.cert-card.leetcode:hover {
    box-shadow: 0 15px 30px rgba(255, 193, 7, 0.3);
}

.cert-card.leetcode .cert-icon {
    background: linear-gradient(45deg, #ffc107, #ff9800);
    color: #000;
}

.cert-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cert-content {
    flex: 1;
}

.cert-content h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cert-content p {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.cert-issuer {
    color: #00ffff;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 1rem;
    background: rgba(255, 193, 7, 0.1);
    padding: 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.badge.gold {
    color: #ffd700;
    font-size: 0.9rem;
    font-weight: 700;
}

.badge.silver {
    color: #c0c0c0;
    font-size: 0.9rem;
    font-weight: 700;
}

.badge.bronze {
    color: #cd7f32;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    margin-bottom: 4rem;
}

.contact-info h3 {
    color: #00ffff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 44px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.contact-card.email {
    border-color: rgba(220, 53, 69, 0.3);
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(255, 99, 71, 0.05));
}

.contact-card.email::before {
    background: linear-gradient(90deg, transparent, #dc3545, transparent);
}

.contact-card.email:hover {
    box-shadow: 0 15px 30px rgba(220, 53, 69, 0.2);
}

.contact-card.email .contact-icon {
    background: linear-gradient(45deg, #dc3545, #ff6347);
    color: #fff;
}

.contact-card.linkedin {
    border-color: rgba(0, 119, 181, 0.3);
    background: linear-gradient(135deg, rgba(0, 119, 181, 0.1), rgba(72, 117, 180, 0.05));
}

.contact-card.linkedin::before {
    background: linear-gradient(90deg, transparent, #0077b5, transparent);
}

.contact-card.linkedin:hover {
    box-shadow: 0 15px 30px rgba(0, 119, 181, 0.2);
}

.contact-card.linkedin .contact-icon {
    background: linear-gradient(45deg, #0077b5, #4875b4);
    color: #fff;
}

.contact-card.github {
    border-color: rgba(88, 96, 105, 0.3);
    background: linear-gradient(135deg, rgba(88, 96, 105, 0.1), rgba(108, 117, 125, 0.05));
}

.contact-card.github::before {
    background: linear-gradient(90deg, transparent, #586069, transparent);
}

.contact-card.github:hover {
    box-shadow: 0 15px 30px rgba(88, 96, 105, 0.2);
}

.contact-card.github .contact-icon {
    background: linear-gradient(45deg, #586069, #6c757d);
    color: #fff;
}

.contact-card.resume {
    border-color: rgba(0, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 128, 255, 0.05));
}

.contact-card.resume::before {
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
}

.contact-card.resume:hover {
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.2);
}

.contact-card.resume .contact-icon {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-content {
    flex: 1;
    text-align: left;
}

.contact-content h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-content p {
    color: #e0e0e0;
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 1rem;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .titles {
        font-size: 1rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .profile-photo {
        width: 150px;
        height: 150px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .about-section, .skills-section, .experience-section, .certifications-section, .contact-section {
        padding: 3rem 0;
    }
    
    .about-content, .skills-container, .cert-grid, .contact-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-card, .skill-card, .cert-card {
        padding: 1.5rem;
    }
    
    .skill-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .skill-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .skill-name {
        min-width: auto;
        text-align: center;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-title {
        font-size: 1.5rem;
    }
    
    .cert-card, .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-content {
        text-align: center;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2rem;
    }
    
    .titles {
        font-size: 0.9rem;
    }
    
    .tagline {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .profile-photo {
        width: 120px;
        height: 120px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        justify-content: center;
    }
    
    body {
        overflow-x: hidden;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (hover: none) and (pointer: coarse) {
    .cta-primary, .cta-secondary, .contact-card {
        min-height: 44px;
        min-width: 44px;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 4rem;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
}

@media (max-width: 768px) {
    .particle {
        will-change: auto;
    }
}

@media print {
    .particles, .scroll-indicator {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section-title, .timeline-title, .category-title {
        color: black !important;
    }
}

.feedback-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 255, 255, 0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    max-width: 300px;
    text-align: center;
}
