@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--bg-color);
    position: relative;
}

.page-wrapper {
    overflow-x: hidden;
    width: 100%;
}
/* Page-specific styles for Skills page */

.software-pro{
    margin: 20px 10%;
    margin-top: 4em;
    font-size: 20px;
    background-color: rgba(253, 194, 227, 0.61);
    outline: 1px solid rgb(126, 87, 108);
    color: var(--primary-accent-hover);
    max-width: 250px;
    border-radius: 20px;
    height: 35px;
    padding-top: 5px;
    padding-left: 15px;
}

body.dark-mode .software-pro,
body.dark-mode .design-dici {
    background-color: rgba(85, 26, 56, 0.7);
    color: #fce4ec;
    outline-color: rgba(223, 57, 148, 0.5);
}
.body-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: var(--section-bg-light);
    gap: 30px;
    margin-top: 20px;
    padding: 40px 0;
}

/* PHOTOSHOP */
.photoshop-container, .inkscape-container, .illustrator-container, .figma-container {
    display: flex;
    flex-direction: column;
    background-color: rgba(61, 61, 61, 0.815);
    border-radius: 30px;
    width: 230px;
    max-height: 400px;
    padding-top: 10px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.541);
    transition: 0.3s;
}
.photoshop-container:hover, .inkscape-container:hover, .illustrator-container:hover, .figma-container:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(223, 57, 148, 0.24);
}
.photoshop-container h1, .inkscape-container h1, .illustrator-container h1, .figma-container h1 {
    text-align: center;
    color: rgb(255, 248, 248);
    font-size: 25px;
}
.photoshop-rating{
    justify-content: center;
   align-items: center;
   padding: 0 30px;
}
.inkscape-rating{
    justify-content: center;
   align-items: center;
   padding: 0 30px;
   margin-top: -30px;
   padding-bottom: 30px;
}
.illustrator-rating{
    justify-content: center;
   align-items: center;
   padding: 0 30px;
   margin-top: -30px;
}
.figma-rating {
   justify-content: center;
   align-items: center;
   padding: 0 30px;
}
.photoshop-logo{
    padding: 0 25px;
    margin-top: 23px;
}
.inkscape-logo{
    padding: 40px 40px;
    margin-top: 23px;
    padding-top: 17px;
}
.illustrator-logo{
    padding: 40px 40px;
    margin-top: 23px;
    padding-top: 17px;
}
.figma-logo{
    padding: 0 25px;
    margin-top: 23px;
}
.and-spec{
    color: rgb(223, 57, 148);
}
.design-dici{
    margin: 50px 10%;
    font-size: 20px;
    background-color: rgba(253, 194, 227, 0.61);
    outline: 1px solid rgb(126, 87, 108);
    max-width: 390px;
    border-radius: 20px;
    height: auto;
    padding-top: 5px;
    padding-left: 15px;
    color: var(--text-color-primary);
}

.design-dicipline-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 20px 10% 50px 10%;
}

.discipline-item {
    background-color: var(--card-bg);
    color: var(--text-color-primary);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: var(--card-shadow);
    border: 1px solid transparent; /* Use a transparent border to prevent layout shift */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode .discipline-item {
    border-color: #333; /* Apply border only in dark mode */
}

.discipline-item:hover {
    transform: translateY(-10px);
}

.discipline-item i {
    font-size: 4rem; /* 64px */
    margin-bottom: 20px;
    display: block;
    transition: filter 0.3s ease;
}

.discipline-item:hover i {
    filter: drop-shadow(0 0 15px currentColor);
}

.icon-comm { color: #ff53b1; } /* Pink for Communication */
.icon-brand { color: #6f42c1; } /* Purple for Branding */
.icon-web { color: #007bff; }   /* Blue for Web */

.discipline-item h1 {
    font-size: 1.4rem; /* ~22.4px */
    margin-bottom: 15px;
    line-height: 1.3;
}

.discipline-item p {
    font-size: 0.9rem; /* ~14.4px */
    color: var(--text-color-secondary);
    line-height: 1.6;
}

.prof-and-soft{
    margin: 30px 10%;
    font-size: 25px;
    color: var(--text-color-primary);
}

.soft-skills-body{
    background-color: var(--section-bg-light);
    margin-bottom: 30px;
    padding: 50px 0;
}

.soft-skills-container{
    margin: 0 10%;
}

.soft-skills-main{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.soft-skill-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.soft-skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(223, 57, 148, 0.1);
}

.soft-skill-item h1 {
    font-size: 1.25rem; /* 20px */
    color: var(--text-color-primary);
    margin-bottom: 10px;
}

.soft-skill-item p {
    font-size: 0.9rem; /* 14.4px */
    color: var(--text-color-secondary);
    line-height: 1.6;
}

.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;
}
/* .just-hr1{
} */

/* Responsive Design */

/* Large Screens & Laptops (max-width: 1200px) */
@media screen and (max-width: 1200px) {
    .software-pro, .body-container, .design-dici, .design-dicipline-container, .prof-and-soft, .soft-skills-container {
        margin-left: 40px;
        margin-right: 40px;
    }
   
}

/* Mobile & Small Tablets (max-width: 850px) */
@media screen and (max-width: 850px) {
    .body-container {
        margin-left: 0;
        margin-right: 0;
        padding: 40px 20px; /* Adjust padding for smaller screens */
    }
}

/* Larger Mobile (480px) to Small Tablet (850px) */
@media screen and (min-width: 480px) and (max-width: 850px) {
    .photoshop-container, .inkscape-container, .illustrator-container, .figma-container {
        width: 250px; /* Slightly increase width for better presence */
    }
}

@media screen and (min-width: 342px) and (max-width: 479px) {
    .design-dici {
        font-size: 18px;
        max-width: 60%; /* Use percentage to ensure it fits */
        height: auto;
        width: auto;
        padding-top: 7px;
        border-radius: 50px;
    }
}