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

::-webkit-scrollbar {
    display: none; /* Hides the scrollbar */
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #2C2F33; /* Dark background */
    color: #FFFFFF; /* White text for readability */
    line-height: 1.6;
    -ms-overflow-style: none;
}

header {
    background-color: #23272A; /* Dark header background */
    padding: 20px 0;
    position: relative;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.containertop {
    display: flex;
    justify-content: space-between; /* Space between logo and nav */
    align-items: center; /* Align items vertically */
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    color: #FFF; /* Orange */
    font-size: 2rem;
    text-decoration: none;
    font-weight: 700;
}
.logo:hover {
    color: #ff6600;
    transition: color 0.3s ease;
}

.logo a {
    color: #FFF; /* Orange */
    font-size: 2rem;
    text-decoration: none;
    font-weight: 700;
}
.logo a:hover {
    color: #ff6600;
    transition: color 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #E0E0E0; /* Lighter gray for general links */
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

/* Specific style for the email link */
.nav-links a[href^="mailto:"] {
    color: #90CAF9; /* Light blue for email link */
}

.nav-links a:hover {
    color: #ff6600; /* Coral on hover */
}

#hero {
    background-color: #23272A; /* Same as header for consistency */
    color: #FFFFFF;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

#hero h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    animation: fadeIn 2s ease-in;
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

#hero .btn {
    --offset: 3px;
    background: #2C2F33;
    color: #FFFFFF;
    border-radius: 5px;
    position: relative;
    height: 50px;
    width: 300px;
    max-width: 100%;
    padding: 10px 20px;
    color: #fff;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    text-decoration: none;
    overflow: hidden;
    z-index: 2;
    cursor: pointer;
}
#hero .btn::before { 
    content: '';
    background: conic-gradient(transparent 270deg, #ff6600, transparent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    aspect-ratio: 1;
    width: 100%;
    animation: rotateBorder 2s linear infinite;
    z-index: -1;
    cursor: pointer;
}

/* Overlay */
#hero .btn::after {
    content: '';
    background: inherit;
    border-radius: inherit;
    position: absolute;
    inset: var(--offset);
    height: calc(100% - 2 * var(--offset));
    width: calc(100% - 2 * var(--offset));
    z-index: -1;
}

#hero .btn:hover {
    transform: translateY(-10px);
    transition: transform 0.2s;
}

.section {
    padding: 60px 0;
    background-color: #2C2F33; /* Section background matches Discord */
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #FFFFFF; /* White headings */
}

.section p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #FFF; /* Light gray for body text */
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.project-card {
    background-color: #40444B; /* Card background color */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    --offset: 3px;
}

.project-card:hover {
    --offset: 3px;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.project-card::before { 
    content: '';
    background: conic-gradient(transparent 270deg, #ff6600, transparent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    aspect-ratio: 1;
    width: 100%;
    animation: rotateBorder 2s linear infinite;
    z-index: -1;
}

/* Overlay */
.project-card::after {
    content: '';
    background: inherit;
    border-radius: inherit;
    position: absolute;
    inset: var(--offset);
    height: calc(100% - 2 * var(--offset));
    width: calc(100% - 2 * var(--offset));
    z-index: -1;
}

.project-card h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: #FFFFFF; /* White text */
}

.project-card p {
    font-size: 1rem;
    color: #FFFFFF; /* Light gray for text */
}

.project-card a {
    color: #FFA500; /* Orange */
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 10px;
    display: inline-block;
}

.project-card a:hover {
    color: #FF7F50; /* Coral on hover */
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.skill {
    background-color: #40444B; /* Card background color */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.skill:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.skill h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: #FFFFFF; /* White text */
}

.skill ul {
    font-size: 1rem;
    color: #FFFFFF; /* Light gray for text */
}

.skill a {
    color: #FFA500; /* Orange */
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 10px;
    display: inline-block;
}

.skill a:hover {
    color: #FF7F50; /* Coral on hover */
}


.skill ul {
    list-style-type: none;
    padding: 0;
}

.skill ul li {
    padding: 5px 0;
    color: #FFFFFF; /* White for skill list */
    font-size: 1.1rem;
}

blockquote {
    background-color: #40444B; /* Blockquote background */
    border-left: 5px solid #FFA500; /* Orange border */
    padding: 20px;
    margin: 20px 0;
    font-size: 1.2rem;
    color: #FFFFFF;
}

blockquote:before {
    content: "\201C";
    font-size: 3rem;
    color: #FFA500; /* Orange */
    vertical-align: middle;
    margin-right: 10px;
}

#contact {
    background-color: #2C2F33; /* Contact section matches body */
    color: #FFFFFF;
}

#contact h2 {
    color: #FFFFFF;
}

#contact form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

#contact form label {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #B9BBBE; /* Light gray for labels */
}

#contact form input, 
#contact form textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background-color: #40444B; /* Input background */
    color: #FFFFFF; /* White text for input */
}

#contact form input[type="submit"], 
#contact form button {
    background-color: #FFA500; /* Orange */
    color: #fff;
    padding: 10px 20px;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact form input[type="submit"]:hover, 
#contact form button:hover {
    background-color: #FF8C00; /* Darker orange on hover */
}

.social-links {
    text-align: center;
    margin-top: 20px;
}

.social-links a {
    color: #FFFFFF; /* White icons */
    font-size: 2rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

a[href^="mailto:"] {
    color: #ff6600; /* Orange for email link */
}

.social-links a:hover {
    transform: translateY(-10px);
    transition: transform 0.2s;
}

.social-links img {
    width: 60px;  /* Image width */
    height: 60px; /* Image height */
    transition: transform 0.2s ease-in-out; /* Ensures smooth animation */
}

.social-links a:hover img {
    transform: translateY(-10px); /* Move the image 10px up */
}

footer {
    background-color: #23272A; /* Footer background */
    padding: 20px;
    text-align: center;
    color: #FFFFFF; /* White footer text */
    font-size: 1rem;
}

.section {
    padding: 60px 20px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 2.5rem;
    color: #ff6600;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.section-description {
    font-size: 1.2rem;
    color: #CCCCCC;
    max-width: 800px;
    margin: 0 auto 50px;
}

.experience-entry {
    background-color: #40444B;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-entry:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.job-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
}

.company-details {
    font-size: 1.1rem;
    color: #CCCCCC;
    display: block;
    margin-bottom: 20px;
}

.job-description {
    font-size: 1rem;
    color: #FFFFFF;
    text-align: left;
    padding-left: 10px;
    list-style-type: disc;
}


/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from{
        transform: rotate(0);
    }

    to{
        transform: rotate(360deg);
    }
}

@keyframes rotateBorder {
    from {
        transform: translate(-50%, -50%) scale(1.4) rotate(0turn);
    }

    to {
        transform: translate(-50%, -50%) scale(1.4) rotate(1turn);
    }
}