@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

:root {
    --primary: #0077b6;
    --secondary: #48cae4;
    --bg: #f0f8ff;
    --text-dark: #222;
    --text-light: #fff;
    --card-bg: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --radius: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    color: var(--text-dark);
    line-height: 1.6;
    padding: 1rem;
}

header {
    text-align: center;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--text-light);
    padding: 3rem 1rem 2rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.profile-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.bio {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section {
    background: var(--card-bg);
    margin: 1.5rem auto;
    padding: 2rem;
    max-width: 800px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.section h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
    padding-bottom: 0.2rem;
}

.section ul {
    list-style: square;
    padding-left: 1.5rem;
}

.connect-card {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
}

#dark-mode-toggle:checked ~ .connect-card {
  background-color: #1e1e1e;
}

.connect-icons {
  margin-top: 1rem;
}

.connect-icons a {
  margin: 0 15px;
  display: inline-block;
  transition: transform 0.3s, fill 0.3s;
}

.connect-icons .icon {
  width: 32px;
  height: 32px;
  fill: #0077b6;
}

#dark-mode-toggle:checked ~ .connect-card .icon {
  fill: #90e0ef;
}

.connect-icons a:hover {
  transform: scale(1.2);
  fill: #023e8a;
}


.resume-card {
  text-align: center;
  background: var(--card-bg);
  margin: 2rem auto;
  padding: 2rem;
  max-width: 800px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

form input, form textarea {
    padding: 0.9rem;
    font-size: 1rem;
    border-radius: var(--radius);
    border: 1px solid #ccc;
    width: 100%;
    transition: border 0.3s;
    background-color: #fdfdfd;
}

form input:focus, form textarea:focus {
    border-color: var(--primary);
    outline: none;
}

form button {
    padding: 0.9rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background: var(--secondary);
}

footer {
    text-align: center;
    padding: 1.5rem;
    background: var(--primary);
    color: white;
    margin-top: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

