/* Global Styles */

section#header,
section#about_me,
section#projects,
section#skills-section,
section#activity,
section#gallery,
section#assignments ,
section#Contact {
    overflow: hidden;
    border: 1px solid #090810;
}

[data-aos] {
    max-width: 100%;
    overflow-x: hidden;
}

.aos-animate {
    max-width: 100%;
    overflow-x:hidden;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}
body {
    overflow-x: hidden ;
    background: #151515;
    color: white;
}

/* Header and Navigation */
#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: #151515;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    width: 50px;
    height: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    font-weight: bolder;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4CC9FE;
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.herosec {

    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the content */
    padding: 2rem;
    /*position: relative; !* Add this to ensure proper positioning *!*/
}

.video-background video,
#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
    filter: brightness(0.7);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 10, 30, 0.6) 100%);
    z-index: -1;
}

/* Blue geometric pattern overlay */
.video-overlay:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%; /* Extended to full width */
    height: 100%;
    background:
            radial-gradient(circle at 80% 50%, rgba(0, 184, 255, 0.1) 0%, transparent 50%),
            linear-gradient(135deg, transparent 0%, rgba(0, 142, 210, 0.1) 50%, transparent 100%);
    z-index: 0;
}

/* Add geometric elements */
.geometric-elements {
    position: absolute; /* Changed to absolute positioning */
    top: 0;
    right: 0;
    width: 100%; /* Extended to full width */
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

/* Individual geometric shapes */
.geo-shape {
    position: absolute;
    border: 1px solid rgba(0, 195, 255, 0.4);
    background-color: rgba(0, 153, 204, 0.05);
    transform: rotate(45deg);
    transition: all 3s ease-in-out;
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.2);
}

.geo-shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 25%;
    animation: float 8s infinite alternate ease-in-out;
}

.geo-shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 50%;
    right: 15%;
    animation: float 10s infinite alternate-reverse ease-in-out;
}

.geo-shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 40%;
    right: 35%;
    animation: float 7s infinite alternate ease-in-out;
}

.geo-shape:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 30%;
    animation: float 12s infinite alternate-reverse ease-in-out;
}

.geo-shape:nth-child(5) {
    width: 40px;
    height: 40px;
    top: 35%;
    right: 20%;
    animation: float 6s infinite alternate ease-in-out;
}

/* Add more shapes on the left side */
.geo-shape:nth-child(6) {
    width: 90px;
    height: 90px;
    top: 45%;
    left: 25%;
    animation: float 9s infinite alternate ease-in-out;
}

.geo-shape:nth-child(7) {
    width: 70px;
    height: 70px;
    top: 65%;
    left: 15%;
    animation: float 11s infinite alternate-reverse ease-in-out;
}

@keyframes float {
    0% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: rotate(45deg) translate(20px, 20px);
        opacity: 0.5;
    }
}

/* Text content styles */
.text-content {
    width: 100%; /* Full width */
    z-index: 2;
    color: #fff;
    text-align: center; /* Center text */
    padding: 0 5rem; /* Add padding on both sides */
    max-width: 1200px; /* Limit maximum width */
}

#hero {
    width: 100%;
    font-size: 30px;
}

.b1 {
    font-size: 2.5rem; /* Increased size */
    display: flex;
    align-items: center;
    justify-content: center; /* Center the hello welcome text */
    margin-bottom: 2rem;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.wel {
    display: inline;
    margin: 0 0.5rem;
    color: #00b8ff;
    font-size: 3.5rem; /* Increased size */
    text-shadow: 0 0 10px rgba(0, 184, 255, 0.5); /* Add glow effect */
}

.text-content p {
    line-height: 1.8;
    max-width: 1000px; /* Increased max width */
    margin: 0 auto; /* Center the paragraph */
    font-size: 1.2rem; /* Increased paragraph text size */
}

/* Animation content area */
.animation-content {
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
    z-index: 2;
}

.hero-animation {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 3;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .text-content {
        padding: 0 2rem;
    }

    #hero {
        font-size: 24px;
    }

    .b1 {
        font-size: 2rem;
    }

    .wel {
        font-size: 2.5rem;
    }

    .text-content p {
        font-size: 1rem;
    }
}
/* Hero Section Media Queries */
/* Extra Small Devices (320px) */
@media (max-width: 320px) {
    .herosec {
        min-height: 60vh;
        padding: 0 3%;
    }

    .herosec::before {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        border-width: 2px;
    }

    .b1 {
        font-size: 1.5rem;
    }

    .wel {
        font-size: 1.2rem;
    }

    .text-content p {
        font-size: 0.8rem;
        margin-top: 10px;
    }

    .hero-animation {
        max-width: 200px;
    }
    animation-content{
        max-width: 200px;

    }
}

/* Small Mobile Devices (375px) */
@media (min-width: 321px) and (max-width: 374px) {
    .herosec {
        min-height: 65vh;
        padding: 0 4%;
    }

    .herosec::before {
        top: 12px;
        left: 12px;
        right: 12px;
        bottom: 12px;
        border-width: 3px;
    }

    .b1 {
        font-size: 1.7rem;
    }

    .wel {
        font-size: 1.3rem;
    }

    .text-content p {
        font-size: 0.85rem;
        margin-top: 12px;
    }

    .hero-animation {
        max-width: 220px;
    }

    animation-content{
        max-width: 700px;

    }

}

/* Large Mobile Devices (425px) */
@media (min-width: 375px) and (max-width: 425px) {
    .herosec {
        min-height: 70vh;
    }

    .b1 {
        font-size: 1.9rem;
    }

    .wel {
        font-size: 1.4rem;
    }

    .text-content p {
        font-size: 0.9rem;
        margin-top: 15px;
    }

    .hero-animation {
        max-width: 240px;
    }

    animation-content{
        max-width: 700px;

    }
}

/* Tablets (768px) */
@media (min-width: 426px) and (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 30px;
    }

    .text-content {
        text-align: center;
    }

    .text-content p {
        margin: 15px auto;
    }

    .hero-animation {
        max-width: 300px;
    }

    animation-content{
        max-width: 700px;

    }
}

/* Small Laptops (1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        max-width: 900px;
        gap: 30px;
    }

    .b1 {
        font-size: 2.3rem;
    }

    .wel {
        font-size: 1.8rem;
    }

    .hero-animation {
        max-width: 350px;
    }

    animation-content{
        max-width: 700px;

    }
}

/* Large Laptops and Desktops (1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .hero-content {
        max-width: 1200px;
    }

    .b1 {
        font-size: 2.5rem;
    }

    .wel {
        font-size: 2rem;
    }

    .hero-animation {
        max-width: 400px;
    }


    animation-content{
        max-width: 700px;

    }
}

/* Extra Large Screens (above 1440px) */
@media (min-width: 1441px) {
    .hero-content {
        /*max-width: 1400px;*/
    }

    animation-content{
        max-width: 700px;

    }
}

/* About Me Section */
#about_me {
    padding: 80px 5%;
    background: #151515;
}

#about_me_body {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.image-section {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    position: relative;
}

.image-section img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(76, 201, 254, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-section img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(76, 201, 254, 0.7);
}

/* Light effect below the image */
.image-section::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 5px;
    background: linear-gradient(90deg, transparent, rgba(76, 201, 254, 0.8), transparent);
    filter: blur(10px);
    z-index: -1;
}

.content-section {
    flex: 2;
    min-width: 300px;
    text-align: center;
}

.hi {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #4CC9FE;
    animation: fadeIn 1.5s infinite;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.rotate-text {
    display: block;
    font-size: 2.5rem;
    margin: 20px 0;
    color: #4CC9FE;
    /*overflow: hidden;*/
    /*animation: text_move 2s infinite forwards;*/
}

@keyframes text_move {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.bio-text {
    font-size: 1.2rem;
    color: #d3d3d3;
    margin: 20px auto;
    line-height: 1.8;
    max-width: 600px;
    animation: fadeIn 2s infinite;
}

.bio-text mark {
    background: none;
    color: #4CC9FE; /* Blue accent */
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: typing 3s steps(34, end) forwards;
}

@keyframes typing {
    from {
        width: 0;
        border-right: none;
    }
    to {
        width: 100%;
        border-right: none;
    }
}

/* Hire Me Button */
.hire-me-btn {
    background: linear-gradient(45deg, #4CC9FE, #3a7bc8); /* Gradient background */
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    margin: 20px 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hire-me-btn:hover {
    background: linear-gradient(45deg, #3a7bc8, #4CC9FE);
    transform: translateY(-3px);
}

.social-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.main-socials .social-icons {
    display: flex;
    gap: 20px;
}

.main-socials img, .additional-socials img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.main-socials img:hover, .additional-socials img:hover {
    transform: scale(1.2);
    filter: brightness(1.3);
}

.additional-socials {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

/* About Me Section Media Queries */
/* Extra Small Devices (320px) */
@media (max-width: 320px) {
    #about_me {
        padding: 40px 3%;
    }

    #about_me_body {
        gap: 25px;
    }

    .image-section img {
        max-width: 220px;
    }

    .hi {
        font-size: 1.8rem;
    }

    .rotate-text {
        font-size: 1.8rem;
    }

    .bio-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .hire-me-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .main-socials .social-icons {
        gap: 15px;
    }

    .main-socials img, .additional-socials img {
        width: 25px;
        height: 25px;
    }
}

/* Small Mobile Devices (375px) */
@media (min-width: 321px) and (max-width: 375px) {
    #about_me {
        padding: 50px 4%;
    }

    #about_me_body {
        gap: 30px;
    }

    .image-section img {
        max-width: 250px;
    }

    .hi {
        font-size: 2rem;
    }

    .rotate-text {
        font-size: 2rem;
    }

    .bio-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hire-me-btn {
        padding: 10px 22px;
        font-size: 0.95rem;
    }

    .main-socials img, .additional-socials img {
        width: 28px;
        height: 28px;
    }
}

/* Large Mobile Devices (425px) */
@media (min-width: 376px) and (max-width: 425px) {
    #about_me {
        padding: 60px 4%;
    }

    .image-section img {
        max-width: 280px;
    }

    .hi {
        font-size: 2.2rem;
    }

    .rotate-text {
        font-size: 2.2rem;
    }

    .bio-text {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .hire-me-btn {
        padding: 11px 24px;
    }

    .main-socials img, .additional-socials img {
        width: 30px;
        height: 30px;
    }
}

/* Tablets (768px) */
@media (min-width: 426px) and (max-width: 768px) {
    #about_me_body {
        flex-direction: column;
    }

    .image-section {
        order: 1;
    }

    .content-section {
        order: 2;
    }

    .image-section img {
        max-width: 300px;
    }

    .bio-text {
        max-width: 500px;
    }
}

/* Small Laptops (1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    #about_me_body {
        max-width: 900px;
        margin: 0 auto;
    }

    .image-section img {
        max-width: 320px;
    }

    .content-section {
        text-align: left;
    }

    .hi, .rotate-text {
        justify-content: flex-start;
    }

    .bio-text {
        margin: 20px 0;
    }

    .social-container {
        align-items: flex-start;
    }
}

/* Large Laptops and Desktops (1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    #about_me_body {
        max-width: 1200px;
        margin: 0 auto;
        justify-content: space-between;
    }

    .image-section img {
        max-width: 350px;
    }

    .content-section {
        text-align: left;
        padding-left: 40px;
    }

    .hi, .rotate-text {
        justify-content: flex-start;
    }

    .bio-text {
        margin: 20px 0;
        font-size: 1.2rem;
    }

    .social-container {
        align-items: flex-start;
    }
}

/* Extra Large Screens (above 1440px) */
@media (min-width: 1441px) {
    #about_me_body {
        max-width: 1400px;
    }
}

                                                     /* Projects Section */


.projects-section {
    background: #151515;
    color: white;
    padding: 50px 20px;
}

.section-title {
    font-size: 28px;
    margin: 20px 0;
    text-transform: uppercase;
    text-align: center;
}

.section-title span {
    color: #4CC9FE;
}

.project {
    background: #1a1a1a;
    padding: 20px;
    margin: 20px auto;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
}

.project h3 {
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #4CC9FE;
    background: #151515;
}

/* Project Images Container */
.project-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* Project Images */
.project-images img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

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

/* GitHub Link */
.github-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: #4CC9FE;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.github-link img {
    width: 25px;
    height: 25px;
}

.github-link:hover {
    background: #f39c12;
}

/* Skills Section */
#skills-section {
    padding: 80px 5%;
    background: #151515;
}

#skills-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: white;
}

.highlight {
    color: #4CC9FE;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.skill-item {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}

.skill-item:hover {
    transform: translateY(-5px);
    background-color: #777777;
}

.skill-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

#skills-section h3 {
    text-align: center;
    margin: 40px 0 30px;
    color: white;
}

.education {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.education-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 250px;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.education-item:hover {
    transform: translateY(-10px);
    background-color: #777777;
    box-shadow: 0 8px 20px rgba(76, 201, 254, 0.6);
}

.education-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

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

.education-item p {
    line-height: 1.5;
    color: #ccc;
    transition: color 0.3s;
}

.education-item:hover p {
    color: white;
}

.description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
    color: #ccc;
}

/* Assignments Section */
#assignments {
    padding: 80px 5%;
    background: #151515;
}

#assignments h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 40px;
    letter-spacing: 1px;
    color: white;
}

#assignments h2 span {
    color: #4CC9FE; /* Blue accent */
}

/* Grid Layout */
.assignment-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

/* Assignment Card */
.assignment-item {
    background: rgba(20, 20, 30, 0.8);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.assignment-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(76, 201, 254, 0.6);
}

.assignment-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 8px rgba(0, 150, 255, 0.6));
}

.assignment-item .icons {
    margin-top: 12px;
}

/* Icons */
.assignment-item .icons a img {
    width: 20px;
    height: 20px;
    margin: 0 5px;
    opacity: 0.8;
    transition: transform 0.3s, opacity 0.3s;
}

.assignment-item .icons a img:hover {
    transform: scale(1.2);
    opacity: 1;
}

/* Gallery Section */
.section {
    padding: 80px 5%;
    text-align: center;
    background: #151515;
}

#gallery {
    font-size: 2rem;
    color: white;
    position: relative;
    display: inline-block;
}

#gallery::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #4CC9FE;
    bottom: -10px;
    left: 25%;
}

.pre {
    font-family: 'Arial', sans-serif;
    white-space: pre-wrap;
    margin: 30px 0;
    line-height: 1.6;
    color: #ccc;
}

.section img {
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}

.section img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Activities Section */
.act {
    padding: 80px 5%;
    background: #151515;
    text-align: center;
}

#activity {
    font-size: 2rem;
    color: white;
    position: relative;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

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

.image1, .image2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    padding: 30px;
    transition: transform 0.3s;
}

.image1:hover, .image2:hover {
    transform: translateY(-5px);
    background-color: #777777;
}

.b1, .b2 {
    margin-bottom: 20px;
    color: white;
    font-size: 1.2rem;
}

.img1, .img2 {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.b01, .b02 {
    background-color: #4CC9FE;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.b01:hover, .b02:hover {
    background-color: #f39c12;
}

/* Contact Section */
.contact {
    padding: 80px 5%;
    background: #151515;
}

.title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: white;
}

.title span {
    color: #4CC9FE;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.left {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.description {
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ccc;
}

.contact-info-title {
    margin-bottom: 20px;
    color: white;
}

.profile {
    margin-bottom: 20px;
}

.profile-img {
    width: 110px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-details {
    line-height: 2;
    color: #ccc;
}

.icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.right {
    flex: 1;
    min-width: 300px;
}

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

.contact-form label {
    margin-bottom: 8px;
    color: white;
}

.input {
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #4CC9FE;
    border-radius: 5px;
    font-size: 16px;
    background-color: #1a1a1a;
    color: white;
}

.textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #4CC9FE;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #f39c12;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}

.footer {
    text-align: center;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .project-images {
        justify-content: center;
    }

    .skills, .education {
        justify-content: center;
    }
}

@media screen and (max-width: 992px) {
    .herosec {
        padding: 80px 5%;
        min-height: auto;
    }

    .image-section, .content-section {
        flex: 100%;
    }

    .image-section {
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #151515;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s;
    }

    .nav-links li {
        margin: 15px 0;
    }

    #menu-toggle:checked ~ .nav-links {
        left: 0;
    }

    .herosec div {
        text-align: center;
    }

    .b1 {
        font-size: 1.8rem;
    }

    .wel {
        font-size: 1.5rem;
    }

    .section-title, #gallery, .title {
        font-size: 1.8rem;
    }

    .rotate-text {
        font-size: 2rem;
        text-align: center;
    }

    .assignment-container {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 20px;
    }
}

@media screen and (max-width: 576px) {
    .b1 {
        font-size: 1.8rem;
    }

    .wel {
        font-size: 1.2rem;
    }

    .project h3 {
        font-size: 1.2rem;
    }

    .skill-item {
        width: 80px;
        height: 80px;
    }

    .skill-item img {
        width: 50px;
        height: 50px;
    }

    .education-item {
        width: 100%;
    }

    .section img {
        width: 120px;
        height: 120px;
    }

    .assignment-container {
        grid-template-columns: 1fr;
    }

    /* For Mobile Small - 320px */
    #assignments h2 {
        font-size: 18px;
    }

    .assignment-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .assignment-item {
        padding: 10px;
    }

    .assignment-item img {
        width: 45px;
        height: 45px;
    }

    .assignment-item .icons a img {
        width: 14px;
        height: 14px;
    }

    /* For Mobile Medium - 375px */
    @media (max-width: 375px) {
        #assignments h2 {
            font-size: 20px;
        }

        .assignment-container {
            grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
            gap: 12px;
        }

        .assignment-item {
            padding: 12px;
        }

        .assignment-item img {
            width: 50px;
            height: 50px;
        }

        .assignment-item .icons a img {
            width: 16px;
            height: 16px;
        }
    }

    /* For Mobile Large - 425px */
    @media (max-width: 425px) {
        #assignments h2 {
            font-size: 22px;
        }

        .assignment-container {
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 15px;
        }

        .assignment-item {
            padding: 14px;
        }

        .assignment-item img {
            width: 60px;
            height: 60px;
        }

        .assignment-item .icons a img {
            width: 18px;
            height: 18px;
        }
    }

    /* For Tablet - 768px */
    @media (max-width: 768px) {
        #assignments h2 {
            font-size: 24px;
        }

        .assignment-container {
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 20px;
        }

        .assignment-item {
            padding: 15px;
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
        }

        .assignment-item img {
            width: 60px;
            height: 60px;
        }

        .assignment-item .icons a img {
            width: 18px;
            height: 18px;
        }
    }

    /* For Laptop - 1024px */
    @media (max-width: 1024px) {
        .assignment-container {
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 25px;
        }

        .assignment-item {
            padding: 18px;
        }
    }

    /* For Large Laptop - 1440px */
    @media (max-width: 1440px) {
        .assignment-container {
            max-width: 1000px;
            gap: 30px;
        }

        .assignment-item {
            padding: 20px;
        }
    }

}


