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

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}

/* Container */
.container {
    display: flex;
    height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    height: 800px;
    background-color: #1e1f26;
    color: #fff;
    display: flex;
    position: fixed;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    z-index: 1;
}

.profile {
    text-align: center;
    margin-bottom: 30px;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid #3498db;
    transition: transform 0.1s ease-out;

}

.profile h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

/* .profile p {
    font-size: 14px;
    color: #b0b0b0;
} */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Black with opacity */
}

/* Modal content (the image) */
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

/* Close button styling */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
.social-links a {
    margin: 0 5px;
}

.social-links img {
    margin-top: 100px;
    width: 30px;
    height: 30px;
    filter: invert(1);
}

/* Navigation */
.nav {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.nav a {
    padding: 10px 20px;
    color: #b0b0b0;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}
.nav i {
    margin-right: 10px; /* Add space between icon and text */
    font-size: 18px;
    color: #b0b0b0;
}
.nav a.active,
.nav a:hover {
    background-color: #333;
    color: #fff;
}

/* Main Content */
.main-content {
    flex: 1;
    position: relative;
    background-color: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro {
    position: absolute;
    /* z-index: 1; */
    color: #fff;
    text-align: center;
    padding-left: 170px;
}

.intro h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.intro p {
    font-size: 24px;
}
.animated-text::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}
.background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    opacity: 0.5;
}
/* About Section */
.about-section {
    padding: 50px;
    margin-left: 260px;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    color: #333;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.about-section h2 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.about-header-line {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    margin-bottom: 20px;
    border-radius: 2px;
}

.about-section p {
    margin-bottom: 30px;
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    font-family: 'Arial', sans-serif;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Image Styling */
.about-photo img {
    width: 220px;
    border-radius: 10px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.about-photo img:hover {
    transform: scale(1.05);
}

/* About Details */
.about-details h3 {
    font-size: 30px;
    margin-bottom: 15px;
    color: black;
    font-weight: bold;
}

.about-details p {
    font-size: 15px;
    margin-bottom: 20px;
    color: #555;
    font-style: italic;
}

.details-list {
    list-style: none;
    padding: 0;
    font-size: 16px;
    color: #333;
    font-family: 'Arial', sans-serif;
}

.details-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.details-list li::before {
    content: "\f054"; /* Font Awesome angle-right icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: black;
    margin-right: 10px;
}

.details-list li strong {
    color: black;
    font-weight: bold;
    flex: 0 0 120px;
    text-align: left;
}

.details-list li span {
    flex: 1;
    text-align: left;
    color: #666;
    font-weight: normal;
}
.stats-section {
    display: flex;
    gap: 40px;
    text-align: center;
    background-color: #fff;
    padding: 20px 40px;
    border-radius: 10px;
    padding-left: 380px;
    /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); */
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
}

.stat-item i {
    font-size: 36px;
    color: #00aaff;
    margin-bottom: 10px;
}

.counter {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.stat-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.stat-description {
    font-size: 14px;
    color: #777;
}

.skills-section {
    max-width: 600px;
    margin: 50px auto;
    text-align: left;
    margin-left: 320px;
}

.skills-section h2 {
    font-size: 2em;
    margin-bottom: 10px;
    border-left: 3px solid #007bff;
    padding-left: 10px;
}

.skills-section p {
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9em;
}

.skill {
    margin-bottom: 15px;
}

.skill span {
    font-weight: bold;
}

.progress-bar {
    background-color: #e0e0e0;
    border-radius: 1px;
    overflow: hidden;
    margin-top: 2px;
    width: 860px;
}

.progress {
    background-color: #007bff;
    color: white;
    text-align: right;
    padding: 5px;
    width: 0;
    transition: width 2s ease;
    border-radius: 5px;
}

.resume-section {
    max-width: 900px;
    margin: 50px auto;
    text-align: left;
    padding-left: 120px;
}

.resume-section h2 {
    font-size: 2em;
    margin-bottom: 10px;
    border-left: 3px solid #007bff;
    padding-left: 10px;
}

.resume-section .description {
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9em;
}

.resume-content {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.summary, .professional-experience {
    flex: 1;
}

.summary h3, .professional-experience h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.summary-content h4, .experience h4, .timeline-content h4 {
    font-weight: bold;
    font-size: 1.2em;
}

.summary-content p, .experience p, .timeline-content p {
    margin: 5px 0;
    color: #444;
    font-style: italic;
}

ul {
    list-style-type: none;
    color: #333;
    font-size: 0.9em;
}

ul li::before {
    content: "• ";
    color: #007bff;
    font-weight: bold;
}

.experience span, .timeline-content span {
    display: block;
    font-weight: bold;
    color: #555;
    margin: 5px 0;
}

.timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #007bff;
    margin-top: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px;
}

.timeline-marker {
    position: absolute;
    left: -10px;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border: 2px solid #007bff;
    border-radius: 50%;
}

.timeline-content h4 {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
}
.professional-experience .timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #007bff;
    margin-top: 10px;
}

.professional-experience .timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px;
}

.professional-experience .timeline-marker {
    position: absolute;
    left: -10px;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border: 2px solid #007bff;
    border-radius: 50%;
}
.portfolio-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding-left: 240px;
}

.portfolio-section h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.portfolio-header-line {
    width: 60px;
    height: 4px;
    background-color: #007bff;
    margin: 10px auto 20px;
}

.portfolio-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    font-size: 16px;
    color: #007bff;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.filter-btn:hover,
.filter-btn.active {
    color: #ffffff;
    background-color: #007bff;
    border-radius: 5px;
}

.portfolio-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.portfolio-item {
    flex: 1 1 30%;
    max-width: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

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

.portfolio-item:hover img {
    transform: scale(1.05);
}

.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding-left:260px;
}

.contact-section h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.contact-header-line {
    width: 60px;
    height: 4px;
    background-color: #007bff;
    margin: 10px auto 20px;
}

.contact-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.contact-info, .contact-form {
    flex: 1 1 45%;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.info-item i {
    font-size: 24px;
    color: #007bff;
    margin-right: 15px;
}

.info-item h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 14px;
    color: #555;
}

.map iframe {
    width: 100%;
    border-radius: 8px;
    border: 0;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    gap: 15px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

input, textarea {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
}

.send-btn {
    padding: 12px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.send-btn:hover {
    background-color: #0056b3;
}
#scrollTopBtn {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    background-color: #555;
    color: rgb(0, 225, 255);
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

#scrollTopBtn:hover {
    opacity: 1;
}
@media (max-width: 767px) {
    .menu-icon {
        display: block; /* Show menu icon on mobile */
    }

    .sidebar {
        transform: translateX(100%); /* Hide by default */
    }

    .sidebar.active {
        transform: translateX(0); /* Show when active */
    }
}

/* Sidebar Profile and Links Styling */
.sidebar .profile {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #444;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.sidebar .nav a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #ddd;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.sidebar .nav a:hover {
    background-color: #333;
    color: #fff;
}

.sidebar .nav a i {
    margin-right: 10px;
}

/* Social Links */
.sidebar .social-links {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    border-top: 1px solid #444;
}

.sidebar .social-links a {
    margin: 0 10px;
    display: inline-block;
}

.sidebar .social-links img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.sidebar .social-links a:hover img {
    transform: scale(1.1);
}
.menu-icon {
    display: none; /* Hidden on larger screens */
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}
/* Show menu icon on mobile */
@media (max-width: 767px) {
    .menu-icon {
        display: block;
    }

    /* Sidebar hidden by default on smaller screens */
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;

    }

    /* Sidebar active class to slide in */
    .sidebar.active {
        transform: translateX(0);
    }

    /* Adjust main content to take full width */
    .main-content {
        padding-left: 0;
    }
}
@media (max-width: 767px) {
    .sidebar {
        transform: translateX(-100%);
        /* width: 30%; */
        /* height: auto; */
        flex-direction: column;
    }
    .intro {
        position: absolute;
        /* z-index: 1; */
        color: #fff;
        text-align: center;
        padding-left: 10px;
    }
    /* Menu icon to toggle sidebar on mobile */
    .menu-icon {
        display: block;
    }

    /* Adjust layout */
    .container {
        flex-direction: column;
    }

    /* Adjust main content on small screens */
    .main-content {
        padding-top: 60px;
    }

    /* Portfolio Items on mobile */
    .portfolio-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .background-img {
        /* opacity: 0.4;  */
      
    }
    .filter-btn{
        font-size: 10px;
        margin: -15px;
    }
}

/* Sidebar Links */
.sidebar .nav a {
    padding: 15px;
    color: #ddd;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    width: 100%;
    text-align: center;
}

.sidebar .nav a:hover {
    background-color: #333;
    color: #fff;
}

.sidebar .social-links a {
    margin: 10px;
    display: inline-block;
}

/* Main Content */
.main-content {
    flex: 1;
    background-color: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 260px;
    transition: all 0.3s ease;
}

.intro h1 {
    font-size: 28px;
    padding-right: 240px;
}

.intro p {
    font-size: 18px;
    padding-right: 240px;
}



/* About Section */
.about-section {
    padding: 50px 20px;
    margin-left: 260px;
    max-width: 1200px;
}

@media (max-width: 767px) {
    .about-section {
        margin-left: 0;
        padding: 30px 10px;
    }
    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-photo img {
        max-width: 250px;
    }

    .about-section h2 {
        font-size: 28px;
    }

    .about-details {
        padding-top: 0;
        text-align: center;
    }

    .about-details h3 {
        font-size: 22px;
    }

    .about-section p,
    .details-list li {
        font-size: 13px;
    }
    .stats-section {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        padding-left: 70px;
    }
    
}
@media (max-width: 768px) {
    .skills-section h2 {
        font-size: 1.5rem;
    }

    .skills-section p {
        font-size: 0.9rem;
    }

    .skill span {
        font-size: 0.9rem;
    }

    .progress {
        font-size: 0.75rem;
        padding-right: 4px;
        
    }
    .progress-bar{
        width: 260px;
    }
    .resume-section {
        padding: 30px 10px;
    }
    .professional-experience{
        display: none;
    }
    .portfolio-item h4 {
        font-size: 1.2rem; /* Default size for larger screens */
        text-align: center; /* Center the text */
        margin: 10px 0; /* Add some space around the heading */
    }
    
}



/* Portfolio Section */
.portfolio-section {
    padding: 50px 20px;
    max-width: 100%;
    margin-left: 260px;
}

@media (max-width: 767px) {
    .portfolio-section {
        margin-left: 0;
        padding: 30px 10px;
    }
}

/* Contact Section */
.contact-section {
    padding: 50px 20px;
    max-width: 100%;
    margin-left: 260px;
}

@media (max-width: 767px) {
    .contact-section {
        margin-left: 0;
        padding: 30px 10px;
    }
}

/* Skills Section */
.skills-section {
    margin: 50px auto;
    padding: 0 20px;
}

@media (max-width: 767px) {
    .skills-section {
        padding: 20px;
        margin: 20px 0;
    }
    #scrollDownBtn{
        display: none;
    }
    .container-eye{
        display: none;
    }
   
}
@media (max-width: 768px) {
    #scrollTopBtn {
        bottom: 19px; /* Adjust distance from the bottom on smaller screens */
        right: 15px; /* Adjust distance from the right on smaller screens */
        padding: 8px; /* Reduce padding */
        font-size: 14px; /* Smaller font size */
        margin-right: 110px;
    }
}

/* Scroll to Top Button */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: -100px;
    z-index: 99;
    background-color: #555;
    color: rgb(0, 225, 255);
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

#scrollTopBtn:hover {
    opacity: 1;
}
#scrollDownBtn {
    position: absolute;
    bottom: 20px;
    left: 60%;
    transform: translateX(-50%);
    background-color: #252525;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}
#scrollDownBtn:hover {
    background-color: #333;
}
.container-eye{
    margin-top: -165px;
    margin-left: -370px;
    display: flex;

}
.eyes{
    margin-top: -165px;
    margin-left: 130px;
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
  }
  .eye{
    width: 30px;
    height: 20px;
    background: #fff;
    display: inline-block;
    margin: 40px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
  }
  
  .ball{
    width: 10px;
    height: 10px;
    background: #000;
    position: absolute;
    top: 20%;
    left: 30%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    border: 2px solid #333;
  }
  