/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Variables */
:root {
    --primary-color: #0ef;
    --secondary-color: #ff4d5a;
    --dark-color: #1f242d;
    --darker-color: #171c24;
    --light-color: #fff;
    --gray-color: #777;
    --bg-color: #323946;
    --card-color: #2d343f;
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-color);
    color: var(--light-color);
    overflow-x: hidden;
}

html {
    font-size: 62.5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    min-height: 100vh;
    padding: 10rem 0;
}

.section-title {
    font-size: 5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-title span {
    color: var(--primary-color);
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 10rem;
    height: 0.3rem;
    background: var(--primary-color);
    border-radius: 0.5rem;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--primary-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--primary-color);
    font-size: 1.6rem;
    color: var(--darker-color);
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    box-shadow: 0 0 2rem var(--primary-color);
    transform: scale(1.05);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--darker-color);
    z-index: -1;
    transition: var(--transition);
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    border: 0.2rem solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--darker-color);
}

.btn-secondary::before {
    display: none;
}

.btn-small {
    padding: 0.8rem 1.8rem;
    font-size: 1.4rem;
}

/* Loader Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-square {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    margin: 0 5px;
    animation: loaderAnimation 1.2s infinite ease-in-out;
}

.loader-square:nth-child(1) {
    animation-delay: 0s;
}

.loader-square:nth-child(2) {
    animation-delay: 0.15s;
}

.loader-square:nth-child(3) {
    animation-delay: 0.3s;
}

.loader-square:nth-child(4) {
    animation-delay: 0.45s;
}

.loader-square:nth-child(5) {
    animation-delay: 0.6s;
}

.loader-square:nth-child(6) {
    animation-delay: 0.75s;
}

.loader-square:nth-child(7) {
    animation-delay: 0.9s;
}

@keyframes loaderAnimation {
    0%, 40%, 100% {
        transform: scaleY(0.4);
    }
    20% {
        transform: scaleY(1);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 100;
    transition: var(--transition);
}

.navbar.sticky {
    background: var(--dark-color);
    box-shadow: 0 0.1rem 1rem rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    font-size: 2.5rem;
    color: var(--light-color);
    font-weight: 600;
    text-decoration: none;
}

.logo::before {
    content: attr(data-text);
    position: absolute;
    color: var(--primary-color);
    width: 0;
    overflow: hidden;
    transition: var(--transition);
}

.logo:hover::before {
    width: 100%;
}

.nav-links {
    position: relative;
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 1.7rem;
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.animation {
    position: absolute;
    height: 0.3rem;
    bottom: -1rem;
    left: 0;
    background: var(--primary-color);
    border-radius: 0.5rem;
    transition: all 0.5s ease;
}

.start-home {
    width: 4.5rem;
    left: 0;
}

.nav-link:nth-child(1):hover ~ .animation {
    width: 4.5rem;
    left: 0;
}

.nav-link:nth-child(2):hover ~ .animation {
    width: 5.5rem;
    left: 5.5rem;
}

.nav-link:nth-child(3):hover ~ .animation {
    width: 5rem;
    left: 13rem;
}

.nav-link:nth-child(4):hover ~ .animation {
    width: 5.5rem;
    left: 19.5rem;
}

.nav-link:nth-child(5):hover ~ .animation {
    width: 6rem;
    left: 26.5rem;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 2.5rem;
    height: 0.3rem;
    margin: 0.5rem auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--light-color);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    background: linear-gradient(to right, var(--dark-color) 60%, var(--darker-color) 40%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10rem;
    background: linear-gradient(to top, var(--dark-color), transparent);
    z-index: 10;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 60rem;
}

.hero-title {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: slideUp 0.5s forwards;
}

.title-word-1 {
    animation-delay: 0.1s;
}

.title-word-2 {
    animation-delay: 0.2s;
}

.title-word-3 {
    animation-delay: 0.3s;
}

.title-word-4 {
    animation-delay: 0.4s;
    color: var(--primary-color);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    color: var(--gray-color);
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    margin-bottom: 5rem;
}

.hero-image {
    position: relative;
    width: 40rem;
    height: 40rem;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.profile-img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 50%;
    border: 0.5rem solid var(--primary-color);
    z-index: 1;
}

.glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    filter: blur(3rem);
    animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
    from {
        opacity: 0.5;
    }
    to {
        opacity: 0.8;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(14, 239, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 1.5rem rgba(14, 239, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(14, 239, 255, 0);
    }
}

.scroll-down {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.scroll-text {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--gray-color);
    animation: bounce 2s infinite;
}

.mouse {
    width: 2.5rem;
    height: 4.5rem;
    border: 0.2rem solid var(--gray-color);
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
}

.wheel {
    width: 0.5rem;
    height: 0.8rem;
    background-color: var(--primary-color);
    border-radius: 0.5rem;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(1rem);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-1rem);
    }
    60% {
        transform: translateY(-0.5rem);
    }
}

/* About Section */
.about {
    background: var(--darker-color);
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5rem;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-container {
    position: relative;
    width: 35rem;
    height: 35rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 50%;
    border: 0.5rem solid var(--primary-color);
}

.circle-spin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border-top: 0.5rem solid var(--darker-color);
    border-bottom: 0.5rem solid var(--darker-color);
    border-left: 0.5rem solid var(--primary-color);
    border-right: 0.5rem solid var(--primary-color);
    animation: spin 8s linear infinite;
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.about-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-item span {
    font-weight: 600;
    color: var(--primary-color);
}

.info-item p {
    margin: 0;
    font-size: 1.4rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: 0.2rem solid var(--primary-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--darker-color);
    box-shadow: 0 0 1rem var(--primary-color);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

/* Skills Section */
.skills {
    background: var(--dark-color);
}

.skills-content {
    display: flex;
    gap: 5rem;
}

.skills-text {
    flex: 1;
}

.skills-text h3 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.skills-text p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.experience {
    margin-top: 3rem;
}

.exp-item {
    margin-bottom: 2rem;
}

.exp-item h4 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.exp-item p {
    font-size: 1.4rem;
    color: var(--gray-color);
}

.skills-bars {
    flex: 1;
}

.skill-item {
    margin-bottom: 2.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.skill-info span {
    font-size: 1.6rem;
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 1rem;
    background: var(--bg-color);
    border-radius: 0.5rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    border-radius: 0.5rem;
    background: var(--primary-color);
    position: relative;
    animation: progressAnimation 1.5s ease-in-out forwards;
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 2s infinite;
}

@keyframes progressAnimation {
    from {
        width: 0;
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.html {
    width: 95%;
}

.js {
    width: 90%;
}

.react {
    width: 85%;
}

.node {
    width: 80%;
}

.python {
    width: 75%;
}

/* Projects Section */
.projects {
    background: var(--darker-color);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: transparent;
    border: 0.2rem solid var(--primary-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--darker-color);
    box-shadow: 0 0 1rem var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
    gap: 3rem;
}

.project-card {
    background: var(--card-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 1rem 2rem rgba(0, 238, 255, 0.2);
}

.project-img {
    position: relative;
    overflow: hidden;
    height: 25rem;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-links {
    opacity: 1;
}

.project-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--primary-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--darker-color);
    text-decoration: none;
    transition: var(--transition);
}

.project-link:hover {
    background: var(--light-color);
    transform: rotate(15deg);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-content p {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.project-tech span {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    background: rgba(14, 239, 255, 0.1);
    color: var(--primary-color);
    border-radius: 0.5rem;
}

/* Contact Section */
.contact {
    background: var(--dark-color);
}

.contact-content {
    display: flex;
    gap: 5rem;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.contact-info p {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    color: var(--gray-color);
}

.info-box {
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.info-text h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.info-text p {
    margin: 0;
    font-size: 1.4rem;
}

.contact-form {
    flex: 1;
}

.input-group {
    position: relative;
    margin-bottom: 3rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--light-color);
    background: transparent;
    border: 0.2rem solid var(--bg-color);
    border-radius: 0.5rem;
    outline: none;
    resize: none;
}

.input-group label {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1.6rem;
    color: var(--gray-color);
    pointer-events: none;
    transition: var(--transition);
}

.input-group input:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:valid ~ label {
    top: -1rem;
    left: 1rem;
    font-size: 1.2rem;
    padding: 0 0.5rem;
    background: var(--dark-color);
    color: var(--primary-color);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

/* Footer */
.footer {
    background: var(--darker-color);
    padding: 5rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.footer-logo p {
    font-size: 1.6rem;
    margin-top: 1.5rem;
    color: var(--gray-color);
}

.footer-links h3,
.footer-contact h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1.5rem;
}

.footer-links a {
    font-size: 1.6rem;
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    color: var(--gray-color);
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 1.4rem;
    color: var(--gray-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 5rem;
    height: 5rem;
    background: var(--primary-color);
    color: var(--darker-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 0 1rem var(--primary-color);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    text-decoration: none;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--light-color);
    transform: translateY(-0.5rem);
}

/* Responsive Design */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    section {
        padding: 8rem 0;
    }
    
    .hero {
        background: var(--dark-color);
    }
    
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-content {
        margin-top: 5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content,
    .skills-content,
    .contact-content {
        flex-direction: column;
    }
    
    .about-image,
    .about-text,
    .skills-text,
    .skills-bars,
    .contact-info,
    .contact-form {
        width: 100%;
    }
    
    .about-image {
        margin-bottom: 5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(0.8rem) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-0.8rem) rotate(-45deg);
    }
    
    .nav-links {
        position: fixed;
        top: 8rem;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--dark-color);
        text-align: center;
        transition: 0.3s;
        gap: 0;
        padding: 2rem 0;
        box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1.5rem 0;
    }
    
    .animation {
        display: none;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 4rem;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-info {
        grid-template-columns: 1fr;
    }
    
    .filter-btn {
        padding: 0.6rem 1.5rem;
        font-size: 1.4rem;
    }
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal-content {
    background: var(--card-color);
    border-radius: 1rem;
    max-width: 90rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.modal-image {
    width: 100%;
    height: 30rem;
    border-radius: 1rem;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.modal-description {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--gray-color);
}

.modal-tech h4 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-tag {
    font-size: 1.4rem;
    padding: 0.5rem 1.5rem;
    background: rgba(14, 239, 255, 0.1);
    color: var(--primary-color);
    border-radius: 5rem;
    border: 0.1rem solid var(--primary-color);
}

.modal-links {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.modal-links .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
    }
    
    .modal-image {
        height: 20rem;
    }
    
    .modal-links {
        flex-direction: column;
    }
    
    .modal-links .btn {
        width: 100%;
        justify-content: center;
    }
}