/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #fff;
    line-height: 1.6;
    padding: 20px;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

html {
    scroll-behavior: smooth; /* Enable smooth scrolling */
    scroll-snap-type: y proximity ; /* Snap scrolling vertically */
}



/* General Navbar Styling (Desktop) */
#navbar {
    background-color: rgba(28, 40, 51, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: flex-end; /* Align items to the right */
    align-items: center;
    border-bottom: 2px solid #00bcd4;
}

/* Remove list styling */
#navbar ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

#navbar ul li {
    margin: 0 10px;
}

#navbar ul li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: #ecf0f1;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#navbar ul li a:hover {
    background-color: #00bcd4;
    color: #121212;
}

/* Show the hamburger on small screens */
.hamburger {
    display: none; /* Hide by default */
    font-size: 24px;
    color: #ecf0f1;
    cursor: pointer;
}

/* Responsive Design for Small Screens */
@media (max-width: 768px) {
    #navbar {
        justify-content: space-between; /* Add space between items */
        padding: 10px; /* Reduce padding */
    }

    #navbar ul {
        display: none; /* Initially hide the menu */
        flex-direction: column; /* Stack links vertically when visible */
        background-color: rgba(28, 40, 51, 0.9); /* Faded background */
        position: absolute;
        top: 60px; /* Below the navbar */
        right: 10px;
        width: 200px;
        border-radius: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    #navbar ul li {
        margin: 0;
    }

    #navbar ul li a {
        padding: 10px;
        text-align: center;
        border-bottom: 1px solid #00bcd4; /* Add dividers between links */
    }

    #navbar ul li a:last-child {
        border-bottom: none;
    }

    /* Show the hamburger icon on mobile */
    .hamburger {
        display: block; /* Show hamburger on small screens */
    }

    /* Show Menu When Active */
    #navbar ul.active {
        display: flex;
    }
}

/* Profile Section */
header {
    margin-top: 20px;
    text-align: center;
}

header .profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

header img {
    width: 120px; /* Reduce size on smaller screens */
    height: 120px;
    border-radius: 50%;
    border: 4px solid #00bcd4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 24px; /* Adjust font size */
    font-weight: bold;
    color: #00bcd4;
    margin: 10px 0;
}

header p {
    font-size: 14px;
    color: #ecf0f1;
    max-width: 300px; /* Limit text width */
    line-height: 1.6;
}



.profile-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-photo {
    border-radius: 50%;
    width: 170px;
    height: 170px;
    object-fit: cover;
}

.header-text {
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    color: #00bcd4;
}

h2 {
    font-size: 2rem;
    border-bottom: 2px solid #00bcd4;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-top: 20px;
    color: #00bcd4;
}

a {
    color: #00bcd4;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

section {
    margin-bottom: 40px;
}

/* Big Dotted List */
ul {
    list-style: none; /* Remove default bullets */
    padding-left: 20px; /* Add some space before the list */
}

ul li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 30px; /* Space for big dot */
}

ul li::before {
    content: '\2022'; /* Unicode for bullet (•) */
    font-size: 30px; /* Size of the bullet */
    color: #00bcd4; /* Bullet color */
    position: absolute;
    left: 0; /* Position bullet to the left */
    top: 0;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8rem;
}

footer p {
    color: #bbb;
}

/* Links and Buttons */
button, a {
    color: #00bcd4;
    transition: color 0.3s;
}

button:hover, a:hover {
    color: #ff4081; /* Slight color change on hover */
}

/* New Typography */
body {
    font-family: 'Roboto', Arial, sans-serif;
}

/* Enhanced Navbar */
#navbar {
    background: linear-gradient(90deg, #1b2838, #223344);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}


/* Section Headers */
h2 {
    font-size: 2.2rem;
    color: #00bcd4;
    text-align: center;
    border-bottom: 3px solid #00bcd4;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

/* Section Reveal Animation */
section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Remove dots from navigation menu */
#navbar ul li::before {
    content: none; /* No bullets for navbar items */
}

#navbar ul {
    list-style: none; /* Remove bullets completely */
    padding: 0; /* Ensure no padding from default styles */
    margin: 0; /* Ensure no margin from default styles */
}

section {
    height: 100vh; /* Full height of viewport */
    display: flex;
    flex-direction: column; /* Ensure the header and content are stacked */
    align-items: flex-start; /* Align to the left */
    justify-content: center; /* Center vertically */
    padding: 20px 5%; /* Adjust spacing */
    scroll-snap-align: start; /* Snap sections when scrolling */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Add smooth transitions */
    opacity: 0; /* Start hidden */
    transform: translateY(20px); /* Start slightly below */
}

section.visible {
    opacity: 1.1; /* Fade in */
    transform: translateY(0); /* Reset position */
}

#about {
    height: 102vh; /* Full viewport height */
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    padding: 25px 5%;
    scroll-snap-align: start; /* Smooth snapping */
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 25px; /* Space between photo and text */
    margin-bottom: 30px;
}

.profile-photo {
    max-width: 300px; /* Adjust size for better fit */
    border-radius: 60%;
    border: 4px solid #00bcd4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.header-text h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #00bcd4;
}

.header-text p {
    font-size: 1.1rem;
    color: #ecf0f1;
}

.about-text {
    margin-top: 20px;
    font-size: 1.1rem;
    text-align: justify;
    align-items: left;

}

.about-text h2 {
    font-size: 2.4rem;
    margin-bottom: 10px;
    color: #00bcd4;
}

#contact p {
    display: flex;
    align-items: center;
    gap: 10px; /* Adds space between the elements */
    margin-bottom: 15px;
}

.contact-icon {
    width: 20px; /* Adjust icon size */
    height: 20px;
}

#contact a {
    color: #00bcd4;
    text-decoration: none;
    font-weight: bold;
}

#contact a:hover {
    text-decoration: underline;
}

#contact span {
    color: #bbb;
    font-size: 0.9rem;
}

#about img {
    width: 120px; /* Profile photo size */
    height: 120px;
    border-radius: 50%;
    border: 4px solid #00bcd4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for scale and shadow */
}

/* Hover Effect */
#about img:hover {
    transform: scale(1.15); /* Scale image by 15% */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3); /* Increase shadow on hover */
}
