/* applying google font over the website */
body {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
}

/* styling menu icon */
.nav-menu {
    border: none;
    background-color: #fff;
    font-size: 1.5rem;
    color: #fca61f;
}

/* Style for the toggle button */
.theme-btn {
    cursor: pointer;
    font-size: 20px;
    border: none;
    background: transparent;
}

/* styling navbar links */
.navbar-nav a {
    color: black;
    position: relative;
}

.navbar-nav a:hover {
    color: #fca61f;
}

/* styling contact btn */
.c-btn {
    background-color: #3f396d;
    color: white;
    font-weight: bold;
    border: none;
    transition: background-color 0.3s ease;
    /* Redundant contact button styles are below, but preserving for functionality if used elsewhere */
    border: none;
    background: #fca61f;
    color: #fff;
    font-size: 1.2rem;
}

.c-btn:hover {
    background-color: #292655;
}

.navbar-nav a:after {
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    top: 35px;
    position: absolute;
    background: #fca61f;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

.navbar-nav a:hover:after {
    width: 100%;
    left: 0;
}

---

/* styling home section starts */
.home {
    background: linear-gradient(33deg, rgba(242, 242, 255, 1) 0%, rgba(235, 249, 255, 1) 100%);
    padding: 30px 0px 10px 0px;
}

.home h2 {
    font-size: 3rem;
    line-height: 4rem;
}

.c-orange {
    color: #6f34fe;
    font-weight: 700;
    font-size: 4rem;
}

.home p {
    width: fit-content;
    margin-top: 1rem;
    font-size: 1.2rem;
}

.h-btn:hover {
    background: #6f34fe;
    color: #fff;
    transform: translateY(-20px);
    transition-duration: 1s;
}

.link {
    text-decoration: none;
    font-size: 1.2rem;
    color: #fca61f;
    position: relative;
}

.link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    top: 20px;
    background-color: #6f34fe;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.link:hover {
    color: #6f34fe;
}

.link:hover::after {
    width: 100%;
    left: 0;
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* adding animation to home section image */
.home img {
    animation: floatimg 4s ease-in-out infinite;
}

@keyframes floatimg {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-24px);
    }

    100% {
        transform: translateX(0);
    }
}

---

/* expertise section starts */
.heading small {
    color: #6f34fe;
    font-size: 1.5rem;
    font-weight: 600;
}

.heading h3 {
    margin-top: 0.5rem;
    color: #3f396d;
    font-size: 2.5rem;
    font-weight: 700;
}

.expertise h4 {
    color: #3f396d;
    font-weight: 700;
}

.expertise a {
    text-decoration: none;
    color: #fca61f;
}

.expertise a:hover {
    color: #6f34fe;
}

.expertise .service-card {
    text-align: center;
    padding: 15px 15px;
    border-radius: 0.7rem;
}

.content-box {
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    background: #f9f9f9;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    font-family: Arial, sans-serif;
}

.content-box h4 {
    margin-bottom: 10px;
}

.content-box .row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.content-box .row h6 {
    min-width: 120px;
    /* Ensures alignment for headings */
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
}

.content-box .row span {
    font-size: 1em;
    color: #333;
}

.content-box p {
    font-size: 1em;
    color: #555;
    margin-bottom: 10px;
}

.content-box .link {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.content-box .link:hover {
    text-decoration: underline;
}

---

/* skill section starts */
.skill {
    background-color: rgb(234, 234, 249);
}

.progress-card {
    padding: 12% 10% 10% 15%;
    background-color: #fff;
    text-align: center;
    border-radius: 10%;
}

.progress-card:hover {
    transform: scale(1.1, 1.1);
    transition-duration: 0.6s;
}

.circular-progress {
    position: relative;
    height: 130px;
    width: 130px;
    border-radius: 50%;
    background: conic-gradient(#7d2ae8 3.6deg, #ededed 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-progress::before {
    content: "";
    position: absolute;
    height: 120px;
    width: 120px;
    border-radius: 50%;
    background-color: #fff;
}

.progress-value {
    position: relative;
    font-size: 1.5rem;
    font-weight: 600;
}

.html-progress {
    color: #fca61f;
}

.javascript-progress {
    color: #6f34fe;
}

.php-progress {
    color: #20c997;
}

.reactjs-progress {
    color: #3f396d;
}

.text {
    font-size: 1.2rem;
    font-weight: 500;
}

.heading p {
    font-size: 1.3rem;
}

---

/* portfolio section starts */
#myBtnContainer {
    margin-bottom: 45px;
}

#myBtnContainer button {
    border: none;
    color: black;
    background: transparent;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    margin: 0 25px;
}

#myBtnContainer button:hover {
    color: #fca61f;
}

#myBtnContainer button:focus {
    outline: none;
}

.post .content h4 {
    font-size: 1rem;
    font-weight: 700;
}

.post .card {
    border: none;
}

.hidden-project {
    display: none;
}

---

/* Internship Section */
#internship {
    padding: 60px 0;
    background: #f9f9f9;
}

#internship .container {
    max-width: 1200px;
    margin: auto;
}

#internship h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

/* Cards layout inside internship */
#internship .internship-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

#internship .card {
    flex: 1 1 45%;
    max-width: 45%;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
}

/* Hover effect only for internship cards */
#internship .card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Headings */
#internship .card h3 {
    color: #6c63ff;
}

/* Links */
#internship .card a {
    color: #6c63ff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

#internship .card a:hover {
    color: #333;
    text-decoration: underline;
}

/* Lists */
#internship .card ul {
    margin: 10px 0 0 20px;
}

---

/* styling modal group */
.btn-c {
    margin-left: 94%;
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    margin-top: -3%;
}

.btn-c i {
    color: #fca61f;
}

.modal-body .content span {
    font-size: 1rem;
}

.modal-body .content small {
    font-size: 1rem;
    color: #6f34fe;
}

---

/* contact section starts */
.contact {
    background-color: #f3f3f3;
}

.contact-details i {
    font-size: 1.5rem;
    color: #fca61f;
}

.contact-details p {
    font-size: 1.2rem;
    margin-left: 1rem;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border: 1px solid #fca61f;
}

.contact-form .form-control {
    padding: 10px 10px;
    width: 80%;
}



#problem-solving {
    background: #eef2ff;
}

#problem-solving .card {
    border-radius: 12px;
    transition: 0.3s;
}

#problem-solving .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
#problem-solving .card {
    transition: 0.3s;
    border: 2px solid transparent;
}

#problem-solving .card:hover {
    border: 2px solid #6f34fe;
    box-shadow: 0 0 20px rgba(111, 52, 254, 0.5);
}
---

/* footer section starts */
footer {
    background-color: #211e39;
}

footer .link-group a {
    margin-left: 10px;
    margin-right: 10px;
    text-decoration: none;
    color: #6c757d;
    font-size: 1.1rem;
    margin-top: 1rem;
}

footer .link-group a:hover {
    color: #fca61f;
}

.social-links button {
    border: none;
    margin-right: 1rem;
    font-size: 1.2rem;
    background-color: #fff;
    padding: 14px 15px 10px 15px;
}

.social-links button:hover {
    color: #fff;
    transform: translateY(-20px);
    transition-duration: 1s;
}

.social-links .dribble {
    color: #f33a7e;
}

.social-links .dribble:hover {
    background-color: #f33a7e;
}

.social-links .whatsapp {
    color: #25D366;
}

.social-links .whatsapp:hover {
    background-color: #25D366;
}

.social-links .behance {
    color: #255afc;
}

.social-links .behance:hover {
    background-color: #255afc;
}

/* styling back to top button */
#btn-back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: none;
    font-size: 1.4rem;
    background-color: #fca61f;
    color: #fff;
    animation: pulse 3s infinite;
}
