body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    background-color: #121212;
    scroll-behavior: smooth;
}

section {
    padding: 100px 0;
}

/* Navigation */
header {
    transition: all 0.3s ease;
}

.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #007bff;
    transition: all 0.3s ease;
}

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

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.underline {
    height: 4px;
    width: 70px;
    background-color: #007bff;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background-color: #1e1e1e;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.profile-pic {
    border-radius: 15px;
    width: 300px;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid #007bff;
    transition: all 0.5s ease;
}

.profile:hover .profile-pic {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.4);
}

.name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.name .first {
    color: #fff;
    font-weight: 300;
}

.name .second {
    color: #007bff;
}

.typed-text {
    font-size: 1.8rem;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    margin-top: 20px;
}

.social-icon {
    font-size: 1.5rem;
    color: #fff;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #007bff;
    transform: translateY(-5px);
}

/* About Section */
.about {
    background-color: #121212;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.languages, .tools {
    margin-bottom: 30px;
}

.languages h3, .tools h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.card {
    background-color: #1e1e1e;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-body {
    padding: 25px;
}

.skill-bar {
    margin-bottom: 20px;
}

.skill-label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 500;
}

.skill-label img {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.progress {
    height: 10px;
    background-color: #2d2d2d;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    background-color: #007bff;
    transition: width 1.5s ease;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-5px);
}

.tool-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.tool-item span {
    font-size: 0.9rem;
    color: #e0e0e0;
}

/* Projects Section Responsive CSS */
.projects {
    padding: 60px 0;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    position: relative;
    margin-bottom: 15px;
    color: #333;
}

.underline {
    width: 60px;
    height: 3px;
    background: #4a89dc;
    margin: 0 auto;
}

.project-container {
    margin-top: 20px;
}

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background-color: #2d2d2d;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    height: 100%;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.project-overlay {
    padding: 25px;
    height: 100%;
    display: flex;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
    flex-direction: column;
    transition: all 0.3s ease;

}

.project-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.project-overlay .description {
    margin-bottom: 15px;
    color: #e0e0e0;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tech span {
    background-color: rgba(0, 123, 255, 0.2);
    color: #007bff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    
}

.btn-primary {
    background: #4a89dc;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #3579d8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 5px 15px;
    font-size: 14px;
}

.project-buttons {
    display: flex;
    gap: 10px;
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    .col-lg-6 {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 28px;
    }
    
    .project-overlay h3 {
        font-size: 18px;
    }
    
    .project-overlay {
        padding: 20px;
    }
    
    .btn {
        padding: 8px 16px;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 24px;
    }
    
    .project-overlay h3 {
        font-size: 16px;
    }
    
    .project-overlay {
        padding: 15px;
    }
    
    .project-tech span {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .btn {
        padding: 7px 14px;
        font-size: 14px;
    }
    
    .project-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .project-tech {
        margin-bottom: 15px;
    }
    
    .description {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}
/* Skills Section */
.skills {
    background-color: #121212;
}

.skills-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.skills-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.skills-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
}


.skills-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.skills-card .description {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    background-color: #1a1a1a;
}

.contact-form, .contact-info {
    height: 100%;
}

.contact-form label {
    color: #e0e0e0;
    font-weight: 500;
}

.form-control {
    background-color: #2d2d2d;
    border: 1px solid #444;
    color: #fff;
    border-radius: 5px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    background-color: #2d2d2d;
    color: #fff;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.contact-info p {
    color: #e0e0e0;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #007bff;
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #fff;
}

.contact-item p {
    margin-bottom: 0;
}

.contact-item a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #007bff;
}

.footer-text {
    color: #999;
    margin-top: 50px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    section {
        padding: 80px 0;
    }
    
    .hero {
        text-align: center;
    }
    
    .profile-pic {
        margin-bottom: 30px;
    }
    
    .name {
        text-align: center;
        padding-left: 0;
    }
    
    .profile-info {
        justify-content: center;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .typed-text {
        font-size: 1.5rem;
    }
    
    .profile-pic {
        width: 250px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}