@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

body {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

nav.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

header {
    padding: 2rem 0;
}

header a {
    color: #fff;
}

.profile-pic {
    border: 4px solid #fff;
    border-radius: 50%;
    width: 17rem;
    height: 17rem;
    box-shadow: 3px 3px 2px rgba(0, 0, 0, 0.4);
}

.bg-primary {
    background-color: #5363F5 !important;
}

header p {
    line-height: 1;
}

header p:first-child {
    font-size: 3rem;
    font-weight: 200;
}

header .job-title {
    font-size: 4rem;
    font-weight: bold;
}

#about-exp {
    text-align: center;
    font-family: Arial, sans-serif;
}

.number-container {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.blue-circle {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background-color: #5363F5;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.number-text {
    color: #fff;
    font-size: 8rem;
    text-shadow: 2px 2px 2px rgb(100, 100, 100);
    position: relative;
    z-index: 2;
    line-height: 1;
}

.experience-text {
    color: #000;
    font-size: 1.5rem;
}

.space {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.subtitle {
    font-size: 1rem;
    color: #fff;
    background-color: #5363F5;
    padding: 0.2rem 0.4rem;
}

.intro {
    font-size: 1.5rem;
}

.icons i {
    color: #5363F5;
    font-size: 3rem;
}

#resume .box {
    padding: 0 1rem;
    border-left: 2px solid #5363F5;
}

#resume .item {
    border-bottom: 0.5px solid lightgray;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.item h6 {
    font-weight: 300;
}

#skills .progress {
    height: 0.5rem;
}

.skill-box {
    margin-bottom: 1.2rem;
}

.skill-box p {
    margin-bottom: 0.5rem;
}

.progress .progress-bar {
    background-color: #5363F5;
}

.w-70 {
    width: 70%;
}

.w-80 {
    width: 80%;
}

.w-95 {
    width: 95%;
}

.w-99 {
    width: 99%;
}

/* Portfolio Section */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(83, 99, 245, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-overlay p {
    font-size: 1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.portfolio-item:hover .portfolio-overlay h5,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* Hire Me Section */
.hire-me-section {
    background: linear-gradient(135deg, #1f2937, #111827);
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.hire-me-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hire-me-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-primary-custom {
    background-color: #5363F5;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
}

.btn-primary-custom:hover {
    background-color: #3b4be0;
    color: white;
    transform: translateY(-2px);
}

.btn btn-dark{
    max-width: fit-content important; 


}

/* Testimonials Section */
.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 1rem;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: #5363F5;
    opacity: 0.2;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.client-name {
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
}

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

/* Contact Section */
.contact-info-box {
    margin-bottom: 2rem;
}

.contact-info-box i {
    font-size: 2rem;
    color: #5363F5;
    margin-bottom: 1rem;
    display: block;
}

.contact-info-box h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info-box p {
    color: #666;
}

.contact-form .form-control {
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    background-color: #f9f9f9;
}

.contact-form .form-control:focus {
    border-color: #5363F5;
    box-shadow: none;
    background-color: white;
}

.contact-form textarea {
    resize: none;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #aaa;
    padding: 3rem 0;
    text-align: center;
}

.footer-socials {
    margin-bottom: 1.5rem;
}

.footer-socials a {
    color: #fff;
    background-color: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
    background-color: #5363F5;
    color: white;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Typed.js Cursor */
.typed-cursor {
    font-size: 4rem;
    font-weight: 200;
    color: #fff;
    opacity: 1;
    -webkit-animation: blink 0.7s infinite;
    -moz-animation: blink 0.7s infinite;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    header p:first-child {
        font-size: 2rem;
    }
    header .job-title {
        font-size: 3rem;
    }
    .profile-pic {
        width: 14rem;
        height: 14rem;
        margin-top: 2rem;
    }
    .hire-me-section h2 {
        font-size: 2rem;
    }
}