* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #00bcce;
    padding: 15px 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

nav a:hover {
    opacity: 0.8;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo:hover {
    opacity: 0.9;
}

main {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    flex: 1;
}

.hero {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #00b7ff;
    margin-bottom: 15px;
}

.hero h1 {
    color: #111827;
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.hero .title {
    color: #111827;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero .bio {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.about-skills {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.about-skills h2 {
    color: #111827;
    border-bottom: 3px solid #00b7ff;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 25px;
}

.history h3, .skills h3 {
    color: #111827;
    margin: 15px 0 10px 0;
}

.history ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.history li {
    margin-bottom: 8px;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.badge {
    background-color: #00b7ff;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

footer {
    background-color: #111827;
    color: #ffffff;
    text-align: center;
    padding: 15px 0;
    margin-top: auto;
}

.contact-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.contact-section h1 {
    font-size: 2.2rem;
    color: #111827;
    margin-bottom: 8px;
}

.subtitle {
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.contact-card:hover {
    border-color: #00b7ff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.card-icon {
    width: 48px;
    height: 48px;
    background-color: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.card-icon svg {
    width: 22px;
    height: 22px;
    stroke: #00b7ff;
    stroke-width: 2;
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-info .label {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
}

.card-info .value {
    font-size: 0.95rem;
    color: #1f2937;
    font-weight: 600;
}

.projects-section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.project-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 8px;
}

.project-content p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    font-size: 0.75rem;
    color: #4b5563;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: monospace;
}

.cert-section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.cert-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.cert-title {
    font-size: 2rem;
    color: #0f172a;
    font-weight: 800;
    margin: 0;
}

.title-underline {
    width: 36px;
    height: 4px;
    background-color: #2563eb;
    border-radius: 2px;
    margin-top: 8px;
    margin-bottom: 32px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.cert-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cert-image {
    width: 100%;
    height: 180px;
    background-color: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cert-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.cert-content {
    text-align: center;
    padding-top: 20px;
}

.cert-content h3 {
    font-size: 1rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.cert-content .issuer {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 16px;
}

.cert-divider {
    width: 100%;
    height: 1px;
    background-color: #f1f5f9;
    margin-bottom: 12px;
}

.cert-content .issued-date {
    font-size: 0.8rem;
    color: #94a3b8;
}

.cert-content .issued-date span {
    color: #475569;
    font-weight: 600;
}
