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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212; /* Dark background */
    color: #f1f1f1; /* Light text for contrast */
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Header */
/* Header */
header {
    position: fixed; /* Makes the navbar fixed at the top */
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #17153B, #2E236C); /* Ensure the background color remains */
    color: #fff;
    padding: 15px 0; /* Adjusted padding */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Slight shadow to stand out */
    z-index: 1000; /* Ensures it stays on top of other content */
}

/* Adjust body margin to prevent content from being hidden under the fixed navbar */
body {
    padding-top: 80px; /* Adjust this value according to the height of your navbar */
}


header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

header h1 {
    font-size: 2.5em;
    letter-spacing: 2px;
    text-align: center;
    flex: 1;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li {
    font-size: 1.2em;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #2E236C;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, #17153B, #2E236C);
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    flex-direction: column;
}

#hero h1 {
    font-size: 3.5em;
}

#hero h2 {
    font-size: 1.8em;
    margin: 10px 0;
}

#hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Styles */
section {
    padding: 50px 20px;
}

.glass-effect {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    margin-bottom: 30px;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
}

/* Skills Section */
#skills .skills-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.skills-category {
    width: 45%;
}

.skills-category h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.skill-item img {
    width: 40px;
    height: 40px;
}

.skill-item p {
    font-size: 1.2em;
}

.skill-box {
    background-color: #2E236C;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.2em;
}

.certifications ul {
    list-style: none;
    font-size: 1.2em;
}

/* Projects Section */
#projects .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
}

.portfolio-item {
    background-color: #2E236C;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 15px;
}

.project-info h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 1.2em;
}

/* Contact Section */
#contact {
    background: #17153B;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

#contact a {
    color: #2E236C;
    text-decoration: none;
    font-weight: bold;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Scroll Animation */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


