/* Apple-Inspired Glassmorphism Design for S4137 */
:root {
    --ios-bg: #f5f5f7;
    --ios-blue: #007aff;
    --glass: rgba(255, 255, 255, 0.5);
    --border: rgba(255, 255, 255, 0.3);
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
}

body {
    background-color: var(--ios-bg);
    color: #1d1d1f;
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.5;
}

/* Decorative background elements */
.background-blobs {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: radial-gradient(circle at 15% 25%, rgba(0, 122, 255, 0.08) 0%, transparent 45%),
                radial-gradient(circle at 85% 75%, rgba(0, 122, 255, 0.08) 0%, transparent 45%);
    z-index: -1;
    pointer-events: none;
}

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

header { 
    margin-bottom: 60px; 
}

.logo { 
    font-size: 2.2rem; 
    font-weight: 800; 
    letter-spacing: -1.5px; 
}

.logo span { 
    color: var(--ios-blue); 
}

/* Main Profile Card */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border);
    border-radius: 35px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}

.badge {
    background: var(--ios-blue);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

h1 { 
    font-size: 3rem; 
    margin: 25px 0; 
    letter-spacing: -1px; 
    font-weight: 700; 
}

.main-hero p { 
    color: #86868b; 
    font-size: 1.2rem; 
    margin-bottom: 30px; 
    max-width: 600px; 
    margin: 0 auto 30px; 
}

/* Skills chips styling */
.skills-chips { 
    display: flex; 
    justify-content: center; 
    gap: 12px; 
    flex-wrap: wrap; 
}

.chip { 
    background: rgba(255,255,255,0.7); 
    padding: 10px 20px; 
    border-radius: 18px; 
    font-size: 0.95rem; 
    border: 1px solid var(--border); 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-weight: 500; 
    color: #1d1d1f;
}

.section-title { 
    margin: 80px 0 35px; 
    font-size: 2rem; 
    font-weight: 700; 
    letter-spacing: -0.5px; 
}

.section-title span { 
    color: var(--ios-blue); 
}

/* Portfolio Grid */
.projects-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
}

.project-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 28px;
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.img-placeholder { 
    height: 180px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 3.5rem; 
    color: rgba(0,0,0,0.1); 
}

.project-info { 
    padding: 25px; 
    text-align: left; 
}

.project-info h3 { 
    font-size: 1.3rem; 
    margin-bottom: 5px; 
    font-weight: 600; 
    color: #1d1d1f;
}

.project-subtitle { 
    font-weight: 600; 
    color: var(--ios-blue); 
    margin-bottom: 10px; 
    font-size: 0.9rem; 
}

/* Features list within cards */
.project-features { 
    list-style: none; 
    padding: 0; 
    margin-top: 15px; 
}

.project-features li { 
    font-size: 0.85rem; 
    color: #636366; 
    margin-bottom: 6px; 
    position: relative; 
    padding-left: 15px; 
}

.project-features li::before { 
    content: "•"; 
    color: var(--ios-blue); 
    position: absolute; 
    left: 0; 
    font-weight: bold; 
}

/* Footer & Contact */
.contact-area { 
    text-align: center; 
    margin-top: 40px; 
}

.contact-links { 
    display: flex; 
    gap: 20px; 
    justify-content: center; 
    flex-wrap: wrap; 
    margin-top: 25px; 
}

.glass-btn {
    padding: 18px 40px;
    border-radius: 22px;
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex; 
    align-items: center; 
    gap: 12px;
    cursor: pointer;
}

.whatsapp { 
    background: rgba(37, 211, 102, 0.1); 
    color: #25D366; 
}

.email { 
    background: rgba(0, 122, 255, 0.1); 
    color: var(--ios-blue); 
}

.glass-btn:hover { 
    transform: scale(1.05); 
    background: rgba(255, 255, 255, 0.8); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 40px 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .glass-card {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}