/* Base layout and typography */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f9ff;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 960px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

/* Header styling */
header {
    text-align: center;
    background: linear-gradient(135deg, #1a73e8, #4fc3f7);
    color: white;
    padding: 60px 20px;
    border-radius: 18px;
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

header p {
    margin: 6px 0;
    font-size: 1.1rem;
}

header a {
    color: #fff;
    margin: 0 10px;
    font-weight: 500;
    text-decoration: underline;
}

/* Profile Picture */
.profile-pic {
    width: 180px; /* increased from 120px */
    height: 180px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
}


h2 {
    margin-top: 40px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    font-size: 1.5rem;
}

.cert-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 15px 0;
}

/* Lists and badges */
ul {
    padding-left: 20px;
    margin-bottom: 30px;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 25px 0;
    padding: 10px 0;
}

.cert-badges img {
    height: 100px; /* increased from 60px */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
    border-radius: 8px;
    background: white;
    padding: 5px;
}

.cert-badges img:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}


/* Call-to-action button */
.download-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1a73e8;
    color: white;
    padding: 12px 22px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-weight: bold;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: background 0.3s ease;
}

.download-btn:hover {
    background: #0c54b8;
}

/* Toggle dark mode */
#toggle-theme {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #e6f0ff;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    color: #1a73e8;
    font-weight: bold;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.dark-mode {
    background-color: #111827;
    color: #d1d5db;
}

.dark-mode .container {
    background: #1f2937;
    color: #e5e7eb;
}

.dark-mode header {
    background: linear-gradient(135deg, #1a73e8, #3b82f6);
}

.dark-mode .download-btn {
    background: #3b82f6;
}

.dark-mode #toggle-theme {
    background: #374151;
    color: white;
}

#visitor-count {
    font-weight: bold;
    color: #1a73e8;
    font-size: 1.2rem;
  }
  
  p.visitor-info {
    text-align: center;
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
  }
  