/*==================== GOOGLE FONTS ====================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@700;800;900&display=swap');

/*==================== VARIABLES CSS ====================*/
:root {
    --header-height: 3rem;

    /*========== Colors ==========*/
    --primary-color: #6a11cb;
    --primary-color-alt: #2575fc;
    --secondary-color: #00dbde;
    --title-color: #333333;
    --text-color: #707070;
    --text-color-light: #A6A6A6;
    --body-color: #FBFEFD;
    --container-color: #FFFFFF;

    /*========== Font and typography ==========*/
    --body-font: 'Poppins', sans-serif;
    --title-font: 'Montserrat', sans-serif;
    --big-font-size: 2.5rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;

    /*========== Font weight ==========*/
    --font-light: 300;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /*========== Margins ==========*/
    --mb-1: 0.5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
    --mb-5: 2.5rem;
    --mb-6: 3rem;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* Dark theme */
[data-theme="dark"] {
    /*========== Colors ==========*/
    --primary-color: #9d4edd;
    --primary-color-alt: #5390fd;
    --secondary-color: #00b5b8;
    --title-color: #f0f0f0;
    --text-color: #b3b3b3;
    --text-color-light: #8c8c8c;
    --body-color: #121212;
    --container-color: #1e1e1e;
    --border-color: #2d2d2d;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Font size for large devices */
@media screen and (min-width: 968px) {
    :root {
        --big-font-size: 3.5rem;
        --h1-font-size: 2.5rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.5rem;
        --normal-font-size: 1rem;
        --small-font-size: 0.875rem;
        --smaller-font-size: 0.813rem;
    }
}

/*========== BASE ==========*/
*,::before,::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    overflow-x: hidden;
}

h1,h2,h3,h4 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    font-family: var(--title-font);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/*========== PRELOADER ==========*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
}

.preloader.preloader-hidden {
    opacity: 0;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid transparent;
    border-top-color: var(--primary-color);
    border-bottom-color: var(--primary-color-alt);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*========== REUSABLE CSS CLASSES ==========*/
.section {
    padding: 2rem 0 4rem;
}

.section-title {
    font-size: var(--h1-font-size);
    color: var(--title-color);
    text-align: center;
    margin-bottom: var(--mb-2);
}

.section-subtitle {
    display: block;
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    text-align: center;
    margin-bottom: var(--mb-4);
}

.highlight {
    color: var(--primary-color);
}

.bd-grid {
    max-width: 1024px;
    display: grid;
    grid-template-columns: 100%;
    grid-column-gap: 2rem;
    width: calc(100% - 2rem);
    margin: 0 auto;
}

.button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: var(--font-semi-bold);
    transition: .3s;
    cursor: pointer;
}

.button-primary {
    background: linear-gradient(to right, var(--primary-color), var(--primary-color-alt));
    color: #fff;
    box-shadow: 0 8px 24px rgba(106, 17, 203, 0.25);
}

.button-primary:hover {
    background: linear-gradient(to right, var(--primary-color-alt), var(--primary-color));
    box-shadow: 0 8px 32px rgba(106, 17, 203, 0.35);
    transform: translateY(-2px);
}

.button-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    margin-left: var(--mb-2);
}

.button-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.button i {
    margin-left: 0.5rem;
}

/*========== LAYOUT ==========*/
.l-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: var(--body-color);
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

/*========== NAV ==========*/
.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: var(--font-semi-bold);
}

.nav__logo {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-family: var(--title-font);
}

.nav__toggle {
    color: var(--title-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav__menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    height: 100%;
    padding: 2rem;
    background-color: var(--container-color);
    transition: .5s;
    box-shadow: -1px 0 10px rgba(0,0,0,.15);
}

.nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}

.nav__link {
    color: var(--title-color);
    font-weight: var(--font-medium);
    transition: .3s;
}

.nav__link:hover, .active-link {
    color: var(--primary-color);
    position: relative;
}

.active-link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-color-alt));
    border-radius: 5px;
}

/* Show menu */
.show-menu {
    right: 0;
}

/*========== HOME ==========*/
.home {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.home__data {
    z-index: 1;
}

.home__title {
    font-size: var(--big-font-size);
    margin-bottom: var(--mb-2);
    line-height: 1.2;
}

.home__title-color {
    color: var(--primary-color);
    position: relative;
}

.home__title-color::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0.2rem;
    background: linear-gradient(to right, var(--primary-color), var(--primary-color-alt));
    left: 0;
    bottom: 0.3rem;
    z-index: -1;
}

.blink {
    animation: blink 1s infinite;
}

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

.home__description {
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-4);
    color: var(--text-color);
}

.home__buttons {
    display: flex;
    flex-wrap: wrap;
}

.home__img {
    position: relative;
    align-self: flex-end;
}

.home__blob {
    width: 400px;
    fill: linear-gradient(to right, var(--primary-color), var(--primary-color-alt));
}

.home__blob-img {
    width: 300px;
}

.home__blob-container {
    position: relative;
}

.home__blob-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(106, 17, 203, 0.2), transparent);
    transform: rotate(45deg);
    animation: blob-animation 3s ease-in-out infinite;
}

@keyframes blob-animation {
    0%, 100% { transform: rotate(45deg) scale(1); opacity: 0.5; }
    50% { transform: rotate(45deg) scale(1.1); opacity: 0.8; }
}

.home__social {
    position: absolute;
    left: 2rem; /* Add some padding from the left edge */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Perfect vertical centering */
    z-index: 10;
}

.home__social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: .8rem;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.home__social-icon:hover {
    color: #fff;
    background: linear-gradient(to right, var(--primary-color), var(--primary-color-alt));
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(106, 17, 203, 0.3);
}

.home__social-icon i {
    font-size: 1.5rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.home__social-icon:hover i {
    color: #fff;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--text-color);
    font-size: 1.5rem;
    display: inline-block;
    transition: 0.3s;
}

.scroll-down a:hover {
    color: var(--primary-color);
    transform: translateY(5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/*========== ABOUT ==========*/
.about__container {
    row-gap: 2rem;
    text-align: center;
}

.about__img {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    margin-bottom: var(--mb-2);
}

.about__img img {
    transition: 1s;
}

.about__img:hover img {
    transform: scale(1.1);
}

.about__img-overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, rgba(106, 17, 203, 0.1), rgba(0, 219, 222, 0.2));
    border-radius: 1rem;
    opacity: 0;
    transition: 0.5s;
}

.about__img:hover .about__img-overlay {
    opacity: 1;
}

.about__subtitle {
    font-size: var(--h2-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-1);
}

.about__text {
    margin-bottom: var(--mb-3);
}

.about__info {
    display: flex;
    justify-content: space-around;
    margin-bottom: var(--mb-4);
}

.about__info-box {
    padding: 1.5rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: 0.3s;
}

.about__info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(106, 17, 203, 0.12);
}

.about__info-title {
    font-size: var(--h1-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--primary-color);
}

.about__info-name {
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
}

.about__buttons {
    display: flex;
    justify-content: center;
}

/*========== SKILLS ==========*/
.skills__container {
    row-gap: 2rem;
}

.skills__content {
    background-color: var(--container-color);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.skills__content:hover {
    box-shadow: 0 8px 24px rgba(106, 17, 203, 0.15);
    transform: translateY(-5px);
}

.skills__header {
    display: flex;
    align-items: center;
    margin-bottom: var(--mb-2);
    cursor: pointer;
}

.skills__icon, 
.skills__arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

.skills__icon {
    margin-right: var(--mb-2);
}

.skills__title {
    font-size: var(--h3-font-size);
    margin-bottom: 0.25rem;
}

.skills__subtitle {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.skills__arrow {
    margin-left: auto;
    transition: 0.4s;
}

.skills__list {
    row-gap: 1.5rem;
    padding-left: 2.7rem;
    overflow: hidden;
    height: 0;
    transition: 0.3s;
}

.skills__open .skills__list {
    height: max-content;
    margin-bottom: var(--mb-2);
}

.skills__open .skills__arrow {
    transform: rotate(-180deg);
}

.skills__data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: var(--mb-3);
}

.skills__names {
    display: flex;
    align-items: center;
}

.skills__name {
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    margin-left: var(--mb-1);
}

.skills__bar {
    position: absolute;
    left: 0;
    bottom: -0.7rem;
    height: 0.25rem;
    border-radius: 0.25rem;
    background-color: #f1f1f1;
    width: 80%;
    z-index: -1;
}

.skills__percentage {
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
}

.skills__html, 
.skills__python {
    width: 95%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    animation: skills-bar 2s ease-in-out;
}

.skills__css,
.skills__sql {
    width: 85%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    animation: skills-bar 2s ease-in-out;
}

.skills__js,
.skills__react {
    width: 65%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    animation: skills-bar 2s ease-in-out;
}

.skills__ux,
.skills__node {
    width: 85%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    animation: skills-bar 2s ease-in-out;
}

@keyframes skills-bar {
    0% { width: 0; }
}

/*========== SERVICES ==========*/
.services__container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.services__card {
    padding: 3rem 2rem;
    border-radius: 1rem;
    background-color: var(--container-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s;
}

.services__card:hover {
    transform: translateY(-15px);
    box-shadow: 0 8px 30px rgba(106, 17, 203, 0.2);
}

.services__card:hover .services__icon {
    transform: translateY(-10px);
    color: var(--primary-color);
}

.services__icon {
    font-size: 3rem;
    color: var(--text-color-light);
    transition: 0.5s;
    margin-bottom: var(--mb-3);
}

.services__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-2);
}

.services__description {
    font-size: var(--small-font-size);
}

/*========== QUALIFICATION ==========*/
.qualification__container {
    max-width: 768px;
}

.qualification__tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: var(--mb-4);
}

.qualification__button {
    font-size: var(--h3-font-size);
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: 0.3s;
}

.qualification__button:hover {
    color: var(--primary-color);
}

.qualification__button.qualification__active {
    color: var(--primary-color);
    background-color: rgba(106, 17, 203, 0.1);
}

.qualification__sections {
    max-width: 700px;
    margin: 0 auto;
}

.qualification__content {
    display: none;
}

.qualification__content.qualification__active {
    display: block;
}

.qualification__data {
    display: grid;
    grid-template-columns: 1fr max-content 1fr;
    column-gap: 1.5rem;
    margin-bottom: var(--mb-3);
}

.qualification__title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-1);
}

.qualification__subtitle {
    display: block;
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    margin-bottom: var(--mb-1);
}

.qualification__calendar {
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
}

.qualification__rounder {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.qualification__line {
    display: block;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    transform: translate(6px, -10px);
}

/*========== PORTFOLIO ==========*/
.work__container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: var(--mb-4);
}

.work__filters {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1rem;
    margin-bottom: var(--mb-3);
}

.work__filter {
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.work__filter:hover {
    color: var(--primary-color);
}

.active-filter {
    color: #fff;
    background: linear-gradient(to right, var(--primary-color), var(--primary-color-alt));
    box-shadow: 0 4px 12px rgba(106, 17, 203, 0.2);
}

.work__card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.work__img {
    transition: 0.5s;
}

.work__card:hover .work__img {
    transform: scale(1.1);
}

/*========== PORTFOLIO (continued) ==========*/
.work__data {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(106, 17, 203, 0.8));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  transition: 0.5s;
  border-radius: 1rem;
}

.work__card:hover .work__data {
  bottom: 0;
}

.work__title {
  font-size: var(--h3-font-size);
  color: #fff;
  margin-bottom: var(--mb-1);
  text-align: center;
}

.work__description {
  font-size: var(--small-font-size);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: var(--mb-2);
}

.work__button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  background-color: #fff;
  color: var(--primary-color);
  font-weight: var(--font-semi-bold);
  transition: 0.3s;
}

.work__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.work__button i {
  font-size: 1.25rem;
  margin-left: 0.5rem;
}

/*========== CONTACT ==========*/
.contact__container {
  row-gap: 2rem;
}

.contact__information {
  display: flex;
  align-items: center;
  margin-bottom: var(--mb-2);
}

.contact__icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-right: var(--mb-2);
}

.contact__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
}

.contact__subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.contact__form {
  width: 100%;
}

.contact__input-group {
  position: relative;
  margin-bottom: var(--mb-3);
}

.contact__input {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  background-color: var(--container-color);
  border: 2px solid transparent;
  outline: none;
  font-size: var(--normal-font-size);
  transition: 0.3s;
}

.contact__input:focus {
  border: 2px solid var(--primary-color);
}

.contact__label {
  position: absolute;
  top: -0.75rem;
  left: 1.25rem;
  font-size: var(--smaller-font-size);
  padding: 0.25rem;
  background-color: var(--body-color);
  color: var(--primary-color);
}

.contact__area {
  height: 11rem;
}

.contact__area textarea {
  resize: none;
}

.contact__button {
  justify-content: center;
  margin-left: auto;
}

/* Container for the entire contact section */
.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Cards on left, form on right */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Form styling */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact__input {
    padding: 0.75rem;
    border: 1px solid var(--text-color-light);
    border-radius: 0.5rem;
    font-size: var(--normal-font-size);
}

.contact__area {
    height: 100px;
    resize: vertical;
}

.button-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button-primary:hover {
    background-color: var(--primary-color-alt);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact__container {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}

/*========== FOOTER ==========*/
.footer {
  padding-top: 4rem;
  background-color: #fafafa;
}

.footer__container {
  row-gap: 2rem;
  border-bottom: 1px solid var(--text-color-light);
  padding-bottom: 2rem;
}

.footer__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
}

.footer__link {
  display: block;
  margin-bottom: var(--mb-1);
  color: var(--text-color);
  transition: 0.3s;
}

.footer__link:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer__social {
  display: flex;
  column-gap: 1.5rem;
  margin-top: var(--mb-3);
}

.footer__social-link {
  font-size: 1.5rem;
  color: var(--text-color);
  transition: 0.3s;
}

.footer__social-link:hover {
  color: var(--primary-color);
  transform: translateY(-5px);
}

.footer__copy {
  font-size: var(--smaller-font-size);
  text-align: center;
  color: var(--text-color-light);
  padding: 2rem 0;
}

[data-theme="dark"] .footer {
    background-color: var(--container-color);
  }
  
  [data-theme="dark"] .footer__copy {
    color: var(--text-color);
  }
  

/*========== SCROLL UP ==========*/
.scrollup {
  position: fixed;
  right: 2rem;
  bottom: -20%;
  background: linear-gradient(to right, var(--primary-color), var(--primary-color-alt));
  opacity: 0.8;
  padding: 0.5rem;
  border-radius: 0.5rem;
  z-index: var(--z-tooltip);
  transition: 0.4s;
}

.scrollup:hover {
  opacity: 1;
  transform: translateY(-5px);
}

.scrollup__icon {
  font-size: 1.5rem;
  color: #fff;
}

.show-scroll {
  bottom: 2rem;
}

/*========== SCROLL BAR ==========*/
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: #f5f5f5;
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary-color), var(--primary-color-alt));
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--primary-color-alt), var(--primary-color));
}

/*========== MEDIA QUERIES ==========*/
/* For small devices */
@media screen and (max-width: 350px) {
  .home__buttons {
      flex-direction: column;
  }
  
  .button-outline {
      margin: var(--mb-2) 0 0 0;
  }
  
  .home__blob {
      width: 280px;
  }
  
  .about__info {
      flex-direction: column;
      row-gap: 1rem;
  }
  
  .about__info-box {
      width: 80%;
      margin: 0 auto;
  }
  
  .qualification__data {
      gap: 0.5rem;
  }
  
  .services__container {
      grid-template-columns: 1fr;
  }
  
  .work__filters {
      flex-wrap: wrap;
      row-gap: 0.5rem;
  }
}

/* For medium devices */
@media screen and (min-width: 568px) {
  .home__content {
      grid-template-columns: max-content 1fr 1fr;
  }
  
  .home__data {
      grid-column: initial;
  }
  
  .home__img {
      order: 1;
  }
  
  .about__container,
  .skills__container,
  .qualification__container,
  .contact__container,
  .footer__container {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .qualification__sections {
      display: grid;
      grid-template-columns: 0.6fr;
      justify-content: center;
  }
}

@media screen and (min-width: 768px) {
  .container {
      margin-left: auto;
      margin-right: auto;
  }
  
  body {
      margin: 0;
  }
  
  .section {
      padding: 6rem 0 2rem;
  }
  
  .section-title {
      margin-bottom: 4rem;
  }
  
  .l-header {
      padding: 0 1rem;
  }
  
  .nav {
      height: calc(var(--header-height) + 1.5rem);
      column-gap: 3rem;
  }
  
  .nav__toggle,
  .nav__close {
      display: none;
  }
  
  .nav__list {
      display: flex;
      column-gap: 2rem;
      flex-direction: row;
  }
  
  .nav__menu {
      margin-left: auto;
      position: static;
      width: auto;
      height: auto;
      padding: 0;
      background-color: transparent;
      box-shadow: none;
      right: 0;
  }
  
  .home__container {
      grid-template-columns: repeat(2, 1fr);
      align-items: center;
  }
  
  .home__blob {
      width: 500px;
  }
  
  .home__data {
      padding-top: 4rem;
  }
  
  .about__container {
      column-gap: 5rem;
  }
  
  .about__img {
      width: 350px;
  }
  
  .services__container {
      grid-template-columns: repeat(3, 1fr);
  }
  
  .qualification__tabs {
      justify-content: center;
  }
  
  .qualification__button {
      margin: 0 var(--mb-2);
  }
}

/* For large devices */
@media screen and (min-width: 992px) {
  .bd-grid {
      margin-left: auto;
      margin-right: auto;
  }
  
  .home__container {
      column-gap: 5rem;
  }
  
  .home__img {
      width: 450px;
  }
  
  .home__blob {
      width: 550px;
  }
  
  .about__container {
      column-gap: 7rem;
  }
  
  .work__container {
      grid-template-columns: repeat(3, 1fr);
  }
  
  .contact__container {
      column-gap: 6rem;
  }
}

