body {
    background: linear-gradient(135deg, #2f49a0, #63b997);
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    color: white;
}

/* Hero Section */
.hero {
    background: url('/images/hero-background.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 10px 20px; /* Reduced padding */
    margin-bottom: 20px; /* Adjusted margin-bottom */
}

.hero-content {
    background: linear-gradient(135deg, rgba(30, 30, 47, 0.9), rgba(46, 49, 146, 0.2));
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.4px);
    -webkit-backdrop-filter: blur(4.4px);
    border: 1px solid rgba(255, 255, 255, 0.41);
    padding: 20px;
    border-radius: 10px;
}

.hero h1 {
    font-size: 48px;
    margin: 0;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin: 10px 0 0;
}

/* Section with animated background */
.section {
    background: url('/images/Animated\ Shape\ \(3\).svg') no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px; /* Reduced padding */
    padding-bottom: 20px; /* Reduced padding */
}

/* The fixed Side */
.side {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    width: 51px;
    border-right: 1px dashed rgba(255, 255, 255, 0.281);
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Nunito Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.0975rem;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.05, 0.69, 0.14, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.089);
    background: url('/images/glass-bg.jpg') repeat-y;
    background-size: cover;
}

.side:hover {
    color: rgba(255, 255, 255, 0.8);
}

.side .side__inner {
    position: relative;
    height: 95%;
    white-space: nowrap;
}

.side a {
    color: rgb(255, 255, 255);
    font-weight: 900;
    word-spacing: 0;
    transition: all 0.3s cubic-bezier(0.05, 0.69, 0.14, 1);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.side a:hover {
    border-bottom: 2px solid white;
}

.side .top,
.side .bottom {
    position: absolute;
    left: 0;
    transform: rotate(-90deg) perspective(1px);
    transform-origin: 50px 50px;
    height: 40px;
    line-height: 59px;
    white-space: nowrap;
    word-spacing: 2.8rem;
}

.bottom a i {
    font-size: 22px;
    color: white;
    transition: all 0.3s ease;
}

.bottom a:hover i {
    font-size: 28px;
    color: var(--Text2);
}

.side .top {
    top: 25px;
    text-align: right;
    color: white;
}

.side .bottom {
    top: auto;
    bottom: 75px;
}

.side .bottom:hover a {
    color: rgba(255, 255, 255, 0.8);
}

.side .bottom:hover a:hover {
    color: white;
    font-size: 15px;
}

.side .side__inner .bottom .fa-instagram {
    color: inherit;
    font-size: 180%;
    padding-top: 5%;
    position: absolute;
}

/* Portfolio container */
.portfolio-container {
    padding: 20px; /* Reduced padding */
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin-top: 0; /* Reduced margin-top */
}

.portfolio-container h1 {
    font-size: 48px;
    margin-bottom: 40px;
    color: white;
    font-weight: 600;
}

/* App grid layout */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

/* App card styling */
.app-card {
    background: linear-gradient(135deg, rgba(30, 30, 47, 0.9), rgba(46, 49, 146, 0.2));
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.4px);
    -webkit-backdrop-filter: blur(4.4px);
    border: 1px solid rgba(255, 255, 255, 0.41);
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    position: relative;
    height: 330px;
}

.app-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10%);
    background-size: 50px 50px;
    opacity: 0;
    transition: opacity 0.1s ease; /* Faster transition */
}

.app-card:hover::before {
    opacity: 0.3;
}

.app-card:hover {
    transform: translateY(-10px) skew(1deg, 1deg); /* Removed rotate effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(30, 30, 47, 0.95), rgba(46, 49, 146, 0.25));
}

.app-card:hover .app-image img {
    transform: scale(1.1);
    transition: transform 0.1s ease; /* Faster transition */
}

.app-card:hover .app-content h3 {
    color: #4facfe;
    transition: color 0.1s ease; /* Faster transition */
}

.app-card:hover .app-content p {
    color: #00f2fe;
    transition: color 0.1s ease; /* Faster transition */
}

.app-image {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.app-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 15px;
}

/* Title and description */
.app-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.app-content h3 {
    font-size: 22px;
    margin: 0 0 8px;
    color: white;
    font-weight: 600;
}

.app-content p {
    font-size: 13px;
    margin: 0 0 10px;
    color: #ddd;
    line-height: 1.4;
}

/* Progress bar styling */
.progress-bar {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    height: 10px; /* Increased height */
    margin-top: 10px;
    overflow: hidden;
    width: 100%;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    height: 100%;
    border-radius: 5px;
    transition: width 0.3s ease;
    position: relative;
}

.progress::after {
    content: attr(data-progress);
    position: absolute;
    right: 10px;
    top: -25px;
    font-size: 12px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 5px;
    border-radius: 3px;
}

.progress-percentage {
    font-size: 14px; /* Increased font size */
    color: white;
    margin-top: 5px;
    text-align: right;
    width: 100%;
    font-weight: bold;
}

/* Line break */
.line-break {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 10px 0;
}

/* Start date and time ago at the top */
.top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.start-date {
    font-weight: bold;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.time-ago {
    font-style: italic;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

/* Tags below the line */
.tags {
    display: flex;
    gap: 8px;
    margin-top: auto;
    flex-wrap: wrap;
    justify-content: center;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 13px;
    color: white;
    font-weight: bold;
}