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

:root {
    --box-shadow-1: 0 3px 15px rgba(0, 0, 0, .2);
    --color-primary: #040404;
    /*#040404*/
    --color-secondary: #ff6666;
    --color-white: #fff;
    --color-black: #000;
    --color-grey0: #f8f8f8;
    --color-grey-1: #dbe1e8;
    --color-grey-2: #b2becd;
    --color-grey-3: #6c7983;
    --color-grey-4: #454e56;
    --color-grey-5: #2a2e35;
    --color-grey-6: #12181b;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--color-primary);
    font-size: 1.1rem;
    color: var(--color-white);
    transition: 5s ease-in-out;
}

a {
    text-decoration: none;
    display: inline-block;
    color: inherit;
    font-family: inherit;
}

header {
    height: 100vh;
    color: var(--color-white);

    transition: 5s ease-in-out;
  
    width: 0;
    height: 0;
    transition: animation .5s ease-in-out;
}

section {
   
    padding: 3rem 18rem;
    transition: all 0.4s ease-in-out;
 
}





/* colorpallete */





.hoverit {
    position: absolute;
    top: 50%;
    bottom: 50%;
    right: 115%;
    z-index: 100;
    color: var(--color-grey-3);
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.4s ease-in-out;
    display: none;
    font-family: "Press Start 2P", cursive;
}

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

.active-btn i {
    color: var(--color-white);
}

.active {
    display: block !important;
    -webkit-animation: 1.2s ease-in-out;
    animation: 3s ease-in-out;
    transition: all 0.4s ease-in-out;
}


/* @-webkit-keyframes show {
    0% {
        transform: translateY(-50%) scale(0);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes show {
    0% {
        transform: translateY(-50%) scale(0);
    }
    100% {
        transform: translateY(0) scale(1);
    }
} */

.header-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 100%;
}

.header-content .left-header {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}

.right-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-right: 18rem;
    white-space: nowrap;
}

.right-header .name {
    font-size: 3.6rem;
    margin-block: 3%;
}

.right-header p {
    margin: 1.5rem 0;
    line-height: 2rem;
    font-size: 2.1rem;
    position: absolute;
    color: var(--color-white);
}

.auto-input {
    -webkit-animation: hold 5s ease-in forwards 1 alternate;
    animation: hold 5s ease-in forwards 1 alternate;
}

@-webkit-keyframes hold {
    0% {
        color: var(--color-primary);
        display: none;
    }
    5% {
        color: var(--color-primary);
        display: none;
    }
    90% {
        color: var(--color-primary);
        display: none;
        -webkit-animation-duration: 10s;
        animation-duration: 10s;
    }
    100% {
        color: #fff;
        display: block;
    }
}

@keyframes hold {
    0% {
        color: var(--color-primary);
        display: none;
    }
    5% {
        color: var(--color-primary);
        display: none;
    }
    90% {
        color: var(--color-primary);
        display: none;
        -webkit-animation-duration: 10s;
        animation-duration: 10s;
    }
    100% {
        color: #fff;
        display: block;
    }
}

.btn-con {
    display: flex;
    align-self: flex-start;
    margin: 6% auto;
}

.main-btn {
    border-radius: 30px;
    color: inherit;
    font-weight: 600;
    position: relative;
    border: 1px solid var(--color-secondary);
    display: flex;
    align-items: center;
    align-self: flex-start;
    justify-content: center;
    overflow: hidden;
    padding-left: 8px;
}

.main-btn .btn-text {
    padding: 0 8px;
    letter-spacing: 3px;
}

.main-btn .btn-icon {
    background-color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 1rem;
}

.main-btn:hover {
    background: var(--color-secondary);
    transition: 0.4s ease-in-out;
}

.h2 {
    position: relative;
    font-size: 3.5rem;
    color: #222;
    display: none;
}

.h2::before {
    content: attr(data-text);
    position: absolute;
    white-space: nowrap;
    color: #fff;
    overflow: hidden;
    border-right: 4px solid #fff;
    -webkit-animation: animate 5s linear 1;
    animation: animate 5s linear 1;
    filter: drop-shadow(0 0 20px var(--color-secondary)) drop-shadow(0 0 50px #ff6666);
}

@-webkit-keyframes animate {
    0% {
        width: 0;
    }
    10% {
        width: 0;
    }
    100% {
        width: 0;
    }
    70% {
        width: 100%;
    }
    90% {
        width: 100%;
    }
}

@keyframes animate {
    0% {
        width: 0;
    }
    10% {
        width: 0;
    }
    100% {
        width: 0;
    }
    70% {
        width: 100%;
    }
    90% {
        width: 100%;
    }
}

.main-title {
    text-align: center;
}

.main-title h2 {
    position: relative;
    font-size: 4rem;
    font-weight: 600;
    text-transform: uppercase;
}

.main-title span {
    color: var(--color-secondary);
}

.main-title .bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--color-grey-5);
    transition: all 0.4s ease-in-out;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-weight: 800;
    font-size: 6.3rem;
}

.left-about h4 {
    font-size: z;
    padding-block: 15px;
    text-align: center;
}

.left-about h4 span {
    color: var(--color-secondary);
}

.skills h2 {
    position: relative;
    font-size: 4rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5%;
    text-align: center;
}

.skills span {
    color: var(--color-secondary);
}


.skill-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    border-radius: 14px;
    margin: 2%;
    width: 150px;
    min-width: 120px;
    max-width: 150px;
    height: 120px;
    padding: 10px 5px;
    box-sizing: border-box;
    text-align: center;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    word-break: break-word;
}

.skill-text:hover {
    transform: scale(1.1);
    --angle: 0deg;
    border-image: linear-gradient(var(--angle), #ffd800, var(--color-secondary), #750cf2, #0cbcf2) 1;
    animation: 2s rotate linear infinite;
    border-radius: 14px;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotate {
    to {
        --angle: 360deg;
    }
}

.s-t {
    font-size: 2.2rem;
    text-align: center;
    margin-top: 7%;
    margin-bottom: 3%;
}

.skill-img {
    width: 51px;
    height: 51px;
}

.skill-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.sec-3 {
    padding: 3rem 0;
}

.image img {
    max-width: 100%;
    height: inherit;
    border-radius: 15px;
}

.port-text {
    padding: 2rem 0;
    text-align: center;
}

.eportfolios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-inline: 13rem;
}

.eportfolio-item {
    position: relative;
}

.eportfolio-item .image img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    border-radius: 15px;
}

.eportfolio-item1 {
    position: relative;
}

.eportfolio-item1  {
    width: 100%;
    height: 95%;
    object-fit: cover;
    border-radius: 15px;
}
.ehover-items {
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transform: scale(0);
    transition: all .7s ease-in-out;
}

.ehover-items h3 {
    font-size: 1.5rem;
    color: #fff;
}

.eport-pl {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.eport-pl img {
    width: 41px;
    height: 41px;
}

.icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.eicon {
    background-color: var(--color-primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 1rem;
    cursor: pointer;
    transition: all .4s ease-in-out;
}

.eicon i {
    font-size: 1.5rem;
    color: #fff;
    margin: 0 1rem;
}

.eicon:hover {
    background-color: #fff;
}

.eicon:hover i {
    color: #191d2b;
}

.eportfolio-item:hover .ehover-items {
    opacity: 1;
    transform: scale(1);
}

.eportfolio-item1:hover .ehover-items {
    opacity: 1;
    transform: scale(1);
}

.h-jc {
    justify-content: center !important;
}

::-webkit-scrollbar {
    width: 6px;
}


/* Track */

::-webkit-scrollbar-track {
    background: var(--color-primary);
}


/* Handle */

::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
}


/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    border-radius: 5px;
}

.sec-4 {
    padding: 3rem 0;
}

.contact-content-con {
    display: flex;
    text-align: center;
    padding: 33px 5rem;
}

.contact-content-con .left-contact .contact-info .contact-item {
    padding-block: 1rem;
}




.input-subject,
.input-textarea {
    width: 84%;
    padding: 10px 20px;
    outline: none;
    background: #050505;
    border: none;
    border: 8px;
    color: #fff;
    font-size: 18px;
}

.input-line {
    width: 100%;
    flex-direction: row;
    justify-content: center;
}

.input-name {
    width: 40%;
    padding: 10px 20px;
    margin: 14px;
    border-radius: 8px;
    outline: none;
    background: #050505;
    border: none;
    color: #fff;
    font-size: 18px;
}

input,
textarea {
    box-shadow: 3px 3px 9px var(--color-secondary);
}

form {
    display: flex;
    height: auto;
    align-items: center;
    flex-direction: column;
    width: auto;
    position: relative;
    gap: 22px;
}

.submit {
    box-shadow: none;
    font-size: 17px;
    font-weight: 600;
    padding: 9px 30px;
    color: #fff;
    background-color: var(--color-secondary);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    transition: 0.2s ease;
}

textarea {
    height: 151px;
    resize: none;
}

.sec-4 {
    /* height: 100vh; */
    overflow: hidden;
}

.socials {
    display: flex;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    bottom: 2%;
    font-size: 10px;
}

.socials a {
    margin-inline: 5%;
}

.maincolor-div {
    height: 50px;
    display: none;
    pointer-events: auto;
}

.colordiv {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    justify-items: center;
    align-items: center;
    height: 50px;
}

.circle {
    height: 13px;
    width: 13px;
    border-radius: 100%;
    cursor: pointer;
}

.settings {
    font-family: "Press Start 2P", cursive;
    top: 3%;
    left: 3%;
    position: fixed;
    transition: all 0.1s ease-in-out;
    display: none;
}

.settings-icon {
    font-size: 25px;
    color: var(--color-secondary);
    animation: spin 2s linear infinite;
    cursor: pointer;
}

.settings:hover .maincolor-div {
    display: block;
    color: #66FF99;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.theme-btn {
    font-family: "Press Start 2P", cursive;
    font-size: 20px;
    top: 5%;
    right: 3%;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.1s ease-in-out;
    display: none;
}

.theme-btn i {
    font-size: 1.4rem;
    color: var(--color-grey-2);
    pointer-events: none;
}

.br {
    display: none;
}


/* intro-display */

.display-b {
    width: inherit;
    height: 100vh;
}

.display-block {
    display: block !important;
}

.display-iblock {
    display: inline-block;
}

.display-n {
    display: none !important;
}

.display-op {
    opacity: 1;
}

#intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    text-align: center;
    height: 100vh;
    vertical-align: middle;
    line-height: 45px;
    animation: intro-change 7s forwards;
    overflow: hidden !important;
}

@keyframes intro-change {
    95%,
    100% {
        filter: brightness(30%);
    }
}

#intro p {
    font-size: 23px;
}

.intro-flex {
    display: flex;
}

.intro-flex img {
    margin-inline: 13%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}


/* mediaquery */

@media (max-width:768px) {

    
    .display-b {
        width: inherit;
        height: 108vh;
    }
     ::-webkit-scrollbar {
        width: 0;
    }
    .intro p {
        font-size: 1.7rem;
        letter-spacing: 1px;
        line-height: 44px;
    }
    .br {
        display: block;
    }


  #qqq h1{   
    justify-content: center; 
    font-size: 20px;

}

    .btn-con {
        margin: 15% auto;
        transform: translateY(-40px);
    }
    header {
        padding: 10% 0;
        overflow: scroll;
        height: 100%;
    }
    section {
        padding: 2rem 0 5rem 0 !important;
        overflow: scroll !important;
        height: 100% !important;
    }
    .header-content {
        grid-template-columns: 1fr;
        padding-bottom: 6rem;
    }
    .right-header {
        padding: 0;
        white-space: initial;
        position: relative;
    }
    .image img {
        width: 319px;
    }
    .auto-input {
        text-align: center;
        
    }
    .settings {
        display: none !important;
    }
    .theme-btn {
        top: 0;
        right: 58%;
        left: 0;
        white-space: nowrap;
    }


    /* About */
    .left-about {
        padding-left: 2%;
    }
    .left-about p {
        font-size: 14px;
        padding: 2rem;
    }
    .skills h2 {
        font-size: 3rem;
        top: 10px;
    }
    .skill-flex {
        justify-content: center;
    }

    /* portfolios */
    .sec-3 {
        padding-bottom: 1rem !important;
    }
    .eportfolios {
        grid-template-columns: 1fr;
        padding-bottom: 6rem;
        padding-inline: 3rem;
    }
    .eportfolio-item .image img {
        border-radius: 0;
    }
    .ehover-items {
        border-radius: 0;
    }
    .image-p img {
        width: 299px;
        height: 223px;
    }
    .image-p {
        display: flex;
        justify-content: center;
    }
    .hover-flex {
        width: 70px;
        height: 70px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -123px 0 0 -126px;
    }
    .hover-items {
        width: 253px !important;
        height: 224px !important;
    }
    .hover-items {
        border-radius: unset !important;
    }
    /* contactme */
    .sec-4 {
        overflow: scroll;
    }
    .contact-content-con {
        flex-direction: column;
        padding: 33px 3rem;
    }
    .input-line {
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    input {
        width: 100% !important;
    }
    .input-textarea {
        width: 100%;
    }
    .right-contact {
        margin-top: 7%;
    }
    .right-contact h4 {
        font-size: 1.6rem;
        margin-bottom: 3%;
    }
    .main-title h2 {
        font-size: 3rem !important;
        top: 10px;
    }
    .theme-btn {
        margin-top: 2%;
    }
  }

@media(max-width:1000px) and (min-width:769px) {
    .sec-2 {
        padding: 3rem 7rem;
    }
    .skill-flex {
        justify-content: center;
    }
}

@media (max-width:769px) and (min-width:410px) {
    .hover-flex {
        width: 70px;
        height: 70px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -123px 0 0 -126px;
    }
    .hover-items {
        width: 100% !important;
        height: inherit !important;
    }

}

@media(max-width:1200px) and (min-width:809px) {
    .image img {
        width: 300px;
        max-width: initial;
    }
    .br {
        display: block;
    }
    .name {
        text-align: center;
    }
    .my-name {
        /* display: flex;
        justify-content: center; */
        font-size: 46px;
        margin-bottom: 10%;

    }
    .btn-con {
        margin: 15% auto;
        transform: translateY(-40px);
    }
    .auto-input {
        text-align: center;
   
    }
}

@media (min-width:769px) and (max-width:1050px) {
    .eportfolios {
        padding-inline: 7rem !important;
    }
}


/*# sourceMappingURL=style.css.map */


body {
    display: relative;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #222;
}
.container {
    position: relative;
    width: 200px;
    height: 200px;
}
@keyframes shake {
0% { transform: translate(-50%, -50%) rotate(0deg); }
10% { transform: translate(-50%, -50%) rotate(-5deg); }
20% { transform: translate(-50%, -50%) rotate(5deg); }
30% { transform: translate(-50%, -50%) rotate(-5deg); }
40% { transform: translate(-50%, -50%) rotate(5deg); }
50% { transform: translate(-50%, -50%) rotate(-5deg); }
60% { transform: translate(-50%, -50%) rotate(5deg); }
70% { transform: translate(-50%, -50%) rotate(-5deg); }
80% { transform: translate(-50%, -50%) rotate(5deg); }
90% { transform: translate(-50%, -50%) rotate(-5deg); }
100% { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes gravity {
0% { transform: translate(-50%, -50%); }
50% { transform: translate(-50%, -40%); }
100% { transform: translate(-50%, -50%); }
}

.center-image {
    position: absolute;
    width: 300px;
    height: 300px;
    background: url("logo.png") no-repeat center/cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: shake 2s infinite, gravity 3s infinite;
    border: 5px solid var(--color-secondary);
    border-radius: 50%;
    margin-left: 30px;
    box-shadow: 0 0 10px 3px var(--color-secondary); /* Always visible blurred border shadow */
    transition: box-shadow 0.3s ease, transform 0.3s ease; /* Smooth transition */
}



.center-image:hover {
    box-shadow: 0 0 20px 6px var(--color-secondary); /* Glow effect intensifies on hover */
    transform: translate(-50%, -50%) scale(1.05); /* Slight scale-up effect */
}


/* Container Styling */
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
   
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Label Styling */
form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}


@media (max-width: 768px) { 
    /* Center Image Mobile Fix */
    .center-image {
        position: relative; /* Avoids absolute shift issues */
        width: 250px;
        height: 250px;
        background: url("logo.png") no-repeat center/cover;
        border: 5px solid var(--color-secondary);
        border-radius: 50%;
        margin: 20px auto; /* Centering with margin */
        display: block;
        box-shadow: 0 0 10px 3px var(--color-secondary);
        transition: box-shadow 0.3s ease, transform 0.3s ease;
    }

    /* Header Content */
    .header-content {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .right-header h1 {
        font-size: 24px;
        margin-top: 30px;
    }

    .my-name {
        margin-top: 20px;
        font-size: 2rem;
    }

    .my-name1 {
        margin-top: 30px;
        font-size: 3.5rem;
    }

    .auto-input {
        margin-top: 1rem;
        font-size: 12px;
    }

    .btn-con {
        display: flex;
        justify-content: center;
    }
}




    @media(max-width:1200px) and (min-width:769px) {
        .center-image {
            position: absolute;
            width: 300px;
            height: 300px;
            background: url("logo.png") no-repeat center/cover;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation: shake 2s infinite, gravity 3s infinite;
            border: 5px solid var(--color-secondary);
            border-radius: 50%;
            margin-left: 30px;
            box-shadow: 0 0 10px 3px var(--color-secondary); /* Always visible blurred border shadow */
            transition: box-shadow 0.3s ease, transform 0.3s ease; /* Smooth transition */
        }

        @media (max-width: 768px) {
  }        }
/* Existing CSS from provided code */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

:root {
    --box-shadow-1: 0 3px 15px rgba(0, 0, 0, .2);
    --color-primary: #040404;
    --color-secondary: #ff6666;
    --color-white: #fff;
    --color-black: #000;
    --color-grey0: #f8f8f8;
    --color-grey-1: #dbe1e8;
    --color-grey-2: #b2becd;
    --color-grey-3: #6c7983;
    --color-grey-4: #454e56;
    --color-grey-5: #2a2e35;
    --color-grey-6: #12181b;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--color-primary);
    font-size: 1.1rem;
    color: var(--color-white);
    transition: 0.5s ease-in-out; /* Adjusted transition duration for smoothness */
}

a {
    text-decoration: none;
    display: inline-block;
    color: inherit;
    font-family: inherit;
}

section {
    padding: 3rem 18rem;
    transition: all 0.4s ease-in-out;
}

.main-title {
    text-align: center;
}

.main-title h2 {
    position: relative;
    font-size: 4rem;
    font-weight: 600;
    text-transform: uppercase;
}

.main-title span {
    color: var(--color-secondary);
}

.port-text {
    padding: 2rem 0;
    text-align: center;
}

.eportfolios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-inline: 13rem;
}

.eportfolio-item {
    position: relative;
}

.eportfolio-item .image img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    border-radius: 15px;
}

.ehover-flex {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.ehover-items {
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transform: scale(0);
    transition: all 0.7s ease-in-out;
}

.ehover-items h3 {
    font-size: 1.5rem;
    color: #fff;
}

.eport-pl {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.eport-pl img {
    width: 41px;
    height: 41px;
}

.icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.eicon {
    background-color: var(--color-primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 1rem;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}

.eicon i {
    font-size: 1.5rem;
    color: #fff;
    margin: 0 1rem;
}

.eicon:hover {
    background-color: #fff;
}

.eicon:hover i {
    color: #191d2b;
}

.eportfolio-item:hover .ehover-items {
    opacity: 1;
    transform: scale(1);
}

.h-jc {
    justify-content: center !important;
}

/* Media Queries */
@media (max-width: 768px) {
    section {
        padding: 2rem 0 5rem 0 !important;
        overflow: scroll !important;
        height: 100% !important;
    }
    .eportfolios {
        grid-template-columns: 1fr;
        padding-bottom: 6rem;
        padding-inline: 3rem;
    }
    .eportfolio-item .image img {
        border-radius: 0;
    }
    .ehover-items {
        border-radius: 0;
    }
    .image-p img {
        width: 299px;
        height: 223px;
    }
    .image-p {
        display: flex;
        justify-content: center;
    }
    .ehover-flex {
        width: 70px;
        height: 70px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -123px 0 0 -126px;
    }
    .ehover-items {
        width: 253px !important;
        height: 224px !important;
        border-radius: unset !important;
    }
}

@media (min-width: 769px) and (max-width: 1050px) {
    .eportfolios {
        padding-inline: 7rem !important;
    }
}
/* Portfolio Section with Simple Card UI Styling */
.sec-3 {
    padding: 3rem 0;
}

.main-title {
    text-align: center;
}

.main-title h2 {
    position: relative;
    font-size: 4rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-white);
}

.main-title span {
    color: var(--color-secondary);
}

.port-text {
    padding: 2rem 0;
    text-align: center;
    color: var(--color-grey-1);
}

.eportfolios-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding-inline: 13rem;
    margin-top: 3rem;
}

.col {
    width: 100%;
}

.card.project-card {
    background: var(--color-grey-5);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow-1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card.project-card:hover {
    box-shadow: 0 5px 15px rgba(255, 102, 102, 0.4);
    transform: translateY(-5px);
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--color-secondary);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 1rem;
    color: var(--color-grey-1);
    margin-bottom: 1rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .sec-3 {
        padding: 2rem 0 5rem 0 !important;
    }
    .eportfolios-card {
        grid-template-columns: 1fr;
        padding-inline: 3rem;
    }
    .card-img-top {
        height: 180px;
    }
    .card-title {
        font-size: 1.5rem;
    }
    .card-text {
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) and (max-width: 1050px) {
    .eportfolios-card {
        padding-inline: 7rem !important;
    }
}