 /* Header Styles */
 header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(6, 184, 197, 0.897);
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(8, 11, 36, 0.95);
    padding: 10px 0;
}

/* Removed the misplaced property as it was outside any selector block */
header.scrolled .logo a,
header.scrolled nav ul li a {
    color: white;
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.logo span {
    color: rgb(252, 143, 161);
}

/* Navigation Styles */
nav {
    display: flex;
    align-items: center;
}
nav ul {
    display: flex;
    list-style: none;
    margin-left: auto;
}
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

/* Hero Section Styles */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;

    background-position: center;
    position: relative;
}

#hero::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: url ('https://cdn.pixabay.com/photo/2018/08/24/23/33/field-3629120_640.jpg');
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    max-width: 900px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 600;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--black);
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-btns .btn {
    padding: 12px 25px;
    background-color: var(--primary);
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
}

.btn-secondary:hover {
    background-color: var(--dark);
    color: white;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* About Section */
#about {
    background-color: rgb(248, 237, 237);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 10px;
    z-index: -1;
    transition: all 0.5s ease;
}

.about-image:hover::before {
    top: -10px;
    left: -10px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    flex: 1 1 200px;
}

.detail-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.interests {
    margin-top: 30px;
}

.interests h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.interest-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.interest-item {
    background-color: var(--secondary);
    color: var(--dark);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Experience Section */
#experience {
    background-color: var(--light);
}

.experience-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.experience-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.experience-title h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

.experience-title p {
    color: var(--primary);
    font-weight: 600;
}

.experience-date {
    color: var(--dark);
    font-weight: 600;
}

.experience-description p {
    margin-bottom: 15px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.skill-item {
    background-color: var(--secondary);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Projects Section */
#projects {
    background-color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: rgb(241, 238, 238);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(63, 2, 2, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.project-content p {
    margin-bottom: 15px;
    color: var(--black);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.project-tag {
    background-color: var(--secondary);
    color: var(--dark);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-links a {
    display: flex;
    align-items: center;
    background-color: var(--primary);
    color: rgb(252, 252, 252);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-links a:hover {
    background-color: var(--dark);
    color: white;
}

.project-links a i {
    margin-right: 5px;
}

/* Education Section */
#education {
    background-color: var(--light);
}

.education-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.education-item {
    background-color: rgb(248, 244, 244);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.education-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary);
}

.education-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.education-title h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

.education-title p {
    color: var(--primary);
    font-weight: 600;
}

.education-date {
    color: var(--dark);
    font-weight: 600;
}

.education-description p {
    margin-bottom: 15px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.download-btn i {
    color: var(--primary);
}

.download-btn:hover {
    color: var(--dark);
    padding: 5px 10px;
    box-shadow: 0 4px 6px rgba(3, 31, 107, 0.849);
}

/* Contact Section */
#contact {
    background-color: rgb(247, 229, 241);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.2rem;
}

.contact-text h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-text p, .contact-text a {
    color: var(--black);
}

.contact-form {
    background-color: var(--light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 3px solid #13065c;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(85, 4, 11, 0.63);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group button {
    background-color: var(--primary);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-group button:hover {
    background-color: var(--dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgb(179, 6, 6);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--light);
    text-decoration: none;
    transform: translateY(-3px);
}
