:root {
    --primary-color: #FF9900;
    --secondary-color: #232F3E;
    --accent-color: #00B4D8;
    --light-color: #f5f7fa;
    --dark-color: #2d3748;
    --text-color: #4a5568;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

:target::before {
    content: "";
    display: block;
    height: 80px;
    margin: -80px 0 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    background-image: linear-gradient(to bottom, rgba(245, 247, 250, 0.9), rgba(229, 231, 235, 0.9));
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.section {
    padding: 80px 0;
    position: relative;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.section-title {
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    color: var(--secondary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    font-weight: 600;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 180, 216, 0.1);
    z-index: -1;
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -300px;
    right: -300px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -200px;
    background: rgba(255, 153, 0, 0.1);
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: -100px;
    background: rgba(35, 47, 62, 0.1);
}

header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a2e 100%);
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light-color);
    clip-path: polygon(0 70%, 100% 0, 100% 100%, 0% 100%);
}

.header-content {
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

header h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-weight: 300;
    
    color: var(--primary-color);
}

header h3 {
    color: var(--text-color)
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin: 10px 15px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

nav ul li a i {
    margin-right: 8px;
}

nav ul li a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-cta {
    margin-top: 30px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    margin-top: 30px;
}

.profile-img {
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.image-border {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 350px;
    border: 5px solid var(--primary-color);
    border-radius: 20px;
    top: -20px;
    right: -20px;
    z-index: 0;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.skill {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(203, 213, 225, 0.3);
}

.skill:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.skill-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 153, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.skill-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.skill h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.skill p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 10px;
    margin-top: 15px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: var(--primary-color);
    border-radius: 10px;
    position: relative;
}

.skill-level::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(203, 213, 225, 0.3);
}

.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(35, 47, 62, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.project-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
}

.project-content {
    padding: 30px;
}

.project-content ul {
    list-style: none;
    margin-bottom: 25px;
}

.project-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.project-content ul li i {
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 5px;
}

.certifications-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.certification {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, 0.3);
}

.certification:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.certification-badge {
    width: 100px;
    height: 100px;
    background: rgba(255, 153, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.certification-badge i {
    font-size: 3rem;
    color: var(--primary-color);
}

.certification h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.certification p {
    color: #666;
    margin-bottom: 20px;
}

.certification-date {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.certification-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.certification-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.contact-item p {
    color: var(--text-color);
}

.contact-social {
    flex: 1;
    min-width: 300px;
}

.contact-social h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.social-link:hover {
    transform: translateY(-5px);
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.contact-item a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-item a:hover:after {
    width: 100%;
}

@media (max-width: 768px) {
    .contact-item a[href^="tel:"] {
        color: var(--primary-color);
        text-decoration: underline;
    }
}
.linkedin {
    background: #0077b5;
}

.github {
    background: #333;
}

.codepen {
    background: #000;
}

footer {
    background: var(--secondary-color);
    color: var(--secondary-color);
    padding: 50px 0 20px;
    margin-top: -20px; 
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.footer-links {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: var(--white);
    margin-bottom: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-copyright {
    flex: 2;
    min-width: 300px;
    text-align: right;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .about-text {
        padding-right: 0;
    }
    
    .about-image {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    header h2 {
        font-size: 1.3rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .footer-copyright {
        text-align: left;
        margin-top: 30px;
    }
}


/* Education Section Styles */
#education {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.education-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.education-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.education-icon {
    font-size: 2rem;
    color: #ffd700;
    flex-shrink: 0;
}

.education-content h3 {
    margin-bottom: 0.5rem;
    color: white;
    font-size: 1.4rem;
}

.education-institution {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.education-duration {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.education-details, .education-status {
    color: #ddd;
    font-style: italic;
}

.education-status {
    color: #90ee90;
    font-weight: 500;
}

/* Responsive Design for Education */
@media (max-width: 768px) {
    .education-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .education-icon {
        align-self: center;
    }
}
@media (max-width: 576px) {
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }
    
    .project-image {
        height: 150px;
    }
    
    .projects-container, .certifications-container {
        grid-template-columns: 1fr;
    }

}

