* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #2c3e50;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #3498db;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.profile-img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 5px solid rgba(255,255,255,0.2);
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 0 10px 10px 0;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: transparent;
    border-color: #3498db;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    border-radius: 2px;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
}

.section-block {
    margin-top: 3rem;
}

.section-block h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h4 {
    color: #3498db;
    margin-bottom: 1rem;
}

/* Experience Section */
.experience {
    background: white;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.experience-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 5px solid #3498db;
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.company {
    color: #3498db;
    font-weight: 600;
}

.duration {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.experience-card ul {
    list-style: none;
}

.experience-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.experience-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Skills Section */
.skills {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.skill-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.skill-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

/* Enhanced Contact Section */
.contact {
    background: linear-gradient(135deg, #0f0f23 0%, #2c3e50 50%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    color: white;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="none"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-subtitle p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-top: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.info-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ecf0f1;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: scaleX(0);
    transition: transform 0.6s;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(52, 152, 219, 0.5);
    box-shadow: 0 25px 50px rgba(52, 152, 219, 0.2);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #ecf0f1;
}

.contact-link {
    color: #3498db !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #5dade2 !important;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.qr-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.qr-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.qr-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s;
}

.qr-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.qr-card:hover::before {
    left: 100%;
}

.qr-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.qr-header i {
    font-size: 2rem;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.qr-header h4 {
    color: #ecf0f1;
    font-size: 1.3rem;
    margin: 0;
}

.qr-image-wrapper {
    position: relative;
    margin: 1.5rem 0;
}

.qr-image {
    max-width: 160px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.qr-card:hover .qr-image {
    transform: scale(1.05);
}

.scan-hint {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin: 0.5rem 0;
    font-weight: 500;
}

.btn-upwork {
    background: linear-gradient(135deg, #1a82d4, #1890e8);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.btn-upwork:hover, .btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.float-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.1);
    animation: float 6s ease-in-out infinite;
}

.circle-1 { width: 80px; height: 80px; top: 20%; left: 10%; animation-delay: 0s; }
.circle-2 { width: 120px; height: 120px; top: 60%; right: 15%; animation-delay: 2s; }
.circle-3 { width: 60px; height: 60px; bottom: 20%; left: 20%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Footer */
footer {
    background: #1a252f;
    color: #7f8c8d;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    .nav-menu.active { left: 0; }
    
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-text h1 { font-size: 2.5rem; }
    
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .qr-container { gap: 1.5rem; }
    .info-card { padding: 1.5rem; }
    .qr-card { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
    .section-title { font-size: 2rem; }
    .hero-text h1 { font-size: 2rem; }
    section { padding: 60px 0; }
    .info-card { flex-direction: column; text-align: center; gap: 1rem; }
    .icon-wrapper { width: 50px; height: 50px; font-size: 1.2rem; }
}