/* Global Styles */
:root {
    --primary-color: #00adb5;
    --secondary-color: #393e46;
    --dark-color: #222831;
    --light-color: #eeeeee;
    --text-color: #eeeeee;
    --text-light: #b8b8b8;
    --white: #fff;
    --black: #000;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
}

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

section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title span {
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: #00878f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    margin-left: 15px;
}

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

/* Left Side Navigation */
.side-nav {
    position: fixed;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    z-index: 1000;
    display: none;
}

.side-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.side-nav li {
    margin: 15px 0;
    position: relative;
}

.nav-dot {
    display: block;
    width: 12px;
    height: 12px;
    background-color: var(--text-light);
    border-radius: 50%;
    transition: var(--transition);
    position: relative;
}

.nav-dot::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: var(--transition);
}

.nav-dot.active {
    background-color: var(--primary-color);
}

.nav-dot.active::before {
    transform: translate(-50%, -50%) scale(1);
}

.nav-dot span {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-dot:hover span {
    opacity: 1;
    visibility: visible;
    left: 40px;
}

/* Main Content */
.main-content {
    transition: var(--transition);
    width: 100%;
}

/* Mobile Navigation Button */
.mobile-nav-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    cursor: pointer;
}

.nav-icon {
    width: 24px;
    height: 20px;
    position: relative;
}

.nav-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.nav-icon span:nth-child(1) {
    top: 0;
}

.nav-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.nav-icon span:nth-child(3) {
    bottom: 0;
}

.mobile-nav-btn.active .nav-icon span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-nav-btn.active .nav-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-btn.active .nav-icon span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Hero Section */
.hero {
    background-color: var(--dark-color);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

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

.hero h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    color: var(--text-light);
}

.hero-btns {
    display: flex;
}

.download-btn {
    margin-top: 250px;
   
}



/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.detail-item {
    display: flex;
}

.detail-item span {
    font-weight: 600;
    margin-right: 10px;
    color: var(--primary-color);
}

/* Skills Section */
.skills-content {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.skills-text {
    flex: 1;
}

.skills-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.skills-text p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.skills-bars {
    flex: 1;
}

.skill-item {
    margin-bottom: 25px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: var(--secondary-color);
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

.progress.html {
    width: 95%;
}

.progress.css {
    width: 90%;
}

.progress.js {
    width: 85%;
}

.progress.react {
    width: 80%;
}

.progress.node {
    width: 70%;
}

/* Projects Section */
.projects-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    margin: 0 10px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

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

.project-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.project-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 173, 181, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
    color: var(--white);
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-overlay p {
    margin-bottom: 20px;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

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

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--secondary-color);
    color: var(--text-color);
    transition: var(--transition);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 173, 181, 0.3);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

/* Responsive Styles */
@media (min-width: 992px) {
    .side-nav {
        display: block;
    }
    
    .main-content {
        margin-left: 100px;
    }
    
    .mobile-nav-btn {
        display: none;
    }
}

@media (max-width: 1200px) {
    .hero-content, .about-content, .skills-content, .contact-content {
        flex-direction: column;
    }
    
    .hero-image {
        margin-top: 50px;
    }
    
    .about-image, .about-text, .skills-text, .skills-bars, .contact-info, .contact-form {
        width: 100%;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .side-nav {
        right: -100%;
        left: auto;
        top: 0;
        height: 100vh;
        width: 250px;
        background-color: var(--secondary-color);
        transform: none;
        padding: 80px 30px;
        transition: var(--transition);
    }
    
    .side-nav.active {
        right: 0;
    }
    
    .side-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .side-nav li {
        margin: 15px 0;
    }
    
    .nav-dot {
        width: auto;
        height: auto;
        background-color: transparent;
        color: var(--text-light);
        padding: 5px 0;
    }
    
    .nav-dot.active {
        color: var(--primary-color);
        background-color: transparent;
    }
    
    .nav-dot::before {
        display: none;
    }
    
    .nav-dot span {
        display: inline;
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background-color: transparent;
        color: inherit;
        padding: 0;
        margin-left: 10px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    section {
        padding: 80px 0;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        margin: 5px 0;
        width: 100%;
        max-width: 200px;
    }
}