.profile-container{
    z-index: 2;
    max-width: 600px;
    margin: 3rem auto;
    border: solid 4px;
    padding: 0.5rem 2rem;
    max-width: 500px;
    max-height: 500px;
    border-radius: 13px;
    background-color: linear-gradient(to right, #d6c066, #34e94c);
    box-shadow: 0 0 10px linear-gradient(45deg, #ecebe7, #34e94c);
    background: linear-gradient(
        145deg,
        #383838 0%,
        #6e6e6e 25%,
        #8a8a8a 50%,
        #6e6e6e 75%,
        #383838 100%
    );
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 10px rgba(255, 255, 255, 0.2),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
}

.profile-container:hover {
    background: linear-gradient(
        145deg,
        #404040 0%,
        #757575 25%,
        #919191 50%,
        #757575 75%,
        #404040 100%
    );
    box-shadow: 
        0 15px 25px rgba(0, 0, 0, 0.4),
        inset 0 2px 10px rgba(255, 255, 255, 0.3),
        inset 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.profile-heading {
    font-family: 'Rubik Lines', sans-serif;
    font-weight: 400;
    text-align: start;
    font-size: 2rem;
    background: linear-gradient(135deg, #e9b934, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.8rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.profile-card{
    justify-self: center;
    max-width: 400px;
    margin: 1rem;
    background: linear-gradient(
        145deg,
        #1c1c1c 0%,
        #242424 25%,
        #2a2a2a 50%,
        #242424 75%,
        #1c1c1c 100%
    );
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(233, 185, 52, 0.05);
    border: 1px solid rgba(233, 185, 52, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.profile-card>.icon-element{
    margin: 0 0 1rem 0;
    scale: 1;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(233, 185, 52, 0.3),
        transparent
    );
}

.profile-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle,
        rgba(233, 185, 52, 0.1) 0%,
        transparent 70%
    );
    transform: translateY(-50%);
    pointer-events: none;
}

#paragraph1, #paragraph2 {
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

#paragraph2 {
    opacity: 0;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-10px);
}

#paragraph2.visible {
    opacity: 1;
    max-height: 200px;
    margin: 1rem 0;
    transform: translateY(0);
}

.profile-card:hover {
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(233, 185, 52, 0.08);
    transition: all 0.3s ease;
}

.profile-card:hover .profile-heading {
    text-shadow: 0 0 15px rgba(233, 185, 52, 0.3);
    transition: all 0.3s ease;
}

.profile {
    max-width: 100vw;
    background: linear-gradient(
        135deg,
        #1a1a1a 0%,
        #2c2c2c 20%,
        #3d3d3d 40%,
        #2c2c2c 60%,
        #1a1a1a 80%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: -1rem;
}

.profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
}

.profile::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(
        45deg,
        #e9b934 0%,
        transparent 40%,
        transparent 60%,
        #e9b934 100%
    );
    border-radius: 16px;
    z-index: -1;
    opacity: 0.3;
}

.profile h2 {
    font-size: large;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile p {
    color: rgba(255, 255, 255, 0.8);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.expandable-content.expanded {
    max-height: 500px;
}

.expand-btn {
    background: linear-gradient(135deg, #e9b934, #ffd700);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: #1c1c1c;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(233, 185, 52, 0.2);
}

.expand-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 185, 52, 0.3);
}

.toggle-content {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.toggle-content.visible {
    height: auto;
    opacity: 1;
    margin-top: 1rem;
}

.toggle-btn {
    background: linear-gradient(135deg, #e9b934, #ffd700);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    color: #1c1c1c;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(233, 185, 52, 0.2);
}

.toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 185, 52, 0.3);
    background: linear-gradient(135deg, #ffd700, #e9b934);
}


.crosshatch-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background-color: rgba(41, 42, 49, 0);
  background-image:
    linear-gradient(45deg, rgba(156, 112, 31, 0.8) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(156, 112, 31, 0.8) 1px, transparent 1px);
  background-size: 50px 50px;
  background-repeat: repeat;
  background-position: 0 0, 15px 30px;
}

.hidden {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.visible {
    display: block;
    opacity: 1;
}


@media screen and (max-width: 1023px) {
    .profile-container {
        padding: 1rem;
        margin: 2rem auto;
    }

    .profile-heading {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .profile-card {
        padding: 1rem;
        margin: 0.8rem
    }

    .expand-btn, .toggle-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 600px) {
    .profile-container {
        padding: 0.5rem;
        margin: 1rem auto;
    }

    .profile-heading {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .profile-card {
        padding: 1rem;
    }

    #paragraph1, #paragraph2 {
        font-size: 0.75rem;
    }

    .expand-btn, .toggle-btn {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
}
