:root {
    --primary-color: #4a6bff;
    --secondary-color: #2c3e50;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --accent-color: #ff6b6b;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: var(--dark-color);
    overflow-x: hidden;
}


.about-section {
    margin-top: 5vh;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3a5be0;
    border-color: #3a5be0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 107, 255, 0.3);
}

.btn-outline-light {
    border-color: white;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

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

.skill-name {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.progress {
    height: 10px;
    border-radius: 5px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 5px;
    transition: width 1.5s ease;
}

.project-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    background: white;
}

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

.project-img {
    height: 250px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.project-category {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.project-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.tag {
    background-color: #e9ecef;
    color: #495057;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: var(--primary-color);
}

.project-links a i {
    margin-right: 5px;
}

.testimonial-card {
    border: none;
    border-radius: 15px;
    padding: 30px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
}

.client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-name {
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.client-role {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: none;
    border-bottom: 2px solid #e9ecef;
    border-radius: 0;
    padding: 12px 0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    height: 150px;
    resize: none;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    background: var(--secondary-color);
}

footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-text {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .section {
        padding: 80px 0;
    }

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

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .project-links {
        justify-content: center;
    }

    .contact-form {
        padding: 30px;
    }
}

body.dark-mode {
    background: #181a1b !important;
    color: #f8f9fa !important;
}

body.dark-mode .section,
body.dark-mode .card,
body.dark-mode .contact-form,
body.dark-mode .testimonial-card,
body.dark-mode .project-card {
    background: #23272b !important;
    color: #f8f9fa !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode footer,
body.dark-mode .footer-section {
    background: #181a1b !important;
    color: #f8f9fa !important;
}

body.dark-mode .footer-section a,
body.dark-mode .footer-section .footer-text {
    color: #f8f9fa !important;
}

body.dark-mode .section-title {
    color: #f8f9fa !important;
}

body.dark-mode .project-card,
body.dark-mode .testimonial-card,
body.dark-mode .contact-form {
    background: #23272b !important;
    color: #f8f9fa !important;
}

body.dark-mode .form-control {
    background: #23272b !important;
    color: #f8f9fa !important;
    border-bottom: 2px solid #444 !important;
}

body.dark-mode .form-control::placeholder {
    color: #aaa !important;
}

body.dark-mode .btn-primary,
body.dark-mode .btn-outline-light {
    color: #fff !important;
}

body.dark-mode .btn-outline-light {
    border-color: #fff !important;
}

body.dark-mode .btn-outline-light:hover {
    background: #fff !important;
    color: #23272b !important;
}

body.dark-mode .badge.bg-primary,
body.dark-mode .badge.bg-success,
body.dark-mode .badge.bg-warning {
    filter: brightness(0.8);
}

body.dark-mode .tag {
    background: #333 !important;
    color: #f8f9fa !important;
}

body.dark-mode .social-link {
    background: #23272b !important;
    color: #f8f9fa !important;
}

body.dark-mode .social-link:hover {
    background: #4a6bff !important;
    color: #fff !important;
}

body.dark-mode .back-to-top {
    background: #23272b !important;
    color: #fff !important;
}