@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

p{
    font-family: "Poppins";
    font-style: normal;
    font-weight: 300;
}

.page-wrapper {
    overflow-x: hidden;
    width: 100%;
}
body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden; 
    background-color: var(--bg-color);
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(223, 57, 148, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(218, 0, 120, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 238, 238, 0.3) 0%, transparent 60%);
    z-index: -1;
    animation: bgMove 20s ease-in-out infinite alternate;
}
.about-section {
    background-color: transparent;
    padding: 30px 0;
}

.about-snippet {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
    border-radius: 30px;
    margin: 20px 10%;
    overflow: hidden; /* Ensures content respects the border-radius */
}

.about-snippet--reversed {
    flex-direction: row-reverse;
}

.about-image {
    width: 40%;
    object-fit: cover;
    align-self: stretch; /* Makes image fill the height of the container */
}

.about-writeup {
    width: 60%;
    padding: 50px;
}

.about-writeup h1 {
    font-size: 18px;
    padding-bottom: 10px;
    color: var(--text-color-secondary);
}

.about-writeup h2 {
    font-size: 35px;
    padding-bottom: 10px;
    color: var(--text-color-primary);
}

.about-writeup .name {
    color: var(--primary-accent);
}

.about-writeup p {
    color: var(--text-color-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.about-button-container {
    margin: 20px 10% 20px 10%;
    text-align: right;
}

.btn-see-work button {
    height: 40px;
    width: 160px;
    color: white;
    font-weight: 600;
    font-family: "montserrat";
    background-color: var(--primary-accent);
    outline: none;
    border: none;
    border-radius: 20px;
    transition: ease-in-out 0.3s;
    cursor: pointer;
}

.btn-see-work button i {
    vertical-align: middle;
    margin-left: 5px;
}

.btn-see-work button:hover {
    transform: scale(1.1);
    box-shadow: 3px 3px 40px rgba(218, 0, 120, 0.815) inset;
    background-color: var(--primary-accent-hover);
}


.just-hr1{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 60px;
    width: 100%;
    background-color: var(--primary-accent);
    color: white;
    transform: rotate(-0.8deg);
}
.just-hr{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 40px;
    width: 100%;
    background-color: #131313;
    color: white;
    margin-top: -20px;
}

 
/* Responsive Design */

/* Large Screens & Laptops (max-width: 1200px) */
@media screen and (max-width: 1200px) {
    .about-snippet {
        margin-left: 40px;
        margin-right: 40px;
    }
    .about-button-container {
        margin: 20px 40px 20px 40px;
    }
  
}

/* Tablet View (max-width: 1024px) */
/* @media screen and (max-width: 1024px) {
    .aboutme-snipet-writeup, .aboutme-snipet-writeup2, .aboutme-snipet-writeup3 {
        padding-top: 30px;
    }
} */

/* Small Tablets & Large Phones (max-width: 850px) */
@media screen and (min-width: 851px) and (max-width: 1035px) {
    .about-snippet {
        margin-left: 40px;
        margin-right: 40px;
    }
    .about-writeup {
        padding: 40px;
    }
    .about-writeup h1 {
        font-size: 16px;
    }
    .about-writeup h2 {
        font-size: 28px;
    }
    .about-writeup p {
        font-size: 14px;
    }
}

/* Mobile & Small Tablets (max-width: 768px) */
@media screen and (max-width: 850px) {
    .about-section {
        padding: 20px 0;
    }
    .about-snippet {
        flex-direction: column;
        height: auto;
        margin: 0 10%;
    }
    .about-snippet--reversed {
        flex-direction: column; /* Ensure reversed also stacks */
    }
    .about-image,
    .about-writeup {
        width: 100%;
    }
    .about-image {
        border-radius: 30px 30px 0 0;
    }
    .about-writeup {
        padding: 30px 25px;
        text-align: center;
    }
    .about-writeup h1 {
        font-size: 15px;
    }
    .about-writeup h2 {
        font-size: 24px;
    }
    .about-writeup p {
        font-size: 14px;
    }
    .about-button-container {
        margin: 20px 10% 10px 10%;
        text-align: center;
    }

    /* Ribbons / HR */
    .just-hr1 p, .just-hr p {
        font-size: 11px;
    }
}

@media screen and (min-width: 300px) and (max-width: 479px) {
    
    .about-snippet {
        margin: 15px 10%;
    }
    .about-writeup {
        padding: 25px;
    }
    .about-writeup h2 {
        font-size: 20px;
    }
    .about-writeup p {
        font-size: 13px;
    }

    .just-hr1 p, .just-hr p {
        font-size: 10px;
    }
    .about-button-container {
        margin: 10px 10% 10px 10%;
        text-align: center;
    }
}