* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f2f0ff;
}

#hero-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    width: 100%;
    height: 500px;
    background-color: #6b64f3;
}

#hero-section img {
    border-radius: 8px;
    width: 300px;
    height: 300px;
}

#title h1 {
    font-size: 2.5rem;
    color: white;
}

#title h2 {
    font-size: 1.5rem;
    color: white;
    margin-top: 8px;
}

#title button {
    margin-top: 24px;
}

/* From Uiverse.io by ShrinilDhorda */
.button {
    padding: 0.8rem 4rem;
    border: none;
    outline: none;
    font-size: 1.3rem;
    border-radius: 0.3rem;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.953);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: 0.4s ease-in-out;
    text-decoration: none;
    display: inline-block;
}

.button .text {
    position: absolute;
    left: 1.8rem;
    top: 1.3rem;
    transition: 0.4s ease-in-out;
    color: rgb(50, 50, 50);
}

.svg {
    transform: translateY(-20px) rotate(30deg);
    opacity: 0;
    width: 2rem;
    transition: 0.4s ease-in-out;
}

.button:hover {
    background-color: rgb(50, 50, 50);
}

.button:hover .svg {
    display: inline-block;
    transform: translateY(0px) rotate(0deg);
    opacity: 1;
}

.button:hover .text {
    opacity: 0;
}

.button:active {
    transform: scale(0.97);
}

#download-resume-btn {
    margin-top: 20px;
}

.dock-wrapper {
    position: relative;
    padding: 10px;
}

.dock-blur {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(18px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.dock {
    position: relative;
    align-self: flex-end;
    display: flex;
    gap: 10px;
    padding: 8px;
}

.btn {
    width: 56px;
    height: 56px;
    clip-path: url(#squircleClip);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.btn svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.btn:hover {
    transform: scale(1.12) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.github {
    background: linear-gradient(135deg, #555, #111);
}

.linkedin {
    background: linear-gradient(135deg, #2b7fff, #0a3b8c);
}

.email {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.phone {
    background: linear-gradient(135deg, #00e676, #009688);
}

.card {
    margin: 12px 40px;
    padding: 24px;
    border-radius: 12px;
    background-color: #f5f5f5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-title {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 1.8rem;
    width: 80%;
    margin-top: 1rem;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #6b64f3;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 90% 90%, 0% 100%);
}

#skills .card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 20px;
    padding: 20px 24px;
    list-style-type: disc;
    list-style-position: inside;
}

#skills .card li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    padding-left: 6px;
}

#skills .card li::marker {
    color: #6b64f3;
}


#experience .card p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333;
}

#experience .card p strong {
    color: #6b64f3;
    font-weight: 600;
}

#experience .card ul {
    list-style-type: disc;
    padding-left: 24px;
    margin-top: 12px;
}

#experience .card ul li {
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #555;
}

#education .card p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333;
}

#education .card p:first-child {
    font-weight: 600;
    color: #6b64f3;
}

#education .card p:nth-child(3) {
    font-style: italic;
    color: #555;
}

#education .card p:last-child {
    font-weight: 500;
    color: #444;
}

footer {
    display: flex;
    margin-top: 48px;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    padding: 12px;
    background-color: #6b64f3;
    color: white;
}

footer p {
    text-align: center;
    font-size: 0.9rem;
    width: 100%;
}

.map-container {
    width: 300px;
    height: 300px;
    margin: 20px auto; /* center it */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.third-col {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.third-col .map-container {
    align-self: flex-start;
    margin-left: 24px;
}

.third-col .dock {
    align-self: flex-start;
    margin-right: 24px;
}