:root {
    --dark-bg: #121212;
    --dark-teal: #006d6d;
    --light-teal: #00a3a3;
    --text-light: #e0e0e0;
    --social-size: 40px;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header h1 {
    text-align: center;
    color: var(--light-teal);
    margin-bottom: 40px;
    font-size: 2.5rem;
}

/* Profile Section */
.profile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.profile-content {
    flex: 1;
}

.profile-content h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--light-teal);
}

.profile-content .title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 5px;
}

.profile-content .location {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 0;
}

.profile-image {
    flex: 0 0 300px;
    margin-left: 50px;
}

.profile-image img {
    width: 100%;
    border-radius: 10px;
    border: 3px solid var(--dark-teal);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    loading: lazy;
}

/* Social Bar */
.social-bar {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: var(--social-size);
    height: var(--social-size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.instagram { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
.linkedin { background-color: #0077B5; }
.github { background-color: #333; }
.facebook { background-color: #3b5998; }
.email { background-color: var(--light-teal); }

/* Certifications Section */
.certifications {
    margin-top: 50px;
    text-align: center;
}

.certifications h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--light-teal);
}

.cert-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.cert-card {
    width: 224px; /* 200px image + 12px padding x2 */
    height: 224px;
    background: rgba(30, 30, 30, 0.7);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

/* Border Colors */
.blue-border { border: 2px solid #1a73e8; }
.green-border { border: 2px solid #0f9d58; }
.black-border { border: 2px solid #333; }

.cert-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 163, 163, 0.3);
}

.more-certs {
    margin-top: 30px;
}

.more-certs a {
    color: var(--light-teal);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.more-certs a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 900px) {
    .cert-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .profile {
        flex-direction: column;
    }
    
    .profile-image {
        margin: 30px 0 0 0;
        flex: 0 0 auto;
    }
    
    .social-bar {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .cert-card {
        width: 200px;
        height: 200px;
    }
}
/* "Other Certificates" Box */
.more-certs-box {
    text-align: center;
    margin-top: 40px;
    padding: 12px 0;
}

.more-certs-link {
    display: inline-block;
    padding: 12px 24px;
    background-color: rgba(30, 30, 30, 0.7);
    color: var(--light-teal);
    text-decoration: none;
    font-size: 1.1rem;
    border: 2px solid var(--light-teal);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.more-certs-link:hover {
    background-color: var(--light-teal);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 163, 163, 0.3);
}
