* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background-color: #0d1117;
    background: linear-gradient(to right, #0d1117, #161b22);
    color: #c9d1d9;
    line-height: 1.6;
}

.navbar {
    background-color: rgba(13, 17, 23, 0.9);
    padding: 10px 0;
    backdrop-filter: blur(5px);
}

.navbar-nav .nav-link {
    padding: 10px 15px; 
    font-size: 18px; 
    color: #c9d1d9; 
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #58a6ff;
    transform: scale(1.1);
}

.section {
    padding: 5vh 5vw; 
    background-color: #161b22;
    border-radius: 10px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); 
    margin-bottom: 30px; 
    padding-top: 80px;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    background-color: #161b22;
    color: #c9d1d9;
    padding: 60px 0;
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
    font-size: 36px;
}

header p {
    font-size: 18px;
}

.name {
    @apply text-5xl font-bold text-transparent bg-gradient-to-r from-cyan-500 to-blue-500 bg-clip-text;
    text-shadow: 0 0 5px rgba(88, 166, 255, 0.8), 0 0 10px rgba(88, 166, 255, 0.6),
                 0 0 15px rgba(139, 148, 158, 0.8), 0 0 20px rgba(139, 148, 158, 0.5);
    transition: transform 0.3s ease, filter 0.3s ease;
}
.name:hover {
    transform: scale(1.05);
    filter: brightness(120%);
}

.tech-card {
    background-color: #161b22;
    color: #c9d1d9;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    border-radius: 10px; 
    padding: 20px;
    margin-bottom: 20px;
}

.tech-card:hover {
    background-color: #30363d;
    transform: translateY(-5px);
}

.tech-icon {
    color: #58a6ff;
}

.contact-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-icon {
    margin: 20px;
    color: #c9d1d9;
    transition: color 0.3s, transform 0.3s; 
}

.contact-icon:hover {
    color: #58a6ff;
    transform: scale(1.2);
}  

footer {
    background-color: #161b22;
    color: #c9d1d9;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    position: relative;
    bottom: 0;
    width: 100%;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 28px;
    }

    header p {
        font-size: 16px;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
    }

    .section {
        padding: 15px; 
    }

    .tech-card {
        margin-bottom: 20px;
    }

    .contact-icons {
        flex-direction: column; 
    }
}

.highlight {
    background-color: rgba(255, 255, 255, 0.1); 
    color: #58a6ff;
    padding: 15px; 
    border-radius: 5px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    margin-top: 20px; 
    font-style: italic; 
}

.light-mode {
    background-color: #ffffff;
    color: #24292f;
}

.light-mode .navbar {
    background-color: rgba(255, 255, 255, 0.9);
}

.light-mode .navbar-nav .nav-link {
    color: #24292f;
}

.light-mode .section {
    background-color: #f6f8fa;
}

.light-mode footer {
    background-color: #f6f8fa;
    color: #24292f;
}
