@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:ital,wght@0,100..900;1,100..900&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');

:root {
    /*Main theme color*/
    --first-color: #0e2431;
    --second-color: #6a59d1;
    --third-color: #777;

    /*hover color*/
    --hover-color: #614fd0;

    /*background color*/
    --body-bg-color: #fefefe;
    --card-bg-color: #fff;
    --modal-bg-color: #fff;
    --bg-transparent-color: rgba(0, 0, 0, 0.1);
    --transparent-color-01: rgba(0, 0, 0, 0.1);
    --transparent-color-02: rgba(106, 89, 209, 0.1);
    --line-color: #d7d7d7;

    /*color filter*/
    --color-filter: invert(1);

    /*box shadow*/
    --box-shadow: 0px 0px 20px rgb(0 0 0 / 10%);

    /*font size*/
    --small-font-size: 0.9em;
    --normal-font-size: 1em;

    /*srcoll bar color*/
    --scroll-bar-color: #c5cadf;
    --scroll-thumb-color: #70768a;
    --scroll-thumb-hover-color: #454f6b;
}


/*light theme and dark theme*/
.dark-theme {
    /*Main theme color*/
    --first-color: #fff;
    --second-color: #6a59d1;
    --third-color: #a9afc3;

    /*background color*/
    --body-bg-color: #0e1b31;
    --card-bg-color: #132347;
    --modal-bg-color: #102048;
    --bg-transparent-color: rgba(255, 255, 255, 0.1);
    --transparent-color-01: rgba(255, 255, 255, 0.1);
    --line-color: #454f6b;

    /*color filter*/
    --color-filter: invert(0);

    /*srcoll bar color*/
    --scroll-bar-color: #c1ceff;
    --scroll-thumb-color: #282f4e;
    --scroll-thumb-hover-color: #454f6b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--first-color);
    background: var(--body-bg-color);
    margin: 2rem 0 0 0;
    transition: 0.5s ease;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

/*scroll up button styling*/
.scrollToTop-btn {
    z-index: 99999;
    position: fixed;
    right: 0;
    bottom: 20px;
    width: 45px;
    height: 45px;
    background: var(--second-color);
    color: #fff;     
    font-size: var(--small-font-size);
    border-radius: 3px;
    cursor: pointer;
    opacity: 0;
    transition: 0.5s ease;
}

.scrollToTop-btn.active {
    right: 20px;
    pointer-events: all;
    opacity: 1;
}

/*scroll bar*/
::-webkit-scrollbar {
    width: 10px;
    background: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb {
    background: var(--scroll-thumb-color);
    border-radius: 2em;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scroll-thumb-hover-color);
}

/*header style*/
header {
    z-index: 99999;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(20px);
    transition: 0.6s ease;
}

header.sticky {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--box-shadow);
}

.nav-bar {
    position: relative;
    height: calc(4rem + 1rem);
    max-width: 1250px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    transition: 0.6s ease;
}

header.sticky .nav-bar {
    height: calc(2.5rem + 1rem);
}

.nav-bar .logo {
    color: var(--first-color);
    font-size: 1.3em;
    font-weight: 600;
}

.nav-items a {
    color: var(--first-color);
    font-size: var(--normal-font-size);
    font-weight: 500;
}

.nav-items a.active {
    color: var(--second-color);
}

.nav-items a:not(:last-child) {
    margin-right: 50px;
}

.nav-items a:hover {
    color: var(--second-color);
}

.nav-menu-btn {
    display: none;
}


/*home section styling*/
.home {
    position: relative;
    max-width: 1250px;
    min-height: 100vh;
    margin-left: auto;
    margin-right: auto;
    padding: 4rem 2rem;
    flex-direction: column;
}

.home .home-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.home-container .media-icons {
    display: flex;
    flex-direction: column;
    margin-right: 40px;
}

.home-container .media-icons a {
    color: var(--second-color);
    font-size: 1.5em;
    margin: 10px 0;
}

.home-container .media-icons a:hover {
    color: var(--hover-color);
}

.home-container .info h2 {
    font-size: 3.8em;
    font-weight: 600;
    line-height: 70px;
}

.home-container .info h3 {
    color: var(--third-color);
    font-feature-settings: 1.3em;
    font-weight: 600;
    line-height: 50px;
}

.home-container .info p {
    color: var(--third-color);
    font-size: var(--normal-font-size);
    max-width: 350px;
}

.btn {
    background: var(--second-color);
    color: #fff;
    font-size: var(--normal-font-size);
    font-weight: 500;
    display: inline-block;
    margin-top: 25px;
    padding: 20px 30px;
    letter-spacing: 1px;
    border-radius: 10px;
}

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

.home-container .home-img {
    position: relative;
}

.home-container .home-img img {
    width: 90%;
    transform: translate(0, 0);
}

.home .scroll-down {
    color: var(--first-color);
    font-size: var(--normal-font-size);
    font-weight: 500;
    margin-top: 20px;
}

.home .scroll-down i {
    color: var(--second-color);
    font-size: 1.2em;
    animation: arrow-down ease 2s infinite;
}

@keyframes arrow-down {
    0% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(15px);
    }
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section {
    position: relative;
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
    padding: 6rem 2rem 2rem;
}

.sub-section {
    position: relative;
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
    padding: 6rem 0;
}

.section-title-01 {
    font-size: 4.5em;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(to top, transparent 0%, var(--first-color) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.1;
}

.section-title-02 {
    font-size: 2.5em;
    font-weight: 700;
    transform: translateY(-80px);
}

.section-title-02:before {
    content: '';
    position: absolute;
    width: 70px;
    height: 5px;
    right: 0;
    bottom: 0;
    background: var(--second-color);
}

.container {
    position: relative;
    flex-direction: column;
}


/*about section styling*/
.about .container .content {
    column-gap: 40px;
    width: 100%;
}

.about-img {
    position: relative;
}

.about-img img {
    max-width: 100%;
    min-width: 500px;
    border-radius: 10px;
}

.about-info .description {
    max-width: 600px;
}

.about-info .description h3 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-info .description h4 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-info .description h4 span {
    color: var(--second-color);
}

.about-info .description p {
    color: var(--third-color);
    font-size: var(--normal-font-size);
    margin-bottom: 15px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--line-color);
}

.about-info .professional-list {
    display: flex;
    column-gap: 30px;
}

.about-info .professional-list .list-item {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 15px;
    margin-bottom: 20px;
}

.about-info .professional-list .list-item h3 {
    font-size: 2.5em;
    font-weight: 700;
}

.about-info .professional-list .list-item span {
    color: var(--third-color);
    font-size: var(--small-font-size);
}


/*skills section styling*/
.skills .container .content {
    width: 100%;
}

.skills-description {
    max-width: 700px;
    margin-bottom: 50px;
}

.skills-description h3 {
    font-size: 2em;
    margin-bottom: 5px;
}

.skill-category {
    margin-bottom: 3rem;
}

.skill-category h3 {
    font-size: 1.5rem;
    color: var(--first-color);
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--second-color);
}

.bars {
    display: flex;
    gap: 20px;
    padding: 0 1rem;
    max-width: 1150px;
    margin: 0 auto;
    list-style: none;
}

.bar {
    background: var(--card-bg-color);
    box-shadow: var(--box-shadow);
    padding: 20px;
    border-radius: 6px;
    transition: 0.3s ease;
    font-weight: 600;
    color: var(--first-color);
}

.bar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

/*work, epxperience section styling under skills section*/
.experience-card {
  background: var(--card-bg-color);
  box-shadow: var(--box-shadow);
  border-radius: 8px;
  padding: 2rem;
  max-width: 1150px;
  margin: 1rem auto;
  transition: 0.3s ease;
}

/* .experience-card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
} */

.experience-card .upper h3 {
  font-size: 1.5rem;
  color: var(--first-color);
  margin-bottom: 0.3rem;
}

.experience-card .upper h5 {
  font-size: 1rem;
  color: var(--third-color);
  font-weight: 500;
  font-style: italic;
}

.experience-card .upper span {
  font-size: 0.9rem;
  color: gray;
}

.experience-card .hr {
  height: 1px;
  background-color: #ccc;
  margin: 1rem 0;
}

.experience-card h4 label {
  background: var(--second-color);
  color: white;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
}

.experience-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-top: 0.5rem;
}

.work-description {
    margin-top: 75px;
    font-size: 1.5em;
    width: 100%;
    display: block;
}


/*project section styling*/
.project .container .content {
    width: 100%;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    max-width: 100%;
    gap: 35px;
    margin: 0 auto;
}

.project-list .img-card {
    position: relative; 
    max-width: 100%;
    height: 360px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    cursor: pointer;
}

.project-list .img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative; 
    z-index: 1;
}

.project-list .img-card .overlay {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 1s ease;
    z-index: 2;
}

.project-list .img-card:hover .overlay {
    background: rgba(0, 0, 0, 0.5);
}

.project-list .img-card .info {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 20px;
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.5s ease;
    z-index: 3; 
}

.project-list .img-card:hover .info {
    transform: translateY(0);
    opacity: 1;
}

.project-list .img-card .info h3 {
    font-size: 1.5em;
}

.project-list .img-card .info span {
    font-size: 1.2em;
}

.card-buttons {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 15px;                 
    margin-top: 20px; 
}

.btn1 {
    padding: 8px 16px;
    background: var(--second-color);
    color: var(--first-color);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9em;
    transition: background 0.3s ease;
}

.btn1:hover {
    background-color: var(--first-color);
    color: var(--second-color);
    border: 1px solid var(--second-color);
}

.btn1.secondary {
    background-color: var(--second-color);
    color: var(--first-color);
    border: 1px solid var(--first-color);
}

.btn1.secondary:hover {
    background-color: var(--first-color);
    color: var(--second-color);
}


.project-model {
    z-index: 999999;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: var(--transparent-color-01);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
}

.project-model.active {
    visibility: visible;
    opacity: 1;
}

.project-model-body {
    position: relative;
    background: var(--card-bg-color);
    color: var(--first-color);
    padding: 30px;
    border-radius: 12px;
    max-width: 900px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: translateY(-50px);
    transition: 0.5s ease;
}

.project-model.active .project-model-body {
    transform: translateY(0);
}

/* .project-model-body video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
} */

.portfolio-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 24px;
    cursor: pointer;
    color: var(--first-color);
}

.portfolio-close-btn:hover {
    color: red;
}

.project-model-body h3 {
    font-size: 1.5em;
}


/*get in touch styling*/
.get-in-touch {
    margin-top: 70px;
}

.get-in-touch .container .content {
    width: 100%;
}

.get-in-touch .contact-card {
    position: relative;
    width: 90%;
    background: var(--card-bg-color);
    box-shadow: var(--box-shadow);
    padding: 50px;
    border-radius: 10px;
    column-gap: 50px;
}

.contact-card .title {
    text-transform: uppercase;
    line-height: 60px;
}

.contact-card .title h4 {
    font-size: 1.2em;
    font-weight: 300;
    line-height: 20px;
}

.contact-card .title h3 {
    font-size: 2.3em;
    font-weight: 400;
}

.contact-card .title h2 {
    font-size: 4.2em;
    font-weight: 700;
    background: linear-gradient(to top, transparent 0%,var(--first-color) 30%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
}
  
  
/*education section styling*/
.education-info {
    max-width: 100%;
    display: flex;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 0 auto;
}

.education-info h4 {
    margin-bottom: 20px;
}

.education-info h4 label {
    background: var(--second-color);
    color: #fff;
    font-size: var(--normal-font-size);
    font-weight: 400;
    padding: 5px 15px;
    border-radius: 5px;
}

.eduaction-all {
    margin-bottom: 80px;
}

.edu-list .item {
    background: var(--card-bg-color);
    box-shadow: var(--box-shadow);
    border-bottom: 3px solid var(--second-color);
    padding: 20px;
    margin-top: 15px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.edu-list .item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.edu-list .item .year {
    font-size: var(--small-font-size);
    margin-bottom: 5px;
}

.edu-list .item p {
    color: var(--third-color);
    font-size: var(--small-font-size);
}

.edu-list .item p span {
    color: var(--first-color);
    font-size: var(--normal-font-size);
    font-weight: 500;
}

/*education section photo styling*/
.item-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.edu-img1 {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.edu-img {
    width: 250px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.edu-text {
    flex: 1;
}



/*achievement section styling*/
.achievements {
    padding: 6rem 2rem 3rem;
    max-width: 1150px;
    margin: 0 auto;
}

.achivement {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 2rem;
}

.achive-list {
    background: var(--card-bg-color);
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--second-color);
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achive-list:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.achive-list .year {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--first-color);
    margin-bottom: 8px;
    display: block;
}

.achive-list p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
}

.achive-list p span {
    font-weight: 600;
    color: var(--second-color);
}

/*achievement photo styling*/
.achive-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.achive-img {
    width: 300px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.achive-text {
    flex: 1;
}



/*contact sections styling*/
.contact .container .content {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 70px;
}

.contact-left h2 {
    font-size: 1.8em;
    font-weight: 800;
    margin-bottom: 40px;
}

.contact-list li {
    margin-bottom: 40px;
}

.contact-list li h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-list li h3 i {
    color: var(--second-color);
    font-size: 1.3em;
    margin-right: 10px;
}

.contact-list li span {
    color: var(--third-color);
    margin-left: 40px;
}

.contact-list li span a {
    color: var(--third-color);
}

.contact-right p {
    color: var(--third-color);
    font-size: 1.6em;
    margin-bottom: 30px;
}

.contact-right p span {
    color: var(--first-color);
    font-weight: 700;
}

.contact-form input, .contact-form textarea {
    border: none;
    color: var(--first-color);
    background: var(--transparent-color-02);
    font-size: var(--normal-font-size);
    margin-bottom: 20px;
    padding: 15px 40px 40px 20px;
    border-radius: 5px;
}

.contact-form textarea {
    width: 100%;
    resize: none;
}

::placeholder {
    color: var(--first-color);
}

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

.contact-form .second-row {
    display: flex;
    justify-content: space-between;
}

.contact-form .second-row input {
    width: 48%;
}

.contact-form .btn {
    border: none;
    margin-top: 0;
    border-radius: 5px;
    cursor: pointer;
}



/*footer styling*/
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--second-color);
    width: 100%;
    margin-top: 50px;
    padding: 3rem 2rem;
    color: #fff;
}

footer a {
    color: #fff;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1150px;
}

.footer-container .about h2 {
    font-size: 2.8em;
    font-weight: 600;
    background: linear-gradient(to top, transparent 0%, #fff 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

.footer-container .about p {
    font-size: var(--normal-font-size);
    font-weight: 300;
    margin-bottom: 30px;
}

.footer-container .info, .footer-container .follow {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer-container .info h3, .footer-container .follow h3 {
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 30px;
}

.footer-container .info ul, .footer-container .follow ul {
    display: flex;
}

.footer-container .info a {
    margin: 20px;
}

.footer-container .follow a {
    font-size: 1.5em;
    margin: 20px;
}

.footer-copyright p {
    font-size: var(--normal-font-size);
    font-weight: 300;
    margin-top: 50px;
}

/* Apply unique style to the "Made with love" line */
.footer-copyright p:first-child {
    font-family: 'Pacifico', cursive; /* Cursive font */
    font-size: 1.8rem;
    color: var(--primary-color); /* or any accent color */
    margin-top: 50px;
    text-align: center;
    letter-spacing: 1px;
}



/*dark/light theme button styling*/
.theme-btn {
    z-index: 999999;
    position: fixed;
    right: 0;
    top: 100px;
    background: var(--transparent-color-01);
    backdrop-filter: blur(20px);
    width: 50px;
    height: 50px;
    font-size: 1.2em;
    border-radius: 5px 0 0 5px;
    box-shadow: var(--box-shadow);
    cursor: pointer;
}

.theme-btn .fa-sun, .theme-btn.sun .fa-moon {
    display: none;
}

.theme-btn.sun .fa-sun {
    display: block;
}


/*media query width for responsive design width = 1070px*/
@media screen and (max-width: 1070px) {
    /*Header navigation menu styling*/
    .navigation {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--transparent-color-01);
        visibility: hidden;
        opacity: 0;
        transition: 0.3s ease;
    }

    .navigation.active {
        visibility: visible;
        opacity: 1;
    }

    .nav-items {
        position: relative;
        background: var(--modal-bg-color);
        width: 600px;
        max-width: 600px;
        display: flex;
        align-items: center;
        flex-direction: column;
        margin: 20px;
        padding: 40px;
        border-radius: 10px;
        box-shadow: var(--box-shadow);
        transform: translateY(-50px);
        transition: 0.3s ease;
    }

    .navigation.active .nav-items {
        transform: translateY(0);
    }

    .nav-items a {
        margin: 15px 50px;
    }

    .nav-close-btn {
        position: absolute;
        background: url(../Images/close_icon1.png)no-repeat;
        filter: var(--color-filter);
        background-size: 12px;
        background-position: center;
        width: 40px;
        height: 40px;
        top: 0;
        right: 0;
        margin: 10px;
        cursor: pointer;
    }

    .nav-menu-btn {
        background: url(../Images/menu_icon.png)no-repeat;
        filter: var(--color-filter);
        background-size: 30px;
        background-position: center;
        width: 40px;
        height: 40px;
        cursor: pointer; 
        display: block;
    }

    /*home section*/
    .home .home-container .info {
        font-size: 0.85rem;
    }

    /*About section*/
    .about .container .content {
        display: grid;
        width: 100%;
        row-gap: 20px;
    }

    .about-img img {
        min-width: 0;
        width: 100%;
    }

    .about-info {
        min-width: 0;
        width: 100%;
    }

    .about-info .professional-list {
        flex-direction: column;
    }

    .about-info .professional-list .list-item {
        justify-content: start;
    }

    /*get in touch section*/
    .get-in-touch .contact-card {
        display: grid;
        width: 100%;
    }

    .contact-card .title {
        font-size: 0.8rem;
        line-height: 50px;
    }

    /*contact section*/
    .contact .content {
        flex-direction: column;
        font-size: 0.9rem;
    }

    .contact .contact-left {
        margin-bottom: 40px;
    }

    .contact-form .second-row {
        flex-direction: column;
    }

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

    /*footer*/
    footer .footer-container {
        flex-direction: column;
    }

    .footer-container .about, .footer-container .info {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-bottom: 50px;
    }

    .footer-container .info ul {
        align-items: center;
        flex-direction: column;
    }

    .footer-container .info ul li {
        margin: 5px 0;
    }

    .footer-container .hr {
        width: 100%;
        height: 2px;
        background: rgba(255, 255, 255, 0.1);
        margin: 10px 0 22px;
    }


    /*skills section*/
      /* Adjust padding and spacing */
    .skills .content {
        width: 100%;
        padding: 0 20px;
    }

    /* Skill categories stack vertically with spacing */
    .skills .skill-category {
        width: 100%;
        margin-bottom: 30px; /* added spacing between categories */
        text-align: center; /* center align heading */
    }

    .skills .skill-category h3 {
        font-size: 1.2rem; /* reduce heading size slightly */
    }

    .skills .bars {
        padding: 0;
        display: flex;
        flex-wrap: wrap; /* allows items to wrap */
        justify-content: center;
        gap: 10px; /* spacing between items */
    }

    .skills .bars .bar {
        font-size: 0.9rem; /* scale down font size */
        padding: 8px 16px;
        border-radius: 6px;
        background-color: var(--modal-bg-color); /* use consistent theme color */
        box-shadow: var(--box-shadow);
    }

    .skills-description h3 {
        font-size: 1.1rem;
    }

    .skills-description p {
        font-size: 0.9rem;
        text-align: justify;
    }



    /*education section*/
    .item-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .edu-img, .edu-img1 {
        width: 80px;
        height: auto;
        margin-bottom: 15px;
    }

    .edu-text {
        padding: 0;
    }


    /* Achievements section responsiveness*/
    .achive-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
        gap: 10px;
    }

    .achive-img {
        width: 250px;
        height: auto;
        margin-bottom: 12px;
        border-radius: 8px; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); 
    }

    .achive-text {
        font-size: 0.9rem;
        padding: 0;
    }
}



/*media query width for responsive design width = 730px*/
@media screen and (max-width: 730px) {
    /*common for all styling*/
    body {
        margin: 5rem 0 0 0;
    }

    .section-title-01 {
        font-size: 3em;
    }

    .section-title-02 {
        font-size: 2em;
        transform: translateY(-65px);
    }

    /*home section*/
    .home .home-container {
        display: grid;
    }

    .home-container .home-img {
        position: absolute;
    }

    .home-container .home-img img {
        width: 65%;
        transform: translate(80px, -180px);
    }

    .home .home-container .info {
        font-size: 0.8rem;
    }

    .media-icons {
        margin-bottom: 80px;
    }

    /*get in touch section*/
    .get-in-touch .contact-card {
        display: grid;
    }

    .contact-card .title {
        font-size: 0.6rem;
        line-height: 40px;
    }

    .contact-card .contact-btn .btn {
        font-size: 0.8rem;
    }


    /*skills section*/
    /* Further reduce font sizes for small devices */
    .skills .skill-category h3 {
        font-size: 1rem;
    }

    .skills .bars .bar {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .skills-description h3 {
        font-size: 1rem;
    }

    .skills-description p {
        font-size: 0.85rem;
    }


    /* Education section responsiveness */
    .education-info .item-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding: 10px;
    }

    .edu-img, .edu-img1 {
        width: 70px;
        height: auto;
        margin-bottom: 10px;
    }

    .edu-text {
        padding: 0;
        font-size: 0.85rem;
        width: 100%;
    }


    /* Achievements section responsiveness for <= 730px */
    .achive-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding: 10px;
    }

    .achive-img {
        width: 250px; 
        height: auto;
        margin-bottom: 10px;
        border-radius: 6px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    }

    .achive-text {
        font-size: 0.8rem;
    }
}