:root {
    --accent-color: #2563eb;
    --light-text: #ffffff;
    --dark-text: #1a1a1a;
    --background: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--light-text);
    line-height: 1.6;
}

/* Header Styles */
header {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url("https://i.pinimg.com/736x/51/29/07/5129075af0f53791c7563c8151d8d91a.jpg");
}

.header-bg {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(45deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
}

/* Navigation Styles */
.navigation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
}

.navigation {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hamburger Menu */
#hamburger {
    display: none;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 100;
}

.hamburger-menu div {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .navigation-bar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
    }

    #hamburger:checked ~ .navigation-bar {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    #hamburger:checked ~ .hamburger-menu .line1 {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #hamburger:checked ~ .hamburger-menu .line2 {
        opacity: 0;
    }

    #hamburger:checked ~ .hamburger-menu .line3 {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-text);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.bg-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover .bg-bar {
    width: 100%;
}

/* Content Section */
.content {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.content h2 {
    font-size: clamp(1.8rem, 2.5vw + 1rem, 2.5rem);
    margin-bottom: 1rem;
}

.content p {
    font-size: clamp(2rem, 4vw + 0.5rem, 3rem);
    margin-bottom: 1rem;
}

.content p span {
    color: var(--accent-color);
}

.subtitle {
    font-size: clamp(1rem, 1.2vw + 0.8rem, 1.5rem);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Social Media Links */
.social-media ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.social-media a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: var(--accent-color);
}

.each-part{
    display: flex;
    align-items: center;
    min-height: 85vh;
}

.each-part>div{
    max-width: 1400px;
    width: 100%;
}
/* About Section */
.about-me {
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-profile img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.specific-skill {
    font-size: 1.5rem;
    color: rgb(245, 196, 94)
    ;
    margin-bottom: 1.5rem;
}

/* #typed-text {
    background-color: ;
} */

.about-me-para {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Skills Section */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.skill-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    color: var(--light-text);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.skill-btn:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Portfolio Section - Updated for fixed height and scrolling */
#portfolio{
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
}
#portfolio>.portfolio{
    max-width:none ;

}
.portfolio {
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
}

.portfolio h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--accent-color);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 15px;
    width: fit-content;
    margin: 0 auto 3rem;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--light-text);
    padding: 0.5rem 1.5rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 10px;
}

.filter-btn.active {
    background: var(--accent-color);
}

.portfolio-cards-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.portfolio-cards {
    height: 100%;
    overflow-y: auto;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) rgba(255, 255, 255, 0.1);
}

.portfolio-cards::-webkit-scrollbar {
    width: 8px;
}

.portfolio-cards::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.portfolio-cards::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.card {
    margin: 0 auto;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 16/9;
    width: 100%;
    height: fit-content;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-background {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-background {
    opacity: 1;
}

.card-background p {
    color: var(--light-text);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.portfolio-link {
    display: flex;
    gap: 1.5rem;
}

.portfolio-link a {
    color: var(--light-text);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.portfolio-link a:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* PDF Modal */
.pdf-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.pdf-modal.active {
    display: flex;
}

.pdf-content {
    width: 90%;
    height: 90%;
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.close-pdf {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1;
}

.pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
}

/* Testimonials Section */
.testimonials {
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
}

.testimonial-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
}

.testimonial-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.testimonial-slide.active {
    opacity: 1;
    display: block;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 0 auto;
    max-width: 800px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
}

.testimonial-profile {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    position: relative;
}

.testimonial-profile img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-content h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.testimonial-content a {
    text-decoration: none;
}

.testimonial-content .position {
     color: rgb(245, 196, 94);/*rgba(255, 255, 255, 0.7); */
    font-size: 1.5rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-nav button.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* Contact Section */
#contact{

    background: linear-gradient(135deg, #0d1b2a, #1b263b);
}
.contact {
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
}

.contact-information-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-information-details {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
    line-break: anywhere;
}

.contact-information-details:hover {
    transform: translateY(-10px);
}

.contact-information-details i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-information-details p {
    margin-bottom: 0.5rem;
}

.contact-information-details a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-information-details a:hover {
    color: var(--accent-color);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--light-text);
    margin-bottom: 1rem;
}

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

.submit-button {
    background: var(--accent-color);
    color: var(--light-text);
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    /* background: rgba(255, 255, 255, 0.05); */
}

/* Body Navigation
.body-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 100;
}

.body-nav a {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.body-nav a:hover,
.body-nav a:focus {
    background: var(--accent-color);
    transform: scale(1.2);
} */

/* Responsive Design */
@media (max-width: 768px) {
    .navigation {
        padding: 1rem;
    }

    .about-me {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-profile img {
        max-width: 300px;
        margin: 0 auto;
    }

    .body-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .content h2 {
        font-size: 2rem;
    }

    .content p {
        font-size: 2.5rem;
    }

    .portfolio-cards {
        grid-template-columns: 1fr;
    }
}

.cursor {
    display: inline-block;
    animation: blink 0.7s steps(1) infinite;
    color: #444;
    font-weight: bold;
  }
  
  @keyframes blink {
    50% { opacity: 0; }
  }
  
  #typed-text {
    transition: all 0.1s ease-in-out;
  }
  
