html {
    scroll-behavior: smooth; /* This makes the scroll feel like an animation */
}

body {
    margin: 0;
    padding: 0;
    background-color: rgb(8, 8, 8);
    color: white;
    font-family: 'Montserrat', sans-serif;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 100px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.Logo {
    text-decoration: none;
    color: rgb(255, 251, 0);
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 0 15px #fffb00;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.Logo:hover {
    transform: scale(1.1);
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    padding-bottom: 5px;
    transition: 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fbff00;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Home Section */
.firstSelecion {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0 10%;
    gap: 50px;
}

.leftSection {
    width: 400px; 
    height: 400px;
    border-radius: 50%;
    overflow: hidden; 
    border: 4px solid #fffb00; 
    box-shadow: 0 0 30px #ffee00;
    transition: 0.4s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.leftSection img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    box-shadow: 0 0 25px #fbff00;
    transition: 0.4s ease-in-out;
}

.leftSection:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px #ffee00;
    box-shadow: 0 0 50px #ffee00;
    box-shadow: 0 0 100px #777506;
}

.rightSection {
    width: 50%;
    font-size: 2.5rem;
    font-weight: 600;
}

.ts {
    font-size: 3rem;
    margin-bottom: 10px;
}

.description {
    font-size: 1.1rem;
    font-weight: 400;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.fc, #element {
    color: rgb(255, 251, 0);
    text-shadow: 0 0 10px #fffb00;
}

.social-container {
    display: flex;
    gap: 20px;
}

.social-icon {
    text-decoration: none;
    width: 50px;
    height: 50px;
    border: 2px solid #fffb00; 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fffb00;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #fffb00;
    color: #000;
    box-shadow: 0 0 20px #fffb00;
    transform: translateY(-5px);
}

#more-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    display: block; 
    visibility: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease, visibility 0.3s;
}

#more-text.open {
    max-height: 1000px; 
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in;
}

.description {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 20px;
}

.toggle-btn {
    display: block; 
    background: transparent;
    color: #fffb00;
    border: 2px solid #fffb00;
    padding: 8px 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    margin-bottom: 30px;
    text-shadow: 0 0 10px #fffb00;
}
.toggle-btn:hover {
    background-color: #fffb00;
    color: #000;
    box-shadow: 0 0 20px #fffb00;
}

/* Skills Section */
.services {
    padding: 100px 10%;
    background: #080808;
    scroll-margin-top: 100px; 
}

.skill-heading {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    gap: 2.5rem;
}

.services-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fffb00; 
    height: 470px;
    padding: 20px 35px;
    border-radius: 2rem;
    cursor: pointer;
    transition: 0.5s ease;
    border: 4px solid transparent;
}

/* Unique Hover Animation */
.services-box:hover {
    transform: translateY(-15px) scale(1.03);
    background-color: #000; 
    border-color: #fffb00; 
    box-shadow: 0 0 50px rgba(255, 251, 0, 0.4); 
}

.services-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: black; 
    transition: 0.4s ease; 
}

.services-box:hover .services-info,
.services-box:hover .services-info h4,
.services-box:hover .services-info p,
.services-box:hover .services-info i {
    color: #fffb00; 
}

.services-info i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.services-info h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.services-info p {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.services-container .services-box:nth-child(2) {
    box-shadow: 0 0 20px rgba(115, 255, 0, 0.3);
}

