/* Fonts and Reset */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1f1f1f, #333);
    color: #fff;
    scroll-behavior: smooth;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    background-color: #d8a7a7;
    color: darksalmon;
    padding: 10px 20px;
}

.logo {
    color:ghostwhite;
    font-size: 26px;
    font-weight:bolder;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration:lightcyan;
    padding: 5px 10px;
}

nav ul li a:hover, .active {
    background-color: #555;
    border-radius: 5px;
}

h1 {
    text-align: center;
    margin-top: 40px;
}

.about-page {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
}





header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #222;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size:25PX;
    font-weight:bold
}

nav a {
    text-decoration: none;
    color: #ccc;
    margin-left: 20px;
    transition: color 0.3s;
}

nav a:hover {
    color: #00bfff;
}

#theme-toggle {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.2em;
    cursor: pointer;
    transition: color 0.3s;
}

#theme-toggle:hover {
    color: #00bfff;
}

.section {
    padding: 60px 20px;
    text-align: center;
}

.profile-container {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid #00bfff;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.skills-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.skill {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    width: 120px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill i {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.skill:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,191,255,0.5);
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.gallery-container img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,191,255,0.5);
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

input, button {
    padding: 12px;
    width: 280px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
}

input {
    background-color: #444;
    color: #fff;
}

input::placeholder {
    color: #aaa;
}

button {
    background-color: #00bfff;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #009acd;
}

footer {
    background-color: #222;
    padding: 20px;
    text-align: center;
}

.social-icons a {
    color: #ccc;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #00bfff;
}

/* Dark Mode */
body.dark-mode {
    background: linear-gradient(135deg, #121212, #1a1a1a);
    color: #ddd;
}

body.dark-mode header {
    background-color: #111;
}

body.dark-mode nav a {
    color: #aaa;
}

body.dark-mode nav a:hover {
    color: #00bfff;
}

body.dark-mode #theme-toggle {
    color: #aaa;
}

body.dark-mode #theme-toggle:hover {
    color: #00bfff;
}

body.dark-mode .skill {
    background-color: #222;
}

body.dark-mode .gallery-container img {
    border: 2px solid #444;
}