* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    border: none;
    outline: none;
    font-family: -apple-system, sans-serif;
}

:root {
    --bg-color: #0f172a;
    --second-bg-color: #1e293b;
    --text-color: #f5f6f8;
    --main-color: #4f6fa8;
}

body.light-mode {
    --bg-color: #f5f6f8;
    --second-bg-color: #e6ebf2;
    --text-color: #2e2e34;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 8rem;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

/* header section */

header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 9%;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

.logo {
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

span {
    color: var(--main-color);
}

.navbar {
    display: flex;
}

.navbar a {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-color);
    margin-left: 4rem;
    transition: all 0.5s ease;
    border-bottom: 3px solid transparent;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

#menu-icon {
    font-size: 3rem;
    color: var(--main-color);
    cursor: pointer;
    display: none;

}

.nav-btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    font-weight: 500;
    font-weight: 600;
    transition: all 0.5s ease;
}

.nav-btn:hover {
    background: var(--main-color);
    color: var(--text-color);
}

.top-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-btn {
    background: transparent;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    background: var(--main-color);
    color: var(--text-color);
    transform: scale(1.1);
}

/* Portfolio section */
.portfolio {
    padding: 8rem 9% 2rem;
    background: var(--bg-color);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: rgba(47, 67, 107, 0.08);
    border-radius: 1.5rem;
    border: 1px solid rgba(47, 67, 107, 0.24);
}

.filter-btn {
    padding: 0.8rem 2.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    font-size: 1.4rem;
    border-radius: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover {
    background: var(--main-color);
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 67, 107, 0.3);
}

.filter-btn.active {
    background: var(--main-color);
    color: var(--text-color);
    box-shadow: 0 5px 15px rgba(47, 67, 107, 0.4);
}

.portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.portfolio-content .box {
    position: relative;
    background: var(--second-bg-color);
    border-radius: 1.5rem;
    overflow: hidden;
    padding: 0;
    transition: all 0.3s ease;
    border: 2px solid rgba(47, 67, 107, 0.2);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 380px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.portfolio-content .box:nth-child(1) {
    animation-delay: 0.1s;
}

.portfolio-content .box:nth-child(2) {
    animation-delay: 0.2s;
}

.portfolio-content .box:nth-child(3) {
    animation-delay: 0.3s;
}

.portfolio-content .box:hover {
    border-color: var(--main-color);
    box-shadow: 0 0 30px rgba(47, 67, 107, 0.2);
    transform: translateY(-6px);
}

.img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 1.5rem 1.5rem 0 0;
    transition: transform 0.3s ease;
}

.portfolio-content .box:hover .img-wrapper img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(47, 67, 107, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1.5rem 1.5rem 0 0;
}

.portfolio-content .box:hover .project-overlay {
    opacity: 1;
}

.view-details-btn {
    padding: 1rem 2rem;
    background: var(--text-color);
    color: var(--main-color);
    border: none;
    border-radius: 3rem;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.portfolio-content .text-content {
    padding: 2.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-content h3 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.portfolio-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #ccc;
    flex-grow: 1;
}

.portfolio-content .links {
    display: flex;
    gap: 1.5rem;
    margin-top: auto;
}

/* Project Details Modal */
.project-details {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeInUp 0.3s ease;
}

.details-content {
    background: var(--second-bg-color);
    padding: 3rem;
    border-radius: 2rem;
    border: 2px solid var(--main-color);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close-details {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 3rem;
    color: var(--main-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-details:hover {
    transform: rotate(90deg);
    color: var(--text-color);
}

.details-content h3 {
    font-size: 2.5rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
}

.details-content p {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.details-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.details-content ul li {
    font-size: 1.4rem;
    color: #ccc;
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.details-content ul li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--main-color);
}

.details-content .btn {
    width: 100%;
    text-align: center;
    display: block;
    margin-top: 1.5rem;
}

/* Testimonials section */
.testimonials {
    padding: 8rem 9% 2rem;
    background: var(--second-bg-color);
}

.testimonials .heading {
    margin-bottom: 4rem;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.testimonial-card {
    background: var(--second-bg-color);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 2px solid rgba(47, 67, 107, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

.testimonial-card:hover {
    border-color: var(--main-color);
    box-shadow: 0 0 25px rgba(47, 67, 107, 0.2);
    transform: translateY(-5px);
}

.testimonial-card .stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.testimonial-card .stars i {
    font-size: 1.8rem;
    color: var(--main-color);
}

.testimonial-card p {
    font-size: 1.5rem;
    color: #ccc;
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.6;
}

.testimonial-card h4 {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.testimonial-card span {
    font-size: 1.3rem;
    color: var(--main-color);
    font-weight: 500;
}

/* Home section */

section {
    min-height: 100vh;
    padding: 10rem 9% 10rem;
}

.home {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    gap: 3.4rem;
}

.home-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
    margin-top: 0;
    max-width: 64rem;
}

span {
    color: var(--main-color);
}

.home-content h3 {
    margin-bottom: 2rem;
    margin-top: 1.5rem;
    font-size: 2.6rem;
    line-height: 1.3;
    font-weight: 600;
}

.home-content h1 {
    font-size: 6.2rem;
    font-weight: 700;
    margin-top: 1.3rem;
    line-height: 1;
}

.home-img {
    flex-shrink: 0;
}


.home-img img {
    width: clamp(26rem, 30vw, 38rem);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 10%;
    border-radius: 2rem;
    border: 2px solid rgba(79, 111, 168, 0.35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.home-content p {
    font-size: 1.6rem;
    font-weight: 500;
    max-width: 56ch;
    line-height: 1.6;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 0.2rem solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: all 0.5s ease;
}

.social-icons a:hover {
    color: var(--text-color);
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 0 20px var(--main-color);
    background: var(--main-color);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: var(--text-color);
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--main-color);
}

/* About section */

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    background: var(--second-bg-color);
    color: var(--text-color);
}

.about h2 span {
    color: var(--main-color);
}

.about-img {
    border-radius: 2rem;
}

.about-img img {
    position: relative;
    width: 20vw;
    border-radius: 5rem;
    box-shadow: 0 0 5px var(--main-color);
    top: 1rem;
}

.about-content h2 {
    text-align: left;
    font-size: 5.8rem;
}

.about-content h3 {
    text-align: left;
    line-height: 1.3;
    font-size: 2.6rem;
}

.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}

/* ScrollBar design */

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-thumb {
    background: var(--main-color);
    width: 50px;
}

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

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

/* Service code */

.heading {
    font-size: 7.5rem;
    text-align: center;
}

.heading span {
    color: var(--main-color);
}

.section-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: stretch;
    grid-auto-rows: 1fr;
    gap: 3.5rem;
    margin-top: 4.8rem;
    padding: 0 2rem;
}

.box {
    padding: 100px 60px 80px;
    background: #2d343f;
    border-radius: 38px;
    border: 2px solid rgba(47, 67, 107, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(47, 67, 107, 0.06) inset;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.section-content .box:nth-child(1) {
    animation-delay: 0.1s;
}

.section-content .box:nth-child(2) {
    animation-delay: 0.2s;
}

.section-content .box:nth-child(3) {
    animation-delay: 0.3s;
}

.box .row-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    font-size: 36px;
    border-radius: 50%;
    color: var(--text-color);
    background: #075fe4;
    margin-bottom: 24px;
}

.box h3 {
    font-size: 3.6rem;
    /* ~36px */
    font-weight: 700;
    margin-bottom: 14px;
}

.box p {
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--text-color);
    line-height: 2.4rem;
    margin-bottom: 26px;
    max-width: 60ch;
}

.box a {
    display: inline-block;
    font-size: 22px;
    line-height: 1.2rem;
    font-weight: 700;
    padding: 7px 0;
    color: var(--text-color);
    border-bottom: 2px solid #5d6c83;
    transition: all 0.5s ease-in-out;
}

.box i {
    vertical-align: middle;
    font-size: 25px;
    color: var(--main-color);
    margin-left: 5px;
}

.box a:hover {
    border-bottom: 2px solid var(--main-color);
}

.box:hover {
    border: 2px solid var(--main-color);
    transform: translateY(-6px) scale(1.02);
}

.services .box {
    background: var(--second-bg-color);
    border: 2px solid rgba(47, 67, 107, 0.2);
    box-shadow: none;
    padding: 4.2rem 3.2rem;
    border-radius: 1.5rem;
}

.services .box h3 {
    font-size: 2.9rem;
    line-height: 1.2;
    margin-bottom: 1.6rem;
}

.services .box p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 2.2rem;
}

.footer-section {
    transition: all 0.3s ease;
}

.footer-section:hover {
    border-color: var(--main-color);
    box-shadow: 0 0 30px rgba(47, 67, 107, 0.2);
    transform: translateY(-6px);
}

.about-img img {
    position: relative;
    width: 30vw;
    max-width: 480px;
    border-radius: 5rem;
    box-shadow: 0 0 8px var(--main-color);
    top: 1rem;
}

/* Skills section */
.skills {
    padding: 8rem 9% 2rem;
    background: var(--bg-color);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-top: 5rem;
    padding: 0 2rem;
}

.skill-category {
    background: var(--second-bg-color);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 2px solid rgba(47, 67, 107, 0.2);
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: var(--main-color);
    box-shadow: 0 0 30px rgba(47, 67, 107, 0.2);
}

.skill-category h3 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--main-color);
}

.skill-category p {
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text-color);
}

.skill-item {
    margin-bottom: 2.5rem;
}

.skill-item span {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-weight: 500;
}

.skill-bar {
    background: rgba(47, 67, 107, 0.08);
    height: 0.8rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.skill-progress {
    background: linear-gradient(90deg, var(--main-color), #ff3385);
    height: 100%;
    border-radius: 0.5rem;
    animation: skillsAnimation 1s ease forwards;
}

@keyframes skillsAnimation {
    0% {
        width: 0 !important;
    }

    100% {
        width: var(--width) !important;
    }
}

/* Portfolio section */
.portfolio {
    background: var(--second-bg-color)
}

.portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, auto));
    align-items: center;
    gap: 2.3rem;
    margin-top: 4.2rem;
}

.row {
    background: var(--bg-color);
    border-radius: 28px;
    border: 1px solid transparent;
    box-shadow: 0 0 5px var(--main-color);
    transition: all 0.5s ease-in-out;
}

.row img {
    height: auto;
    width: 100%;
    border-radius: 28px;
    margin-bottom: 1.4rem;
}

.main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.row h5 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
}

.row i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    font-size: 27px;
    border-radius: 50%;
    color: var(--text-color);
    background: #075fe4;
}

.row h4 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.row:hover {
    border: 1px solid var(--main-color);
    transform: translateY(-5px) scale(1.02);
    cursor: pointer;
}

/* Contact section  */

.contact {
    background-color: var(--bg-color);
}

.contact h2 {
    margin-bottom: 3rem;
    color: var(--text-color);
}

.contact form {
    max-width: 85rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.contact form .input-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius: 0.8rem;
    border: 1px solid var(--main-color);
    margin: 0.7rem 0;
    resize: none;
    box-sizing: border-box;
}

.contact form .input-box input {
    width: calc(50% - 0.7rem);
    margin: 0.7rem 0.35rem;
}

.contact form .btn {
    margin-top: 2rem;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 0.8rem;
    font-size: 1.6rem;
    text-align: center;
    display: none;
    animation: slideDown 0.3s ease;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Footer section */
.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background: var(--second-bg-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding: 2rem 9%;
    margin-bottom: 2rem;
}

.footer-section {
    background: var(--second-bg-color);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 2px solid rgba(47, 67, 107, 0.2);
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--main-color);
    text-align: center;
}

.footer-section ul {
    list-style: none;
    text-align: center;
}

.footer-section ul li {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--main-color);
}

.footer-section .social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    flex-wrap: wrap;
}

.footer .social {
    text-align: center;
    padding-bottom: 25px;
    color: var(--main-color);
}

.footer .social a {
    font-size: 25px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s ease-in-out;
}

.footer .social a:hover {
    color: var(--text-color);
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 0 20px var(--main-color);
    background: var(--main-color);
}

.footer .copyright {
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    color: var(--text-color);
}

/* Responsive design  */

@media (max-width: 1285px) {
    html {
        font-size: 55%;
    }

    .theme-btn {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.6rem;
    }
}

@media (max-width: 991px) {
    header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .footer {
        padding: 2rem 3%;
    }
}

@media (max-width: 895px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 255px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.7);
        transition: all 0.5s ease-in-out;
        backdrop-filter: blur(10px);
    }

    .navbar a {
        display: block;
        padding: 17px;
        font-size: 22px;
    }

    .navbar.active {
        right: 0;
    }

    .home {
        flex-direction: column;
        margin: 5rem 2.5rem 0;
        align-items: flex-start;
        gap: 2.4rem;
    }

    .home-content {
        align-items: flex-start;
        text-align: left;
    }

    .home-content h3 {
        font-size: 3.9rem;
    }

    .home-content h1 {
        font-size: 7rem;
        margin-top: 3rem;
    }

    .home-content p {
        max-width: 600px;
        margin: 0;
    }

    .home-img img {
        width: min(78vw, 36rem);
    }

    .about {
        flex-direction: column-reverse;
    }

    .about-content {
        margin: 0 2 rem 4 rem;
    }

    .about img {
        width: 52vw;
        margin-top: 1.5rem;
    }

    .contact form .input-box input {
        width: 100%;
    }
}

@media (max-width: 426px) {
    .home {
        margin: 4rem 1rem 0;
    }

    .home-content h3 {
        font-size: 3.1rem;
    }

    .home-content h1 {
        font-size: 5.5rem;
    }

    .heading {
        font-size: 5rem;
        text-align: center;
        margin: 2rem 0;
    }

    .skills-container {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 2rem 3%;
    }

    .portfolio-filter {
        gap: 0.8rem;
    }

    .filter-btn {
        padding: 0.6rem 1.5rem;
        font-size: 1.3rem;
    }

    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .details-content {
        padding: 2rem;
        width: 95%;
    }

    .details-content h3 {
        font-size: 2rem;
    }

    .details-content p {
        font-size: 1.3rem;
    }
}