/* General Styles */
:root {
    --primary-color: #00ff9d;
    --secondary-color: #00b8ff;
    --accent-color: #ff3366;
    --dark-color: #0a192f;
    --darker-color: #020c1b;
    --light-color: #e6f1ff;
    --text-color: #8892b0;
    --transition: all 0.3s ease;
    --gradient-1: linear-gradient(45deg, #00ff9d, #00b8ff);
    --gradient-2: linear-gradient(45deg, #00b8ff, #ff3366);
    --gradient-3: linear-gradient(45deg, #ff3366, #00ff9d);
}
.mt-5 {
    margin-top: 9rem !important;
}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--light-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    background-color: var(--dark-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.navbar-toggler {
    border: 2px solid ;
    border-color: aqua;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 255, 157, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 255, 157, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler.collapsed .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 255, 157, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--text-color);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.3);
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--dark-color);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 0.25rem;
    }

    .nav-link:hover {
        background-color: rgba(0, 255, 157, 0.1);
    }

    .navbar-toggler {
        display: block;
        margin-left: auto;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 157, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 184, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 157, 0.2), transparent);
}

.typed-text {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.hero-btns {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btns .btn {
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-btns .btn i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.hero-btns .btn:hover i {
    transform: translateY(-2px);
}

.btn {
    position: relative;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    z-index: -1;
    transition: all 0.4s ease;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 255, 157, 0.3);
}

.btn:hover::before {
    opacity: 0;
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-1);
    border: none;
    color: var(--dark-color);
    font-weight: 600;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: #0c0c0cc7;
}

.btn-outline-primary:hover {
    color: var(--dark-color);
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
    max-width: 400px;
    margin: 0 auto;
}

.hero-image img {
    border-radius: 20px;
    transition: all 0.3s ease;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Section Styles */
.section-padding {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    color: var(--light-color);
    overflow: hidden;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-1);
    animation: glow 2s infinite;
}

/* About Section */
.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--light-color);
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.about-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-details p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.about-details strong {
    color: var(--primary-color);
    min-width: 120px;
    margin-right: 10px;
}

.social-links {
    margin-top: 2rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 255, 157, 0.1);
    color: var(--light-color);
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.2);
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

/* Skills */
.skills-category {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 255, 157, 0.2);
}

.progress {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin: 1rem 0;
}

.progress-bar {
    background: var(--gradient-1);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.progress-bar::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: shimmer 2s infinite;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    background: var(--gradient-2);
}

/* Languages Grid */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.language-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.language-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 255, 157, 0.2);
}

.language-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.language-item h4 {
    color: var(--light-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.language-item p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 3px;
}

.dot.active {
    animation: pulse 2s infinite;
}

/* Soft Skills Grid */
.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.soft-skill-item {
    background-color: rgba(0, 255, 157, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 255, 157, 0.1);
}

.soft-skill-item:hover {
    transform: translateY(-5px);
    background-color: rgba(0, 255, 157, 0.15);
}

.soft-skill-item i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.soft-skill-item h4 {
    color: var(--light-color);
    font-size: 1rem;
    margin: 0;
}

/* Projects Section */
.bg-light {
    background-color: var(--darker-color) !important;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 157, 0.2);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.project-info p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 157, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: rotate(360deg);
    background: var(--primary-color);
    color: var(--dark-color);
}

.contact-item h3 {
    color: var(--light-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--light-color);
    opacity: 0.8;
    margin: 0;
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 1rem;
    color: var(--light-color) !important;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
    transform: translateY(-2px);
    border-color: var(--primary-color);
    color: var(--light-color) !important;
}

/* Active typing state */
.form-control:not(:placeholder-shown) {
    background: rgba(0, 255, 157, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.2);
    color: var(--light-color) !important;
}

/* Input focus animation */
@keyframes inputFocus {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 157, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 157, 0); }
}

.form-control:focus {
    animation: inputFocus 1.5s ease infinite;
}

/* Textarea specific styles */
textarea.form-control {
    min-height: 150px;
    resize: vertical;
    color: var(--light-color) !important;
}

textarea.form-control:focus {
    border-color: var(--primary-color);
    background: rgba(0, 255, 157, 0.05);
    color: var(--light-color) !important;
}

/* Form label animation */
.form-label {
    color: var(--light-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-control:focus + .form-label {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Placeholder styles */
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.form-control:focus::placeholder {
    color: rgba(0, 255, 157, 0.7);
    transform: translateX(10px);
}

/* Override Bootstrap's default input styles */
input.form-control,
textarea.form-control {
    color: var(--light-color) !important;
}

input.form-control:focus,
textarea.form-control:focus {
    color: var(--light-color) !important;
}

/* Contact Form Submit Button */
.contact-form .btn-primary {
    width: 100%;
    padding: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--text-color);
    padding: 3rem 0;
    border-top: 2px solid var(--primary-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding-top: 80px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 250px;
    }

    .hero-image {
        margin-top: 3rem;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .about-text {
        text-align: center;
    }

    .social-links {
        text-align: center;
    }

    .contact-item {
        margin-bottom: 1rem;
    }

    .navbar {
        background-color: rgba(10, 25, 47, 0.95);
        padding: 0.5rem 0;
    }

    .navbar-collapse {
        background-color: rgba(10, 25, 47, 0.95);
        padding: 1rem;
        border-radius: 10px;
    }

    .languages-grid,
    .soft-skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .skill-item h3 {
        font-size: 1rem;
    }

    .skills-category {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .language-item,
    .soft-skill-item {
        padding: 1.2rem;
    }

    .language-item i,
    .soft-skill-item i {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .typed-text {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .btn:hover {
        transform: translateY(-3px) scale(1.03);
    }
    
    .project-card:hover {
        transform: translateY(-5px) scale(1.02);
    }
}

@media (max-width: 480px) {
    .languages-grid,
    .soft-skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.fade-up {
    animation: fadeUp 0.5s ease forwards;
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px var(--primary-color); }
    50% { box-shadow: 0 0 20px var(--primary-color); }
    100% { box-shadow: 0 0 5px var(--primary-color); }
}

@keyframes slideIn {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Project Modal Styles */
.modal-content {
    background: var(--dark-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 255, 157, 0.2);
    padding: 1.5rem;
}

.modal-title {
    color: var(--primary-color);
    font-weight: 600;
}

.modal-body {
    padding: 1.5rem;
    color: var(--light-color);
}

.modal-footer {
    border-top: 1px solid rgba(0, 255, 157, 0.2);
    padding: 1.5rem;
}

/* Project Image Carousel */
.project-carousel {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.carousel-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .carousel-item img {
        height: 400px;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 157, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel-indicators {
    bottom: -40px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.5;
    margin: 0 5px;
}

.carousel-indicators button.active {
    opacity: 1;
}

/* Project Details */
.project-details h6 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-details p {
    color: var(--text-color);
    line-height: 1.8;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-badge {
    background: rgba(0, 255, 157, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 255, 157, 0.2);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(0, 255, 157, 0.2);
    transform: translateY(-2px);
}

.project-features {
    list-style: none;
    padding: 0;
}

.project-features li {
    color: var(--text-color);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.project-features li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Modal Close Button */
.btn-close {
    color: var(--light-color);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* Modal Footer Buttons */
.modal-footer .btn {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.modal-footer .btn-primary {
    background: var(--gradient-1);
    border: none;
}

.modal-footer .btn-secondary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.modal-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.3);
}

/* Project Modal Styles */
.modal-dialog {
    margin: 1rem;
    max-width: 95%;
}

@media (min-width: 768px) {
    .modal-dialog {
        margin: 1.75rem auto;
        max-width: 800px;
    }
}

.project-details {
    padding: 1rem 0;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-badge {
    background: rgba(0, 255, 157, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 255, 157, 0.2);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(0, 255, 157, 0.2);
    transform: translateY(-2px);
}

.project-features {
    list-style: none;
    padding: 0;
}

.project-features li {
    color: var(--text-color);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.project-features li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Mobile Responsive Adjustments */
@media (max-width: 767px) {
    /* Hero Section Mobile Optimization */
    .hero {
        padding-top: 100px;
        text-align: center;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-top: 1.5rem;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 250px;
        margin: 0;
        padding: 0.8rem 1.5rem;
    }

    /* Skills Section Mobile Optimization */
    .skills-category {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .skill-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .skill-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .progress {
        height: 8px;
        margin: 0.5rem 0;
    }

    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin: 0.2rem;
    }

    /* Languages Grid Mobile Optimization */
    .languages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .language-item {
        padding: 1rem;
    }

    .language-item h4 {
        font-size: 1rem;
    }

    /* Soft Skills Grid Mobile Optimization */
    .soft-skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .soft-skill-item {
        padding: 1rem;
    }

    .soft-skill-item h4 {
        font-size: 1rem;
    }

    /* Project Cards Mobile Optimization */
    .project-card {
        margin-bottom: 1.5rem;
    }

    .project-info {
        padding: 1rem;
    }

    .project-info h3 {
        font-size: 1.1rem;
    }

    .project-info .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    /* Contact Form Mobile Optimization */
    .contact-form {
        padding: 1rem;
    }

    .contact-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .contact-item i {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }

    .contact-item h3 {
        font-size: 1rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    /* Modal Mobile Optimization */
    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .project-tech-stack {
        gap: 0.3rem;
    }

    .tech-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .project-features li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    /* Navigation Mobile Optimization */
    .navbar-collapse {
        background: rgba(10, 25, 47, 0.95);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        text-align: center;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .typed-text {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-text {
        font-size: 0.9rem;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Improve touch targets on mobile */
@media (max-width: 767px) {
    .btn,
    .nav-link,
    .social-icon {
        min-height: 44px;
        min-width: 44px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 44px;
        height: 44px;
    }
}

.achievements-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.achievement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievement-list li {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.achievement-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.achievement-list i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .achievements-section {
        padding: 1rem;
    }
    
    .achievement-list li {
        font-size: 0.9rem;
    }
} 