@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

/* Global Styles */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    scroll-behavior: smooth;
    background-color: black;
    color: white;
}

/* Navbar */
nav {
    width: 100%;
    position: fixed;
    top: 0;
    background: black;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    padding: 15px 10%;
    align-items: center;
}

.logo{
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.logo span{
    color: #87CEEB;
    text-shadow: 0 0 10px #87CEEB;
}


.links a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.links a:hover {
    color: #87CEEB;
}
.hamburg,
.cancel{
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    display: none;
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
}

/* Dropdown Menu (Mobile) */
.dropdown{
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow:  0 0 20px black;
    transition: 0.2s linear;
}

.dropdown .links a{
    display: flex;
    color: white;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.2s linear;
}

.dropdown .links a:hover{
    background-color: #077b32;
}
/* Hero Section */
section {
    width: 100%;
    padding: 80px 10%;
    min-height: 90vh;
}

/* Main Container */
.main-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

/* Image */
.main-container .image {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 50px #87CEEB;
    transition: 0.5s;
}

.main-container .image img {
    width: 100%;
}

.main-container .image:hover {
    animation: animate 1.5s ease-in-out infinite;
}

@keyframes animate {
    0% { scale: 1; }
    50% { scale: 1.05; }
    100% { scale: 1; }
}

/* Content */
.content {
    color: white;
    max-width: 500px;
    text-align: center;
}


.content h1{
    font-size: clamp(1rem, 1rem + 5vw, 1.8rem);
}

.content h1 span{
    color: #87CEEB;
    text-shadow: 0  0 10px #87CEEB;
}
.content .typewriter{
    font-size: clamp(1rem, 1rem + 5vw, 2.5rem);
    font-weight: 600;
}

.content .typewriter-text{
    color:#87CEEB;
    text-shadow: 0 0 10px #87CEEB;
}


.content p {
    font-size: 1rem;
    margin: 10px 0;
}

/* Social Links */
.social-links i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background: transparent;
    border: 2px solid #87CEEB;
    border-radius: 50%;
    color: #87CEEB;
    margin: 5px;
    font-size: 1.5rem;
    transition: 0.2s linear;
}

.social-links i:hover {
    transform: scale(1.3);
    color: black;
    background-color: #87CEEB;
    box-shadow: 0 0 10px #87CEEB;
}

/* Buttons */
.button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.btn {
    background-color: #87CEEB;
    color: black;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #87CEEB;
    color: white;
    transform: scale(1.05);
}

/* Projects Section */
.projects-section h2 {
    margin-bottom: 20px;
    color: #87CEEB;
    text-align: center;
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.project-card {
    padding: 20px;
    background: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 0 10px #87CEEB;
    text-align: left;
}

.project-card h3 {
    color: #87CEEB;
    margin-bottom: 10px;
    text-align: center;
}
.project-card h4 {
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
}

.project-card a {
    color: #87CEEB;
}

/* Responsive Design */
@media (max-width: 884px) {
    .nav-container .links {
        display: none;
    }

    .hamburg,
    .cancel{
        cursor: pointer;
        position: absolute;
        right: 15px;
        top: 10px;
        color: white;
        display: none;
        font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
    }
    

    .main-container {
        flex-direction: column;
        text-align: center;
    }

    .main-container .image {
        width: 80%;
        height: auto;
    }

    .content {
        width: 100%;
    }

    .social-links i {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
}

@media (max-width: 440px) {
    .main-container .image {
        width: 60%;
    }

    .content {
        width: 100%;
    }

    .btn {
        margin-top: 15px;
    }
}
/* Tech Stack Image Container */
.tech-stack {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    text-align: center;
}

/* Tech Stack Image */
.tech-stack-img {
    width: 100%;
    max-width:700px; /* Enlarged size */
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
     /* Ensures the aspect ratio is preserved */
}

/* Tech Logos */
.tech-logos {
    display: flex;
    flex-wrap: wrap; /* Allows logos to wrap onto the next line */
    justify-content: center;
    gap: 3rem; /* Space between logos */
    margin-top: 1.5rem;
}

.tech-logos img {
    width: 70px; /* Increased size for visibility */
    height: 70px;
    object-fit: contain; /* Maintains aspect ratio */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

.tech-logos img:hover {
    transform: scale(1.2); /* Zoom-in effect */
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .tech-logos img {
        width: 50px;
        height: 50px;
    }
}

@media (min-width: 1200px) {
    .tech-logos img {
        width: 80px;
        height: 80px;
    }
}
.contact-section {
    padding: 3rem 2rem;
    background-color: #000000;
    color: #ffffff;
}

.contact-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-form,
.contact-info {
    flex: 1;
    max-width: 45%;
}

.contact-form h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: #ffffff;
}

.contact-form .form-group {
    margin-bottom: 1.2rem;
}

.contact-form label {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ffffff;
    border-radius: 8px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .btn-submit {
    background-color: #007bff;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
}

.contact-form .btn-submit:hover {
    background-color: #0056b3;
}

.contact-info h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: #ffffff;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-form,
    .contact-info {
        max-width: 100%;
    }
}

/* Center-align the titles */
.programming-title {
    text-align: center;
    width: 100%; /* Ensures the text spans the full width of its parent */
    margin: 20px 0; /* Adds spacing above and below the text */
  }
  
  /* Center-align images */
  .tech-logos {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping for images */
    justify-content: center; /* Horizontally centers child elements */
    gap: 10px; /* Adds spacing between images */
  }
  
  /* Style for the section title */
  .section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
  }
  /* Center-align all headings */
.skill-title {
    text-align: center;
    font-size: 20px;
    margin: 20px 0;
  }
  
  /* Center-align images within categories */
  .tech-logos {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping for images */
    justify-content: center; /* Centers content horizontally */
    gap: 15px; /* Adds spacing between images */
  }
  
  /* Style for the overall section */
  .projects-section {
    padding: 40px 20px;
    background-color: #000000;
  }
  
  /* Style for the section title */
  .section-title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 30px;
    color: #ffffff;
  }
