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

html {
    scroll-behavior: smooth;
  }

header, footer {
text-align: center;
padding: 20px 0;
background: linear-gradient(135deg, #6c63ff, #3a3d98);
color: #fff;
border-radius: 0;
width: 100%;
}


body {
font-family: 'Inter', sans-serif;
line-height: 1.6;
color: #222;
background-color: #f8f9fa;
padding: 0;

}



nav ul {
list-style: none;
display: flex;
justify-content: center;
gap: 40px;
margin-bottom: 20px;
flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

nav a {
color: #fff;
text-decoration: none;
font-size: 1rem;
font-weight: 500;
transition: color 0.3s;
}

nav a:hover {
color: #ffca28;
}

h1 {
font-size: 3rem;
margin-bottom: 10px;
}

p {
font-size: 1.1rem;
opacity: 0.9;
}

/* Main Content Styling */
main {
width: 95%;
margin: 0 auto;
}

/* General section styling */
section {
margin: auto;
padding: 0px;
max-width: 95%;
background-color: #f4f4f9;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
word-wrap: break-word; /* Allow content to wrap instead of being cut off */
overflow: hidden; /* Prevent any content overflow */
}

section:hover {
transform: translateY(2px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Header styling inside sections */
section h2 {
font-size: 2.5rem;
margin-bottom: 20px;
color: #2c3e50;
text-transform: uppercase;
text-align: center;
letter-spacing: 2px;
}

section h3 {
    color: #2478cb;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    }

/* About section styling */
#about {
background-color: #e9f7f6;
border-right: 5px solid #16a085;
margin-left: -2px;
padding-left: 30px;
}

section + section {
    margin-top: 40px;
  }

/* Projects section styling */
#projects {
background-color: #f3f4f6;
border-left: 5px solid #3498db;
margin-right: 2px;
padding-right: 30px;
}


/* Project card styling */
.project {
margin-bottom: 30px;
padding: 20px;
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: all 0.2s ease;
text-align: center;
}

.project:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.project h3 {
font-size: 1.6rem;
color: #2c3e50;
}

.project p {
font-size: 1rem;
color: #7f8c8d;
line-height: 1.5;
}

.project-link {
    display: inline-block; /* Make the link behave like an inline element */
    padding: 10px 15px;
    background-color: #3498db;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
  }

.project-link:hover {
background-color: #2980b9;
}

/* About section text */
#about p {
font-size: 1.2rem;
line-height: 1.8;
color: #34495e;
text-align: left;
max-width: 800px;
margin: 0 auto;
}

.resume {

    display: grid;
    place-items: center;
    margin: 2;
    max-width: 95%;
    background-color: #eeebb22b;
    border-left: 5px solid #dbd110;
    border-right: 5px solid #dbd110;
}



ion-icon {
    font-size: 40px;
    color: #fff;
    padding-left: 5px;
    padding-right: 5px;
  }

.socials {
    background-color: transparent;
}

/* Responsive styling */
@media (max-width: 1200px) {
section {
    max-width: 90%;
    padding: 2rem;
}

section h2 {
    font-size: 2.2rem;
}

.resume {
    padding: 1rem;
}

.resume-pic {
    display: none
}

.project {
    padding: 1rem;
}

.project h3 {
    font-size: 1.5rem;
}

.project p {
    font-size: 0.95rem;
}

.project-link {
    padding: 0.5rem 0.75rem;
}
}

@media (max-width: 768px) {
section {
    max-width: 100%;
    padding: 1.5rem;
}

.resume-pic {
    display: none
}

section h2 {
    font-size: 2rem;
}

.resume {
    padding: 1rem;
}

.project {
    padding: 1rem;
}

.project h3 {
    font-size: 1.4rem;
}

.project p {
    font-size: 0.9rem;
}

.project-link {
    padding: 0.5rem 0.75rem;
}

}

@media (max-width: 480px) {
section {
    max-width: 100%;
    padding: 1rem;
}

.resume-pic {
    display: none
}

section h2 {
    font-size: 1.8rem;
}

.resume {
    padding: 1rem;
}

.project {
    padding: 0.75rem;
}

.project h3 {
    font-size: 1.2rem;
}

.project p {
    font-size: 0.85rem;
}

.project-link {
    padding: 0.5rem 0.5rem;
}

}

